Re: [linux-dvb-maintainer] Re: [OOPS] Linux 2.6.14.2 and DVB USB

From: Johannes Stezenbach
Date: Tue Nov 15 2005 - 10:29:41 EST


On Tue, Nov 15, 2005 Patrick Boettcher wrote:
> On Mon, 14 Nov 2005, Chris Rankin wrote:
> >This sounds contrary to the entire concept of hotplugging to me. And I
> >don't think that a typical
> >desktop user would be happy to be told that s/he needs to become root and
> >unload kernel modules
> >before s/he can unplug a USB device.
>
> Unfortunately the dvb-core is currently not able to handle hotplugging
> while a dvb application is accessing a dvb-dev-node. This applies
> for every dvb-device, not only for dvb-usb devices, but no one ever tried
> to unplug a DVB PCI card while using it, yet.
>
> Before unplugging a device, you can check if the module is removable to
> make sure that really no application is currently using it. (You will get
> "module in use" then).
>
> We already thought about that problem and we think that dvbdev.c is the
> correct place to start implementing that, but I don't have enough
> knowledge (and time) to do that now, sorry.

I thought someone sent a patch which fixes it for the cinergyT2
recently? Wouldn't the same approach work for dvb-usb?
(But I haven't had a chance to test the cinergyT2 patch yet.)

Johannes
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/