Fedora Linux Support Community & Resources Center
  #1  
Old 9th February 2010, 09:12 AM
DuconLajoie Offline
Registered User
 
Join Date: Feb 2010
Posts: 2
linuxsafari
HP Touchsmart TX2 touchscreen doesn't work on FC12

Hi,

I just switched from FC10 to FC12, and much to my dismay, the touchscreen no longer works. I wasn't able to find a solution on the web, hopefully some gentle soul will answer my problem.
  • The hardware is recognised correctly, because
    Code:
    hexdump /dev/hidraw0
    gives an output when I over the stylus over the screen.

    Note: I used hexdump because I couldn't find the wacdump utility anymore. Has it disappeared?

  • I played with HAL rules so that the appropriate wacom driver is loaded for the tablet. I modified /etc/hal/fdi/policy/10-synaptics.fdi, taken from /usr/share/hal/fdi/policy/20thirdparty/10-synaptics.fdi, as follow (to avoid trying to load Synaptics driver for the touchpad feature of the tablet):

    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <deviceinfo version="0.2">
      <device>
        <match key="info.capabilities" contains="input.touchpad">
            <match key="info.product" contains="Synaptics">
                    <merge key="input.x11_options.TapButton1" type="string">1</merge>
                    <merge key="input.x11_options.TapButton2" type="string">3</merge>
                    <merge key="input.x11_options.TapButton3" type="string">2</merge>
                    <merge key="input.x11_driver" type="string">synaptics</merge>
                    <merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
            </match>
        </match>
      </device>
    </deviceinfo>
    I modified /etc/hal/fdi/policy/10-wacom.fdi, taken from /usr/share/hal/fdi/policy/20thirdparty/10-wacom.fdi, as follow:

    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <!-- this is probably a bit imprecise -->
    <deviceinfo version="0.2">
      <device>
        <match key="info.category" contains="input">
          <match key="info.product" contains_outof="Wacom;WALTOP;WACOM">
            <merge key="input.x11_driver" type="string">wacom</merge>
          </match>
        </match>
        <match key="info.capabilities" contains="serial">
          <match key="@info.parent:pnp.id" contains_outof="WACf;FUJ02e5;FUJ02e7">
            <append key="info.capabilities" type="strlist">input</append>
            <merge key="input.x11_driver" type="string">wacom</merge>
            <merge key="input.x11_options.ForceDevice" type="string">ISDV4</merge>
            <merge key="input.device" type="copy_property">serial.device</merge>
          </match>
        </match>
        <!-- N-Trig Duosense Electromagnetic Digitizer -->
        <match key="info.product" contains="HID 1b96:0001">
          <match key="info.parent" contains_outof="if0;if1">
           <merge key="input.x11_driver" type="string">wacom</merge>
          </match>
        </match>
      </device>
    </deviceinfo>
  • I obtained the following information from lshal:

    Code:
    udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1_hiddev'
      hiddev.application_pages = {'Unknown page 0xd0002', 'Unknown page 0xd0004'} (string list)
      hiddev.device = '/dev/usb/hiddev1'  (string)
      hiddev.product = 'HID 1b96:0001'  (string)
      info.bus = 'usb'  (string)
      info.capabilities = {'hiddev'} (string list)
      info.category = 'hiddev'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1'  (string)
      info.product = 'HID 1b96:0001'  (string)
      info.subsystem = 'usb'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1_hiddev'  (string)
      input.x11_driver = 'wacom'  (string)
      linux.device_file = '/dev/usb/hiddev1'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.1/usb/hiddev1'  (string)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1_logicaldev_input'
      info.capabilities = {'input', 'input.touchpad'} (string list)
      info.category = 'input'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1'  (string)
      info.product = 'HID 1b96:0001'  (string)
      info.subsystem = 'input'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1_logicaldev_input'  (string)
      input.device = '/dev/input/event8'  (string)
      input.originating_device = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1'  (string)
      input.product = 'HID 1b96:0001'  (string)
      input.x11_driver = 'wacom'  (string)
      linux.device_file = '/dev/input/event8'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'input'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.1/input/input8/event8'  (string)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0_hiddev'
      hiddev.application_pages = {'Unknown page 0xd0002', 'Unknown page 0xd0004'} (string list)
      hiddev.device = '/dev/usb/hiddev0'  (string)
      hiddev.product = 'HID 1b96:0001'  (string)
      info.bus = 'usb'  (string)
      info.capabilities = {'hiddev'} (string list)
      info.category = 'hiddev'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0'  (string)
      info.product = 'HID 1b96:0001'  (string)
      info.subsystem = 'usb'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0_hiddev'  (string)
      input.x11_driver = 'wacom'  (string)
      linux.device_file = '/dev/usb/hiddev0'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.0/usb/hiddev0'  (string)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0_logicaldev_input'
      info.capabilities = {'input', 'input.touchpad'} (string list)
      info.category = 'input'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0'  (string)
      info.product = 'HID 1b96:0001'  (string)
      info.subsystem = 'input'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0_logicaldev_input'  (string)
      input.device = '/dev/input/event7'  (string)
      input.originating_device = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0'  (string)
      input.product = 'HID 1b96:0001'  (string)
      input.x11_driver = 'wacom'  (string)
      linux.device_file = '/dev/input/event7'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'input'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.0/input/input7/event7'  (string)
  • This results in the following initialization on Xorg load:

    Code:
    II) config/hal: Adding input device HID 1b96:0001
    (II) LoadModule: "wacom"
    (II) Loading /usr/lib64/xorg/modules/input/wacom_drv.so
    (II) Module wacom: vendor="X.Org Foundation"
            compiled for 1.7.4, module version = 0.10.4
            Module class: X.Org XInput Driver
            ABI class: X.Org XInput driver, version 7.0
    (**) Option "Device" "/dev/input/event8"
    (II) HID 1b96:0001: type not specified, assuming 'stylus'.
    (II) HID 1b96:0001: other types will be automatically added.
    (**) HID 1b96:0001: always reports core events
    (II) HID 1b96:0001: hotplugging dependent devices.
    (**) Option "Device" "/dev/input/event8"
    (**) HID 1b96:0001 touch: always reports core events
    (II) XINPUT: Adding extended input device "HID 1b96:0001 touch" (type: TOUCH)
    (--) HID 1b96:0001 touch: using pressure threshold of 15 for button 1
    (--) HID 1b96:0001 touch: Wacom Unknown USB tablet speed=38400 maxX=0 maxY=0 maxZ=256 resX=1016 resY=1016  tilt=enabled
    (--) HID 1b96:0001 touch: top X=0 top Y=0 bottom X=9600 bottom Y=7200 resol X=1016 resol Y=1016
    (II) HID 1b96:0001: hotplugging completed.
    (II) XINPUT: Adding extended input device "HID 1b96:0001" (type: STYLUS)
    (--) HID 1b96:0001: top X=0 top Y=0 bottom X=0 bottom Y=0 resol X=1016 resol Y=1016
    (II) config/hal: Adding input device HID 1b96:0001
    (**) Option "Device" "/dev/input/event7"
    (II) HID 1b96:0001: type not specified, assuming 'stylus'.
    (II) HID 1b96:0001: other types will be automatically added.
    (**) HID 1b96:0001: always reports core events
    (II) HID 1b96:0001: hotplugging dependent devices.
    (**) Option "Device" "/dev/input/event7"
    (**) HID 1b96:0001 touch: always reports core events
    (II) XINPUT: Adding extended input device "HID 1b96:0001 touch" (type: TOUCH)
    (--) HID 1b96:0001 touch: using pressure threshold of 15 for button 1
    (--) HID 1b96:0001 touch: Wacom Unknown USB tablet speed=38400 maxX=0 maxY=0 maxZ=256 resX=1016 resY=1016  tilt=enabled
    (--) HID 1b96:0001 touch: top X=0 top Y=0 bottom X=9600 bottom Y=7200 resol X=1016 resol Y=1016
    (II) HID 1b96:0001: hotplugging completed.
    (II) XINPUT: Adding extended input device "HID 1b96:0001" (type: STYLUS)
    (--) HID 1b96:0001: top X=0 top Y=0 bottom X=0 bottom Y=0 resol X=1016 resol Y=1016
    As you can see, two devices (/dev/input/event7 and /dev/input/event8) are detected and configured for the wacom driver. Yet, nothing happens when I use the stylus or if I tap the screen.

