[Linux-usb-users] Confusion over device configuration

2006-04-26 Thread Lance Williams
Hi I am still unable to connect to my hardware, but the problem seems to have changed somewhat. I now notice that on connection, it no longer rejects the address, but when it tries to load a device configuration, it fails. My device communicates with the pc via the Cypress EZ-USB chip. From t

Re: [Linux-usb-users] PROBLEM: High system load b/c hald polls card reader

2006-04-26 Thread Alan Stern
On Tue, 25 Apr 2006, Christian Haul wrote: > Hi all, > > I've recently noticed a problem with extremely high system load on my > debian sid system. I first tracked it down to the usb_storage kernel > module ie removing the module fixes the problem. Now, I get the > impression that hald triggers t

RE: [Linux-usb-users] Desperately trying to solve my USB KVM problem... please help me!

2006-04-26 Thread Alan Stern
On Tue, 25 Apr 2006, Mathieu Drapeau, Mr. wrote: > Thanks Alan for the quick answer. I am very happy to hear someone that could > help me on this issue. > Yes it is a Avocent switchview MM2 KVM switch. > > I was able to recompile the kernel with the USB verbose and here are the > outputs of dme

Re: [Linux-usb-users] Confusion over device configuration

2006-04-26 Thread Alan Stern
On Wed, 26 Apr 2006, Lance Williams wrote: > Hi > > I am still unable to connect to my hardware, but the problem seems to > have changed somewhat. I now notice that on connection, it no longer > rejects the address, but when it tries to load a device configuration, > it fails. My device commun

Re: [Linux-usb-users] Resetting device

2006-04-26 Thread usb usb
Alan, Sorry for posting again. I would really appreciate if you could comment on my doubts - Thanks! > It is right. When the reset fails, the core adds a > request to > re-register the device onto a queue. The requests > to register the other > devices are already on the queue, so they get a

Re: [Linux-usb-users] PROBLEM: High system load b/c hald polls card reader

2006-04-26 Thread Christian Haul
Alan Stern wrote: > On Tue, 25 Apr 2006, Christian Haul wrote: >> This block repeats for every 2 seconds. and top shows around CPU 40% hi > > I have trouble believing that a few milliseconds of activity occurring > once every two seconds is enough to push your CPU usage to 40%. Well I've

Re: [Linux-usb-users] Resetting device

2006-04-26 Thread Alan Stern
On Wed, 26 Apr 2006, usb usb wrote: > Alan, > > Sorry for posting again. I would really appreciate if > you could comment on my doubts - Thanks! Sorry, I've been busy... > > It is right. When the reset fails, the core adds a > > request to > > re-register the device onto a queue. The reques

Re: [Linux-usb-users] PROBLEM: High system load b/c hald polls card reader

2006-04-26 Thread Alan Stern
On Wed, 26 Apr 2006, Christian Haul wrote: > Alan Stern wrote: > > On Tue, 25 Apr 2006, Christian Haul wrote: > >> This block repeats for every 2 seconds. and top shows around CPU 40% hi > > > > I have trouble believing that a few milliseconds of activity occurring > > once every two seconds

Re: [Linux-usb-users] PROBLEM: High system load b/c hald polls card reader

2006-04-26 Thread Christian Haul
Alan Stern wrote: > On Wed, 26 Apr 2006, Christian Haul wrote: > >> Alan Stern wrote: >>> On Tue, 25 Apr 2006, Christian Haul wrote: This block repeats for every 2 seconds. and top shows around CPU 40% hi >>> I have trouble believing that a few milliseconds of activity occurring >>> once

Re: [Linux-usb-users] PROBLEM: High system load b/c hald polls card reader

2006-04-26 Thread Christian Haul
Alan Stern wrote: > It's hard to account for where the time was spent from the ps listing. > It would help if you could provide another dmesg log with > CONFIG_PRINTK_TIME set. Here you go [ 388.331103] usb-storage: *** thread sleeping. [ 388.335390] usb-storage: queuecommand called [ 388.33

Re: [Linux-usb-users] PROBLEM: High system load b/c hald polls card reader

2006-04-26 Thread Alan Stern
On Wed, 26 Apr 2006, Christian Haul wrote: > Alan Stern wrote: > > It's hard to account for where the time was spent from the ps listing. > > It would help if you could provide another dmesg log with > > CONFIG_PRINTK_TIME set. > > Here you go > > [ 388.331103] usb-storage: *** thread sleepin

Re: [Linux-usb-users] PROBLEM: High system load b/c hald polls card reader

2006-04-26 Thread usb usb
May be a stupid answer.. Is it something to do with hard-coded jiffies value assumption (which is wrong)? --- Alan Stern <[EMAIL PROTECTED]> wrote: > On Wed, 26 Apr 2006, Christian Haul wrote: > > > Alan Stern wrote: > > > It's hard to account for where the time was > spent from the ps listing

Re: [Linux-usb-users] Resetting device

2006-04-26 Thread usb usb
Alan, That was really useful - thanks! I was confused by the term re-initialization - I thought that there is another macro/function in USB core that does it :-( I will group and finish my other tasks before rebooting my box (after re-compiling kernel), and I will post the logs as soon as I can

Re: [Linux-usb-users] Re: Spin down via Sabrent (Genesys) USB-IDE cable?

2006-04-26 Thread Yak Mandango
> On Mon, 10 Apr 2006, Alan Stern wrote: > > On Mon, 10 Apr 2006, Avuton Olrich wrote: > > > On 4/8/06, Yak Mandango <[EMAIL PROTECTED]> wrote: > > > I have some noisy drives hooked up with a Genesys-based USB-IDE > > > cable, and I want to shut them up, spin them down. Does anyone > > > have an