I have also a kohjinsha SH8 with penmount and intrepid mobile.
So far I still run with the mouse driver instead of the penmount as it works better. I will explain my different results :
out of the box : the dirver use is the mouse driver : bad calibration cannot reach the edge but working
install xserver-xorg-input-penmount : a simple apt-get and you have it but to make the touchscreen use the driver I created a fdi file to say to hal to use it, and it worked. Here is my fdi file: /etc/hal/fdi/policy/10-penmount.fdi
Code:
<?xml version="1.0" encoding ="UTF-8"?><!-- -*- SGML -*-->
<deviceinfo version="0.2">
<device>
<match key="input.product" contains="DIALOGUE INC PenMount USB">
<merge key="input.x11_driver" type="string">penmount</merge>
<merge key="input.x11-options.AlwaysCore" type="bool">false</merge>
</match>
</device>
</deviceinfo>
and now the revelant part of a lshal :
Code:
udi = '/org/freedesktop/Hal/devices/usb_device_14e1_6000_noserial'
info.linux.driver = 'usb' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_1d6b_1_0000_00_1d_3' (string)
info.product = 'PenMount USB' (string)
info.subsystem = 'usb_device' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_14e1_6000_noserial' (string)
info.vendor = 'DIALOGUE INC' (string)
linux.device_file = '/dev/bus/usb/005/002' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'usb' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-2' (string)
usb_device.bus_number = 5 (0x5) (int)
usb_device.can_wake_up = true (bool)
usb_device.configuration = 'full speed' (string)
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 = 42164 (0xa4b4) (int)
usb_device.device_subclass = 0 (0x0) (int)
usb_device.is_self_powered = false (bool)
usb_device.linux.device_number = 2 (0x2) (int)
usb_device.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-2' (string)
usb_device.max_power = 500 (0x1f4) (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 = 'PenMount USB' (string)
usb_device.product_id = 24576 (0x6000) (int)
usb_device.speed = 12.0 (12) (double)
usb_device.vendor = 'DIALOGUE INC' (string)
usb_device.vendor_id = 5345 (0x14e1) (int)
usb_device.version = 1.0 (1) (double)
udi = '/org/freedesktop/Hal/devices/usb_device_14e1_6000_noserial_if0'
info.linux.driver = 'usbhid' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_14e1_6000_noserial' (string)
info.product = 'USB HID Interface' (string)
info.subsystem = 'usb' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_14e1_6000_noserial_if0' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'usb' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0' (string)
usb.bus_number = 5 (0x5) (int)
usb.can_wake_up = true (bool)
usb.configuration = 'full speed' (string)
usb.configuration_value = 1 (0x1) (int)
usb.device_class = 0 (0x0) (int)
usb.device_protocol = 0 (0x0) (int)
usb.device_revision_bcd = 42164 (0xa4b4) (int)
usb.device_subclass = 0 (0x0) (int)
usb.interface.class = 3 (0x3) (int)
usb.interface.description = 'EndPoint1 Interrupt Pipe' (string)
usb.interface.number = 0 (0x0) (int)
usb.interface.protocol = 2 (0x2) (int)
usb.interface.subclass = 1 (0x1) (int)
usb.is_self_powered = false (bool)
usb.linux.device_number = 2 (0x2) (int)
usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0' (string)
usb.max_power = 500 (0x1f4) (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 = 24576 (0x6000) (int)
usb.speed = 12.0 (12) (double)
usb.vendor = 'DIALOGUE INC' (string)
usb.vendor_id = 5345 (0x14e1) (int)
usb.version = 1.0 (1) (double)
udi = '/org/freedesktop/Hal/devices/usb_device_14e1_6000_noserial_if0_logicaldev_input'
info.capabilities = {'input', 'input.mouse'} (string list)
info.category = 'input' (string)
info.parent = '/org/freedesktop/Hal/devices/usb_device_14e1_6000_noserial_if0' (string)
info.product = 'DIALOGUE INC PenMount USB' (string)
info.subsystem = 'input' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_14e1_6000_noserial_if0_logicaldev_input' (string)
input.device = '/dev/input/event2' (string)
input.originating_device = '/org/freedesktop/Hal/devices/usb_device_14e1_6000_noserial_if0' (string)
input.product = 'DIALOGUE INC PenMount USB' (string)
input.x11-options.AlwaysCore = false (bool)
input.x11_driver = 'penmount' (string)
linux.device_file = '/dev/input/event2' (string)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'input' (string)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.3/usb5/5-2/5-2:1.0/input/input2/event2' (string)
Results : when you touch the screen, the mouse jump everywhere, not usable. In the lshal it shows that it use the driver penmount, so not so bad, but calibration crash (gCalib bin from the website driver) even with a killall compiz.real
driver from penmount websites.
I installed the driver from the website, kept the fdi, reboot it was still same results : jumping everywhere. I tried a calibration : big X crash, i fixed it in recovery mode by reinstalling the xserver-xorg-input-penmount .
I try to pass an option AlwaysCore through the fdi but it didn't work : I let it in the file to show how to pass boolean option... you can remove it.
to restore everything just rename your fdi file, restart hal and X.
Next thing i will try is to pass all calibration that was in xorg through the fdi file using the penmount driver from the repository.
some useful references :
https://bugs.launchpad.net/ubuntu/+s...ch/+bug/261873
https://wiki.ubuntu.com/X/Config
perhaps we may have to wait after penmount staff, last time (for hardy they were not so long 2 to 3 months (ok compare to a new release every 6 months it is long)... I will submit a bug anyway : hal doesn't detect well the penmount touchscreen and the driver is broken!
some other problem i got with kohjinsha and intrepid (mobile edition)
suspend doesn't work : starting to work on it, this is a big regression from hardy!
cellwriter doesn't fit in the screen (this is specific to the mobile edition
the integrated mic does not work. I will definetevely contact the alsa people, because it is too boring to have to take an external mic always with me...
more later, I hope...
Bookmarks