Subject: Re: usb device polling
To: Jukka Marin <jmarin@embedtronics.fi>
From: Lennart Augustsson <lennart@augustsson.net>
List: tech-kern
Date: 04/26/2005 20:38:10
Jukka Marin wrote:
> On Tue, Apr 12, 2005 at 05:51:18PM +0200, Jachym Holecek wrote:
> 
>>If you just want to catch the 'device appeared/disappeared' event,
>>you can give kern/29485 and bin/29486 a try ;-). Works for PCI, PCMCIA,
>>USB -- supporting other buses is just a mechanical task I didn't yet
>>have time to do.
> 
> 
> Ah.. maybe later, I'm afraid my kernel patch quota is full :-)
> 
> 
>>If, for some reason you don't want to, you can also use /dev/usb as
>>described in usb(4).
> 
> 
> I guess that will do, thanks.. too bad it needs to be running as root :-I

Hmmm, I guess there's no real reason not to allow anyone to
open /dev/usb.  You can chmod /dev/usb, and I'll fix it
for future versions.

	-- Lennart