You are not logged in.

#1 2012-01-09 19:27:49

Doctor Drive
Member
From: Poland
Registered: 2010-08-11
Posts: 167

[Solved] USB devices do not work as they used to anymore

I use the kernel provided in core linux 3.1.8-1


After bluetooth adapter plugged

[11019.968960] usb 6-1: new full speed USB device number 4 using uhci_hcd

After USB Flash Drive is plugged

[11058.595651] usb 2-2: new high speed USB device number 7 using ehci_hcd

The devices:

$ lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 5986:0195 Acer, Inc 
Bus 008 Device 002: ID 04f3:0234 Elan Microelectronics Corp. 
Bus 006 Device 004: ID 0a5c:2101 Broadcom Corp. Bluetooth Controller
Bus 002 Device 007: ID 13fe:1d00 Kingston Technology Company Inc. DataTraveler 2.0 1GB/4GB Flash Drive / Patriot Xporter 4GB Flash Drive

Bluedevil: no adapters found.
USB Flash drive: /dev/sd* entry is not created so mount is impossible.


Only local HDD partition entries are in the list

$ ls /dev/sd*
/dev/sda  /dev/sda1  /dev/sda2  /dev/sda3  /dev/sda4  /dev/sda5  /dev/sda6  /dev/sda7

Last edited by Doctor Drive (2012-01-10 20:15:32)

Offline

#2 2012-01-09 21:09:06

firecat53
Member
From: Lake Stevens, WA, USA
Registered: 2007-05-14
Posts: 1,542
Website

Re: [Solved] USB devices do not work as they used to anymore

Have you rebooted since the kernel upgraded? That has bit me several times....not sure how to avoid it without the reboot.

Scott

Offline

#3 2012-01-10 14:25:33

Doctor Drive
Member
From: Poland
Registered: 2010-08-11
Posts: 167

Re: [Solved] USB devices do not work as they used to anymore

firecat53 wrote:

Have you rebooted since the kernel upgraded? That has bit me several times....not sure how to avoid it without the reboot.

Scott

Yup, it started phew days ago (ven before last kernel upgrade), since then I rebooted several times.

Offline

#4 2012-01-10 16:10:18

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [Solved] USB devices do not work as they used to anymore

Try disabling USB power saving.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#5 2012-01-10 17:21:32

Doctor Drive
Member
From: Poland
Registered: 2010-08-11
Posts: 167

Re: [Solved] USB devices do not work as they used to anymore

Stebalien wrote:

Try disabling USB power saving.

Shouldn't this feature be enabled by the user? I did not enable it.
If it's really enabled, how should I turn it off?

Offline

#6 2012-01-10 20:01:28

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: [Solved] USB devices do not work as they used to anymore

Doctor Drive wrote:
Stebalien wrote:

Try disabling USB power saving.

Shouldn't this feature be enabled by the user? I did not enable it.
If it's really enabled, how should I turn it off?

I assumed that you were using laptop-mode-tools. laptop-mode-tools autosuspends usb devices when the laptop is on battery power. Usually this would only suspend inactive devices but I have been experiencing a kernel bug that causes devices to be incorrectly suspended (exhibiting the same symptoms that you described).

Try adding usbcore.autosuspend=-1 to the kernel command line.

https://fedoraproject.org/wiki/Common_k … n.27t_work


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#7 2012-01-10 20:15:19

Doctor Drive
Member
From: Poland
Registered: 2010-08-11
Posts: 167

Re: [Solved] USB devices do not work as they used to anymore

Stebalien wrote:

I assumed that you were using laptop-mode-tools. laptop-mode-tools autosuspends usb devices when the laptop is on battery power. Usually this would only suspend inactive devices but I have been experiencing a kernel bug that causes devices to be incorrectly suspended (exhibiting the same symptoms that you described).

No.

Stebalien wrote:

Try adding usbcore.autosuspend=-1 to the kernel command line.

https://fedoraproject.org/wiki/Common_k … n.27t_work

That solves it. Thanks!

Offline

#8 2012-07-14 21:29:05

veox
Member
Registered: 2008-10-28
Posts: 49
Website

Re: [Solved] USB devices do not work as they used to anymore

Stebalien wrote:

Try adding usbcore.autosuspend=-1 to the kernel command line.

Strangely enough, this helped me, too, after updating the kernel package yesterday (3.4.1->3.4.4).

As a temporary solution, though, all devices did get enumerated after issuing

lsusb -v

.

Offline

Board footer

Powered by FluxBB