On Friday 30 November 2012 02:52:19 pm Wayne Merricks wrote:
> It mentions that as well as switching ioctl in file ops to
> unlocked_ioctl you need to have an explicit lock_kernel() and
> unlock_kernel() between the access to the gpio card.
>
> Its out of my rudimentary C comfort zone unfortunat
The only thing I can find that might be useful is the following link:
https://lkml.org/lkml/2008/1/8/213
It mentions that as well as switching ioctl in file ops to
unlocked_ioctl you need to have an explicit lock_kernel() and
unlock_kernel() between the access to the gpio card.
Its out of my r
Yep tried with root/sudo. I also have a startup script giving a+rw
permissions to /dev/gpio0 which means my normal riv users can use it
without issues.
Its all fun and games,
Wayne Merricks
The Voice Asia
On 30/11/12 19:41, Cowboy wrote:
> On Friday 30 November 2012 02:37:15 pm Wayne Merricks
On Friday 30 November 2012 02:37:15 pm Wayne Merricks wrote:
> "Unable to open GPIO device."
>
> Any pointers would be really appreciated before the PCs end up through
> the nearest windows ;)
>
Is root running that test ?
Could be a simple permissioning problem.
If not, then just getting i
e box
saying:
"Unable to open GPIO device."
Any pointers would be really appreciated before the PCs end up through
the nearest windows ;)
Regards,
Wayne Merricks
The Voice Asia
On 21/11/12 00:01, Wayne Merricks wrote:
> RE: [RDD] Rivendell GPIO with Kernel 3.2+
>
> Hi,
>
&g
morrow.
-Original Message-
From: rivendell-dev-boun...@lists.rivendellaudio.org on behalf of Fred Gleason
Sent: Tue 20/11/2012 15:21
To: User discussion about the Rivendell Radio Automation System
Subject: Re: [RDD] Rivendell GPIO with Kernel 3.2+
On Nov 19, 2012, at 20:34 32, Wayne Merricks
On Nov 19, 2012, at 20:34 32, Wayne Merricks wrote:
> So heres the current error:
>
> In file included from /root/gpio-1.1.0/drv/gpio.c:30:0:
> /root/gpio-1.1.0/drv/gpio.h:77:28: fatal error: linux/autoconf.h: No such
> file or directory
> compilation terminated.
Lovely. Sounds like it's time
Hi all,
With Wheezy fast approaching and a bit of an update going at work I'm currently
in need of getting the GPIO driver to work with 3.2+ kernels under
Debian/Ubuntu (unfortunately newer hardware and Kernel 2.6 just isn't working
for me).
First stumbling block, overriding the "Unsupported K