Kernel: 2.6.31.12-174.2.3.fc12.x86_64
Wacom: xorg-x11-drv-wacom-0.10.4-1.fc12.x86_64

I tested this on XFCE 4.6.1 and Gnome as well, without success.
Can anyone help me?

Thanks!
Reply With Quote
  #2  
Old 9th February 2010, 09:30 PM
DuconLajoie Offline
Registered User
 
Join Date: Feb 2010
Posts: 2
linuxsafari
Workaround with evdev

OK, for those interested, I found a workaround. It consists in using the generic evdev driver instead of the wacom one.

Copy the provided wacom HAL file to /etc/hal/fdi/policy/

Code:
cp /usr/share/hal/fdi/policy/20thirdparty/10-wacom.fdi /etc/hal/fdi/policy/
Replace its content by:

Code:
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- this is probably a bit imprecise -->
<deviceinfo version="0.2">
  <device>
    <match key="info.category" contains="input">
      <match key="info.product" contains_outof="Wacom;WALTOP;WACOM">
        <merge key="input.x11_driver" type="string">wacom</merge>
      </match>
    </match>
    <match key="info.capabilities" contains="serial">
      <match key="@info.parent:pnp.id" contains_outof="WACf;FUJ02e5;FUJ02e7">
        <append key="info.capabilities" type="strlist">input</append>
        <merge key="input.x11_driver" type="string">wacom</merge>
        <merge key="input.x11_options.ForceDevice" type="string">ISDV4</merge>
        <merge key="input.device" type="copy_property">serial.device</merge>
      </match>
    </match>
    <!-- N-Trig Duosense Electromagnetic Digitizer -->
    <match key="info.product" contains="HID 1b96:0001">
      <match key="info.parent" contains="if0">
       <merge key="input.x11_driver" type="string">evdev</merge>
      </match>
    </match>
  </device>
</deviceinfo>
The only modification is to change line
Code:
<merge key="input.x11_driver" type="string">wacom</merge>
by
Code:
<merge key="input.x11_driver" type="string">evdev</merge>
It works for the stylus and fingers, but the button on the side of the stylus is assigned to the left click.
Reply With Quote
Reply

Tags
fc12, hp touchsmart tx2, touchscreen, wacom

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgraded to rawhide, lost touchpad ans touchscreen, mouses work Elv13 Fedora 13 Development Branch 3 6th February 2010 12:52 AM
Gunze Touchscreen --FC12 kennedy Hardware & Laptops 2 16th December 2009 09:42 PM
Cannot get lirc to work with FC12 trollcenter Using Fedora 0 21st November 2009 10:14 PM
IBM TransNote touchscreen.... can it work? Slavens Hardware & Laptops 0 9th November 2008 05:44 PM
Any Linux netbooks with touchscreen? (or howto install Fedora + touchscreen?) techmum Using Fedora 0 8th October 2008 11:03 PM


Current GMT-time: 07:05 (Wednesday, 03-09-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat