linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* GPen 340 Pen Tablet input
@ 2008-03-16 18:22 Andrej Gelenberg
  2008-03-16 18:57 ` Jiri Kosina
  0 siblings, 1 reply; 5+ messages in thread
From: Andrej Gelenberg @ 2008-03-16 18:22 UTC (permalink / raw)
  To: linux-input

Hi

How can i add Support for my usb Tablet? It works, but evdev report wrong 
codes for Axis and buttons.

Andrej

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GPen 340 Pen Tablet input
  2008-03-16 18:22 GPen 340 Pen Tablet input Andrej Gelenberg
@ 2008-03-16 18:57 ` Jiri Kosina
       [not found]   ` <alpine.LNX.1.00.0803162005320.32475@localhost>
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2008-03-16 18:57 UTC (permalink / raw)
  To: Andrej Gelenberg; +Cc: linux-input

On Sun, 16 Mar 2008, Andrej Gelenberg wrote:

> 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?

-- 
Jiri Kosina
SUSE Labs


^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GPen 340 Pen Tablet input
       [not found]   ` <alpine.LNX.1.00.0803162005320.32475@localhost>
@ 2008-03-16 21:45     ` Jiri Kosina
       [not found]       ` <alpine.LNX.1.00.0803170006240.22151@localhost>
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2008-03-16 21:45 UTC (permalink / raw)
  To: Andrej Gelenberg; +Cc: linux-input

On Sun, 16 Mar 2008, Andrej Gelenberg wrote:

> > 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,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GPen 340 Pen Tablet input
       [not found]       ` <alpine.LNX.1.00.0803170006240.22151@localhost>
@ 2008-03-18 13:10         ` Jiri Kosina
       [not found]           ` <alpine.LNX.1.00.0803181518200.3013@localhost>
  0 siblings, 1 reply; 5+ messages in thread
From: Jiri Kosina @ 2008-03-18 13:10 UTC (permalink / raw)
  To: Andrej Gelenberg; +Cc: linux-input

On Mon, 17 Mar 2008, Andrej Gelenberg wrote:

> 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:
> 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,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: GPen 340 Pen Tablet input
       [not found]           ` <alpine.LNX.1.00.0803181518200.3013@localhost>
@ 2008-03-20  9:29             ` Jiri Kosina
  0 siblings, 0 replies; 5+ messages in thread
From: Jiri Kosina @ 2008-03-20  9:29 UTC (permalink / raw)
  To: Andrej Gelenberg; +Cc: linux-input

On Tue, 18 Mar 2008, Andrej Gelenberg wrote:

[ restored linux-input CC again, please don't drop it ]

> i think the Problem is the evdev driver in xorg. But /dev/input/event 
> report code, that are not to codes in linux/input.h. For example in 
> input.h: #define ABS_X 0x00 and there is code 0x02. For Y-axis in 
> input.h ist 0x01 and 0x03 received. 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,

-- 
Jiri Kosina
SUSE Labs

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-03-20  9:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-16 18:22 GPen 340 Pen Tablet input Andrej Gelenberg
2008-03-16 18:57 ` Jiri Kosina
     [not found]   ` <alpine.LNX.1.00.0803162005320.32475@localhost>
2008-03-16 21:45     ` Jiri Kosina
     [not found]       ` <alpine.LNX.1.00.0803170006240.22151@localhost>
2008-03-18 13:10         ` Jiri Kosina
     [not found]           ` <alpine.LNX.1.00.0803181518200.3013@localhost>
2008-03-20  9:29             ` Jiri Kosina

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).