Proposal: adding a storage.disable_media_check for strange devices

David Zeuthen david at fubar.dk
Wed May 23 10:31:47 PDT 2007


Hi,

Sorry for the lag; been traveling,

On Fri, 2007-05-11 at 15:41 +0200, Frederic Crozat wrote:
> Hi,
> 
> among the various patches in mandriva package for hal, I have one to
> deal with some usb keys we have here which doesn't support getting
> polled at all, causing a lot of kernel error in syslog. Moreover, there
> isn't really a need to poll these kind of usb devices, since kernel
> events will notify when it is unplugged from the system.
> 
> I have some kind of ugly patch (attached) which disable polling for
> those devices after initial fs detection but it is only effective once
> usb key is mounted.
> 
> What do you think of adding a storage.disable_media_check (or maybe
> disable_polling) property to have this kind of device ?

Wouldn't it work with just an fdi file that sets storage.removable to
FALSE? 

Also, have you tried with the ub driver? Might help us single out
whether it's a bug with the usb-storage driver...

     David




More information about the hal mailing list