You are not logged in.

#1 2011-06-06 17:05:15

kernel_geek
Member
From: UK
Registered: 2010-06-19
Posts: 17
Website

USB Devices Not Detected and High CPU Usage

Hello, I'm using arch on a Dell 1720 laptop.

I have some weird issues involving detection of USB devices.

When the laptop is on battery and I plug in a USB mouse the power flickers on and flickers off again; nothing in the logs/dmesg.

If I then connect the AC adapter the reconnect the mouse, the same happens, except the CPU usage hits 87%+ on one core.

Running

sudo rmmod ehci_hcd 

solves the problem; the CPU usage drops and the mouse gets detected.

Subsequent attempts to hotplug USB devices does nothing, no high CPU and no Power.

Rebooting the computer is the only way to use USB devices at the moment.

usb-autosuspend is disabled in laptop-mode.

uname -a:

Linux MatSalleh 2.6.39-ck #1 SMP PREEMPT Sun Jun 5 18:30:30 EDT 2011 x86_64 Intel(R) Core(TM)2 Duo CPU T7250 @ 2.00GHz GenuineIntel GNU/Linux

The same happens with the stock kernel too

My kernel line in grub:

kernel /vmlinuz26-ck root=/dev/sda3 elevator=bfq ro resume=/dev/sda2

Any ideas?

Thanks,

Chris.

Offline

#2 2011-06-06 17:21:54

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: USB Devices Not Detected and High CPU Usage

I'm not sure if any those bug reports is related. Maybe this one?

Offline

#3 2011-06-06 22:48:21

kernel_geek
Member
From: UK
Registered: 2010-06-19
Posts: 17
Website

Re: USB Devices Not Detected and High CPU Usage

None of those, besides this laptop only has USB 2.0.

Offline

#4 2011-06-07 02:00:31

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: USB Devices Not Detected and High CPU Usage

Perhaps the USB connector is damaged, causing excess power drain suggesting that the current limiter isn't functioning.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#5 2011-06-07 06:31:34

tydell
Member
From: actually: Hannover, DE
Registered: 2009-07-26
Posts: 109
Website

Re: USB Devices Not Detected and High CPU Usage

I had similar problem with USB pendrive, it wasn't detected and it makes high cpu usage. It was problem with ehci_hcd module
This one helps me to solve this problem

Offline

#6 2011-06-07 06:53:45

kernel_geek
Member
From: UK
Registered: 2010-06-19
Posts: 17
Website

Re: USB Devices Not Detected and High CPU Usage

lilsirecho wrote:

Perhaps the USB connector is damaged, causing excess power drain suggesting that the current limiter isn't functioning.

I highly doubt it's that, it was working fine on ubuntu just days before...

tydell wrote:

I had similar problem with USB pendrive, it wasn't detected and it makes high cpu usage. It was problem with ehci_hcd module
This one helps me to solve this problem

My USB devices don't even get detected, so that script won't work.

Last night I hibernated my computer after not using any USB devices, on resume, my CPU usage was 100%, removing the ehci_hcd module fixed it.

Any more ideas?

I'm tempted to build a vanilla kernel...

Offline

#7 2011-06-07 14:59:17

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: USB Devices Not Detected and High CPU Usage

kernel_geek wrote:

...
I'm tempted to build a vanilla kernel...

Actually, that is not that tough to do.  It might provide some insight


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#8 2011-06-08 15:56:00

kernel_geek
Member
From: UK
Registered: 2010-06-19
Posts: 17
Website

Re: USB Devices Not Detected and High CPU Usage

I downloaded the 2.6.38 sources and patched it with the 2.6.38-ck1 patch, built it and installed the modules; the issue still persists.

What do I try next?

Thanks,

Chris.

Offline

#9 2011-06-08 16:06:29

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: USB Devices Not Detected and High CPU Usage

Perhaps lsusb may give a clue......


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#10 2011-06-08 16:09:44

kernel_geek
Member
From: UK
Registered: 2010-06-19
Posts: 17
Website

Re: USB Devices Not Detected and High CPU Usage

Naa nothing comes up in lsusb, or dmesg, or anything....

Offline

#11 2011-06-16 12:30:40

kernel_geek
Member
From: UK
Registered: 2010-06-19
Posts: 17
Website

Re: USB Devices Not Detected and High CPU Usage

I had to downgrade as far as 2.6.33 to solve the problem.

But now my nouveau driver doesn't work; X won't start. How do I go about obtaining a compatible nouveau driver?

Thanks,

Chris.

Offline

#12 2011-08-02 11:22:31

gauthma
Member
Registered: 2010-02-16
Posts: 215
Website

Re: USB Devices Not Detected and High CPU Usage

Hello,
I justed had a somewhat similar problem: with a Dell Latitude E5420, after suspending and resuming, the usb mouse was simply undetected. Pluging it out and in again, and in different usb plugs, yielded no result. Removing and then installing ehci_hcd module however, solved the problem.

I'm using kernel 2.6.39-ARCH and stable (ie, not using the testing rep)

Last edited by gauthma (2011-08-02 11:23:29)

Offline

#13 2011-08-02 12:52:27

kernel_geek
Member
From: UK
Registered: 2010-06-19
Posts: 17
Website

Re: USB Devices Not Detected and High CPU Usage

gauthma wrote:

Hello,
I justed had a somewhat similar problem: with a Dell Latitude E5420, after suspending and resuming, the usb mouse was simply undetected. Pluging it out and in again, and in different usb plugs, yielded no result. Removing and then installing ehci_hcd module however, solved the problem.

I'm using kernel 2.6.39-ARCH and stable (ie, not using the testing rep)

Yeah that works most of the time, but not always; sometimes if I suspend and resume a few times, USB devices don't work at all, and I have to reboot...

Offline

#14 2011-08-24 11:22:36

csocratess
Member
Registered: 2010-12-17
Posts: 12

Re: USB Devices Not Detected and High CPU Usage

I can confirm this problem on my DELL e6410. No USB devices get recognized whenever power is disconnected (i.e., laptop runs on battery), or when the laptop is suspended or hibernated.

Does anyone know if a bug is filed on this, and if there exists a way to solve this issue..

Offline

Board footer

Powered by FluxBB