Date: Wed, 20 May 2009 13:10:44 -0400 From: patrick puredata@11h11.com Subject: Re: [PD] getting wacom data on Ubuntu WAS: who wants to port [wacom] for windows? To: Hans-Christoph Steiner hans@at.or.at Cc: Pd List pd-list@iem.kug.ac.at Message-ID: 4A143994.2070303@11h11.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Yes, [hid] use /dev/input/eventX, but really /dev/input/wacom is simply a link to /dev/input/eventX. i have also tried to cat /dev/input/eventX, same problem, no output.
if anyone have a tablet and using HAL, let me know if it's working for you. pat
just to let you know, I got my little wacom volito to work with [hid] with /dev/inputX on ubuntu 8.04, as long as I change the owner of that to current user... ( sudo chown user /dev/inputX ) - I get XY and pressure info ... same as with all hid input actualy since ubuntu 7.10 (had a hard time before figuring that permission thing) but don't know how to change that on the fly ... could be cool to find as that /input/eventX change each time (reboot/change in usb/...)
Ol.
hi,
since i am root, i don't it's a permission thing. here's the answer from ping (from wacom-tools):
Once wacom_drv.so grabs the tablet, nothing else can access it. You can run wacdump before X starts. Or run xidump before wacomcpl starts.
what i did to have pressure, x, y in pure data and gimp at the same time:
|in gimp (gimpdisplayshell-coords.c) printf("%f %f %f;\n", coords->x, ||coords->y|, |coords->pressure||); fflush(stdout); //important!|
at console: gimp-2.6 | pdsend 3001 127.0.0.1 udp
pat
new information:
Jaunty configures your tablet as full-featured wacom device automatically using the HAL&fdi combo. It should "Just work" (TM). If you do not wish to have it configured as a wacom device then just remove the fdi file and it will fall back to evdev.
Did it work? Also, there are somethings where root doesn't have
permission, its very specific, but its a possibility.
.hc
On May 21, 2009, at 11:36 AM, patrick wrote:
new information:
Jaunty configures your tablet as full-featured wacom device
automatically using the HAL&fdi combo. It should "Just work" (TM).
If you do not wish to have it configured as a wacom device then just
remove the fdi file and it will fall back to evdev.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Access to computers should be unlimited and total. - the hacker ethic
In Ubuntu 7.04, I added the following line to /etc/udev/rules.d/40-permissions.rules:
KERNEL=="event[0-9]*", MODE="0666"
I think things may have changed though.. might belong in a different file now. Look for whevever similar lines are for things like raw1394, usb, etc, and thats where this should go.
Anyone just know where this line should go? It lets all users use the /dev/input/event*'s.
On Thu, May 21, 2009 at 12:52 PM, Olm-e ol@ogeem.be wrote:
Date: Wed, 20 May 2009 13:10:44 -0400 From: patrick puredata@11h11.com Subject: Re: [PD] getting wacom data on Ubuntu WAS: who wants to port [wacom] for windows? To: Hans-Christoph Steiner hans@at.or.at Cc: Pd List pd-list@iem.kug.ac.at Message-ID: 4A143994.2070303@11h11.com Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Yes, [hid] use /dev/input/eventX, but really /dev/input/wacom is simply a link to /dev/input/eventX. i have also tried to cat /dev/input/eventX, same problem, no output.
if anyone have a tablet and using HAL, let me know if it's working for
you.
pat
just to let you know, I got my little wacom volito to work with [hid] with /dev/inputX on ubuntu 8.04, as long as I change the owner of that to current user... ( sudo chown user /dev/inputX ) - I get XY and pressure info ... same as with all hid input actualy since ubuntu 7.10 (had a hard time before figuring that permission thing) but don't know how to change that on the fly ... could be cool to find as that /input/eventX change each time (reboot/change in usb/...)
Ol.
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Rich E wrote:
In Ubuntu 7.04, I added the following line to /etc/udev/rules.d/40-permissions.rules:
KERNEL=="event[0-9]*", MODE="0666"
I think things may have changed though.. might belong in a different file now. Look for whevever similar lines are for things like raw1394, usb, etc, and thats where this should go.
wow, daring you.
gmdr IOhannes
yea sometimes I just want a computer that works - I get tired of all these rules.
i'll have to try out the new Jaunty way of the wacom 'just working' when I have moment..
Rich
On Fri, May 22, 2009 at 9:48 AM, IOhannes m zmoelnig zmoelnig@iem.atwrote:
Rich E wrote:
In Ubuntu 7.04, I added the following line to /etc/udev/rules.d/40-permissions.rules:
KERNEL=="event[0-9]*", MODE="0666"
I think things may have changed though.. might belong in a different file now. Look for whevever similar lines are for things like raw1394, usb,
etc,
and thats where this should go.
wow, daring you.
gmdr IOhannes
When passwords and permissions were first added to computers, lots of
hackers resisted in many ways (y'know back when there was like 50
computers in the world ;). Basically the military managers required
it, but most of the users didn't want it. They organized a compaign to
have everyone set their passwords to the same thing. Too bad we need
all these passwords... I suppose permissions are useful for
preventing yourself from shooting your foot off.
.hc
On May 22, 2009, at 7:08 AM, Rich E wrote:
yea sometimes I just want a computer that works - I get tired of all
these rules.i'll have to try out the new Jaunty way of the wacom 'just working'
when I have moment..Rich
On Fri, May 22, 2009 at 9:48 AM, IOhannes m zmoelnig
zmoelnig@iem.at wrote: Rich E wrote:In Ubuntu 7.04, I added the following line to /etc/udev/rules.d/40-permissions.rules:
KERNEL=="event[0-9]*", MODE="0666"
I think things may have changed though.. might belong in a
different file
now. Look for whevever similar lines are for things like raw1394,
usb, etc,
and thats where this should go.
wow, daring you.
gmdr IOhannes
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
All mankind is of one author, and is one volume; when one man dies,
one chapter is not torn out of the book, but translated into a better
language; and every chapter must be so translated.... -John Donne