diff options
author | Danny Kukawka <danny.kukawka@web.de> | 2010-06-14 12:05:36 +0200 |
---|---|---|
committer | Danny Kukawka <danny.kukawka@web.de> | 2010-06-14 12:14:45 +0200 |
commit | 8edf87fc636de25746c153bb3bf778e6e6ce6df3 (patch) | |
tree | 42006a00184237193395765b26e008074f707d4c | |
parent | 23267656d59fe56cb6401f65a278c3ee2b32de39 (diff) | |
download | hal-8edf87fc636de25746c153bb3bf778e6e6ce6df3.tar.gz |
detect also serial wacom tablets with pnp-id > WACf009
Detect also machines with serial wacom tablets and pnp-id > WACf009
as e.g. WACf010 as TabletPCs.
-rw-r--r-- | hald/linux/device.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hald/linux/device.c b/hald/linux/device.c index aafad71e..ea5f50fa 100644 --- a/hald/linux/device.c +++ b/hald/linux/device.c @@ -2218,7 +2218,7 @@ pnp_add (const gchar *sysfs_path, const gchar *device_file, HalDevice *parent_de hal_device_property_set_string (d, "info.product", pnp_description); } pnp_id = hal_device_property_get_string (d, "pnp.id"); - if( !strncmp(pnp_id, "WACf00", 6) || !strcmp(pnp_id, "FUJ02e5") || + if( !strncmp(pnp_id, "WACf0", 5) || !strcmp(pnp_id, "FUJ02e5") || !strcmp(pnp_id, "FUJ02e6") || !strcmp(pnp_id, "FPI2004")) { /* a internal serial tablet --> this should be a tablet pc */ if ((computer = hal_device_store_find (hald_get_gdl (), "/org/freedesktop/Hal/devices/computer")) != NULL || |