- Status Unconfirmed
- Percent Complete
- Task Type Bugs
- Category Applications
- Assigned To No-one
- Operating System iPod 5G
- Severity Low
- Priority Very Low
- Reported Version Daily build (which?)
- Due in Version Undecided
-
Due Date
Undecided
- Votes
- Private
Opened by GCRaistlin - 2021-11-08
Last edited by GCRaistlin - 2021-11-09
FS#13315 - Unrecognized USB device
I have a modded iPod 5.5G: the HDD has been replaced with the combo: Micro SD card + Micro SD to SD converter + SD to CF converter + CF to 1.8 CE ZIF converter.
With the latest (20211108) dev build, most times I connect the iPod to the PC I get USB device not recognized error. In Far manager HotPlug devices list iPod is displayed as “Unknown USB Device (Configuration Descriptor Request Failed)”.
If Settings - General Settings - System - USB Mode is set to Ask it is almost guaranteed that I get this error on connection (in fact, I never get succeed with that option set at all). Sometimes I also get “*PANIC* null ctrl req DC:0007bf30 sp:000f34d0 A:00066e68 bt end” when I press Select to enter Mass Storage mode.
And even if the connection succeeds the behaviour is different from the normal one: first iPod is displayed as “Rockbox media player Eject Removable Disk (D:)” in Safety Remove Hardware and Eject Media icon list and only in a few secs it changes to “Rockbox media player Eject <ipodname> (D:)”.
The issue is surely bound with the mod as the same iPod with HDD has no such issue at all.
Loading...
Available keyboard shortcuts
- Alt + ⇧ Shift + l Login Dialog / Logout
- Alt + ⇧ Shift + a Add new task
- Alt + ⇧ Shift + m My searches
- Alt + ⇧ Shift + t focus taskid search
Tasklist
- o open selected task
- j move cursor down
- k move cursor up
Task Details
- n Next task
- p Previous task
- Alt + ⇧ Shift + e ↵ Enter Edit this task
- Alt + ⇧ Shift + w watch task
- Alt + ⇧ Shift + y Close Task
Task Editing
- Alt + ⇧ Shift + s save task
Hi, thanks for the report. Can you try again with USB HID mode disabled? There's a couple of possibilities here so I'm just trying to nail down which one it is so I can get a fix in.
USB HID is already set to No.
Ok, thanks. It looks like it's thoroughly my fault anyhow rather than any hardware mischief. g#3948 might fix it.
I just merged that patch, so in about 5 minutes you can test it in the latest dev build from https://build.rockbox.org/.
The issue remains with the last dev build. And I was wrong about the mod: the issue is reproducible with HDD, too (I just forgot to update Rockbox there).
It got even worse: with the previous dev build it was one successful connection per two failures. With the latest I can't succeed at all.
I committed another patch (g#3951) which might help. Try the latest dev build again and let's see if it improves things.
Also it's not just the ipod 5.5g which is affected – about a month back I made some changes to the core USB code which affects all ports and at least the xduoo x3 is having trouble as well. If you happen to have other rockboxed players and can report if they are working or not with USB mass storage in the latest dev build, I'd appreciate it.
The issue is still here. Sometimes everything is working (but perhaps more rarely than with 20211107), most of times it is not. USB HID state doesn't seem to matter here.
With USB Mode set to Ask, iPod doesn't react to pressing Select sometimes. In this case the repeated press always causes PANIC.
Actually that time I was trying 20211108 build instead of the latest dev build (I just became entangled with all those links). So maybe it's worth to try your previous fix. Sorry for that.
OK, no worries. The latest dev build (b14df9077f at the time of writing) includes both my fixes so there's no need to test any earlier builds.
Panics you get when USB Mode is Ask are very likely to be an unrelated bug. Can you test the latest dev build and make sure you use these settings (to minimize any side issues)
and confirm a couple of things for me:
Thanks. I'll get a debug build prepared in the meantime so we can get some logs next time and track down what exactly is going wrong.
Do you know the most recent version of Rockbox where USB works at full speed?
Sorry, I see from your other bug it was 5 Mb/s in 3.15 (I presume with an HDD since flash mod wasn't working well in that version).
Shall I make you a bunch of builds so we can see where things went wrong or are you able to do a git bisect yourself?
Yes please. I don't even know what is "git bisect".
No problem :D
I've added the builds to FS#13316, because it sounds like *this* bug (unrecognized USB device) is now fixed.