[PD] sixaxis, can't read from hidraw

a. tonal ladataxi at hotmail.de
Wed Jun 10 20:33:44 CEST 2009


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 at.or.at
> To: ladataxi at hotmail.de; pd-list at 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 at 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 at 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!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20090610/0199daff/attachment.htm>


More information about the Pd-list mailing list