Bug 15459 - Wacom Tablet "BAMBOO PAD CTH-301 / K" does not work with Mageia 5 (Beta 3)
Summary: Wacom Tablet "BAMBOO PAD CTH-301 / K" does not work with Mageia 5 (Beta 3)
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: i586 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Thomas Backlund
QA Contact:
URL:
Whiteboard: MGA5TOO IN_ERRATA
Keywords: UPSTREAM
Depends on: 16655
Blocks:
  Show dependency treegraph
 
Reported: 2015-03-09 09:55 CET by Frédéric ACHARD
Modified: 2016-06-29 11:30 CEST (History)
3 users (show)

See Also:
Source RPM: kernel, libwacom
CVE:
Status comment:


Attachments
Listingf of USB Viewer program (108.42 KB, image/jpeg)
2015-03-09 14:10 CET, Frédéric ACHARD
Details
Listing of "lspcidrake -v" (4.95 KB, text/plain)
2015-03-09 15:33 CET, Frédéric ACHARD
Details
Listing of "rpm -qa 'x*wacom'" (37 bytes, text/plain)
2015-03-09 15:35 CET, Frédéric ACHARD
Details
Listing of "lsmod | grep -i wacom" (90 bytes, text/plain)
2015-03-09 15:48 CET, Frédéric ACHARD
Details
wacom instaled RPM list (55.65 KB, image/jpeg)
2015-03-09 15:55 CET, Frédéric ACHARD
Details
"/root/drakx/report.bug.xz" file (150.45 KB, application/x-xz)
2015-03-09 16:54 CET, Frédéric ACHARD
Details
The "x11-driver-input-wacom" RPM was already installed ... (103.29 KB, image/jpeg)
2015-03-09 17:08 CET, Frédéric ACHARD
Details
The modified "/usr/share/X11/xorg.conf.d/50-wacom.conf" Xorg file. (1.35 KB, text/plain)
2015-03-12 10:11 CET, Frédéric ACHARD
Details
The modified "/etc/default/grub" GRUB file. (337 bytes, text/plain)
2015-03-12 10:17 CET, Frédéric ACHARD
Details
The "/var/log/Xorg.0.log" file. (32.75 KB, text/plain)
2015-03-12 10:30 CET, Frédéric ACHARD
Details
The "/var/log/Xorg.0.log" file (new copy). (38.26 KB, text/plain)
2015-03-12 17:43 CET, Frédéric ACHARD
Details
list of mga5 x11 packages installed. (32.95 KB, image/jpeg)
2015-03-12 18:41 CET, Frédéric ACHARD
Details
Default kernel boot option. (40.57 KB, image/jpeg)
2015-03-12 19:32 CET, Frédéric ACHARD
Details
The "/var/log/Xorg.0.log" file (new with modified kernel Boot option). (24.82 KB, text/plain)
2015-03-13 20:01 CET, Frédéric ACHARD
Details
The "/var/log/Xorg.0.log" file (new with 4.1.8 mga testing kernel) (33.92 KB, text/x-log)
2015-09-22 19:21 CEST, Frédéric ACHARD
Details

Description Frédéric ACHARD 2015-03-09 09:55:52 CET
Description of problem:
Hello,
Wacom Tablet "BAMBOO PAD CTH-301 / K" does not work with Mageia 5 Beta 3 (latest). The tablet is recognized but neither pen nor the PAD is working.
Vendor ID: 0x056a
Device ID: 0x0318
Best Regards,
  F.A.

Version-Release number of selected component (if applicable):
$ uname -r
  3.19.0-desktop586-6.mga5

$ Xorg -version
  X.Org X Server 1.16.4
  Release Date: 2014-12-20
  X Protocol Version 11, Revision 0
  Build Operating System: Linux_3.14.27-server-1.mga4 Mageia
  Current Operating System: Linux localhost 3.19.0-desktop586-6.mga5 #1 SMP Sat
  Mar 7 11:19:10 UTC 2015 i686
  Kernel command line: BOOT_IMAGE=linux root=UUID=2eb36955-a329-47ea-
  b3eb-0f097b3ce1bf splash quiet nokmsboot splash=silent resume=UUID=88a2b67f-
  49b1-455b-9675-ee4d5e4cf5a3 vga=788
  Build Date: 21 February 2015  05:47:29PM
  Current version of pixman: 0.32.6
    Before reporting problems, check http://bugs.mageia.org
    to make sure that you have the latest version.
$ 



Reproducible: 

