Help - Search - Members - Calendar
Full Version: Usb External Cd Drive
OESF Forums > Distros, Development, and Model Specific Forums > Model Specific Forums > C1000/3x00 General discussions
Mirrormn
I've heard talk of USB Flash drives, music players attached via USB, webcams, cameras, and all other sorts of gadgets being attached to the SL-C?000 USB port. However, I don't think I've yet seen a discussion for external CD drives. Now, of course, you would need an external power source, and you probably wouldn't get very high read/write rates, but how viable is this external storage solution for the Zaurus?

The reason I'm interested is because I have a slim laptop DVD drive that I was using in my custom-built mini computer, but have moved to a regular sized computer case and don't need my laptop drive anymore, and was thinking it might be fun to buy a USB enclosure for it and connect it to my SL-C1000. However, I don't want to get an external enclosure unless I think I have some chance of making it work.

Does anyone have any insight into or previous experience with something like this? Would it be as easy as plugging the drive in and mounting the CD, or something more difficult?
lardman
It should be that easy.

Note that (iirc) you'll need some kernel modules to run the cdrom drive (on top of the standard mass-storage ones).

You'll also need to have the appropriate fs modules compiled (or do they need to be compiled in?) so that you can actually mount the disk once it's recognised as a mass-storage device - joilet, ISO 9660, UDF, etc.


Si
Mirrormn
QUOTE(lardman @ Jun 3 2005, 02:38 AM)
It should be that easy.

Note that (iirc) you'll need some kernel modules to run the cdrom drive (on top of the standard mass-storage ones).

You'll also need to have the appropriate fs modules compiled (or do they need to be compiled in?) so that you can actually mount the disk once it's recognised as a mass-storage device - joilet, ISO 9660, UDF, etc.


Si
*


Ah, this is what I was worried about. I know enough Linux to cd my way around system folders and follow directions successfully, but more advanced things like adding modules and compiling kernels are a little beyond me. However, since it should be possible and would be really cool, I'm gonna go ahead and buy an enclosure for my laptop drive anyway. I suppose I'll bump this thread after trying and failing to get it working by myself. smile.gif

Laptop CD drives only cost ~ $40 (my DVD+/-RW slim drive cost ~ $120), and an enclosure is about $30, so if my plan here works the cost of an external CD drive for the zaurus could be as low as $70, which is very cheap for a storage solution with such great potential. I only wish I could get a slim 8cm CD drive and tape it to the bottom of my zaurus, but, alas, I cannot find a single 8cm only CD drive in existence.
Bart Beumer
I don't think it is really possible to buy a standard ATA to USB enclosure. Reason is, that these enclosures are build for use with an ATA harddisk, and they do more than just send and receive ATA-commands over USB.

It should however be possible to buy a USB CDRom drive. Depending on implementation, it should not be impossible for them to work out of the box (as a standard mass storage device). I cannot really tell much about this however.
craigtyson
8cm CD/MP3 player here:= http://www.scan.co.uk/Products/ProductInfo...ProductID=20326
craigtyson
OR this

http://www.everythingusb.com/hardware/inde...CD-R_Burner.htm
craigtyson
Also Iv seen 8cm DVDrs in the shops..... 1.1GB in 3" cool
JohnX
QUOTE(Bart Beumer @ Jun 6 2005, 04:03 AM)
I don't think it is really possible to buy a standard ATA to USB enclosure. Reason is, that these enclosures are build for use with an ATA harddisk, and they do more than just send and receive ATA-commands over USB.


I didn't even think about something like that before I went out last month and bought a cheap (~$30) 5.25" USB enclosure. biggrin.gif On my desktop Linux machine (Debian sid / kernel 2.6.11) I just popped a DVD-RW drive in it, plugged it in to a USB2 port on the back of the computer, popped in a blank disc and started burning DVD-RWs. laugh.gif Seems to work fine with hard drives as well. Having used Linux since 1998 or so I was positively disturbed by the fact that it didn't require manual intervention of any sort to "just work" ™. I have a Zaurus SL-5500, so no host USB for me to try it on, but I'd be surprised if it didn't work after some hacking around on the C1000/C3000/6000. If anyone's interested I could check which modules it needs loaded to work.

