[PATCH] Tablet PC support

Danny Kukawka danny.kukawka at web.de
Thu Mar 8 08:07:09 PST 2007


Hi,

here is a updated version of my Tablet PC patch for HAL. Due to changes
in the kernel we don't need to call setserial for _all_ Tablet PC devices,
but there are some which need special handling to get the running in the 
correct way. This is the reason why thispatch also include a helper to 
call setserial.

What this patch do:
 * identify Wacom and Finepoint Tablet PC devices and port/irq 
 * set system.formfactor.subtype to 'tabletpc' - this allow the desktop
   to handle special tasks for Tablet PCs as e.g. show OnScreen Keyboard
   in KDM/GDM
 * added setserial helper to setup /dev/ttyS* devices with sepcial
   parameter if needed
 * add fdi-file to set needed parameter for special Tablet devices where 
   the kernel can't setup the device correct and set callout to execute 
   the helper for setserial 

This patch or a versions of this patch are already included in the SUSE
HAL package since 08/2005 and work as expected ;-)

Danny

 fdi/policy/10osvendor/10-tabletPCs.fdi |   24 ++++
 fdi/policy/10osvendor/Makefile.am      |    1
 hald/linux/device.c                    |   39 +++++++
 tools/Makefile.am                      |    6 +
 tools/hal-system-setserial.c           |  115 +++++++++++++++++++++++
 5 files changed, 184 insertions(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-add-tabletPC_support_v2.diff
Type: text/x-diff
Size: 9770 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20070308/c01f8f7b/hal-add-tabletPC_support_v2.bin


More information about the hal mailing list