[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Sheflug] CD-Recorder Configuration
Richard writes:
> Dear All
>
> Still haven't quite worked out how to get my CD-Writer to work yet..
>
> The CD writer is now visible to the system. So is my Creative CD
> player/reader. If I try to mount CDs into them I find that I get a
> warning message that says that the drives are write protected. They
> will mount read only. How do I change that ? /etc/fstab below.....
> /dev/hdb /cdrom auto noauto,user 0 0
> /dev/hdc /cdrw auto noauto,user 0 0
> To get this far I've put 'hdb=ide-scsi hdc=ide-scsi' into the top of
> /etc/lilo.conf. In /etc/modules.conf I've changed 'alias
> scsi_hostadapter off' to 'alias scsi_hostadapter ide-scsi'. And in
> /sbin/init.d/boot.local I've put the line '/sbin/modprobe/ ide-scsi'.
>
> Then I did 'ln -sf /dev/scd0 /dev/cdrom' and 'ln -sf /dev/scd1
> /dev/cdrom1'
You only need to use the ide-scsi line for the CDRW - your CDROM can
be left alone.
Only the CDRW requires SCSI emulation.
I'm not convinced you need the "...scsi_hostadapter..." bit in
/etc/modules.conf - I certainly have never used it.
I do have this lot, tho (my CDRW is /dev/hdh):
options ide-cd ignore=hdh # tell the ide-cd module to ignore hdh
alias scd0 sr_mod # load sr_mod upon access of scd0
pre-install sg modprobe ide-scsi # load ide-scsi before sg
pre-install sr_mod modprobe ide-scsi # load ide-scsi before sr_mod
Link your cdrom to /dev/hdc:
rm -f /dev/cdrom
ln -s /dev/hdc /dev/cdrom
Your /etc/fstab should then read something along the lines of:
/dev/cdrom /cdrom iso9660 noauto,user,ro 0 0
/dev/scd0 /cdrw iso9660 noauto,user,ro 0 0
CDROM media *is* read-only. Don't mount a CDRW to burn it - stick into
the drive, and go from there.
The "ro" (readonly) flag in the fstab will stop the system trying to
mount the disk as rw (the default, IIRC) and hence stop it complaining
when it falls back to readonly.
Try using mkisofs and cdrecord to get the hang of the system - instead
of going straight to XCDRoast - I find it more cumbersome, TBH.
> I find that neither drive will play music CDs with the CD player.
I had some difficulties trying to get my CDRW to play CDs when SCSI
emulation is in place, I never bothered looking into it, since I
generally use mp3s - and the CDROM is a little faster when ripping.
> What am I doing wrong here ? How do I change things so that the CD
> player will play music and how do I make the error message go away
> when I try to mount CDs to install software or make a CD in the
> recorder ?
As I mentioned above, the media is readonly to all intents and purposes.
> Other thing is that when I do 'xcdroast' as root to set up xcdroast I
> find that I get an error message which says..
>
> "Xlib: connection to "0:0" refused by server
> Xlib: Client is not authorised to connect to server
>
> Gtk warning **: cannot open display: :0"
This is down to X server permissions.
Something I have to think about... even root needs permission to
connect to someone else's X server (i.e. a normal user).
I'm assuming you are su'ing to root from your normal user?
As the normal user try:
xhost +localhost
you should get the message:
localhost being added to access control list
this then allows everyone on the local machine to connect to the X
server to display windows.
If it's a multiuser machine (i.e. not your home box) think carefully
about who you allow to connect to the X server - man page time :-)
after that, su to root, then try "xcdroast" - this time the window
should display as expected.
Hope this lot helps.
Baz.
--
Barrie J. Bremner
email: baz at barriebremner.com | OpenPGP ID: 5164F553
http://barriebremner.com/
[Contact information available at website]
"Linux? Is that some kind of MacOS?"
-- BT technical support
---------------------------------------------------------------------
Sheffield Linux User's Group - http://www.sheflug.co.uk
To unsubscribe from this list send mail to
- <sheflug-request [at] vuw.ac.nz> - with the word
"unsubscribe" in the body of the message.
GNU the choice of a complete generation.