[opensuse-arm] How to make a version of the packet python-RPi.GPIO for the Raspberry Pi 1B available?

2016-06-14 Thread Freek de Kruijf
Using the source of RPi.GPIO-0.6.2 I managed to build a version which is 
usable on a Raspberry Pi 1B with Tumbleweed (armv6l). The problem with 
Tumbleweed is that it provides a device /sys/class/gpio/gpiochip298, where the 
software of version 0.6.2 expects /sys/class/gpio/gpiochip0

I made it more general, so it supports all values for 0 and 298 between 0 and 
999.

I have a system running with this software, which seems stable.
However repeatedly stopping and starting the program using this software 
fails. Only a reboot cures the problem. So it is limited usable. At least one 
can stick with openSUSE.

-- 
fr.gr.

member openSUSE
Freek de Kruijf

-- 
To unsubscribe, e-mail: opensuse-arm+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-arm+ow...@opensuse.org



[opensuse-arm] Support for /dev/gpiomem is missing on Tumbleweed for Raspberry Pi 1B (armv6l)

2016-06-14 Thread Freek de Kruijf
On the Tumbleweed system for the Raspberry Pi 1B (armv6l) support for the 
device /dev/gpiomem is missing. It provides access to GPIO registers by a 
normal user. Otherwise only root is allowed to access these registers via 
/dev/mem

It is available on Tumbleweed for the Raspberry Pi 2B (armv7l).

I searched build.opensuse.org for the software of its driver but failed to 
find it.

-- 
fr.gr.

member openSUSE
Freek de Kruijf

-- 
To unsubscribe, e-mail: opensuse-arm+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-arm+ow...@opensuse.org



[opensuse-arm] Use of cpan on Raspberry Pi 1 B armv6l has unsatisfied requirements

2016-06-14 Thread Freek de Kruijf
In order to use the cpan utility in a Raspberry Pi 1B system with Tumbleweed I 
needed to install the packages make and gcc. This means that the package perl, 
which provides /usr/bin/cpan, needs to have requirements for these packages.

I entered a bug report about this 
https://bugzilla.opensuse.org/show_bug.cgi?id=984594
-- 
fr.gr.

Freek de Kruijf

-- 
To unsubscribe, e-mail: opensuse-arm+unsubscr...@opensuse.org
To contact the owner, e-mail: opensuse-arm+ow...@opensuse.org