GPen 340 Pen Tablet input
Hi
How can i add Support for my usb Tablet? It works, but evdev report wrong codes for Axis and buttons.
Andrej
Quoted 2 lines · Andrej Gelenberg
How can i add Support for my usb Tablet? It works, but evdev report wrong codes for Axis and buttons.
Which driver is this tablet handled by?
Signature · 2 lines
Jiri Kosina SUSE Labs
Quoted 2 lines · Andrej Gelenberg
Quoted 1 line
Which driver is this tablet handled by?
its handled by usbhid.
[ linux-input returned to CC ]
Please recompile your kernel with CONFIG_HID_DEBUG, modprobe the 'hid' module with 'debug=1' parameter, and send the output that appears in dmsg output when you connect the device, and also when you perform the actions that don't work properly.
Also, please annotate this output, i.e. write "this happens when I move the mouse in Y direction, this happens when I press that non-functioning button", etc.
Thanks,
Signature · 2 lines
Jiri Kosina SUSE Labs
Quoted 4 lines · Andrej Gelenberg
By moving and pressing keys report dmesg right values, but i have problem by using my Tablet under Xorg. Xorg try evdev driver for it and evdev report wrong codes.
example for move:
Quoted 9 lines
Mar 17 00:03:32 [kernel] [ 446.045131] hid-debug: input GenericDesktop.X = 6742 Mar 17 00:03:32 [kernel] [ 446.045136] hid-debug: input GenericDesktop.Y = 17272 Mar 17 00:03:32 [kernel] [ 446.045139] hid-debug: input Digitizers.TipPressure = 0 Mar 17 00:03:32 [kernel] [ 446.048669] hid-debug: input Button.0001 = 0 Mar 17 00:03:32 [kernel] [ 446.048675] hid-debug: input Button.0002 = 0 Mar 17 00:03:32 [kernel] [ 446.048678] hid-debug: input Button.0003 = 0
[ restored linux-input in CC ]
So, and the problem is where? How are the values (mis)interpreted in X? Switched axes? Buttons mixup? Please be more specific.
Thanks,
Signature · 2 lines
Jiri Kosina SUSE Labs
On Tue, 18 Mar 2008, Andrej Gelenberg wrote:
[ restored linux-input CC again, please don't drop it ]
Quoted 6 lines
i think the Problem is the evdev driver in xorg. But
/dev/input/eventreport code, that are not to codes inlinux/input.h. For example ininput.h: #defineABS_X0x00and there is code0x02. For Y-axis ininput.hist0x01and0x03received. Pressure is corecct, Buttons can be simple remaped, but it is not very good. And hid-driver report all right.
Are you sure that kernel driver reports the values correctly through evdev? Could you please send me the debugging output that appears in dmesg for example when you perform movement on the X-axis?
Thanks,
Signature · 2 lines
Jiri Kosina SUSE Labs