On Thu, Sep 23, 2004 at 09:19:11PM +0200, Jan Steinhoff wrote: > Hi, > > I'm working on a kernel 2.6 driver for Synaptics cPad. With kernel >= 2.6.7 > 'rmmod cpad' hangs if called from xterm. This is because Synaptics > TouchPad driver for XFree86 holds the evdev device of the cPad open, even > if read errors like ENODEV occur. When switching to console the device is > closed an rmmod finally returns. > > The same thing happens with usbhid.ko and an ordinary USB mouse, if I hold > the evdev device open with less. driver_unregister in function > usb_deregister does not return, although the disconnect function in the > usb device driver already returned. > > Is this a bug, does the XFree driver need to be fixed, or both? Both. Can you check with 2.6.10 or later?
-- Vojtech Pavlik SuSE Labs, SuSE CR ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel