tcpip: (Default)
Diary of a B+ Grade Polymath ([personal profile] tcpip) wrote2005-08-08 09:51 am

USB and Linux, Hiroshima Mon Amour, Labor for Refugees

This weekend, I have discovered the hell that is trying to get USB devices to talk to Linux. This is not a pleasant experience. Any insights greatly appreciated. I'm using Mandrake 10.1 if that helps.

Remembering Hirsohima from those who
experienced it. Melbourne Unitarian Church had Ian Maddocks from the Medical Association for the Prevention of War, providing a careful and insightful discussion on the subject. We all went to the Remembrance Rally in the city afterwards. I found the first speaker to be so obnoxious and sectarian that I left within five minutes.

RuneQuest IV is now up to version 3. Playtest on Sunday indicated that the radical changes to the parry and hit points system simply do not work. New player (Michael) is showing his design skills, but he does software engineering so he should.

Caught up with Greg T for the first time in a year last week. He's returned from a four week holiday in northern Europe which turned out to be six months. He has a long-term plan to get an graduate environmental engineering degree and engage in a process of reforestation of desert land. A noble pursuit. Other major social activity was great birthday drinks at the Sahara club for [livejournal.com profile] devilgirly, many people, lots of laughter, great food.

Oh, and I had another letter published in The Age. On land tax of course.

EDIT

How did I forget? Labor for Refugees quarterly meeting on Saturday. FEA elections have been deferred, national Tampa anniversary rally coming up. Announced my intention to resign as President. Been there long enough, about time someone else had a go.

[identity profile] decklin.livejournal.com 2005-08-07 08:45 pm (UTC)(link)
There are Linux distributions where this is still a problem? What device?

[identity profile] tcpip.livejournal.com 2005-08-08 06:20 pm (UTC)(link)

Hello Decklin ;-)

kernel is 2.6.8.1-12

lsmod gives:
ehci-hcd 27972 0
uhci-hcd 30448 0
usbcore 107396 4 ehci-hcd,uhci-hcd

It's a IBM mass storage device.

I'm getting a lot of timeout messages from dmesg
e.g.,
usb 4-6: new high speed USB device using address 2
irq 21: nobody cared!
...
Disabling IRQ #21
usb 4-6: control timeout on ep0out
ehci_hcd 0000:00:10.3: Unlink after no-IRQ? Different ACPI or APIC settings may help.
usb 4-6: control timeout on ep0out
usb 4-6: control timeout on ep0out
usb 4-6: device not accepting address 7, error -110
usb 4-6: new high speed USB device using address 8
usb 4-6: control timeout on ep0out
usb 4-6: control timeout on ep0out
usb 4-6: device not accepting address 8, error -110

[identity profile] decklin.livejournal.com 2005-08-08 06:49 pm (UTC)(link)
I actually have no idea (sorry). Have you tried booting with the usb-handoff option?

[identity profile] jagaroth.livejournal.com 2005-08-08 09:22 pm (UTC)(link)
I got curious and I did a google search.
The first page I hit revealed that there is a bug with some revisions of the 2.6 kernel that is known to cause the timeout error.
You may just need to update the kernel.
Had you come across this link already?

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=128602

There's more links to other threads and other possible work arounds.

[identity profile] tcpip.livejournal.com 2005-08-10 02:39 am (UTC)(link)

Yeah, that seems to be the consensus.. that 2.6 is foobar for USB :/

I think I may take this opportunity to give Mandriva the flick and go back to RH.

[identity profile] jagaroth.livejournal.com 2005-08-11 02:17 am (UTC)(link)
It seems that Kernel 2.6.8 in particular had a few too many issues in general.
Kernel 2.6.9-1 seems to work well for me with all the USB devices I've thrown at it. But then I don't think I have tried an IBM brand mass storage device. It looks like many find using the latest and greatest Kernel solved their issue.

[identity profile] tcpip.livejournal.com 2005-08-11 02:50 am (UTC)(link)

Just tried it with my new laptop (*sigh*, 'tis so beautiful) with Fedora 4 RH, 2.6.11 and it works beautifully.... it's all 2.6.8's fault..