Discussion:
[fedora-arm] kernel 4.9.2-200.fc25.armv7hl
Richard Ryniker
2017-01-12 02:01:57 UTC
Permalink
4.9.2 does not appear to do much good. The blank screen problem
https://bugzilla.redhat.com/show_bug.cgi?id=1387733
continues, and the
kernel: i2c-bcm2835 3f805000.i2c: i2c transfer timed out
message still appears in the journal.

The following document my experience:
http://ryniker.org/Fedora/arm/dmesg.04
http://ryniker.org/Fedora/arm/journal.04

It is possible there is something odd in my system. (I do not know of such
a thing, but there have been enough iterations of "try this... try that"
to make it difficult to assert I have exactly what one would obtain from a
fresh installation.)

As before, blacklisting VC4 allows the display to work. My default
target is multi-user, and I can login. I have not tried graphical output.
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscr
Richard Ryniker
2017-01-15 16:09:06 UTC
Permalink
Additional problem on Raspberry Pi (model 3): there is no:

/sys/class/gpio

This does exist with the 4.8.15-300 kernel, but it has problems:

[***@RPi3-1 gpiochip970]# echo 993 >/sys/class/gpio/export
[***@RPi3-1 gpiochip970]# echo 1 > /sys/class/gpio/gpio993/value
bash: echo: write error: Operation not permitted
[***@RPi3-1 gpiochip970]# ls -l /sys/class/gpio/gpio993
lrwxrwxrwx. 1 root root 0 Jan 15 10:24 /sys/class/gpio/gpio993 -> ../../devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio993
[***@RPi3-1 gpiochip970]# ls -l /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio993
total 0
-rw-r--r--. 1 root root 4096 Jan 15 10:24 active_low
lrwxrwxrwx. 1 root root 0 Jan 15 10:24 device -> ../../../gpiochip0
-rw-r--r--. 1 root root 4096 Jan 15 10:24 direction
-rw-r--r--. 1 root root 4096 Jan 15 10:24 edge
drwxr-xr-x. 2 root root 0 Jan 15 10:24 power
lrwxrwxrwx. 1 root root 0 Jan 15 10:24 subsystem -> ../../../../../../../class/gpio
-rw-r--r--. 1 root root 4096 Jan 15 10:24 uevent
-rw-rw-rw-. 1 root root 4096 Jan 15 10:27 value
[***@RPi3-1 gpiochip970]# echo 1 > /sys/devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio993/value
bash: echo: write error: Operation not permitted
[***@RPi3-1 gpiochip970]#
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an
Peter Robinson
2017-01-16 07:19:40 UTC
Permalink
Post by Richard Ryniker
/sys/class/gpio
The sysfs interface is deprecated [1] so I had disabled it on rawhide.
I didn't intend on this change coming back into the stable releases
but I must have screwed something up. It'll be back in F-25 with the
4.9.4 kernel which should be built today.
Post by Richard Ryniker
bash: echo: write error: Operation not permitted
lrwxrwxrwx. 1 root root 0 Jan 15 10:24 /sys/class/gpio/gpio993 -> ../../devices/platform/soc/3f200000.gpio/gpiochip0/gpio/gpio993
total 0
-rw-r--r--. 1 root root 4096 Jan 15 10:24 active_low
lrwxrwxrwx. 1 root root 0 Jan 15 10:24 device -> ../../../gpiochip0
-rw-r--r--. 1 root root 4096 Jan 15 10:24 direction
-rw-r--r--. 1 root root 4096 Jan 15 10:24 edge
drwxr-xr-x. 2 root root 0 Jan 15 10:24 power
lrwxrwxrwx. 1 root root 0 Jan 15 10:24 subsystem -> ../../../../../../../class/gpio
-rw-r--r--. 1 root root 4096 Jan 15 10:24 uevent
-rw-rw-rw-. 1 root root 4096 Jan 15 10:27 value
bash: echo: write error: Operation not permitted
[1] http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=a0910d72afc69b25703f7be9bf7d13f18937a478
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@
r***@alum.mit.edu
2017-01-19 15:02:49 UTC
Permalink
I am very pleased to report that 4.9.4 has working sysfs gpio support. Thank you, Peter Robinson.
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to a
Peter Robinson
2017-01-19 15:08:53 UTC
Permalink
Post by r***@alum.mit.edu
I am very pleased to report that 4.9.4 has working sysfs gpio support. Thank you, Peter Robinson.
It was actually working prior, just not via the sysfs interface.

For reference if you install the kernel-tools package for that kernel
(and newer) there's a few new gpio utils like lsgpio, gpio-event-mon
and gpio-hammer

Peter

PS next time can you use a useful title like "issues with gpio on
kernel 4.x.y" as it's easier to know the topic :)
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send
Peter Robinson
2017-01-31 23:10:15 UTC
Permalink
Post by Richard Ryniker
4.9.2 does not appear to do much good. The blank screen problem
https://bugzilla.redhat.com/show_bug.cgi?id=1387733
continues, and the
kernel: i2c-bcm2835 3f805000.i2c: i2c transfer timed out
message still appears in the journal.
http://ryniker.org/Fedora/arm/dmesg.04
http://ryniker.org/Fedora/arm/journal.04
It is possible there is something odd in my system. (I do not know of such
a thing, but there have been enough iterations of "try this... try that"
to make it difficult to assert I have exactly what one would obtain from a
fresh installation.)
It would only be the make/model of your monitor.
_______________________________________________
arm mailing list -- ***@lists.fedoraproject.org
To unsubscribe send an email to arm-***@lists.fedorapro

Loading...