Results 1 to 6 of 6

Thread: HP Touchsmart tx-1340 n-trig driver woes (Win 7 Firmware)

  1. #1
    Join Date
    Jan 2008
    Beans
    49
    Distro
    Ubuntu 9.10 Karmic Koala

    Angry [SOLVED] HP Touchsmart tx-1340 n-trig driver woes (Win 7 Firmware)

    (I am using Ubuntu 9.10, Karmic)

    Hi, I've followed pretty much every guide under the sun on trying to get this screen to work, but still I end up with a console log in that flashes black about 6 times before entering low graphics mode!

    Anyone out there can see where I've gone wrong in the config files?:

    xorg.conf:
    Code:
    # xorg.conf (X.Org X Window System server configuration file)
    #
    # This file was generated by dexconf, the Debian X Configuration tool, using
    # values from the debconf database.
    #
    # Edit this file with caution, and see the xorg.conf manual page.
    # (Type "man xorg.conf" at the shell prompt.)
    #
    # This file is automatically updated on xserver-xorg package upgrades *only*
    # if it has not been modified since the last upgrade of the xserver-xorg
    # package.
    #
    # Note that some configuration settings that could be done previously
    # in this file, now are automatically configured by the server and settings
    # here are ignored.
    #
    # If you have edited this file but would like it to be automatically updated
    # again, run the following command:
    #   sudo dpkg-reconfigure -phigh xserver-xorg
    # Setup for HP TX2z.  Switch comments if you have the Dell Latitude XT or XT2.
    #   Remove the comments below if you have an eraser.  Dell XT & XT2?
    #Section "InputDevice"
    #	Identifier	"eraser"
    #	Driver		"wacom"
    #   The by-path below is for the Dell Latitude XT & XT2 with Vista firmware
    #	Option "Device" "/dev/input/by-path/pci-0000:00:13.1-usb-0:2:1.0-event-mouse"
    #	Option		"Type"		"eraser"
    #	Option		"USB"		"on"
    #EndSection
    #   Developed with Ayuthia (using Rafi Rubin's Wacom sections as a starting point).
    
    Section "Monitor"
    	Identifier	"Configured Monitor"
    EndSection
    
    Section "Screen"
    	Identifier	"Default Screen"
    	Monitor		"Configured Monitor"
    	Device		"Configured Video Device"
    	DefaultDepth	24
    EndSection
    
    Section "Module"
    	Load	"glx"
    EndSection
    
    Section "InputDevice"
    	Identifier	"stylus"
    	Driver		"wacom"
    	Option "Device" "/dev/input/by-path/pci-0000:00:14.5-usb-0:2:1.1-event-mouse"
    	Option		"Type"		"stylus"
    	Option		"USB"		"on"
    	Option		"Button2"	"3"	# make stylus button R mouse click
    EndSection
    
    Section "InputDevice"
    	Identifier	"touch"
    	Driver		"wacom"
    	Option "Device" "/dev/input/by-path/pci-0000:00:14.5-usb-0:2:1.1-event-mouse"
    	Option		"Type"		"touch"
    	Option		"USB"		"on"
    	Option		"Touch"		"on"
    	Option		"TopX"		"0"
    	Option		"TopY"		"0"
    	Option		"BottomX"	"9600"
    	Option		"BottomY"	"7200"
    	#   The by-path below is for the HP TX2z with Vista firmware
    	#   The by-path below is for the Dell Latitude XT & XT2 with Vista firmware
    	#	Option "Device" "/dev/input/by-path/pci-0000:00:13.1-usb-0:2:1.0-event-mouse"
    EndSection
    
    Section "ServerLayout"
    	Identifier	"Default Layout"
    	Screen		"Default Screen"
    	InputDevice	"stylus"	"SendCoreEvents"
    	InputDevice	"touch"		"SendCoreEvents"
    	#	Identifier	"X.org Configured"	# New for Jaunty?
    	#   Remove the comment below if you have an eraser.
    	#	InputDevice	"eraser"	"SendCoreEvents"
    EndSection
    
    Section "Device"
    	Identifier	"Configured Video Device"
    	Driver	"fglrx"
    EndSection
    10-linuxwacom.fdi:
    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    
    <!-- Wacom:  tablets, tablet pc's, and touch screen laptops -->
    <deviceinfo version="0.2">
      <!-- for all Wacom USB tablets -->
      <device>
        <match key="input.originating_device" contains="if0">
          <match key="info.product" contains="Wacom">
    	<merge key="input.x11_driver" type="string">wacom</merge>
    	<merge key="input.x11_options.Type" type="string">stylus</merge>
    	<append key="info.callouts.add" type="strlist">hal-setup-wacom</append>
    	<append key="wacom.types" type="strlist">eraser</append>
    	<append key="wacom.types" type="strlist">cursor</append>
    	<append key="wacom.types" type="strlist">pad</append>
            <!-- for HP dv3-2250 multi-touch laptop -->
            <match key="info.udi" contains="e2">
              <merge key="input.x11_options.Type" type="string">touch</merge>
            </match>
          </match>
        </match>
      </device>
      <!-- for most Wacom USB tablets with touch -->
      <device>
        <match key="input.originating_device" contains="if1">
          <match key="info.product" contains="Wacom">
            <merge key="input.x11_driver" type="string">wacom</merge>
            <merge key="input.x11_options.Type" type="string">touch</merge>
            <!-- for Bamboo Pen & Touch tablets -->
    	<append key="info.callouts.add" type="strlist">hal-setup-wacom</append>
    	<append key="wacom.types" type="strlist">pad</append> 
          </match>
        </match>
      </device>
      <!-- for Wacom Serial tablets -->
      <device>
        <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.Type" type="string">stylus</merge>
    	<merge key="input.x11_options.ForceDevice" type="string">ISDV4</merge>
    	<merge key="input.device" type="copy_property">serial.device</merge>
    	<append key="info.callouts.add" type="strlist">hal-setup-wacom</append>
    	<append key="wacom.types" type="strlist">eraser</append>
    	<append key="wacom.types" type="strlist">cursor</append>
    	<!-- Serial tablets with touch capabilities -->
            <match key="@info.parent:pnp.id" contains_outof="WACf008;WACf009;WACf010;WACf008A;WACf00B;WACf00C;WACf00D;WACf00E;FUJ02e7">
    	  <append key="wacom.types" type="strlist">touch</append>
    	</match>
            <!-- Serial tablets that operate at higher baud rate -->
            <match key="@info.parent:pnp.id" contains_outof="WACf008">
              <merge key="input.x11_options.BaudRate" type="string">38400</merge>
            </match>
          </match>
        </match>
      </device>
      <!-- Match the Wacom Bluetooth A5 pen tablet -->
      <device>
        <match key="info.capabilities" contains="input.mouse">
          <match key="info.product" contains="WACOM">
            <match key="info.product" contains="Tablet">
              <merge key="input.x11_driver" type="string">wacom</merge>
              <merge key="input.x11_options.Type" type="string">stylus</merge>
    	  <append key="info.callouts.add" type="strlist">hal-setup-wacom</append>
    	  <append key="wacom.types" type="strlist">eraser</append>
    	  <append key="wacom.types" type="strlist">cursor</append>
            </match>
          </match>
        </match>
      </device>
      <!-- Wacom names "parser" -->
      <device>
        <match key="info.udi" contains_not="subdev_0">
        <match key="info.udi" contains_not="subdev_1">
        <match key="info.udi" contains_not="subdev_2">
          <match key="input.x11_options.Type" contains="stylus">
            <merge key="info.product" type="string">stylus</merge>
          </match>
          <match key="input.x11_options.Type" contains="eraser">
            <merge key="info.product" type="string">eraser</merge>
          </match>
          <match key="input.x11_options.Type" contains="cursor">
            <merge key="info.product" type="string">cursor</merge>
          </match>
          <match key="input.x11_options.Type" contains="pad">
            <merge key="info.product" type="string">pad</merge>
          </match>
          <match key="input.x11_options.Type" contains="touch">
            <merge key="info.product" type="string">touch</merge>
          </match>
        </match>
        </match>
        </match>
      </device>
    </deviceinfo>
    11-x11-synaptics.fdi:
    Code:
    <?xml version="1.0" encoding="ISO-8859-1"?>
    <deviceinfo version="0.2">
      <device>
        <match key="info.capabilities" contains="input.touchpad">
            <merge key="input.x11_driver" type="string">synaptics</merge>
            <!-- Arbitrary options can be passed to the driver using
                 the input.x11_options property since xorg-server-1.5. -->
            <!-- EXAMPLES:
            Switch on shared memory, enables the driver to be configured at runtime
    	<merge key="input.x11_options.SHMConfig" type="string">true</merge>
    
    	Maximum movement of the finger for detecting a tap
    	<merge key="input.x11_options.MaxTapMove" type="string">2000</merge>
    
    	Enable vertical scrolling when dragging along the right edge
    	<merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
    
    	Enable vertical scrolling when dragging with two fingers anywhere on the touchpad
    	<merge key="input.x11_options.VertTwoFingerScroll" type="string">true</merge>
    
    	Enable horizontal scrolling when dragging with two fingers anywhere on the touchpad
    	<merge key="input.x11_options.HorizTwoFingerScroll" type="string">true</merge>
    
    	If on, circular scrolling is used
    	<merge key="input.x11_options.CircularScrolling" type="string">true</merge>
    
    	For other possible options, check CONFIGURATION DETAILS in synaptics man page
            -->
            <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" string="Inspiron 1011">
                <merge key="input.x11_options.JumpyCursorThreshold" type="string">90</merge>
                <merge key="input.x11_options.AreaBottomEdge" type="string">4100</merge>
            </match>
            <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" string="Inspiron 1012">
                <merge key="input.x11_options.JumpyCursorThreshold" type="string">90</merge>
                <merge key="input.x11_options.AreaBottomEdge" type="string">4100</merge>
            </match>
            <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" string="HP MiniNote 1000">
                <merge key="input.x11_options.JumpyCursorThreshold" type="string">200</merge>
            </match>
        </match>
      </device>
    </deviceinfo>
    uname -r:
    Code:
    2.6.31-16-generic
    When I try and run "startx", I get the message:

    Code:
    1b96 is not supported by linuxwacom.
    I'm stumped!
    Last edited by ian_hawdon; January 2nd, 2010 at 03:38 PM. Reason: Solved

  2. #2
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HP Touchsmart tx-1340 n-trig driver woes (Win 7 Firmware)

    Hi ian_hawdon,

    You have several issues.

    You should only use the xorg.conf or the .fdi, not both. Probably the xorg.conf unless Ayuthia tells you different.

    The error:
    1b96 is not supported by linuxwacom.
    means you have not applied the n-trig.patch to the linuxwacom drivers. This alters the table of Product ID's in wcmUSB.c so it supports the N-trig digitizer. You have to fool it, N-trig isn't Wacom after all. See b) in "1) Jaunty: The kernel patches" in the N-trig HOW TO. Notice there's a link to a patched a pre-compiled linuxwacom if you want that.

    Right now things don't work well with the Win7 firmware. It dramatically changes how the N-trig digitizer reports the data. Several folks including Ayuthia are looking at this. Ayuthia has made some preliminary hid-ntrig.ko's to address this. Same HOW TO and near the end of the thread.

  3. #3
    Join Date
    Jan 2008
    Beans
    49
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HP Touchsmart tx-1340 n-trig driver woes (Win 7 Firmware)

    so I remove the 10-wacomlinux.fdi file all together?

    There was a custom hid-ntrig.ko file I put into the /lib/modules/2.6.31-16-generic/kernel/drivers/hid/ folder.

    I was also under the impression that the patches were in the latest linuxwacom source code, but then again, I might have misread that somewhere!

  4. #4
    Join Date
    Nov 2008
    Beans
    9,635
    Distro
    Ubuntu 12.04 Precise Pangolin

    Re: HP Touchsmart tx-1340 n-trig driver woes (Win 7 Firmware)

    so I remove the 10-wacomlinux.fdi file all together?
    Either that, or comment out the contents. Make a back up if you remove it of course.
    There was a custom hid-ntrig.ko file I put into the /lib/modules/2.6.31-16-generic/kernel/drivers/hid/ folder.
    OK, a Win7 firmware version from Ayuthia?
    I was also under the impression that the patches were in the latest linuxwacom source code, but then again, I might have misread that somewhere!
    There was a report about that but when Ayuthia looked into it, it apparently hadn't happened (yet?).

  5. #5
    Join Date
    Jan 2008
    Beans
    49
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: HP Touchsmart tx-1340 n-trig driver woes (Win 7 Firmware)

    Ok, I repatched the stable 0.9.4-4 version of linuxwacom and it works fine now. I remember the patch isn't compatible with the 0.9.5-x versions, so I presumed that the patch had made it into that release.

    Thanks for your help

  6. #6
    Join Date
    Jan 2007
    Location
    Here.
    Beans
    418
    Distro
    Kubuntu Development Release

    Re: HP Touchsmart tx-1340 n-trig driver woes (Win 7 Firmware)

    I'm just trying to figure out where to start with all of this on my Lucid / Latitude XT. Any pointers appreciated at the thread I started over at:
    http://ubuntuforums.org/showthread.php?p=8719750
    Facebook, Apple, Google, corrupt governments, the ISP's and Telco's
    can be beaten at their own game by free and open source software.
    Here's how. (Extra credit)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •