News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

RC1: USB ports switch ON/OFF continuously

Started by nite_man, July 28, 2007, 03:14:33 PM

Previous topic - Next topic

nite_man

I installed LinuxMCE RC1 yesterday. At the first view it works fine except some strange problem with USB ports. I have a USB hub connected to the one USB port. so, after start LinuxMCE I see that all LEDs are blinking continuously. It looks like the power ON/OFF on the USB ports. Without  LinuxMCE everything fine.

Any ideas why it happens?
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

schaferj

Michael,
I had this problem with pluto.  Solution was to move the usb hub to a windows box to serve the media files.
joseph

nite_man

Quote from: schaferj on July 31, 2007, 12:03:11 PM
Michael,
I had this problem with pluto.  Solution was to move the usb hub to a windows box to serve the media files.
joseph

Thanks for your answer, Joseph. if I understand clearly by some reason LinuxMCE  doesn't support USB hubs? I was planning to use PC with LinuxMCE for others tasks as well.
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

espace

Hi Michael,
I don't know any reason for LinuxMCE to not support USB hubs, because it is based on Kubuntu.
It will help to find out if Kubuntu has this problem too. It is possible to report the problem to them and we can get a fix in one of their updates.
Let us know if you have this problem before installing LinuxMCE RC1.
Thanks,
espace

Quote from: nite_man on July 31, 2007, 01:16:09 PM
Quote from: schaferj on July 31, 2007, 12:03:11 PM
Michael,
I had this problem with pluto.  Solution was to move the usb hub to a windows box to serve the media files.
joseph

Thanks for your answer, Joseph. if I understand clearly by some reason LinuxMCE  doesn't support USB hubs? I was planning to use PC with LinuxMCE for others tasks as well.

PeteK

Guys, I am also having this problem with my USB hub.  For further information, I am using a USB KVM to switch my keyboard and mouse and haven't had any issues with those.

nite_man

2espace: The problem with USB hub appears only when LinuxMCE is run. Without it Kubuntu works fine with that hub. After starting LinuxMCE all hub LEDs are blinking continiusly as I already mention. I have D-Link 4 Ports USB 2.0 (DUB-H4).
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]


nite_man

I see those messages into /var/log/message:
Jul 31 21:58:15 dcerouter kernel: [ 3080.976463] usb 4-2: new high speed USB device using ehci_hcd and address 74
Jul 31 21:58:15 dcerouter kernel: [ 3081.495808] usb 4-2: new high speed USB device using ehci_hcd and address 75
Jul 31 21:58:18 dcerouter kernel: [ 3084.208410] usb 4-2: new high speed USB device using ehci_hcd and address 76
Jul 31 21:58:18 dcerouter kernel: [ 3084.751668] usb 4-2: new high speed USB device using ehci_hcd and address 77
Jul 31 21:58:19 dcerouter kernel: [ 3085.294930] usb 4-2: new high speed USB device using ehci_hcd and address 78
Jul 31 21:58:20 dcerouter kernel: [ 3085.814287] usb 4-2: new high speed USB device using ehci_hcd and address 79
Jul 31 21:58:22 dcerouter kernel: [ 3088.530806] usb 4-2: new high speed USB device using ehci_hcd and address 80
Jul 31 21:58:23 dcerouter kernel: [ 3089.074141] usb 4-2: new high speed USB device using ehci_hcd and address 81
Jul 31 21:58:23 dcerouter kernel: [ 3089.617446] usb 4-2: new high speed USB device using ehci_hcd and address 82
Jul 31 21:58:24 dcerouter kernel: [ 3090.136765] usb 4-2: new high speed USB device using ehci_hcd and address 83
Jul 31 21:58:27 dcerouter kernel: [ 3092.865288] usb 4-2: new high speed USB device using ehci_hcd and address 84
Jul 31 21:58:27 dcerouter kernel: [ 3093.408601] usb 4-2: new high speed USB device using ehci_hcd and address 85
Jul 31 21:58:28 dcerouter kernel: [ 3093.951917] usb 4-2: new high speed USB device using ehci_hcd and address 86
Jul 31 21:58:28 dcerouter kernel: [ 3094.471226] usb 4-2: new high speed USB device using ehci_hcd and address 87


And in dmesg:
[ 3232.031406] usb 4-2: new high speed USB device using ehci_hcd and address 65
[ 3232.438864] usb 4-2: device not accepting address 65, error -32
[ 3235.031608] usb 4-2: new high speed USB device using ehci_hcd and address 66
[ 3235.143417] usb 4-2: device descriptor read/64, error -32
[ 3235.359149] usb 4-2: device descriptor read/64, error -32
[ 3235.574876] usb 4-2: new high speed USB device using ehci_hcd and address 67
[ 3235.686812] usb 4-2: device descriptor read/64, error -32
[ 3235.902457] usb 4-2: device descriptor read/64, error -32
[ 3236.118190] usb 4-2: new high speed USB device using ehci_hcd and address 68
[ 3236.525634] usb 4-2: device not accepting address 68, error -32
[ 3236.637588] usb 4-2: new high speed USB device using ehci_hcd and address 69
[ 3237.044974] usb 4-2: device not accepting address 69, error -32

Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

nite_man

Finally I managed to solve that problem. I boot Kubuntu with option apic=off and my hight speed USB devices started work properly. Once I already faced with strange result of apic mode. My working Fedora didn't return from the standby mode. After I switched apic off Fedora works fine.
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

nite_man

Quote from: nite_man on August 01, 2007, 09:03:37 PM
Finally I managed to solve that problem. I boot Kubuntu with option apic=off and my hight speed USB devices started work properly. Once I already faced with strange result of apic mode. My working Fedora didn't return from the standby mode. After I switched apic off Fedora works fine.

Recently the problem appear again. Switch off APIC mode doesn't help anymore. But I suspect that this is Kubuntu problem. So, I'll post that problem to kubuntu forum as well.
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

nite_man

Here is my workaround:
1. Adding following kernel option to the boot process didn't help solve that problem: acpi=routeirq, acpi=nobios, acpi=off, acpi=noirq, pci=noacpi, noapic
2. That hack helped me but it turned UBS to 1.1:

$ sudo modprobe -rv ehci_hcd

To make it permanently just add "blacklist ehci_hcd" to the end of the file /etc/modprobe.d/blacklist:
$ sudo echo "blacklist ehci_hcd" >> /etc/modprobe.d/blacklist

So USB 2.0 is faster but 1.1 is better than nothing.
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]

PeteK

Thanks for working this issue.  If you figure out a way to keep 2.0 high speed operation, please let us know.

-Pete

nite_man

Finally (again ;)) I found that the problem was in the USB 2.0 controller. It seems that it was broken. So I installed a PCI USB 2.0 controller and it was recognized by Kubuntu and LinuxMCE without any problems.
Michael Stepanov,
My setup: [url="http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup"]http://wiki.linuxmce.org/index.php/User:Nite_man#New_setup[/url]
Russian LinuxMCE community: [url="http://linuxmce.ru"]http://linuxmce.ru[/url]