debian: update package version 3.13.2

gpio readall error:
gpio pin value dumped when using command "gpio write $PIN $VALUE" and call "gpio readall"

ODROID-M1: Add udev rules for gpiomem

default: gpiomem

change machanism gpiomem or libgpiod
use or not -DDEVMEM in wiringPi/Makefile.am (Linux) Android.bp (Android)

Signed-off-by: steve.jeong <jkhpro1003@gmail.com>
Change-Id: Ie389c338e5082a94638d00983801f18fef1cbfaa
This commit is contained in:
steve.jeong
2022-04-18 17:53:34 +09:00
parent b3d4dfbfb5
commit 4132c07cc9
5 changed files with 19 additions and 13 deletions

6
debian/changelog vendored
View File

@@ -1,3 +1,9 @@
odroid-wiringpi (3.13.2) stable; urgency=medium
* ODROID-M1: Add gpiomem rules
-- steve <jkhpro1003@gmail.com> Mon, 18 Apr 2022 16:52:03 +0900
odroid-wiringpi (3.13.1) stable; urgency=medium
* ODROID-COMMON: Add link libgpiod

View File

@@ -8,15 +8,22 @@ msg() {
case "$1" in
configure)
;;
if [ -c "/dev/gpiomem" ] && [ "$(stat -c "%a %G" "/dev/gpiomem")" != "660"*"odroid" ]; then
msg "Reload udev..."
[ -x "$(command -v udevadm)" ] \
&& udevadm trigger \
|| msg "udevadm not found. Please reboot to take effect"
fi
;;
abort-upgrade|abort-remove|abort-deconfigure)
;;
;;
*)
echo "postinst called with unknown argument \`$1'" >&2
exit 1
;;
esac
exit 0