[PATCH] add detection of Tablet PCs with WACOM tablet devices
Danny Kukawka
danny.kukawka at web.de
Thu Aug 11 10:27:18 PDT 2005
Hi,
this patch add detection of Tablet PCs with WACOM tablet devices to HAL.
The kernel export the pnp.id (WACf00{4,5,6}) and port/irq from bios/dsdt to
/sys/devices/pnp*/ for the internal serial tablet. The device must be set with
setserial to /dev/ttyS* manually.
To get and provide the needed information for setserial we parse the files in
in the sys_path and if the pnp.id match we add them to the device. If a
tablet pc is detected, we also correct the form factor of the computer
(system.formfactor) to 'laptop' and add a new key 'system.formfactor.subtype
= tabletpc'.
With this patch everyone with a tablet pc can easy add a fdi file to parse the
port/iq of the tablet and add a callout to execute the needed setserial
command.
Please review.
Cheers,
Danny
ids.c | 3 +++
physdev.c | 40 ++++++++++++++++++++++++++++++++++++++++
2 files changed, 43 insertions(+)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-add-wacom_tabletPC.diff
Type: text/x-diff
Size: 3252 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20050811/9f1e5e0b/hal-add-wacom_tabletPC.bin
-------------- next part --------------
_______________________________________________
hal mailing list
hal at lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/hal
More information about the hal
mailing list