Hi Pete, Thanks for the quick answer!
On 8/4/06, Pete Zaitcev <[EMAIL PROTECTED]> wrote: > On Fri, 4 Aug 2006 15:51:36 +0900, "Magnus Damm" <[EMAIL PROTECTED]> wrote: > > > 6. Unplug the usb audio device. XMMS will from now on eat 100% CPU. > > The failure of XMMS is something Jaroslav might want to check. Yeah, it must be possible to avoid that condition. > > 7. Again, check the state of all input devices: cat > > /proc/bus/input/devices | grep ^N: > > N: Name="AT Translated Set 2 keyboard" > > N: Name="HID 413c:3010" > > N: Name="Plantronics Plantronics Headset" (hrm, that's the device > > that just was unplugged) > > At this point it's clear that your khubd is either stuck or crashed, > so naturally any future plug/unplug won't be processed. What does your > ps say, and also, is there anything interesting in dmesg? I don't think anything has crashed, because if I terminate the application that is using the audio device things unlock nicely. I suspect that the device-specific code for removing the audio/hid part of the headset is blocking until the number of users drop to 0. And I guess that makes the entire usb hotplug mechanism stall. I don't have access to that machine until Monday, but I noticed that the mouse doesn't get powered on until I unlock everything by killing the audio application. I can tell because the LED/optical sensor on the mouse is disabled. I was just about to throw away the mouse the first time this happened! =) My main question is that if the current behaviour is sane or not. I think not. Thanks! / magnus ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys -- and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel