Rockbox General > Rockbox General Discussion

No device node on Linux?

(1/2) > >>

wzzrd:
 ???

When I plugin my Ipod video 80G in my Ubuntu box when the pod is running the Apple firmware, it's detected and mounted. When I plug it in when it's running Rockbox, it's detected, but not quite: the usb-storage module is loaded, but the device nodes aren't made:

--- Code: ---[ 3737.807419] usb 5-2.1: new full speed USB device using ehci_hcd and address 8
[ 3737.807677] usb 5-2: clear tt 1 (8000) error -32
[ 3737.807921] usb 5-2: clear tt 1 (8000) error -32
[ 3737.808167] usb 5-2: clear tt 1 (8000) error -32
[ 3737.808416] usb 5-2: clear tt 1 (8000) error -32
[ 3737.808666] usb 5-2: clear tt 1 (8000) error -32
[ 3737.808917] usb 5-2: clear tt 1 (8000) error -32
[ 3738.055382] usb 5-2.1: new full speed USB device using ehci_hcd and address 9
[ 3738.162362] usb 5-2.1: configuration #1 chosen from 1 choice
[ 3738.165521] scsi5 : SCSI emulation for USB Mass Storage devices
[ 3738.165886] usb-storage: device found at 9
[ 3738.165888] usb-storage: waiting for device to settle before scanning
[ 3743.153567] usb-storage: device scan complete
[ 3743.155811] scsi 5:0:0:0: Direct-Access     TOSHIBA  MK8010GAH        VK00 PQ: 0 ANSI: 4
[ 3743.161565] sd 5:0:0:0: [sdc] Attached SCSI removable disk
[ 3743.161593] sd 5:0:0:0: Attached scsi generic sg3 type 0

--- End code ---
Normally, one would expect this:

--- Code: ---[ 4099.908449] usb 5-4: new high speed USB device using ehci_hcd and address 10
[ 4100.040302] usb 5-4: configuration #1 chosen from 1 choice
[ 4100.040520] scsi6 : SCSI emulation for USB Mass Storage devices
[ 4100.040655] usb-storage: device found at 10
[ 4100.040657] usb-storage: waiting for device to settle before scanning
[ 4105.028153] usb-storage: device scan complete
[ 4105.028650] scsi 6:0:0:0: Direct-Access     WD       1600BEV External 1.04 PQ: 0 ANSI: 4
[ 4105.033372] sd 6:0:0:0: [sdd] 312581808 512-byte hardware sectors (160042 MB)
[ 4105.034245] sd 6:0:0:0: [sdd] Write Protect is off
[ 4105.034248] sd 6:0:0:0: [sdd] Mode Sense: 21 00 00 00
[ 4105.034250] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 4105.035244] sd 6:0:0:0: [sdd] 312581808 512-byte hardware sectors (160042 MB)
[ 4105.036116] sd 6:0:0:0: [sdd] Write Protect is off
[ 4105.036119] sd 6:0:0:0: [sdd] Mode Sense: 21 00 00 00
[ 4105.036121] sd 6:0:0:0: [sdd] Assuming drive cache: write through
[ 4105.036124]  sdd: sdd1
[ 4105.080459] sd 6:0:0:0: [sdd] Attached SCSI disk
[ 4105.080495] sd 6:0:0:0: Attached scsi generic sg4 type 0

--- End code ---
Notice the [sdd] lines telling the type of hardware and the line that says sdd: sdd1, telling me a device node was made at sdd1 for me to mount the device from.

This is all pretty annoying, because I have to reboot to Apple firmware for every time I want to store music now. Can anyone confirm this works at all at his distro? What distro does this work on, if at all? My Hardy fails...

It's absolutely irrelevant which USB port I plug the pod into. The box itself, a powered hub, a non-powered hub: all give the same result.

AlexP:
Rockbox does not yet have a working USB mode on certain software USB stack targets, including iPods.  You need to use the Apple firmware or Apple emergency disk mode to transfer files at the moment.

bluebrother:

--- Quote from: wzzrd on August 17, 2008, 06:01:39 PM ---This is all pretty annoying, because I have to reboot to Apple firmware for every time I want to store music now. Can anyone confirm this works at all at his distro? What distro does this work on, if at all?

--- End quote ---
Rockbox doesn't have its usb stack enabled (as it isn't completely stable yet), so you need to reboot into the OF anyway. This should happen automatically.

If you have enabled the usb stack yourself and made your own build: it works fine for me (though on a mini, not video). But looking at your logs it looks like you haven't enabled high speed.

wzzrd:
I didn't know about the USB stack, thanks for that info. I didn't build the image myself: I'm just using your nightly builds (which work fine otherwise). I'll try building the source myself when I have some spare time  ;)

Do you mean high speed USB in my Linux kernel or in the build of Rockbox? I must admit I never paid much attention to this :)

cool_walking_:
He means high speed on the Rockbox USB stack (although we now know that you aren't even using this).  Notice the first lines of the outputs you gave - one says "full speed" (12 Mbit/s) and the other says "high speed" (480 Mbit/s).

I find these lines much more interesting:

--- Quote ---[ 3737.807677] usb 5-2: clear tt 1 (8000) error -32
--- End quote ---

I found this:
http://bugzilla.kernel.org/show_bug.cgi?id=9199

I haven't used disk mode in a long time (I always reboot into the OF, since it's USB mode is faster than disk mode), and I'm not at home now (don't have my iPod Video or Linux here), but IIRC it worked fine.

Navigation

[0] Message Index

[#] Next page

Go to full version