Page 51 of 56 FirstFirst ... 414950515253 ... LastLast
Results 501 to 510 of 554

Thread: HOWTO: Wacom in 8.04 Hardy

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

    Re: HOWTO: Wacom in 8.04 Hardy

    And looking at the .fdi I think we need to look at your "lshal>lshal.txt" with at least one stylus identified by serial number in the .fdi. That may give us a line(s) to match to.

    It would be cool if we get this to work.

  2. #502
    Join Date
    Sep 2006
    Location
    Japan
    Beans
    352
    Distro
    Ubuntu

    Re: HOWTO: Wacom in 8.04 Hardy

    Actually I'm in Karmic now.

    The wacom parts of my old xorg setup are as follows (I've since commented them out):

    Code:
    Section "InputDevice"
    	Identifier	"stylus0"
    	Driver		"wacom"
    	Option		"Device"	"/dev/input/wacom"
    	Option		"Type"	"stylus"
    	Option          "USB"   "on"
      	Option         	"MMonitor" "off"
    	Option 		"TwinView" "horizontal"
    	Option 		"TVResolution" "1600x1200,1680x1050"
    	Option 		"ScreenNo" "0"
    	Option  	"Serial"        "94379391"
    EndSection
    
    Section "InputDevice"
    	Identifier	"eraser0"
    	Driver		"wacom"
    	Option		"Device"	"/dev/input/wacom"
    	Option		"Type"	"eraser"
    	Option          "USB"   "on"
      	Option         	"MMonitor" "off"
    	Option 		"TwinView" "horizontal"
    	Option 		"TVResolution" "1600x1200,1680x1050"
    	Option 		"ScreenNo" "0"
    EndSection
    
    Section "InputDevice"
    	Identifier	"stylus1"
    	Driver		"wacom"
    	Option		"Device"	"/dev/input/wacom"
    	Option		"Type"	"stylus"
    	Option          "USB"   "on"
      	Option         	"MMonitor" "off"
    	Option 		"TwinView" "horizontal"
    	Option 		"TVResolution" "1600x1200,1680x1050"
    	Option 		"ScreenNo" "0"
    	Option  	"Serial"        "90178677"
    EndSection
    
    Section "InputDevice"
    	Identifier	"pad"
    	Driver		"wacom"
    	Option		"Device"	"/dev/input/wacom"
    	Option		"Type"	"pad"
    	Option          "USB"           "on"
       	Option         	"MMonitor" "off"
    	Option 		"TwinView" "horizontal"
    	Option 		"TVResolution" "1600x1200,1680x1050"
    	Option 		"ScreenNo" "0"
    EndSection
    and of course
    Code:
    Section "ServerLayout"
       InputDevice    "stylus0"	"SendCoreEvents"
       InputDevice    "eraser0"	"SendCoreEvents"
       InputDevice    "stylus1"	"SendCoreEvents"
       InputDevice    "pad"
        Identifier     "Default Layout"
        Screen      0  "Screen0" 0 0
    EndSection
    stylus1, being the felt-tipped marker style pen, had no eraser, which is why there is no eraser1 item.

    And for lshal, here's the parts that show up when I search for "wacom":

    Code:
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial'
      info.linux.driver = 'usb'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_2'  (string)
      info.product = 'DTZ-2100'  (string)
      info.subsystem = 'usb_device'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial'  (string)
      info.vendor = 'Wacom Co., Ltd'  (string)
      linux.device_file = '/dev/bus/usb/004/002'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1'  (string)
      usb_device.bus_number = 4  (0x4)  (int)
      usb_device.can_wake_up = false  (bool)
      usb_device.configuration_value = 1  (0x1)  (int)
      usb_device.device_class = 0  (0x0)  (int)
      usb_device.device_protocol = 0  (0x0)  (int)
      usb_device.device_revision_bcd = 260  (0x104)  (int)
      usb_device.device_subclass = 0  (0x0)  (int)
      usb_device.is_self_powered = true  (bool)
      usb_device.linux.device_number = 2  (0x2)  (int)
      usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1'  (string)
      usb_device.max_power = 0  (0x0)  (int)
      usb_device.num_configurations = 1  (0x1)  (int)
      usb_device.num_interfaces = 1  (0x1)  (int)
      usb_device.num_ports = 0  (0x0)  (int)
      usb_device.product = 'DTZ-2100'  (string)
      usb_device.product_id = 63  (0x3f)  (int)
      usb_device.speed = 12.0 (12) (double)
      usb_device.vendor = 'Wacom Co., Ltd'  (string)
      usb_device.vendor_id = 1386  (0x56a)  (int)
      usb_device.version = 1.1 (1.1) (double)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0'
      info.linux.driver = 'wacom'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial'  (string)
      info.product = 'USB HID Interface'  (string)
      info.subsystem = 'usb'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0'  (string)
      usb.bus_number = 4  (0x4)  (int)
      usb.can_wake_up = false  (bool)
      usb.configuration_value = 1  (0x1)  (int)
      usb.device_class = 0  (0x0)  (int)
      usb.device_protocol = 0  (0x0)  (int)
      usb.device_revision_bcd = 260  (0x104)  (int)
      usb.device_subclass = 0  (0x0)  (int)
      usb.interface.class = 3  (0x3)  (int)
      usb.interface.number = 0  (0x0)  (int)
      usb.interface.protocol = 2  (0x2)  (int)
      usb.interface.subclass = 1  (0x1)  (int)
      usb.is_self_powered = true  (bool)
      usb.linux.device_number = 2  (0x2)  (int)
      usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0'  (string)
      usb.max_power = 0  (0x0)  (int)
      usb.num_configurations = 1  (0x1)  (int)
      usb.num_interfaces = 1  (0x1)  (int)
      usb.num_ports = 0  (0x0)  (int)
      usb.product = 'USB HID Interface'  (string)
      usb.product_id = 63  (0x3f)  (int)
      usb.speed = 12.0 (12) (double)
      usb.vendor = 'Wacom Co., Ltd'  (string)
      usb.vendor_id = 1386  (0x56a)  (int)
      usb.version = 1.1 (1.1) (double)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input'
      info.callouts.add = {'hal-setup-wacom'} (string list)
      info.capabilities = {'input', 'input.tablet'} (string list)
      info.category = 'input'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0'  (string)
      info.product = 'stylus'  (string)
      info.subsystem = 'input'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input'  (string)
      input.device = '/dev/input/event6'  (string)
      input.originating_device = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0'  (string)
      input.product = 'Wacom Cintiq 21UX'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.KeepShape = 'off'  (string)
      input.x11_options.MMonitor = 'off'  (string)
      input.x11_options.PressCurve = '5,0,100,95'  (string)
      input.x11_options.ScreenNo = '0'  (string)
      input.x11_options.Serial = '94379391'  (string)
      input.x11_options.TPCButton = 'off'  (string)
      input.x11_options.TVResolution = '1600x1200,1680x1050'  (string)
      input.x11_options.Threshold = '1'  (string)
      input.x11_options.TwinView = 'horizontal'  (string)
      input.x11_options.Type = 'stylus'  (string)
      input.x11_options.USB = 'on'  (string)
      linux.device_file = '/dev/input/event6'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'input'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/input/input6/event6'  (string)
      wacom.types = {'eraser', 'cursor', 'pad'} (string list)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input_subdev_1'
      info.capabilities = {'input'} (string list)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input'  (string)
      info.product = 'pad'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input_subdev_1'  (string)
      input.device = '/dev/input/event6'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.Type = 'pad'  (string)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input_subdev_0'
      info.capabilities = {'input'} (string list)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input'  (string)
      info.product = 'cursor'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input_subdev_0'  (string)
      input.device = '/dev/input/event6'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.Type = 'cursor'  (string)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input_subdev'
      info.capabilities = {'input'} (string list)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input'  (string)
      info.product = 'eraser'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input_subdev'  (string)
      input.device = '/dev/input/event6'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.KeepShape = 'off'  (string)
      input.x11_options.MMonitor = 'off'  (string)
      input.x11_options.PressCurve = '0,5,95,100'  (string)
      input.x11_options.ScreenNo = '0'  (string)
      input.x11_options.TPCButton = 'off'  (string)
      input.x11_options.TVResolution = '1600x1200,1680x1050'  (string)
      input.x11_options.Threshold = '1'  (string)
      input.x11_options.TwinView = 'horizontal'  (string)
      input.x11_options.Type = 'eraser'  (string)
      input.x11_options.USB = 'on'  (string)
    The first two entries, I don't know what they are.

    Then comes my stylus, next is my "pad" -- the touch strips and buttons, next is the "cursor" which my tablet doesn't actually use, and finally comes the eraser.

    There doesn't seem to be anything for the additional pen, and likewise, it doesn't respond when I touch it to the screen. However it does respond if I enter its serial number instead of my main stylus' serial number in the stylus entry (but then my main stylus becomes likewise unusable).

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

    Re: HOWTO: Wacom in 8.04 Hardy

    Hi osarusan,

    Parent and first daughter.

    Ok, I have a .fdi roughed out. But I don't see anything to match to, to separate out the styli. Could you do the "lshal>lshal.txt" with both styli active in the .fdi so we can see if there's anything.

    The other thing is to make it work we have to do multiple info.callouts. I don't know if that's allowed.

  4. #504
    Join Date
    Sep 2006
    Location
    Japan
    Beans
    352
    Distro
    Ubuntu

    Re: HOWTO: Wacom in 8.04 Hardy

    This is a bit tricky, because I don't know where the best place to put the device is -- within the device tags as a new match, or within a new set of device tags.

    First, I uncommented-out the device as it was written in the previous post, so the second stylus appears as a separate device. This is the output:

    Code:
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial'
      info.linux.driver = 'usb'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_2'  (string)
      info.product = 'DTZ-2100'  (string)
      info.subsystem = 'usb_device'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial'  (string)
      info.vendor = 'Wacom Co., Ltd'  (string)
      linux.device_file = '/dev/bus/usb/004/006'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1'  (string)
      usb_device.bus_number = 4  (0x4)  (int)
      usb_device.can_wake_up = false  (bool)
      usb_device.configuration_value = 1  (0x1)  (int)
      usb_device.device_class = 0  (0x0)  (int)
      usb_device.device_protocol = 0  (0x0)  (int)
      usb_device.device_revision_bcd = 260  (0x104)  (int)
      usb_device.device_subclass = 0  (0x0)  (int)
      usb_device.is_self_powered = true  (bool)
      usb_device.linux.device_number = 6  (0x6)  (int)
      usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1'  (string)
      usb_device.max_power = 0  (0x0)  (int)
      usb_device.num_configurations = 1  (0x1)  (int)
      usb_device.num_interfaces = 1  (0x1)  (int)
      usb_device.num_ports = 0  (0x0)  (int)
      usb_device.product = 'DTZ-2100'  (string)
      usb_device.product_id = 63  (0x3f)  (int)
      usb_device.speed = 12.0 (12) (double)
      usb_device.vendor = 'Wacom Co., Ltd'  (string)
      usb_device.vendor_id = 1386  (0x56a)  (int)
      usb_device.version = 1.1 (1.1) (double)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_logicaldev_input'
      info.callouts.add = {'hal-setup-wacom'} (string list)
      info.capabilities = {'input', 'input.tablet'} (string list)
      info.category = 'input'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial'  (string)
      info.product = 'Wacom Cintiq 21UX'  (string)
      info.subsystem = 'input'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_logicaldev_input'  (string)
      input.device = '/dev/input/event6'  (string)
      input.originating_device = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial'  (string)
      input.product = 'Wacom Cintiq 21UX'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.KeepShape = 'off'  (string)
      input.x11_options.MMonitor = 'off'  (string)
      input.x11_options.PressCurve = '0,5,95,100'  (string)
      input.x11_options.ScreenNo = '0'  (string)
      input.x11_options.Serial = '90178677'  (string)
      input.x11_options.TPCButton = 'off'  (string)
      input.x11_options.TVResolution = '1600x1200,1680x1050'  (string)
      input.x11_options.Threshold = '1'  (string)
      input.x11_options.TwinView = 'horizontal'  (string)
      input.x11_options.Type = 'stylus'  (string)
      input.x11_options.USB = 'on'  (string)
      linux.device_file = '/dev/input/event6'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'input'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/input/input10/event6'  (string)
      wacom.types = {'eraser', 'cursor', 'pad'} (string list)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_logicaldev_input_subdev_1'
      info.capabilities = {'input'} (string list)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_logicaldev_input'  (string)
      info.product = 'Wacom Cintiq 21UX pad'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_logicaldev_input_subdev_1'  (string)
      input.device = '/dev/input/event6'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.Type = 'pad'  (string)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_logicaldev_input_subdev_0'
      info.capabilities = {'input'} (string list)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_logicaldev_input'  (string)
      info.product = 'Wacom Cintiq 21UX cursor'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_logicaldev_input_subdev_0'  (string)
      input.device = '/dev/input/event6'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.Type = 'cursor'  (string)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_logicaldev_input_subdev'
      info.capabilities = {'input'} (string list)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_logicaldev_input'  (string)
      info.product = 'Wacom Cintiq 21UX eraser'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_logicaldev_input_subdev'  (string)
      input.device = '/dev/input/event6'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.KeepShape = 'off'  (string)
      input.x11_options.MMonitor = 'off'  (string)
      input.x11_options.PressCurve = '0,5,95,100'  (string)
      input.x11_options.ScreenNo = '0'  (string)
      input.x11_options.TPCButton = 'off'  (string)
      input.x11_options.TVResolution = '1600x1200,1680x1050'  (string)
      input.x11_options.Threshold = '1'  (string)
      input.x11_options.TwinView = 'horizontal'  (string)
      input.x11_options.Type = 'eraser'  (string)
      input.x11_options.USB = 'on'  (string)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0'
      info.linux.driver = 'wacom'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial'  (string)
      info.product = 'USB HID Interface'  (string)
      info.subsystem = 'usb'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0'  (string)
      usb.bus_number = 4  (0x4)  (int)
      usb.can_wake_up = false  (bool)
      usb.configuration_value = 1  (0x1)  (int)
      usb.device_class = 0  (0x0)  (int)
      usb.device_protocol = 0  (0x0)  (int)
      usb.device_revision_bcd = 260  (0x104)  (int)
      usb.device_subclass = 0  (0x0)  (int)
      usb.interface.class = 3  (0x3)  (int)
      usb.interface.number = 0  (0x0)  (int)
      usb.interface.protocol = 2  (0x2)  (int)
      usb.interface.subclass = 1  (0x1)  (int)
      usb.is_self_powered = true  (bool)
      usb.linux.device_number = 6  (0x6)  (int)
      usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0'  (string)
      usb.max_power = 0  (0x0)  (int)
      usb.num_configurations = 1  (0x1)  (int)
      usb.num_interfaces = 1  (0x1)  (int)
      usb.num_ports = 0  (0x0)  (int)
      usb.product = 'USB HID Interface'  (string)
      usb.product_id = 63  (0x3f)  (int)
      usb.speed = 12.0 (12) (double)
      usb.vendor = 'Wacom Co., Ltd'  (string)
      usb.vendor_id = 1386  (0x56a)  (int)
      usb.version = 1.1 (1.1) (double)
    Now I'll try it again, putting the 2nd stylus just after the 1st stylus, within the same device tags:

    Code:
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial'
      info.linux.driver = 'usb'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_2'  (string)
      info.product = 'DTZ-2100'  (string)
      info.subsystem = 'usb_device'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial'  (string)
      info.vendor = 'Wacom Co., Ltd'  (string)
      linux.device_file = '/dev/bus/usb/004/007'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1'  (string)
      usb_device.bus_number = 4  (0x4)  (int)
      usb_device.can_wake_up = false  (bool)
      usb_device.configuration_value = 1  (0x1)  (int)
      usb_device.device_class = 0  (0x0)  (int)
      usb_device.device_protocol = 0  (0x0)  (int)
      usb_device.device_revision_bcd = 260  (0x104)  (int)
      usb_device.device_subclass = 0  (0x0)  (int)
      usb_device.is_self_powered = true  (bool)
      usb_device.linux.device_number = 7  (0x7)  (int)
      usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1'  (string)
      usb_device.max_power = 0  (0x0)  (int)
      usb_device.num_configurations = 1  (0x1)  (int)
      usb_device.num_interfaces = 1  (0x1)  (int)
      usb_device.num_ports = 0  (0x0)  (int)
      usb_device.product = 'DTZ-2100'  (string)
      usb_device.product_id = 63  (0x3f)  (int)
      usb_device.speed = 12.0 (12) (double)
      usb_device.vendor = 'Wacom Co., Ltd'  (string)
      usb_device.vendor_id = 1386  (0x56a)  (int)
      usb_device.version = 1.1 (1.1) (double)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0'
      info.linux.driver = 'wacom'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial'  (string)
      info.product = 'USB HID Interface'  (string)
      info.subsystem = 'usb'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'usb'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0'  (string)
      usb.bus_number = 4  (0x4)  (int)
      usb.can_wake_up = false  (bool)
      usb.configuration_value = 1  (0x1)  (int)
      usb.device_class = 0  (0x0)  (int)
      usb.device_protocol = 0  (0x0)  (int)
      usb.device_revision_bcd = 260  (0x104)  (int)
      usb.device_subclass = 0  (0x0)  (int)
      usb.interface.class = 3  (0x3)  (int)
      usb.interface.number = 0  (0x0)  (int)
      usb.interface.protocol = 2  (0x2)  (int)
      usb.interface.subclass = 1  (0x1)  (int)
      usb.is_self_powered = true  (bool)
      usb.linux.device_number = 7  (0x7)  (int)
      usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0'  (string)
      usb.max_power = 0  (0x0)  (int)
      usb.num_configurations = 1  (0x1)  (int)
      usb.num_interfaces = 1  (0x1)  (int)
      usb.num_ports = 0  (0x0)  (int)
      usb.product = 'USB HID Interface'  (string)
      usb.product_id = 63  (0x3f)  (int)
      usb.speed = 12.0 (12) (double)
      usb.vendor = 'Wacom Co., Ltd'  (string)
      usb.vendor_id = 1386  (0x56a)  (int)
      usb.version = 1.1 (1.1) (double)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input'
      info.callouts.add = {'hal-setup-wacom'} (string list)
      info.capabilities = {'input', 'input.tablet'} (string list)
      info.category = 'input'  (string)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0'  (string)
      info.product = 'Wacom Cintiq 21UX'  (string)
      info.subsystem = 'input'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input'  (string)
      input.device = '/dev/input/event6'  (string)
      input.originating_device = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0'  (string)
      input.product = 'Wacom Cintiq 21UX'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.KeepShape = 'off'  (string)
      input.x11_options.MMonitor = 'off'  (string)
      input.x11_options.PressCurve = '0,5,95,100'  (string)
      input.x11_options.ScreenNo = '0'  (string)
      input.x11_options.Serial = '90178677'  (string)
      input.x11_options.TPCButton = 'off'  (string)
      input.x11_options.TVResolution = '1600x1200,1680x1050'  (string)
      input.x11_options.Threshold = '1'  (string)
      input.x11_options.TwinView = 'horizontal'  (string)
      input.x11_options.Type = 'stylus'  (string)
      input.x11_options.USB = 'on'  (string)
      linux.device_file = '/dev/input/event6'  (string)
      linux.hotplug_type = 2  (0x2)  (int)
      linux.subsystem = 'input'  (string)
      linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.0/input/input11/event6'  (string)
      wacom.types = {'eraser', 'cursor', 'pad'} (string list)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input_subdev_1'
      info.capabilities = {'input'} (string list)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input'  (string)
      info.product = 'Wacom Cintiq 21UX pad'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input_subdev_1'  (string)
      input.device = '/dev/input/event6'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.Type = 'pad'  (string)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input_subdev_0'
      info.capabilities = {'input'} (string list)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input'  (string)
      info.product = 'Wacom Cintiq 21UX cursor'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input_subdev_0'  (string)
      input.device = '/dev/input/event6'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.Type = 'cursor'  (string)
    
    udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input_subdev'
      info.capabilities = {'input'} (string list)
      info.parent = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input'  (string)
      info.product = 'Wacom Cintiq 21UX eraser'  (string)
      info.udi = '/org/freedesktop/Hal/devices/usb_device_56a_3f_noserial_if0_logicaldev_input_subdev'  (string)
      input.device = '/dev/input/event6'  (string)
      input.x11_driver = 'wacom'  (string)
      input.x11_options.KeepShape = 'off'  (string)
      input.x11_options.MMonitor = 'off'  (string)
      input.x11_options.PressCurve = '0,5,95,100'  (string)
      input.x11_options.ScreenNo = '0'  (string)
      input.x11_options.TPCButton = 'off'  (string)
      input.x11_options.TVResolution = '1600x1200,1680x1050'  (string)
      input.x11_options.Threshold = '1'  (string)
      input.x11_options.TwinView = 'horizontal'  (string)
      input.x11_options.Type = 'eraser'  (string)
      input.x11_options.USB = 'on'  (string)
    As you can see, it's recognizing the Serial number that I entered in the options, and there's a very slight difference between the two lshal outputs, though I can't tell which one is better.

    There seem to be a lot of variables when deciding upon where to enter the 2nd pen... I wonder where the correct location is?

    Edit:
    I also tried it like this:
    Code:
    <deviceinfo version="0.2">
    
      <device>
        <match key="input.x11_driver" contains="wacom">
          <match key="input.x11_options.Type" contains="stylus">
            <merge key="input.x11_options.USB" type="string">on</merge>
            <merge key="input.x11_options.TPCButton" type="string">off</merge>
            <merge key="input.x11_options.KeepShape" type="string">off</merge>
            <merge key="input.x11_options.Threshold" type="string">1</merge>
            <merge key="input.x11_options.PressCurve" type="string">5,0,100,95</merge>
            <merge key="input.x11_options.MMonitor" type="string">off</merge>
            <merge key="input.x11_options.TwinView" type="string">horizontal</merge>
            <merge key="input.x11_options.TVResolution" type="string">1600x1200,1680x1050</merge>
            <merge key="input.x11_options.ScreenNo" type="string">0</merge>
            <merge key="input.x11_options.Serial" type="string">94379391</merge>
          </match>
          <match key="input.x11_options.Type" contains="stylus">
            <merge key="input.x11_options.USB" type="string">on</merge>
            <merge key="input.x11_options.TPCButton" type="string">off</merge>
            <merge key="input.x11_options.KeepShape" type="string">off</merge>
            <merge key="input.x11_options.Threshold" type="string">1</merge>
            <merge key="input.x11_options.PressCurve" type="string">0,5,95,100</merge>
            <merge key="input.x11_options.MMonitor" type="string">off</merge>
            <merge key="input.x11_options.TwinView" type="string">horizontal</merge>
            <merge key="input.x11_options.TVResolution" type="string">1600x1200,1680x1050</merge>
            <merge key="input.x11_options.ScreenNo" type="string">0</merge>
            <merge key="input.x11_options.Serial" type="string">90178677</merge>
          </match>
        </match>
        <match key="input.x11_driver" contains="wacom">
          <match key="input.x11_options.Type" contains="eraser">
            <merge key="input.x11_options.USB" type="string">on</merge>
            <merge key="input.x11_options.TPCButton" type="string">off</merge>
            <merge key="input.x11_options.KeepShape" type="string">off</merge>
            <merge key="input.x11_options.Threshold" type="string">1</merge>
            <merge key="input.x11_options.PressCurve" type="string">0,5,95,100</merge>
            <merge key="input.x11_options.MMonitor" type="string">off</merge>
            <merge key="input.x11_options.TwinView" type="string">horizontal</merge>
            <merge key="input.x11_options.TVResolution" type="string">1600x1200,1680x1050</merge>
            <merge key="input.x11_options.ScreenNo" type="string">0</merge>
          </match>
        </match>
      </device>
    
    
    </deviceinfo>
    And there was no change -- the 2nd device listed takes priority, regardless of where in the file it's entered... curious...
    Last edited by osarusan; November 4th, 2009 at 10:36 AM.

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

    Re: HOWTO: Wacom in 8.04 Hardy

    Hi osarusan,

    Still don't see anything to match. It would be nice if both styli could be active at the same time so lshal might show something.

    To be sure I have the physical situation straight. The stylus doesn't attach to the Cintiq with a physical data cord, does it? Instead when you bring the stylus close enough to be "in proximity" the Cintiq reads the serial number for that stylus. So you can only use one at a time.

    The .fdi I've come up with is patterned on the one I gave you a long time ago from post #176. But I don't think the match lines I used for the serial numbers are right and will work. I don't think it works that way. So it will probably break X. Plus I don't know about the multiple info.callouts. They might break X too. If you want to try it be prepared to fix things from the command line.

    But at least you can see what I'm thinking. The other way would be to duplicate the stylus and eraser sections. But then I don't know if we could get pad set up for both. Does your Cintiq come with a Wacom mouse? I can't remember. I took it out to simplify the .fdi.
    Attached Files Attached Files

  6. #506
    Join Date
    Sep 2006
    Location
    Japan
    Beans
    352
    Distro
    Ubuntu

    Re: HOWTO: Wacom in 8.04 Hardy

    Hey, it works! I tried both hotplugging and rebooting, and neither broke X.

    Looking at the file, I expected the eraser would screw up, and it did (which is a good thing, because it worked how I expected). So all I have to do now is edit the line for the eraser to re-enable its TwinView settings.

    Actually, I'm not sure if it's actually working correctly or not. Right now, both styluses are responding properly, but the same thing happens if I simply delete the serial number info from my original custom fdi. Also, wacomcpl still only shows 1 stylus, so I can't be sure that it's actually detecting 2 styluses, or if it's ignoring the lines relating to their serial numbers and custom pressure.

    My styluses don't have cords -- the tablet detects them as they come close. And there's no mouse which comes with this tablet, so I don't need to cursor function. As for the pad, I think if we list it as a separate device rather than a subsection of the stylus, there should be no problem, right?

    Also, is there a logic behind whether the eraser and pad are listed as separate devices?

    Edit:
    Actually, I'm sure it's not detecting two separate devices, because GIMP is only detecting one stylus, and both pressures feel identical.

    Edit again:
    This is very puzzling. The serial number is key here... but I'm totally stumped.
    In xorg this was pretty easy because of the Identifier entry... is there any equivalent of that in HAL?
    Last edited by osarusan; November 5th, 2009 at 04:27 AM.

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

    Re: HOWTO: Wacom in 8.04 Hardy

    Hi osarusan,

    Darn. Well just the fact that it didn't break X I count as a triumph. That's one of the things I was looking for in lshal:
    Code:
    Identifier	"stylus0"
    or the equivalent to match to.

    It seems like there should be a way. You're suppose to be able to translate xorg.conf into a .fdi. Maybe we're again getting to where the .fdi needs to call out a program or script to pick up the stylus. Let's think on it. Since that .fdi booted, maybe there is something to it.

    Maybe the post #176 modified with your entries and the appropriate xsetwacom commands in a script would work.

  8. #508
    Join Date
    Sep 2006
    Location
    Japan
    Beans
    352
    Distro
    Ubuntu

    Re: HOWTO: Wacom in 8.04 Hardy

    Yeah, we're definitely getting close.

    I originally simply translated my xorg into the custom fdi file as it was explained in https://help.ubuntu.com/community/Wacom.fdi -- pretty straightforward.

    Is there another place with any documentation on the custom fdi file? If we can just figure out how to name the separate devices, I think it would work.

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

    Re: HOWTO: Wacom in 8.04 Hardy

    Hi osarusan,

    My links to the HAL 5.11 and 5.2 spec.s are broken. Rearranging the site?

    Anyway here you go:

    http://www.redhat.com/magazine/003jan05/features/hal/

    http://www.marcuscom.com/hal-spec/hal-spec.html

    http://wiki.archlinux.org/index.php/HAL

  10. #510
    Join Date
    Sep 2006
    Location
    Japan
    Beans
    352
    Distro
    Ubuntu

    Re: HOWTO: Wacom in 8.04 Hardy

    Thanks a lot for those links. I've been fooling around with it for a few hours and it's starting to become clearer to me.

    It looks like there's no way to get it to work the way you were trying -- Serial is something that has to be manually entered, so it won't be able to detect the string, and any strings entered in the same device will overwrite the previous strings in that device.

    I think we need to focus on the USB HID Interface section right above the stylus, rather than the stylus section. The objects pad, cursor, and eraser look to be children of the stylus, and the stylus is a child of the USB HID Interface.

    There's a section called usb.num_interfaces set to 1... I don't know if that's what we're looking for or what, but I'm 90% sure that our answer lies in the parent of the stylus entry rather than the stylus entry itself.

Page 51 of 56 FirstFirst ... 414950515253 ... 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
  •