The enclosure I have is a "Triumph Titan 5.25" Aluminum USB Enclosure"
Stilgar
I think the new ATA protocol *is* scsi commands over ATA. or something similar.
Anyway, got a USB cdrom to work on my C3000 - the Freecom one (grabbed cheaply off ebay; paid expensively for the delivery smile.gif.
I will let you know what cdrecord yields.
Mirrormn
QUOTE(Stilgar @ Jun 9 2005, 01:07 PM)
I think the new ATA protocol *is* scsi commands over ATA. or something similar.
Anyway, got a USB cdrom to work on my C3000 - the Freecom one (grabbed cheaply off ebay; paid expensively for the delivery smile.gif.
I will let you know what cdrecord yields.
*


What did you do to get your CD drive working? I'm pretty sure that an enclosured internal drive and a pre-made external drive would act exactly the same in terms of the data going throught the USB connection, so your experiences would definitely be a useful contribution.
Stilgar
Nothing specific, I just plugged in and the usb-storage module loaded (I am using the cacko beta rom).
after that, mount /dev/scd0 /mnt/usbstorage and viola!
fortunately cdrecord is included in the package so I did cdrecord --scanbus which detected my burner. Haven't tried burning yet.
Mirrormn
QUOTE(Stilgar @ Jun 10 2005, 01:21 AM)
Nothing specific, I just plugged in and the usb-storage module loaded (I am using the cacko beta rom).
after that, mount /dev/scd0 /mnt/usbstorage and viola!
fortunately cdrecord is included in the package so I did cdrecord --scanbus which detected my burner. Haven't tried burning yet.
*


That's exactly the kind of simplicity I was hoping for. When I buy my enclosure, maybe it'll be that easy.
Stilgar
Another update: I was able to play CDs with the freecom FX5 using the cdtool from the old stable debian repository:
http://packages.debian.org/oldstable/sound/cdtool (cdtool_2.1.5-4.1_arm.deb)
The CD will continue playing even after disconnecting the USB cable.
CD burning works fine as well.
alee16
I am using an ide to usb adapter (which works fine with internal hard drives) which was its own power supply. I tried plugging a cd burner into it, and when I issue the command
mount /dev/scd0 /mnt/usbstorage
I get this output:
mount: mounting /dev/scd0 read-only
and it repeats about 7 times and then has an "invalid argument" error. I am running Cacko 1.23 Rom. Any suggestions?
Stilgar
Did you try cdrecord with that? I believe I uploaded to somewhere on the site a binary of cdrecord that will suit your needs.
First see if it detects the drive and is willing to burn. Then we can check out on cd problems.
alee16
QUOTE(Stilgar @ Jun 7 2006, 04:36 PM)
Did you try cdrecord with that? I believe I uploaded to somewhere on the site a binary of cdrecord that will suit your needs.
First see if it detects the drive and is willing to burn. Then we can check out on cd problems.
*


I figured out that I just needed to add -t iso9660 to make it recognize and mount. Where is this cdrecord? Do I just need to do a search? I'm new here. smile.gif And is the binary of cdrecord for the Cacko Rom?
neon121
mkdir -p/mnt/cdrom
mount -o ro /dev/scd0 /mnt/cdrom


then my cd player make noise turning but after 1 sec it say


mounting dev/scd0 on /mnt/cdrom failed invalid argument....

do u know why .? wink.gif
Da_Blitz
you dont actually need the -o ro flag, its implied with CDROM file systems (even loop mounts) as far as i am aware there is no cdrom FS wirting support in the kernel (it would however make making an ISO alot easier)

i have a half hight DVD burner/reader for my Z that i never use, but i was hhopping to watch DVDs on it using mplayer, i should really test that out

anyway it sounds like you might not have the correct module for your Z, i belive meanie has a compiled package somwhere
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2014 Invision Power Services, Inc.