Proper way to prevent a device (that's unrecognized) fromhotplugging?

Preston Crawford me at prestoncrawford.com
Sat May 29 08:03:05 UTC 2004


On Fri, 2004-05-28 at 13:38, Ow Mun Heng wrote:
> On Fri, 2004-05-28 at 13:13, me at prestoncrawford.com wrote:
> > I did put it in /etc/hotplug/blacklist. I put usb-storage there. That's the point, though. I don't
> > want to have to do that. I'd rather blacklist the Rio somehow. Like make sure it gets assigned to a
> > specific device then blacklist that device. Or something. I'm just not sure how you go about that.
> > usb-storage is too broad to blacklist. Includes cameras, usb memory keys, etc.
> 
> Hmm...
> 
> can you post the stuffs from your messages?? I don't exactly know what to do, but I have a 
> rough idea what can be done. The only thing is to locate where the invocation is called.

Okay, here's what I'm seeing....

May 29 00:49:27 computername kernel: usb.c: USB device 40 (vend/prod
0x45a/0x5009) is not claimed by any active driver.'

So this means basically that since it doesn't know what the device is,
it's just calling it a usb-storage device. It would be nice if it were
picked up as something else (say rio500) and then I could just blacklist
that device in hotplug so it wasn't hotplugged at all. That would be
ideal, I think.

> U might want to look into your /etc/hotplug/hotplug.function script and
> see if you can hack a workaround.

Not sure where I'd go with that.

Preston





More information about the users mailing list