lkml.org 
[lkml]   [2008]   [Mar]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] evdev: Release eventual input device grabs when getting disconnected


On Sun, 30 Mar 2008, Greg KH wrote:
>
> I haven't heard of the opposite happening. Anything that I can try to
> test for here, I have a lot of removable input devices to test with.

Ahh, you weren't cc'd earlier, and may have missed the discussion. It's on
Linux-kernel in the thread called "Oops/Warning report for the week of
March 28th 2008"

Johannes says this triggers for him:

On the other hand, it should be easily reproducible by anyone else with
the same trick, here's what I do:

* configure X to use /dev/input/event* devices
* in an xterm, do something like
rmmod usbhid ; modprobe usbhid
* switch to a VT
* watch kernel crash as X releases the grab on the event device

and I haven't tried it because none of my normal machines use modules, and
I was lazy and really hoping somebody else who actually knows the device
and input layers would take a peek.

Linus




\
 
 \ /
  Last update: 2008-03-31 00:39    [W:0.089 / U:0.800 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site