More on hotplug issue w/HAL

Matthew Mastracci matt at aclaro.com
Fri Jan 9 06:00:35 EET 2004


> > 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.  ;)
> 
> Great; help is always welcome.

Here is the patch to support to support the I2C bus.  Attached is:

 - The patch (in -u format) to tools/device-manager/Const.py.in,
hald/Makefile.am hald/linux/linux_osspec.c 
 - The new files, linux_i2c.h and linux_i2c.c

I based linux_i2c.* off linux_pci.*.  I tested it with the I2C adapter
on my BT848 card, as well as the onboard NVidia NForce2 SMBus adapter. 
No capabilities are currently supported, but the devices nodes now show
up.
 
Matthew Mastracci <matt at aclaro.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch.txt
Type: text/x-patch
Size: 2390 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20040108/fac4beab/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux_i2c.c
Type: text/x-c
Size: 7257 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20040108/fac4beab/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linux_i2c.h
Type: text/x-c-header
Size: 1300 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/xdg/attachments/20040108/fac4beab/attachment-0002.bin 


More information about the xdg mailing list