Page 11 of 33 FirstFirst ... 91011121321 ... LastLast
Results 101 to 110 of 322

Thread: HOWTO setting up ubuntu 8.10 intrepid on the HP tx2z tablet pc

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

    Re: HOWTO setting up ubuntu 8.10 intrepid on the HP tx2z tablet pc

    Hi Keeper of the Keys,

    The eraser is like a special button on the back of your stylus. When you depress it it sinks into the barrel of the stylus. This can give you pressure like the stylus tip in Gimp etc. At least for Wacom it's another inputdevice section in the xorg.conf.

    Good that you've got things working again. Rafi sounds like the best bet to find out what's going on for N-trig. Remember the LWP does not support N-trig. It's 10-wacom.fdi does not have N-trig entries. It is Ubuntu that's putting the N-trig entries into it's version of the 10-wacom.fdi. I'm pretty sure anyway. It may be coming upstream from Debian.
    Last edited by Favux; April 14th, 2009 at 05:08 AM.

  2. #102
    Join Date
    Feb 2009
    Beans
    71

    Re: HOWTO setting up ubuntu 8.10 intrepid on the HP tx2z tablet pc

    Rafi replied that in Debian/unstable either no fdi is used, or at least he is capable of working without having touched any fdi file...

    I have been trying to play around a bit with the fdi file but so far have had no success, now I have to admit that I am just shooting in the dark when editing the fdi file, so I will try to first read some docs...

    Edit:
    I just removed the n-trig section from the fdi, this just results in the following:
    - Stylus coordinates totally off
    - Touch acts as (double) click where-ever the cursor is pointing at that time (not where touching)
    Last edited by Keeper of the Keys; April 14th, 2009 at 12:40 PM.

  3. #103
    Join Date
    Feb 2009
    Beans
    71

    Re: HOWTO setting up ubuntu 8.10 intrepid on the HP tx2z tablet pc

    Here is the output of hal-device, it seems that there are 2 or more n-trig devices so maybe that is something to go by, I have tried duplicating the provided n-trig section and chaning it to contains if1, but it seemed not to work. This could either be because the second device is the one that's just called "mouse" (in the by-path) and not the "event-mouse" that seems to do both...

    Code:
    11: udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1_hiddev'
      linux.device_file = '/dev/usb/hiddev1'  (string)
      info.category = 'hiddev'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.1/usb/hiddev1'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1'  (string)
      info.subsystem = 'usb'  (string)
      info.product = 'HID 1b96:0001'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1_hiddev'  (string)
      hiddev.device = '/dev/usb/hiddev1'  (string)
      hiddev.product = 'HID 1b96:0001'  (string)
      hiddev.application_pages = { 'Unknown page 0xd0002', 'Unknown page 0xd0004' } (string list)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      info.capabilities = { 'hiddev' } (string list)
    
    12: udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0_hiddev'
      input.x11_options.BottomX = '9600'  (string)
      input.x11_options.BottomY = '7200'  (string)
      linux.device_file = '/dev/usb/hiddev0'  (string)
      info.category = 'hiddev'  (string)
      input.x11_options.Type = 'stylus'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.0/usb/hiddev0'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0'  (string)
      info.subsystem = 'usb'  (string)
      info.product = 'HID 1b96:0001'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0_hiddev'  (string)
      input.x11_options.TopX = '0'  (string)
      hiddev.device = '/dev/usb/hiddev0'  (string)
      hiddev.product = 'HID 1b96:0001'  (string)
      hiddev.application_pages = { 'Unknown page 0xd0002', 'Unknown page 0xd0004' } (string list)
      input.x11_driver = 'wacom'  (string)
      wacom.types = { 'eraser', 'touch' } (string list)
      input.x11_options.Button2 = '3'  (string)
      input.x11_options.TopY = '0'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      info.capabilities = { 'hiddev' } (string list)
    
    (...)
    
    33: udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1_logicaldev_input'
      linux.device_file = '/dev/input/event7'  (string)
      info.category = 'input'  (string)
      input.device = '/dev/input/event7'  (string)
      input.product = 'HID 1b96:0001'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.1/input/input7/event7'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1'  (string)
      info.subsystem = 'input'  (string)
      info.product = 'HID 1b96:0001'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1_logicaldev_input'  (string)
      input.x11_driver = 'evdev'  (string)
      input.originating_device = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'input'  (string)
      info.capabilities = { 'input', 'input.tablet' } (string list)
    
    34: udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0_logicaldev_input'
      input.x11_options.BottomX = '9600'  (string)
      wacom.types = { 'eraser', 'touch' } (string list)
      linux.device_file = '/dev/input/event6'  (string)
      info.category = 'input'  (string)
      input.device = '/dev/input/event6'  (string)
      input.product = 'HID 1b96:0001'  (string)
      input.x11_options.Type = 'stylus'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.0/input/input6/event6'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0'  (string)
      info.subsystem = 'input'  (string)
      info.product = 'HID 1b96:0001'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0_logicaldev_input'  (string)
      input.x11_options.TopX = '0'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.Button2 = '3'  (string)
      input.x11_options.BottomY = '7200'  (string)
      input.x11_options.TopY = '0'  (string)
      input.originating_device = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'input'  (string)
      info.capabilities = { 'input', 'input.tablet' } (string list)
    
    (...)
    
    77: udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if2'
      usb.interface.protocol = 0  (0x0)  (int)
      usb.interface.subclass = 0  (0x0)  (int)
      info.subsystem = 'usb'  (string)
      info.product = 'USB Interface'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if2'  (string)
      usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.2'  (string)
      usb.configuration_value = 1  (0x1)  (int)
      usb.num_interfaces = 3  (0x3)  (int)
      usb.num_configurations = 1  (0x1)  (int)
      usb.device_subclass = 0  (0x0)  (int)
      usb.device_class = 0  (0x0)  (int)
      usb.vendor_id = 7062  (0x1b96)  (int)
      usb.device_protocol = 0  (0x0)  (int)
      usb.vendor = 'N-Trig'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.2'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial'  (string)
      usb.max_power = 500  (0x1f4)  (int)
      usb.linux.device_number = 3  (0x3)  (int)
      usb.speed = 12  (double)
      usb.version = 1.1  (double)
      usb.is_self_powered = true  (bool)
      usb.can_wake_up = true  (bool)
      usb.bus_number = 7  (0x7)  (int)
      usb.product_id = 1  (0x1)  (int)
      usb.num_ports = 0  (0x0)  (int)
      usb.product = 'USB Interface'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      usb.interface.number = 2  (0x2)  (int)
      usb.interface.class = 0  (0x0)  (int)
      usb.device_revision_bcd = 0  (0x0)  (int)
    
    78: udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1'
      usb.interface.protocol = 2  (0x2)  (int)
      usb.interface.subclass = 1  (0x1)  (int)
      info.linux.driver = 'usbhid'  (string)
      info.subsystem = 'usb'  (string)
      info.product = 'USB HID Interface'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1'  (string)
      usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.1'  (string)
      usb.configuration_value = 1  (0x1)  (int)
      usb.num_interfaces = 3  (0x3)  (int)
      usb.num_configurations = 1  (0x1)  (int)
      usb.device_subclass = 0  (0x0)  (int)
      usb.device_class = 0  (0x0)  (int)
      usb.vendor_id = 7062  (0x1b96)  (int)
      usb.device_protocol = 0  (0x0)  (int)
      usb.vendor = 'N-Trig'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.1'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial'  (string)
      usb.max_power = 500  (0x1f4)  (int)
      usb.linux.device_number = 3  (0x3)  (int)
      usb.speed = 12  (double)
      usb.version = 1.1  (double)
      usb.is_self_powered = true  (bool)
      usb.can_wake_up = true  (bool)
      usb.bus_number = 7  (0x7)  (int)
      usb.product_id = 1  (0x1)  (int)
      usb.num_ports = 0  (0x0)  (int)
      usb.product = 'USB HID Interface'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      usb.interface.number = 1  (0x1)  (int)
      usb.interface.class = 3  (0x3)  (int)
      usb.device_revision_bcd = 0  (0x0)  (int)
    
    79: udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0'
      usb.interface.protocol = 2  (0x2)  (int)
      usb.interface.subclass = 1  (0x1)  (int)
      info.linux.driver = 'usbhid'  (string)
      info.subsystem = 'usb'  (string)
      info.product = 'USB HID Interface'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0'  (string)
      usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.0'  (string)
      usb.configuration_value = 1  (0x1)  (int)
      usb.num_interfaces = 3  (0x3)  (int)
      usb.num_configurations = 1  (0x1)  (int)
      usb.device_subclass = 0  (0x0)  (int)
      usb.device_class = 0  (0x0)  (int)
      usb.vendor_id = 7062  (0x1b96)  (int)
      usb.device_protocol = 0  (0x0)  (int)
      usb.vendor = 'N-Trig'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.0'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial'  (string)
      usb.max_power = 500  (0x1f4)  (int)
      usb.linux.device_number = 3  (0x3)  (int)
      usb.speed = 12  (double)
      usb.version = 1.1  (double)
      usb.is_self_powered = true  (bool)
      usb.can_wake_up = true  (bool)
      usb.bus_number = 7  (0x7)  (int)
      usb.product_id = 1  (0x1)  (int)
      usb.num_ports = 0  (0x0)  (int)
      usb.product = 'USB HID Interface'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      usb.interface.number = 0  (0x0)  (int)
      usb.interface.class = 3  (0x3)  (int)
      usb.device_revision_bcd = 0  (0x0)  (int)
    
    80: udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial'
      usb_device.speed = 12  (double)
      usb_device.linux.device_number = 3  (0x3)  (int)
      usb_device.can_wake_up = true  (bool)
      info.linux.driver = 'usb'  (string)
      usb_device.version = 1.1  (double)
      usb_device.bus_number = 7  (0x7)  (int)
      usb_device.is_self_powered = true  (bool)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial'  (string)
      linux.device_file = '/dev/bus/usb/007/003'  (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'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_14_5'  (string)
      info.subsystem = 'usb_device'  (string)
      usb_device.num_interfaces = 3  (0x3)  (int)
      usb_device.configuration_value = 1  (0x1)  (int)
      usb_device.num_configurations = 1  (0x1)  (int)
      usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2'  (string)
      usb_device.device_class = 0  (0x0)  (int)
      usb_device.device_subclass = 0  (0x0)  (int)
      usb_device.device_protocol = 0  (0x0)  (int)
      usb_device.vendor_id = 7062  (0x1b96)  (int)
      usb_device.product_id = 1  (0x1)  (int)
      usb_device.vendor = 'N-Trig'  (string)
      usb_device.product = 'Duosense Transparent Electromagnetic Digitizer'  (string)
      info.vendor = 'N-Trig'  (string)
      usb_device.max_power = 500  (0x1f4)  (int)
      usb_device.num_ports = 0  (0x0)  (int)
      usb_device.device_revision_bcd = 0  (0x0)  (int)
      info.product = 'Duosense Transparent Electromagnetic Digitizer'  (string)

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

    Re: HOWTO setting up ubuntu 8.10 intrepid on the HP tx2z tablet pc

    Hi Keeper of the Keys,

    Now that's interesting. On the TX2000 and TX2500 the by-path that ends in "event-mouse-" is the stylus/eraser. And "event-" is touch. And they are seperate events like "/dev/input/event9" and "/dev/input/event10" each with different pci paths.

    A slightly more convienent way to look at your stuff may be to use Device Manager which should be in Applications>System Tools. It's the gui front end for HAL. Just be sure to check properties in View.

    I have speculated that since on the TX2*00's we have two usb paths for two devices maybe we should try to use two .fdi files. One for stylus and the other for touch. Earlier in this thread Vincent and I tried to find a seperate usb path for your touch but couldn't. I had concluded that N-trig was doing everything on one usb channel.

  5. #105
    Join Date
    Feb 2009
    Beans
    71

    Re: HOWTO setting up ubuntu 8.10 intrepid on the HP tx2z tablet pc

    There seem to be 2 devices, though I have not yet found the event they are associated with...
    Would you like me to post a screenshot of the device manager?

    Edit:
    It seems that the two devices are tied to /dev/input/event6 and /dev/input/event7 as well as /dev/usb/hiddev0 and /dev/usb/hiddev1
    I am now going to play around with wacdump on said devices...

    Edit2:
    Well it seems that only event6 responds to touch and stylus as was also found earlier, the hiddev's don't work with wacdump but a cat again shows that only one of the two devices seems to be registering input...
    Last edited by Keeper of the Keys; April 16th, 2009 at 10:11 PM.

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

    Re: HOWTO setting up ubuntu 8.10 intrepid on the HP tx2z tablet pc

    Hi Keeper of the Keys,

    See what:
    Code:
    hal-find-by-property --key input.x11_driver --string wacom
    shows you. Then try:
    Code:
    hal-find-by-property --key usb_device.vendor --string N-trig
    and then change the key to "info.vendor".

  7. #107
    Join Date
    Feb 2009
    Beans
    71

    Re: HOWTO setting up ubuntu 8.10 intrepid on the HP tx2z tablet pc

    hal-find-by-property --key input.x11_driver --string wacom
    Code:
    /org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0_hiddev
    /org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0_logicaldev_input
    hal-find-by-property --key usb_device.vendor --string N-Trig
    Code:
    /org/freedesktop/Hal/devices/usb_device_1b96_1_noserial
    hal-find-by-property --key info.vendor --string N-Trig
    Code:
    /org/freedesktop/Hal/devices/usb_device_1b96_1_noserial

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

    Re: HOWTO setting up ubuntu 8.10 intrepid on the HP tx2z tablet pc

    Hi Keeper of the Keys,

    So if I'm understanding this HAL stuff (questionable) the parent is:
    Code:
    80: udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial'
    And it's generating two daughters.
    Code:
    12: udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if0_hiddev'
    which has the Wacom stuff, presumably from the .fdi file, and:
    Code:
    11: udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if1_hiddev'
    which doesn't. Why not?

    And also:
    Code:
    77: udi = '/org/freedesktop/Hal/devices/usb_device_1b96_1_noserial_if2'
    which I don't understand.

    So how come there are 2 daughters (actually 3)? I don't know. Could the N-trig logic be simulating 2 usb paths that HAL is picking up? If so then maybe we're back to wondering if another .fdi file for touch would work. We're in the middle of testing that for a TX2000. Sort of groping around. What we've come up with is that "linux.sysfs_path" seems to offer a differentiator.
    Code:
    linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.0
    Code:
    linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:14.5/usb7/7-2/7-2:1.1
    that we may be able to use to segregate the two .fdi files with.

    HAL spec.s: http://people.freedesktop.org/~david...ec-device-info
    Last edited by Favux; April 17th, 2009 at 12:35 AM.

  9. #109
    Join Date
    Feb 2009
    Beans
    71

    Re: HOWTO setting up ubuntu 8.10 intrepid on the HP tx2z tablet pc

    Based on the output of the GUI it does indeed look like three daughters, 2 that actually are identified as N-Trig devices and a third (if2) "USB Interface" with Class/Subclass/Protocol of 00/00/00....

    Regarding the other two daughters it seems that if0 creates an event device (event6) that responds to both stylus and touch while if1 creates an event device (event7) that does not respond to either....

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

    Re: HOWTO setting up ubuntu 8.10 intrepid on the HP tx2z tablet pc

    Well, as I've said the N-trig is a mystery to me. I haven't really looked at how the patches work.

    As an aside yurtboy, a Dell Latitude XT user, had a unique set up:
    Code:
    Section "InputDevice"
    	Driver "wacom"
    	Option "Mode" "Absolute"
    	Identifier "touch"
    	Option "Type" "touch"
    	Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    	Option "Device" "/dev/input/event3"
    	Option "TopX" "0"
    	Option "TopY" "0"
    	Option "BottomX" "9600"
    	Option "BottomY" "7200"
    	Option "USB" "on"
    EndSection
    
    Section "InputDevice"
    	Driver "wacom"
    	Identifier "stylus"
    	Option "Mode" "Absolute"
    	Option "Device" "/dev/input/by-path/pci-0000:00:13.1-usb-0:2:1.0-event-mouse"
    	Option "Type" "stylus"
    	Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    	Option "TopX" "0"
    	Option "TopY" "0"
    	Option "BottomX" "9600"
    	Option "BottomY" "7200"
    	Option "USB" "on"
    	Option "Button1" "1"
    	Option "Button2" "3"
    	Option "Button3" "2"
    EndSection
    
    Section "InputDevice"
    	Driver "wacom"
    	Identifier "eraser"
    	Option "Type" "eraser"
    	Option "Mode" "Absolute"
    	Option "ForceDevice" "ISDV4" # Tablet PC ONLY
    	Option "Device" "/dev/input/by-path/pci-0000:00:13.1-usb-0:2:1.0-event-mouse"
    	Option "TopX" "0"
    	Option "TopY" "0"
    	Option "BottomX" "9600"
    	Option "BottomY" "7200"
    	Option "USB" "on"
    	Option "Button1" "2"
    	Option "Button9" "0"
    EndSection
    which he said worked for him.

Page 11 of 33 FirstFirst ... 91011121321 ... LastLast

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
  •