Re: USB hid blocks USB port in 2.6.28rc3

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Nov 10, 2008 at 07:45:28PM -0500, Alan Stern wrote:
> On Tue, 11 Nov 2008, Andi Kleen wrote:
> 
> > Hi,
> > 
> > I have a box here which has a couple of USB devices connected.
> > That includes several HID devices (keyboards, mouse) and a couple
> > of others including a USB powerswitch driven through a user space
> > program.
> > 
> > Now what happened is that I changed some of the HID devices
> > around (moving from a direct port to a hub) and also moved
> > the USB power switch from one port to another. But after that
> > the power switch didn't work anymore, just giving a flood 
> > of
> > 
> > usb 2-2: usbfs: interface 0 claimed by usbhid while 'sispm' sets config #1
> > 
> > (sispm is the user space driver)
> > 
> > Kernel is 2.6.28-rc3
> 
> This sounds like a userspace problem.  The sispm program should unbind 
> usbhid from interface 0 before trying to set the config.

Can you please explain in layman's terms why usbhid does not 
unbind itself when it detects the removal of a device? 

Why should sispm need to unbind someone else?

-Andi

-- 
ak@xxxxxxxxxxxxxxx
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux