Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Welcome to the Rockbox Technical Forums!

+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  No device node on Linux?
« previous next »
  • Print
Pages: [1]

Author Topic: No device node on Linux?  (Read 2372 times)

Offline wzzrd

  • Member
  • *
  • Posts: 4
No device node on Linux?
« on: August 17, 2008, 06:01:39 PM »
 ???

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: [Select]
[ 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
Normally, one would expect this:
Code: [Select]
[ 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
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.
Logged

Offline AlexP

  • Global Moderator
  • Member
  • *
  • Posts: 3688
  • ex-BigBambi
Re: No device node on Linux?
« Reply #1 on: August 17, 2008, 06:10:47 PM »
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.
Logged
H140, F60, S120, e260, c240, Clip, Fuze v2, Connect, MP170, Meizu M3, Nano 1G, Android

Offline bluebrother

  • Developer
  • Member
  • *
  • Posts: 3421
  • creature
Re: No device node on Linux?
« Reply #2 on: August 17, 2008, 06:10:50 PM »
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?
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.
Logged
Rockbox Utility development binaries (updated infrequently) · How to ask questions the smart way · We do not estimate timeframes.

Offline wzzrd

  • Member
  • *
  • Posts: 4
Re: No device node on Linux?
« Reply #3 on: August 18, 2008, 02:12:33 AM »
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 :)
Logged

Offline cool_walking_

  • Rockbox Expert
  • Member
  • *
  • Posts: 695
Re: No device node on Linux?
« Reply #4 on: August 18, 2008, 02:48:43 AM »
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

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.
« Last Edit: August 18, 2008, 02:51:19 AM by cool_walking_ »
Logged

Offline wzzrd

  • Member
  • *
  • Posts: 4
Re: No device node on Linux?
« Reply #5 on: August 18, 2008, 03:09:44 AM »
Quote from: cool_walking_ on August 18, 2008, 02:48:43 AM
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).
Missed that :)

Quote
I find these lines much more interesting:
Quote
[ 3737.807677] usb 5-2: clear tt 1 (8000) error -32

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.
The way I read that bugreport, it matters what kind of hub you use. I have more than one USB hub here. I plugged it into every possible connector yesterday, so I'm not sure what hub this output is from. I'll ty plugging the pod into different connectors tonight and try to find out whether the -32 error shows at every hub or just at my external hub.

Anyway, the bugreport hasn't been updated in months. I'll see if I can update the bug with some useful information. Thanks for your help.
Logged

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Rockbox General
| |-+  Rockbox General Discussion
| | |-+  No device node on Linux?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.084 seconds with 15 queries.