All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Daniil V. Kolpakov" <dan@riga.lv>
To: Matthew Helsley <matt.helsley@gmail.com>
Cc: linux-input@vger.kernel.org, linux-usb@vger.kernel.org,
	xorg@lists.freedesktop.org
Subject: Re: evdev and Trust TB-5300 tablet: wrong axis labels
Date: Tue, 15 Dec 2009 01:06:07 +0200	[thread overview]
Message-ID: <200912150106.07482.dan@riga.lv> (raw)
In-Reply-To: <6a12d2f30912131835taa8086dic17562bb71543a68@mail.gmail.com>

В сообщении от 14 декабря 2009 Matthew Helsley написал(a):
[...]
> Looks like they may have re-branded the "Genius MousePen 5x4 Tablet"
> to your "Trust TB-5300".
[...]
> If you search for "Genius MousePen 5x4 Tablet" or something like it
> then perhaps you'll find more ideas for fixing your tablet.

Nothing interesting — mostly I get howtos on installing some (proprietary?) 
driver called "wizardpen", and usually with xorg.conf instead of HAL rules.

I've tried enabling "MULTI_INPUT" quirk, as you've suggested:

[root@shinestar:~]$ modprobe -r usbhid
[root@shinestar:~]$ modprobe usbhid "quirks=0x5543:0x0004:0x0040"

It "splitted" the tablet to three devices, as in your case:

I: Bus=0003 Vendor=5543 Product=0004 Version=0100
N: Name="UC-LOGIC Tablet WP5540U"
P: Phys=usb-0000:03:00.0-2/input0
S: 
Sysfs=/devices/pci0000:00/0000:00:06.0/0000:03:00.0/usb1/1-2/1-2:1.0/input/input15
U: Uniq=
H: Handlers=mouse2 event6
B: EV=1b
B: KEY=c01 1 0 0 0 0
B: ABS=1000003
B: MSC=10

I: Bus=0003 Vendor=5543 Product=0004 Version=0100
N: Name="UC-LOGIC Tablet WP5540U"
P: Phys=usb-0000:03:00.0-2/input0
S: 
Sysfs=/devices/pci0000:00/0000:00:06.0/0000:03:00.0/usb1/1-2/1-2:1.0/input/input16
U: Uniq=
H: Handlers=mouse3 event7
B: EV=17
B: KEY=70000 0 0 0 0
B: REL=303
B: MSC=10

I: Bus=0003 Vendor=5543 Product=0004 Version=0100
N: Name="UC-LOGIC Tablet WP5540U"
P: Phys=usb-0000:03:00.0-2/input0
S: 
Sysfs=/devices/pci0000:00/0000:00:06.0/0000:03:00.0/usb1/1-2/1-2:1.0/input/input17
U: Uniq=
H: Handlers=mouse4 event8
B: EV=1b
B: KEY=400 70000 0 0 0 0
B: ABS=1000003
B: MSC=10

But xinput only gets two of them. They don't send events (xinput test shows 
this). But, looking at Xorg.0.log now, I see that the first device is hooked 
by synaptics driver which cannot init because hardware is unsupported. I know 
why, I've seen overriding rules in hal config. I'll try to reconfigure it to 
use evdev driver.

[...]
> root@localhost: ~/# echo '6-2:1.0' > /sys/bus/usb/drivers/usbhid/unbind
> root@localhost: ~/# lsusb -vvv -d '5543:0042'
> Bus 006 Device 002: ID 5543:0042 UC-Logic Technology Corp. Genius
> PenSketch 12x9 Tablet
> Device Descriptor:
>   bLength                18
[...]
>       iInterface              2 Tablet PF1209
>       ** UNRECOGNIZED:  09 21 00 01 00 01 22 ea 00
>       Endpoint Descriptor:
[...]
> 
> Apparently it should have output a section entitled: "HID Device
> Descriptor:" and instead I got "** UNRECOGNIZED:  09 21 00 01 00 01 22
> ea 00". Do you get the same?

No, after unbinding I've got the descriptor fully decoded. But I'm afraid it 
doesn't help me...

> For me, being unfamiliar with the details of the USB, HID, and kernel
> input subsystems (not to mention the standards), the tiny amount of
> work I managed to accomplish to get minimal support of my tablet was
> still quite a learning experience.

I didn't get mine to work yet, but the learning experience is here, too :)

-- 
Please avoid sending me Word or PowerPoint attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html

Support open standards! Take a look at this nice presentation:
http://www.dwheeler.com/essays/open-standards-security.pdf
_______________________________________________
xorg mailing list
xorg@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/xorg

  reply	other threads:[~2009-12-14 23:06 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <200912130058.46220.dan@riga.lv>
2009-12-13  1:27 ` evdev and Trust TB-5300 tablet: wrong axis labels Matthew Helsley
2009-12-13 16:25   ` Daniil V. Kolpakov
2009-12-13 21:23     ` Daniil V. Kolpakov
2009-12-13 21:36       ` Daniil V. Kolpakov
     [not found]     ` <200912131825.03872.dan-A/X3QuVk8WQ@public.gmane.org>
2009-12-14  2:35       ` Matthew Helsley
2009-12-14 23:06         ` Daniil V. Kolpakov [this message]
2009-12-14 23:11           ` Daniil V. Kolpakov
2009-12-14 23:46           ` Peter Hutterer
     [not found]             ` <20091214234652.GB23029-FGgOdbPLo1kAicBL8TP8PQ@public.gmane.org>
2009-12-15  7:43               ` Matthew Helsley
2009-12-15 10:32                 ` Peter Hutterer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200912150106.07482.dan@riga.lv \
    --to=dan@riga.lv \
    --cc=linux-input@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=matt.helsley@gmail.com \
    --cc=xorg@lists.freedesktop.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.