Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: accessing my USB DVD/CDRW< Next Oldest | Next Newest >
dslrgm Offline





Group: Members
Posts: 84
Joined: July 2007
Posted: Aug. 24 2007,21:13 QUOTE

I am missing something obvious.  Of course I am coming from RHEL/Centos, so it might just have the wrong glasses on.

The hardware IS problematic.  It is one of the decTOPs that I have installed Frugal on the HD.

So I boot from the HD.

Where is my USB CD?  The mount button in the lower left gives an error when I click on it.

ls /cdrom1

is empty.  But the CD is there (Trixbox 2.3.0.1 install ISO).

I can't find anything familiar to get to the CD.

thanks.
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Aug. 25 2007,00:22 QUOTE

hi dslrgm:
Did you mean to say '/mnt/cdrom1', and not '/cdrom1'?
'/cdrom' is where the DSL compressed-loop filesystem image is mounted; '/cdrom1' doesn't exist.

Anyway:
'/mnt/cdrom' and '/mnt/cdrom1' exist by default.
So it doesn't mean your drive is usable (yet).
IIRC, DSL uses '/dev/scd*' even for IDE cdroms, which means all cd drives use scsi emulation by default. This makes sense since scsi emulation is necessary on 2.4.x kernels for cd burning (cdrecord, etc) to work.
According to this page
(http://tldp.org/HOWTO/SCSI-2.4-HOWTO/sr.html),
the device files (on the 2.4 kernel) for usb cdroms are either '/dev/scd*' or '/dev/sr*'.
So you could try either one:
Code Sample
mount /dev/scd[*] /mnt/cdrom
mount /dev/sr[*] /mnt/cdrom

Before you do this, check using
Code Sample
lsmod

that the 'usb-storage' driver is loaded.
If not, do
Code Sample
modprobe usb-storage

before you try to mount.
Also, there's alot of information here regarding usb devices:
http://www.linux-usb.org/USB-guide/book1.html
Subsection - USB mass storage (including cdroms):
http://www.linux-usb.org/USB-guide/x498.html
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Aug. 25 2007,00:28 QUOTE

Code Sample
lsusb

will show you the usb devices present on your system.
If your device is shown here, it does not guarantee that it can be mounted.
It is possible that the 'usb-storage' driver has not been loaded.
In this case, if you scan for so-called scsi drives using
Code Sample
cdrecord -scanbus

nothing will be shown.
However, after you do
Code Sample
modprobe usb-storage

then
Code Sample
cdrecord -scanbus

should give results.
Back to top
Profile PM 
jpeters Offline





Group: Members
Posts: 804
Joined: April 2006
Posted: Aug. 25 2007,04:46 QUOTE

Quote (stupid_idiot @ Aug. 24 2007,20:22)
According to this page
(http://tldp.org/HOWTO/SCSI-2.4-HOWTO/sr.html),
the device names (on the 2.4 kernel) for usb cdroms are either 'scd*' or 'sr*'.

My iomega USB cdrom mounts with /mnt/cdrom1.
Back to top
Profile PM 
stupid_idiot Offline





Group: Members
Posts: 344
Joined: Oct. 2006
Posted: Aug. 25 2007,06:27 QUOTE

Oh, I realize my mistake:
'/cdrom' is where the DSL compressed-loop filesystem image is mounted.
The mountpoints for cdrom drives are '/mnt/cdrom' and '/mnt/cdrom1'.
Very sorry about this.
I've corrected my previous post.
Thanks jpeters.
Back to top
Profile PM 
4 replies since Aug. 24 2007,21:13 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: accessing my USB DVD/CDRW

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code