More on hotplug issue w/HAL

Otto Solares solca at guug.org
Sat Jan 10 00:38:14 EET 2004


On Fri, Jan 09, 2004 at 04:41:40PM -0500, Bill Nottingham wrote:
> Otto Solares (solca at guug.org) said: 
> > > BTW - I've noticed that the floppy drive doesn't appear anywhere within
> > > sysfs.  I'm guessing that this is a kernel issue - there doesn't seem to
> > > be a device class for it at all!  
> > 
> > Same for AT / PS/2 keyboards, serials, parallel, PS/2 mice.
> 
> Keyboards and mice can show up under the input class with some
> patches that are not yet integrated, as I recall. floppy would
> be under the platform bus.

It would be nice that all input layer devices register under
the input class, last time i check in the code there was no
support for sysfs in the input layer.

> Note that you *can* detect some of this stuff without sysfs. Although,
> for keyboards and PS/2 mice, you don't really care.

Right, opening each eventX node under /dev/input even for keyboards
and PS2 mice.

-solca




More information about the xdg mailing list