Steps to Reproduce:
Comment 1 Frédéric ACHARD 2015-03-09 14:10:57 CET
Created attachment 6013 [details]
Listingf of USB Viewer program
Comment 2 Thierry Vignaud 2015-03-09 14:41:10 CET
Is Wacom driver installed?
What's the output of the following command?

rpm -qa 'x*wacom'

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud

Comment 3 Thierry Vignaud 2015-03-09 14:41:41 CET
Also please attach (not paste) the output of "lspcidrake -v"
Comment 4 Frédéric ACHARD 2015-03-09 15:33:45 CET
Created attachment 6014 [details]
Listing of "lspcidrake -v"
Comment 5 Frédéric ACHARD 2015-03-09 15:35:11 CET
Created attachment 6015 [details]
Listing of "rpm -qa 'x*wacom'"
Comment 6 Frédéric ACHARD 2015-03-09 15:48:30 CET
Created attachment 6016 [details]
Listing of "lsmod | grep -i wacom"
Comment 7 Frédéric ACHARD 2015-03-09 15:55:54 CET
Created attachment 6017 [details]
wacom instaled RPM list
Comment 8 Thierry Vignaud 2015-03-09 16:03:38 CET
Can you attach your /root/drakx/report.bug.xz too?
Then install x11-driver-input-wacom & reboot, and it should works.
Comment 9 Frédéric ACHARD 2015-03-09 16:54:07 CET
Created attachment 6018 [details]
"/root/drakx/report.bug.xz" file
Comment 10 Frédéric ACHARD 2015-03-09 17:08:51 CET
Created attachment 6019 [details]
The "x11-driver-input-wacom" RPM was already installed ...

The "x11-driver-input-wacom" driver was already installed !
Comment 11 Frédéric ACHARD 2015-03-09 18:26:08 CET
For your information I did not find file "xxxx.tablet" on the tablet "BAMBOO PAD CTH-301/K", in the directory "/usr/share/libwacom/" (libwacom-0.11.1.mga5).
No file contains "DeviceMatch=usb:056A:0318" !!!
Comment 12 Thierry Vignaud 2015-03-12 08:49:07 CET
Can you attach your /var/log/Xorg.0.log file too?

Could you try locally update libwacom to 0.12 & x11-driver-input-wacom to 0.28.0.
But I've little hope.

You could also try to duplicate one existing CTH data file & adapt it in /usr/share/libwacom/ for your USB ids (eg: bamboo-2fg-4x5.tablet).

If that doesn't work, you should report it to the upstream project:
http://sourceforge.net/projects/linuxwacom/
Thierry Vignaud 2015-03-12 08:49:22 CET

Source RPM: (none) => libwacom

Comment 13 Thierry Vignaud 2015-03-12 08:55:59 CET
But first check if the xinput command displays it.
If not, try the instructions from:
http://thottingal.in/blog/2014/10/26/howto-wacom-bamboo-cth301k-in-debian/

