hallo, i try to read accelleration data from sixaxis joystick via the sixaxis object into pd linux. when i attempt to open hidraw1, which is the sony sixaxis acording to dmesg, sixaxis object gives me an error. the joystick is known by the system and works fine with the hid object.
i tried sixhidtest (from pabr.org) as well and i get an error too. (permission denied).
it's the same with puredyne (2.6.24) and ubuntu 9.04 (2.6.28).
has anybody succeeded with this? thanks olli
http://redirect.gimas.net/?n=M0906xIE8_MSN3_WW Hol Dir den neuen Internet Explorer 8 mit MSN-Toolbar
Sounds like a permissions issue. You need to have permissions to read/write from the hidraw device. On my machine, the 'root' group has perms. So add yourself to the 'root' group.
hans@palatschinken:~ > ls -l /dev/hidraw* crw-rw---- 1 root root 251, 0 2009-06-09 14:45 /dev/hidraw0 crw-rw---- 1 root root 251, 1 2009-06-09 14:45 /dev/hidraw1 crw-rw---- 1 root root 251, 2 2009-06-09 14:45 /dev/hidraw2 crw-rw---- 1 root root 251, 3 2009-06-09 14:45 /dev/hidraw3
Search the archives, there is a lot of discussion about this related to hid.
.hc
On Wed, 10 Jun 2009 03:59 +0400, "a. tonal" ladataxi@hotmail.de wrote:
hallo, i try to read accelleration data from sixaxis joystick via the sixaxis object into pd linux. when i attempt to open hidraw1, which is the sony sixaxis acording to dmesg, sixaxis object gives me an error. the joystick is known by the system and works fine with the hid object.
i tried sixhidtest (from pabr.org) as well and i get an error too. (permission denied).
it's the same with puredyne (2.6.24) and ubuntu 9.04 (2.6.28).
has anybody succeeded with this? thanks olli
http://redirect.gimas.net/?n=M0906xIE8_MSN3_WW Hol Dir den neuen Internet Explorer 8 mit MSN-Toolbar
Hans-Christoph Steiner wrote:
Sounds like a permissions issue. You need to have permissions to read/write from the hidraw device. On my machine, the 'root' group has perms. So add yourself to the 'root' group.
or even better: create a new group "hid", configure udev to make /dev/hidraw* devices be of group "hid" and add yourself to group "hid".
Search the archives, there is a lot of discussion about this related to hid.
ditto
fgmasdr IOhannes
hallo, i followed hans' advice, because i couldn't configure udev. thanks anyway. what is the file you attached?
olli
Date: Wed, 10 Jun 2009 09:35:25 +0200 From: zmoelnig@iem.at To: pd-list@iem.at Subject: Re: [PD] sixaxis, can't read from hidraw
Hans-Christoph Steiner wrote:
Sounds like a permissions issue. You need to have permissions to read/write from the hidraw device. On my machine, the 'root' group has perms. So add yourself to the 'root' group.
or even better: create a new group "hid", configure udev to make /dev/hidraw* devices be of group "hid" and add yourself to group "hid".
Search the archives, there is a lot of discussion about this related to hid.
ditto
fgmasdr IOhannes
http://redirect.gimas.net/?n=M0906xIE8_MSN4_WW Internet Explorer 8 jetzt für MSN - kostenlos!
Personally, I think its easier just to leave the configuration alone
and add yourself to the 'root' group. I suppose it might be slightly
less secure to do it that way..
.hc
On Jun 10, 2009, at 2:40 PM, a. tonal wrote:
hallo, i followed hans' advice, because i couldn't configure udev. thanks anyway. what is the file you attached?
olli
Date: Wed, 10 Jun 2009 09:35:25 +0200 From: zmoelnig@iem.at To: pd-list@iem.at Subject: Re: [PD] sixaxis, can't read from hidraw
Hans-Christoph Steiner wrote:
Sounds like a permissions issue. You need to have permissions to read/write from the hidraw device. On my machine, the 'root'
group has
perms. So add yourself to the 'root' group.
or even better: create a new group "hid", configure udev to make /dev/hidraw* devices be of group "hid" and add yourself to group
"hid".
Search the archives, there is a lot of discussion about this
related to
hid.
ditto
fgmasdr IOhannes
Mehr Sicherheit und Datenschutz - der neue Internet Explorer 8 für
MSN Jetzt sofort kostenlos downloaden!
_______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Information wants to be free. -Stewart Brand
Hans-Christoph Steiner wrote:
Personally, I think its easier just to leave the configuration alone and add yourself to the 'root' group.
right: simple solutions for complex problems...
hallo, i followed hans' advice, because i couldn't configure udev. thanks anyway. what is the file you attached?
s/mime?
fgasdr IOhannes
ok, adding myself to root group did the job. thanks for your help. the sixaxis object now reports acceleration data, but only y and z axis. axis x shows a constant value of 414, even when i shake the controller.
is my controller broke?
thanks olli
From: hans@at.or.at To: ladataxi@hotmail.de; pd-list@iem.at Subject: Re: [PD] sixaxis, can't read from hidraw Date: Tue, 9 Jun 2009 21:28:44 -0400
Sounds like a permissions issue. You need to have permissions to read/write from the hidraw device. On my machine, the 'root' group has perms. So add yourself to the 'root' group.
hans@palatschinken:~ > ls -l /dev/hidraw* crw-rw---- 1 root root 251, 0 2009-06-09 14:45 /dev/hidraw0 crw-rw---- 1 root root 251, 1 2009-06-09 14:45 /dev/hidraw1 crw-rw---- 1 root root 251, 2 2009-06-09 14:45 /dev/hidraw2 crw-rw---- 1 root root 251, 3 2009-06-09 14:45 /dev/hidraw3
Search the archives, there is a lot of discussion about this related to hid.
.hc
On Wed, 10 Jun 2009 03:59 +0400, "a. tonal" ladataxi@hotmail.de wrote:
hallo, i try to read accelleration data from sixaxis joystick via the sixaxis object into pd linux. when i attempt to open hidraw1, which is the sony sixaxis acording to dmesg, sixaxis object gives me an error. the joystick is known by the system and works fine with the hid object.
i tried sixhidtest (from pabr.org) as well and i get an error too. (permission denied).
it's the same with puredyne (2.6.24) and ubuntu 9.04 (2.6.28).
has anybody succeeded with this? thanks olli
http://redirect.gimas.net/?n=M0906xIE8_MSN3_WW Hol Dir den neuen Internet Explorer 8 mit MSN-Toolbar
http://redirect.gimas.net/?n=M0906xWLHM2_WW Unbegrenzter Speicher bei Windows Live Hotmail!