Originally Posted by
Ayuthia
I am glad that the patch is starting to work!
Has xxd always worked with wacom /dev/input/eventX entries? I know that mine is usually blocked off from reading.
Once again, I have updated the wcm2_patch in hopes to get all of the data that is coming in. I found that the way that I was finding the length of the data was incorrect. I am trying to use a different version that one of the other functions is using so hopefully it will work. If it doesn't, there is a possibility that the driver will crash. This patch is also trying out a version value that is based on ehfortin's suggestion.
So basically, this patch is mainly for trying to find out the touch and button codes. If you want to try out the more stable changes, you can now use the wcm_working_patch.tar.bz2 file instead. The location for the patches are located
here.
Hi Ayuthia,
I've implemented the latest code (not the working bundle). I'm including the log below. However, I would say I'm still not seeing any log from the touch part of this tablet. Let me know if you see something from the logs.
If you look at this extract from the log, you will see that there is two ID/addresses/devices that respond each time I'm connecting the tablet (or that the boot process would recognize if already connected). I'm always under the impression that we only see one of the two.
Code:
Oct 22 20:49:52 efortin-laptop kernel: [ 480.290710] input: Wacom Bamboo P&T 6x8 as /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input15
Oct 22 20:49:52 efortin-laptop kernel: [ 480.309412] input: Wacom Bamboo P&T 6x8 as /devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.1/input/input16
For these current input15 and input16, the xinput --list is giving me 3 different id (2,8 and 9). I'm not sure why (it's the first time I'm noticing this). I would think the id=2 is coming from xorg.conf that is recognized when X start. The other id are what I'm used to see.
Code:
"Wacom Bamboo P&T 6x8" id=2 [XExtensionKeyboard]
Type is Wacom Stylus
Num_keys is 248
Min_keycode is 8
Max_keycode is 255
Num_buttons is 5
Num_axes is 6
Mode is Absolute
Motion_buffer is 256
Axis 0 :
Min_value is 0
Max_value is 21648
Resolution is 2540
Axis 1 :
Min_value is 0
Max_value is 13530
Resolution is 2540
Axis 2 :
Min_value is 0
Max_value is 1023
Resolution is 1
Axis 3 :
Min_value is -64
Max_value is 63
Resolution is 1
Axis 4 :
Min_value is -64
Max_value is 63
Resolution is 1
Axis 5 :
Min_value is 0
Max_value is 1023
Resolution is 1
"Wacom Bamboo P&T 6x8" id=8 [XExtensionKeyboard]
Type is Wacom Stylus
Num_keys is 248
Min_keycode is 8
Max_keycode is 255
Num_buttons is 5
Num_axes is 6
Mode is Absolute
Motion_buffer is 256
Axis 0 :
Min_value is 0
Max_value is 21648
Resolution is 2540
Axis 1 :
Min_value is 0
Max_value is 13530
Resolution is 2540
Axis 2 :
Min_value is 0
Max_value is 1023
Resolution is 1
Axis 3 :
Min_value is -64
Max_value is 63
Resolution is 1
Axis 4 :
Min_value is -64
Max_value is 63
Resolution is 1
Axis 5 :
Min_value is 0
Max_value is 1023
Resolution is 1
"Wacom Bamboo P&T 6x8" id=9 [XExtensionKeyboard]
Type is Wacom Stylus
Num_keys is 248
Min_keycode is 8
Max_keycode is 255
Num_buttons is 5
Num_axes is 6
Mode is Absolute
Motion_buffer is 256
Axis 0 :
Min_value is 0
Max_value is 21648
Resolution is 2540
Axis 1 :
Min_value is 0
Max_value is 13530
Resolution is 2540
Axis 2 :
Min_value is 0
Max_value is 1023
Resolution is 1
Axis 3 :
Min_value is -64
Max_value is 63
Resolution is 1
Axis 4 :
Min_value is -64
Max_value is 63
Resolution is 1
Axis 5 :
Min_value is 0
Max_value is 1023
Resolution is 1
How can I make sure that both "devices" that are recognized are returning some data? I know the tablet work as Windows recognized both area so it is only a matter of figuring why it seems that only one of the multiple personality this tablet has is generating logs. Any idea?
Thanks
ehfortin
PS:
As per this output (more /proc/bus/input/devices), we see that the stylus is using event7/mouse2 while the touch section is using event9/mouse3. I'm however unable to do xxd on the touch (or I should say it is not returning anything).
Code:
N: Name="Wacom Bamboo P&T 6x8"
P: Phys=
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.0/input/input15
U: Uniq=
H: Handlers=mouse2 event7
B: EV=1f
B: KEY=1c63 0 70033 0 0 0 0 0 0 0 0
B: REL=100
B: ABS=100 3000103
B: MSC=1
I: Bus=0003 Vendor=056a Product=00d3 Version=0106
N: Name="Wacom Bamboo P&T 6x8"
P: Phys=
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb5/5-2/5-2:1.1/input/input16
U: Uniq=
H: Handlers=mouse3 event9
B: EV=1f
B: KEY=1c63 0 70033 0 0 0 0 0 0 0 0
B: REL=100
B: ABS=100 3000103
B: MSC=1
Bookmarks