MyPaint and Wacom

Ask questions about Arch Linux ARM. Please search before making a new topic.

MyPaint and Wacom

Postby ridicker2 » Mon Mar 17, 2014 3:11 pm

Please forgive me if I've placed this in the wrong place. I'm a newbie to this forum and to linux in general, but:

I'm working on a project that needs MyPaint and a USB Wacom tablet (for the MyPaint). I have a Odroid XU and Raspberry Pi. I never planned to complete the project on the Pi. Interestingly enough, the Pi will run LXDE and the Wacom, but fails miserably on MyPaint. The Odroid XU runs LXDE and MyPaint, but fails on the Wacom. This really surprised me as I figured the Wacom was one of the easier pieces. Due to my Linux inexperience I don't even know where to look for logs or such for more info, but I am a willing student.
ridicker2
 
Posts: 5
Joined: Mon Mar 10, 2014 8:25 pm

Re: MyPaint and Wacom

Postby WarheadsSE » Mon Mar 17, 2014 3:57 pm

I suppose this might be a module difference that needs to be addresses.
Core Developer
Remember: Arch Linux ARM is entirely community donation supported!
WarheadsSE
Developer
 
Posts: 6807
Joined: Mon Oct 18, 2010 2:12 pm

Re: MyPaint and Wacom

Postby pepedog » Mon Mar 24, 2014 8:54 pm

This seems good at troubleshooting
https://wiki.archlinux.org/index.php/Wacom_Tablet
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: MyPaint and Wacom

Postby ridicker2 » Tue Mar 25, 2014 2:31 pm

Thanks pepedog. Since I'm working with the ARM I didn't think of checking the regular Arch Linux Wiki. I know it is cross-compiled from the regular to the ARM, but have often wondered how accurate it is. In this case I really do believe it is a case of configuration, since the same package works on the RPi. I'll try and go though each configuration file on the 'working' RPi until I find something. Just my lack of Linux experience is slowing me down, but I am gaining a respect for the Arch Linux project in general. You just really have to know what you are doing.
ridicker2
 
Posts: 5
Joined: Mon Mar 10, 2014 8:25 pm

Re: MyPaint and Wacom

Postby ridicker2 » Thu Mar 27, 2014 7:09 pm

Did a little more research and tried to follow the Archlinux Wacom Wiki to verify my results.

Here is the RPi's results:
$this->bbcode_second_pass_code('', '[root@alarmpi ~]# lsusb
Bus 001 Device 005: ID 056a:0045 Wacom Co., Ltd Intuos2 12x18
Bus 001 Device 004: ID 1997:2433
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp. SMC9512/9514 USB Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[root@alarmpi ~]# dmesg | grep -i wacom
[ 3.723303] usb 1-1.3: Manufacturer: WACOM
[ 5.519809] input: Wacom Intuos2 12x18 as /devices/platform/bcm2708_usb/usb1/1-1/1-1.3/1-1.3:1.0/input/input2
[ 6.137106] usbcore: registered new interface driver wacom
[root@alarmpi ~]# xsetwacom --list devices
Wacom Intuos2 12x18 stylus id: 8 type: STYLUS
Wacom Intuos2 12x18 eraser id: 9 type: ERASER
Wacom Intuos2 12x18 cursor id: 10 type: CURSOR
[root@alarmpi ~]# ls /dev/input/*
/dev/input/event0 /dev/input/event2 /dev/input/mouse0
/dev/input/event1 /dev/input/mice /dev/input/mouse1

/dev/input/by-id:
usb-WACOM_XD-1218-U_-_WaxBee_emulation-event-mouse
usb-WACOM_XD-1218-U_-_WaxBee_emulation-mouse
usb-_Mini_Keyboard-event-kbd
usb-_Mini_Keyboard-if01-event-mouse
usb-_Mini_Keyboard-if01-mouse

/dev/input/by-path:
platform-bcm2708_usb-usb-0:1.2:1.0-event-kbd
platform-bcm2708_usb-usb-0:1.2:1.1-event-mouse
platform-bcm2708_usb-usb-0:1.2:1.1-mouse
platform-bcm2708_usb-usb-0:1.3:1.0-event-mouse
platform-bcm2708_usb-usb-0:1.3:1.0-mouse
[root@alarmpi ~]# ')

And here is the Odroid XU's results:
$this->bbcode_second_pass_code('', '[root@alarm ~]# lsusb
Bus 001 Device 005: ID 056a:0045 Wacom Co., Ltd Intuos2 12x18
Bus 001 Device 003: ID 0424:3503 Standard Microsystems Corp.
Bus 001 Device 002: ID 0424:9730 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 1997:2433
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[root@alarm ~]# dmesg | grep -i wacom
[root@alarm ~]# xsetwacom --list devices
[root@alarm ~]# ls /dev/input/*
/dev/input/event0 /dev/input/event2 /dev/input/mice /dev/input/mouse1
/dev/input/event1 /dev/input/event3 /dev/input/mouse0

/dev/input/by-id:
usb-_Mini_Keyboard-event-kbd usb-_Mini_Keyboard-if01-mouse
usb-_Mini_Keyboard-if01-event-mouse

/dev/input/by-path:
platform-exynos-ohci-usb-0:1:1.0-event-kbd
platform-exynos-ohci-usb-0:1:1.1-event-mouse
platform-exynos-ohci-usb-0:1:1.1-mouse
platform-s3c2440-i2c.0-event
[root@alarm ~]#')

It would seem that neither of the devices does a great job of setting up the Wacom. I do know the Wacom works prefectly if I hook it up to my Intel machine running Ubuntu 12.04 lts. I may have to setup an Intel box with Arch and test it there.

Any other suggestions?
ridicker2
 
Posts: 5
Joined: Mon Mar 10, 2014 8:25 pm

Re: MyPaint and Wacom

Postby pepedog » Thu Mar 27, 2014 7:34 pm

Is it possible they don't have enough USB power to power the Wacom? ie use a powered hub
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: MyPaint and Wacom

Postby kmihelich » Fri Mar 28, 2014 1:09 am

This is more likely due to the fact that the current XU kernel didn't have the wacom USB driver enabled. This has been fixed in a new kernel, which will be in the repos in a little bit.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: MyPaint and Wacom

Postby ridicker2 » Fri Mar 28, 2014 2:55 pm

$this->bbcode_second_pass_quote('', 'T')his is more likely due to the fact that the current XU kernel didn't have the wacom USB driver enabled.


This sounds most likely. The XU was only reporting what the USB was providing. It didn't seems to have any idea of what to do with that info.

@pepedog I'm pretty sure power is not the issue. If so I would probably see more problems on the RPi (5v 1A) than on the XU (5v 4A).
ridicker2
 
Posts: 5
Joined: Mon Mar 10, 2014 8:25 pm

Re: MyPaint and Wacom

Postby ridicker2 » Fri Mar 28, 2014 11:02 pm

To whom it may concern (or who ever updated the XU kernel): THANK YOU!!!

Got home from work. Tried a pacman -Syu, a reboot and magic happens! The wacom is recognized and works. I've still got some calibration issues to deal with, but that's ok!

I've already tried it with MyPaint and it works very well. I'll try and post anything else that seems pertinent to the ARM / wacom relationship.

Thanks for the assist guys!
ridicker2
 
Posts: 5
Joined: Mon Mar 10, 2014 8:25 pm


Return to User Questions

Who is online

Users browsing this forum: No registered users and 10 guests