All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Alan Stern <stern@rowland.harvard.edu>
Cc: Andi Kleen <andi@firstfloor.org>,
	jkosina@suse.cz, linux-input@vger.kernel.org,
	linux-usb@vger.kernel.org
Subject: Re: USB hid blocks USB port in 2.6.28rc3
Date: Tue, 11 Nov 2008 09:41:32 +0100	[thread overview]
Message-ID: <20081111084132.GE3810@one.firstfloor.org> (raw)
In-Reply-To: <Pine.LNX.4.44L0.0811101939100.15552-100000@netrider.rowland.org>

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@linux.intel.com

  reply	other threads:[~2008-11-11  8:32 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-11  0:31 USB hid blocks USB port in 2.6.28rc3 Andi Kleen
2008-11-11  0:45 ` Alan Stern
2008-11-11  8:41   ` Andi Kleen [this message]
2008-11-11 17:02     ` Alan Stern
2008-11-11 21:07       ` Andi Kleen
     [not found]         ` <20081111210705.GG3810-qrUzlfsMFqo/4alezvVtWx2eb7JE58TQ@public.gmane.org>
2008-11-12 14:53           ` Alan Stern
2008-11-15 23:58         ` Rafael J. Wysocki
2008-11-15 23:54           ` Jiri Kosina
2008-11-16 12:35             ` Rafael J. Wysocki
     [not found]             ` <alpine.LNX.1.10.0811160053580.19853-YCXOAqNspd+N3ZZ/Hiejyg@public.gmane.org>
2008-11-16 22:12               ` Andi Kleen
     [not found] ` <20081111003117.GA10904-3rXA9MLqAseW/qJFnhkgxti2O/JbrIOy@public.gmane.org>
2008-11-12 14:31   ` Jiri Kosina
     [not found]     ` <alpine.LNX.1.10.0811121529240.32143-YCXOAqNspd+N3ZZ/Hiejyg@public.gmane.org>
2008-11-13 11:32       ` Andi Kleen
2008-11-13 12:30         ` Jiri Slaby
     [not found]           ` <491C1DFF.6000509-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
2008-11-13 14:31             ` Andi Kleen
2008-11-13 15:54               ` Alan Stern
2008-11-13 21:10                 ` [PATCH] HID: don't grab devices with no input Jiri Slaby
2008-11-13 21:37                   ` Alan Stern
2008-11-13 21:37                     ` Alan Stern
2008-11-13 22:05                     ` Jiri Slaby
2008-11-13 22:09                       ` [PATCH 1/1 v2] DRM: fix radeon suspend/resume oops Jiri Slaby
2008-11-13 22:11                         ` Jiri Slaby
2008-11-13 22:10                       ` [PATCH 1/1 v2] HID: don't grab devices with no input Jiri Slaby
2008-11-14 11:02                         ` Jiri Kosina
2008-11-14 13:17                           ` Andi Kleen
2008-11-14 13:09                             ` Jiri Kosina
2008-11-13 22:22                       ` [PATCH] " Andi Kleen
2008-11-13 22:14                         ` Jiri Slaby

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20081111084132.GE3810@one.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=jkosina@suse.cz \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=stern@rowland.harvard.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.