OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: Mirrormn on June 02, 2005, 11:11:14 pm
-
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?
-
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
-
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
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82603\"][{POST_SNAPBACK}][/a][/div]
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.
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.
-
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.
-
8cm CD/MP3 player here:= http://www.scan.co.uk/Products/ProductInfo...ProductID=20326 (http://www.scan.co.uk/Products/ProductInfo.asp?WebProductID=20326)
-
OR this
http://www.everythingusb.com/hardware/inde...CD-R_Burner.htm (http://www.everythingusb.com/hardware/index/Imation_RipGO!_Mini_CD-R_Burner.htm)
-
Also Iv seen 8cm DVDrs in the shops..... 1.1GB in 3" cool
-
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. 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. 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"
-
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 .
I will let you know what cdrecord yields.
-
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 .
I will let you know what cdrecord yields.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=83596\"][{POST_SNAPBACK}][/a][/div]
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.
-
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.
-
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=83675\"][{POST_SNAPBACK}][/a][/div]
That's exactly the kind of simplicity I was hoping for. When I buy my enclosure, maybe it'll be that easy.
-
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 (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.
-
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?
-
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.
-
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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=130297\"][{POST_SNAPBACK}][/a][/div]
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. And is the binary of cdrecord for the Cacko Rom?
-
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 .?
-
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