aka add "usbhid.quirks=0x056a:0x0318:0x40000000" to your boot command line (/boot/grub/menu.lst if you're using grub). You can use the "drakboot --boot" tool in order to do so graphically.

It also suggests adding a /usr/share/X11/xorg.conf.d/50-wacom.conf file for the touch part

CC: (none) => tmb

Comment 14 Frédéric ACHARD 2015-03-12 10:11:56 CET
Created attachment 6049 [details]
The modified "/usr/share/X11/xorg.conf.d/50-wacom.conf" Xorg file.
Comment 15 Thierry Vignaud 2015-03-12 10:16:13 CET
Comment on attachment 6049 [details]
The modified "/usr/share/X11/xorg.conf.d/50-wacom.conf" Xorg file.

That's the original file...

Attachment 6049 is obsolete: 0 => 1

Comment 16 Frédéric ACHARD 2015-03-12 10:17:05 CET
Created attachment 6050 [details]
The modified "/etc/default/grub" GRUB file.

The "/etc/default/grub" file was already modified.
Comment 17 Frédéric ACHARD 2015-03-12 10:24:04 CET
(In reply to Thierry Vignaud from comment #15)
> Comment on attachment 6049 [details]
> The modified "/usr/share/X11/xorg.conf.d/50-wacom.conf" Xorg file.
> 
> That's the original file...

No, the first section, is add as indicated in "http://thottingal.in/blog/2014/10/26/howto-wacom-bamboo-cth301k-in-debian/":

Section "InputClass"
        Identifier "Wacom USB device class"
        MatchUSBID "056a:*"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection
Comment 18 Thierry Vignaud 2015-03-12 10:24:15 CET
Comment on attachment 6050 [details]
The modified "/etc/default/grub" GRUB file.

Does it work better with that change?

Attachment 6050 mime type: application/octet-stream => text/plain

Comment 19 Frédéric ACHARD 2015-03-12 10:30:13 CET
Created attachment 6051 [details]
The "/var/log/Xorg.0.log" file.
Comment 20 Thierry Vignaud 2015-03-12 10:32:01 CET
The "Kernel command line" line shows that you didn't rebooed after altering grub2 cnofig
Comment 21 Frédéric ACHARD 2015-03-12 10:45:02 CET
(In reply to Thierry Vignaud from comment #18)
> Comment on attachment 6050 [details]
> The modified "/etc/default/grub" GRUB file.
> 
> Does it work better with that change?

No, these changes had already been made (latest versions of mageia 4 and 5) ;-((
Comment 22 Thierry Vignaud 2015-03-12 11:04:58 CET
Can you attach the Xorg.0.log after the reboot?
Comment 23 Frédéric ACHARD 2015-03-12 12:54:10 CET
I tested GRUB2 there are already several months when I was under "Mageia 4" but it had my machine malfunction during the boot process ;-((
So I am again, with "GRUB" (before updating to "Mageia 5"), and my computer was rebooted yesterday.
Comment 24 Frédéric ACHARD 2015-03-12 12:59:59 CET
(In reply to Frédéric ACHARD from comment #19)
> Created attachment 6051 [details]
> The "/var/log/Xorg.0.log" file.

It's the latest log created file for Xorg : Xorg.0.log created : March 12, 2015.
Comment 25 Thierry Vignaud 2015-03-12 14:04:52 CET
It explicitly contains:

[    77.525] Kernel command line: BOOT_IMAGE=linux root=UUID=2eb36955-a329-47ea-b3eb-0f097b3ce1bf splash quiet nokmsboot splash=silent resume=UUID=88a2b67f-

and:

[    77.525] (==) Log file: "/var/log/Xorg.0.log", Time: Wed Mar 11 11:14:43 2015
Comment 26 Frédéric ACHARD 2015-03-12 14:15:41 CET
[root@localhost log]# pwd
/var/log
[root@localhost log]# ll Xorg.0.log
-rw-r--r-- 1 root root 35738 mars  12 14:08 Xorg.0.log
[root@localhost log]#
Comment 27 Thierry Vignaud 2015-03-12 14:27:38 CET
The file you attached is 33534 bytes...
Frédéric ACHARD 2015-03-12 17:41:00 CET

Attachment 6051 is obsolete: 0 => 1

Comment 28 Frédéric ACHARD 2015-03-12 17:43:07 CET
Created attachment 6053 [details]
The "/var/log/Xorg.0.log" file (new copy).
Comment 29 Frédéric ACHARD 2015-03-12 18:24:49 CET
Why in the result of the command "Xorg -version", is it indicated a reference mga4 package? (Build Operating System: Linux_3.14.27-server-1.mga4 Mageia).

See the list of mga5 x11 packages installed (there is no longer any mga4 package on my computer).
Comment 30 Thierry Vignaud 2015-03-12 18:37:13 CET
That only means it has been build on a mga4 machine. Our servers are running a stable release, so they're running mga4.

This new log still shows that you're booting without the "usbhid.quirks=0x056a:0x0318:0x40000000" option...
Comment 31 Frédéric ACHARD 2015-03-12 18:41:40 CET
Created attachment 6054 [details]
list of mga5 x11 packages installed.
Comment 32 Thierry Vignaud 2015-03-12 19:17:30 CET
Comment on attachment 6054 [details]
list of mga5 x11 packages installed.

We don't need that list

Attachment 6054 is obsolete: 0 => 1

Comment 33 Frédéric ACHARD 2015-03-12 19:32:00 CET
Created attachment 6055 [details]
Default kernel boot option.


In central control of mageia, should change, delete or replace the displayed option line (see screenshot in the attached file)?
Comment 34 Thierry Vignaud 2015-03-12 20:45:44 CET
You should just append at end...
Comment 35 Frédéric ACHARD 2015-03-13 19:57:27 CET
Comment on attachment 6053 [details]
The "/var/log/Xorg.0.log" file (new copy).

Kernel Boot option without usbhid.quirks option.

Attachment 6053 is obsolete: 0 => 1

Comment 36 Frédéric ACHARD 2015-03-13 20:01:10 CET
Created attachment 6061 [details]
The "/var/log/Xorg.0.log" file (new with modified kernel Boot option).

The "/var/log/Xorg.0.log" file contain now the kernel Boot option with "usbhid.quirks=0x056a:0x0318:0x40000000" add at end.

Assignee: bugsquad => frederic.achard

Comment 37 Thierry Vignaud 2015-03-16 09:39:20 CET
Hummm. The wacom xorg driver got unloaded...

(EE) Wacom HID Pen: Invalid type 'stylus' for this device.
(EE) Wacom HID Pen: Invalid type 'eraser' for this device.
(EE) Wacom HID Pen: Invalid type 'cursor' for this device.
(EE) Wacom HID Pen: Invalid type 'touch' for this device.
(EE) Wacom HID Pen: Invalid type 'pad' for this device.
(EE) Wacom HID Pen: No type specified
(EE) PreInit returned 8 for "Wacom HID Pen"
(II) UnloadModule: "wacom"

Did xinput list your device (see comment #13)?
Else could you open a bug report upstream (see comment #12)?
Comment 38 Frédéric ACHARD 2015-03-16 11:11:53 CET
(In reply to Thierry Vignaud from comment #37)
> Hummm. The wacom xorg driver got unloaded...
> 
> (EE) Wacom HID Pen: Invalid type 'stylus' for this device.
> (EE) Wacom HID Pen: Invalid type 'eraser' for this device.
> (EE) Wacom HID Pen: Invalid type 'cursor' for this device.
> (EE) Wacom HID Pen: Invalid type 'touch' for this device.
> (EE) Wacom HID Pen: Invalid type 'pad' for this device.
> (EE) Wacom HID Pen: No type specified
> (EE) PreInit returned 8 for "Wacom HID Pen"
> (II) UnloadModule: "wacom"
> 
> Did xinput list your device (see comment #13)?
> Else could you open a bug report upstream (see comment #12)?


No, the wacom tablet is not in the xinput command output listing !

[frederic@localhost ~]$ xinput -list
â¡ Virtual core pointer                          id=2    [master pointer  (3)]
â   â³ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
â   â³ PS2++ Logitech MX Mouse                   id=8    [slave  pointer  (2)]
⣠Virtual core keyboard                         id=3    [master keyboard (2)]
    â³ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    â³ Power Button                              id=6    [slave  keyboard (3)]
    â³ Power Button                              id=7    [slave  keyboard (3)]
    â³ AT Translated Set 2 keyboard              id=9    [slave  keyboard (3)]
    â³ CNF8215                                   id=10   [slave  keyboard (3)]
[frederic@localhost ~]$
Comment 39 Frédéric ACHARD 2015-03-16 11:15:09 CET
(In reply to Frédéric ACHARD from comment #38)
> (In reply to Thierry Vignaud from comment #37)
> > Hummm. The wacom xorg driver got unloaded...
> > 
> > (EE) Wacom HID Pen: Invalid type 'stylus' for this device.
> > (EE) Wacom HID Pen: Invalid type 'eraser' for this device.
> > (EE) Wacom HID Pen: Invalid type 'cursor' for this device.
> > (EE) Wacom HID Pen: Invalid type 'touch' for this device.
> > (EE) Wacom HID Pen: Invalid type 'pad' for this device.
> > (EE) Wacom HID Pen: No type specified
> > (EE) PreInit returned 8 for "Wacom HID Pen"
> > (II) UnloadModule: "wacom"
> > 
> > Did xinput list your device (see comment #13)?
> > Else could you open a bug report upstream (see comment #12)?
> 
> 
> No, the wacom tablet is not in the xinput command output listing !
> 
> [frederic@localhost ~]$ xinput -list
> â¡ Virtual core pointer                          id=2    [master pointer  (3)]
> â   â³ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
> â   â³ PS2++ Logitech MX Mouse                   id=8    [slave  pointer  (2)]
> ⣠Virtual core keyboard                         id=3    [master keyboard (2)]
>     â³ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
>     â³ Power Button                              id=6    [slave  keyboard (3)]
>     â³ Power Button                              id=7    [slave  keyboard (3)]
>     â³ AT Translated Set 2 keyboard              id=9    [slave  keyboard (3)]
>     â³ CNF8215                                   id=10   [slave  keyboard (3)]
> [frederic@localhost ~]$



[root@localhost frederic2]# lsmod | grep wacom
wacom                  74651  0 
hid                    95948  3 wacom,hid_generic,usbhid
[root@localhost frederic2]#
Comment 40 Samuel Verschelde 2015-05-19 14:24:16 CEST
Frédéric, have you reported your bug to http://sourceforge.net/projects/linuxwacom/ (see comment #12 and comment #37) ?

Keywords: (none) => UPSTREAM

Comment 41 Frédéric ACHARD 2015-05-19 16:49:22 CEST
Hello, the issue was deferred to the linuxwacom project. This project confirmed that the problem is with the HID driver and now expects Linus incorporates changes proposed by linuxwacom team in bramche 4.1 linux (see link: http://lkml.iu.edu/hypermail/linux/kernel/1504.1/04108.html)
F. A.

Status: NEW => RESOLVED
Resolution: (none) => FIXED

Comment 42 Rémi Verschelde 2015-05-19 17:06:29 CEST
Reopening as the bug in itself is not fixed. It's not yet a WONTFIX either as there is a chance that we might be able to backport kernel patches (or do a kernel upgrade) during Mageia 5's lifecycle.

It should probably be added to the errata for Mageia 5.

Keywords: NEEDINFO => (none)
Status: RESOLVED => REOPENED
Resolution: FIXED => (none)
Whiteboard: (none) => MGA5TOO FOR_ERRATA

Samuel Verschelde 2015-05-19 17:10:17 CEST

Assignee: frederic.achard => tmb
Source RPM: libwacom => kernel, libwacom

Comment 43 papoteur 2015-05-31 17:03:24 CEST
Added to errata.
https://wiki.mageia.org/en/Mageia_5_Errata#Wacom_Tablet_.22BAMBOO_PAD_CTH-301_.2F_K.22_does_not_work

CC: (none) => yves.brungard_mageia
Whiteboard: MGA5TOO FOR_ERRATA => MGA5TOO IN_ERRATA

Comment 44 Thomas Backlund 2015-09-18 15:36:28 CEST
There is now a 4.1.7 kernel in mga 5 testing

Depends on: (none) => 16655

Comment 45 Frédéric ACHARD 2015-09-22 18:58:01 CEST
With the 4.1.8 kernel (mga 5 testing), the Bamboo PAD tablet (CTH-301) is now operational ; PAD and PEN are OK :-))
Comment 46 Frédéric ACHARD 2015-09-22 19:19:48 CEST
The tablet seems to work but there is still some error in the Xorg file (see attached file Xorg.0.log) :


X.Org X Server 1.16.4
Release Date: 2014-12-20
[    95.016] X Protocol Version 11, Revision 0
[    95.016] Build Operating System: Linux_3.19.8-server-3.mga5 Mageia
[    95.016] Current Operating System: Linux localhost 4.1.8-desktop-1.mga5 #1 SMP Sun Sep 20 12:33:42 UTC 2015 i686
[    95.016] Kernel command line: BOOT_IMAGE=linux root=UUID=2eb36955-a329-47ea-b3eb-0f097b3ce1bf splash quiet nokmsboot splash=silent resume=UUID=88a2b67f-49b1-455b-9675-ee4d5e4cf5a3 usbhid.quirks=0x056a:0x0318:0x40000000 vga=788


[   104.214] (EE) Stylus2: already have a tool with type/serial 1/0.
[   104.214] (EE) PreInit returned 8 for "Stylus2"

[   104.214] (EE) Eraser2: already have a tool with type/serial 8/0.
[   104.214] (EE) PreInit returned 8 for "Eraser2"

[   104.214] (EE) Cursor2: already have a tool with type/serial 4/0.
[   104.214] (EE) PreInit returned 8 for "Cursor2"

[   104.214] (EE) Pad2: already have a tool with type/serial 16/0.
[   104.214] (EE) PreInit returned 8 for "Pad2"

[   104.373] (EE) Wacom USB Bamboo PAD Pen stylus: Invalid type 'cursor' for this device.
[   104.373] (EE) Wacom USB Bamboo PAD Pen stylus: Invalid type 'pad' for this device.
Comment 47 Frédéric ACHARD 2015-09-22 19:21:53 CEST
Created attachment 7032 [details]
The "/var/log/Xorg.0.log" file (new with 4.1.8 mga testing kernel)
Comment 48 Thierry Vignaud 2016-06-29 11:30:00 CEST
Yes but it works

Status: REOPENED => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.