More on hotplug issue w/HAL
matt at aclaro.com
Fri Jan 9 03:41:21 EET 2004
> This is currently discussed on linux-hotplug and lkml. One possible is
> solution is to get Linux 2.6 to generate hotplug add/remove on media
> change which would make it work easily with HAL.
> If this doesn't happen we will have to poll on *all* the devices (udev
> would also have to create *all* the possible nodes for partitions e.g.
> /udev/sda1 through /udev/sda15). To poll we would use open("/udev/sda?",
> O_RDONLY|O_NONBLOCK). This would work today.
Ah cool. Perhaps I should subscribe to those lists as well. Is
linux-hotplug more appropriate venue to discuss items like this?
> > Unfortunately, it looks like there are a few device classes that are
> > missing bus entries in sysfs (ie: missing kernel support). For example,
> > none of the legacy floppy/serial/parallel ports appear in there. I
> > suppose that someone just needs to do the grunt work of writing the
> > sysfs classes. :)
> You're right. A lot of different devices are missing, basically HAL only
> support a subset of what's in sysfs today - as time progress more and
> more classes and busses will be added to sysfs, and then we can easily
> add support in HAL - for instance I know Joe Shaw is working on adding
> Firewire support to HAL.
I'm working on adding I2C bus support for HAL as we speak. I'd like to
see my I2C tuner appear underneath my BT848 card. ;)
Matthew Mastracci <matt at aclaro.com>
More information about the xdg