Hello guys, girls.

Recently i ran into a problem. I have an unknown vendon (Anton) Touch pad 
that has a switch to be able to switch between mouse and touch.
By default, without any drivers it works ok as a mouse (with mouse ON, 
Touch OFF), but as a touchpad (touch ON, Mouse OFF) it will want to be a 
keyboard. That means when i tip the touch surface with 1 finger the Search 
field becomes active and waits for input, but when i touch with two fingers 
i can see the touch on the screen and even move it around, but only with 
TWO fingers on the surface.
If i add my product id and vendor to the hid-ids.h and to the 
hid-multitouch.c then the multi touch works perfect, but the mouse does not 
give any reaction and kernel does not create an event for the mouse.
I guess i need to add buttons handling to the hid-miltitouch.c but i have 
no idea how...

Any advise welcome.


The device is detected as follows:

*dmesg:*
<7>usb 2-1.3: skipped 1 descriptor after interface
<7>usb 2-1.3: default language 0x0409
<7>usb 2-1.3: udev 3, busnum 2, minor = 130
*<6>usb 2-1.3: New USB device found, idVendor=1130, idProduct=3101*
<6>usb 2-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3

*<6>usb 2-1.3: Product: Touch Pad<6>usb 2-1.3: Manufacturer: Anton*
<6>usb 2-1.3: SerialNumber: 1.01
<7>usb 2-1.3: usb_probe_device
<7>usb 2-1.3: configuration #1 chosen from 1 choice
<7>usb 2-1.3: adding 2-1.3:1.0 (config #1, interface 0)
<7>usbhid 2-1.3:1.0: usb_probe_interface
<7>usbhid 2-1.3:1.0: usb_probe_interface - got id
*<6>input: Anton Touch Pad as 
/devices/platform/fsl-ehci.1/usb2/2-1/2-1.3/2-1.3:1.0/input/input2*
<7>usb 2-1.3: link qh1-0601/d644e8a0 start 0 [1/2 us]
<7>usbhid 2-1.3:1.0: looking for a minor, starting at 96
*<6>generic-usb 0003:1130:3101.0001: input,hiddev0,hidraw0: USB HID v1.10 
Keypad [Anton Touch Pad] on usb-fsl-ehci.1-1.3/input0 *

*logcat:*

*I/EventHub( 3023): New device: id=2, fd=88, path='/dev/input/event2', 
name='Anton Touch Pad', classes=0x8000014f, configuration='', 
keyLayout='/system/usr/keylayout/Generic.kl', 
keyCharacterMap='/system/usr/keychars/Generic.kcm', builtinKeyboard=false, 
usingSuspendBlockIoctl=true, usingClockIoctl=false*

-- 
-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
--- 
You received this message because you are subscribed to the Google Groups 
"Android Linux Kernel Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to