Go to advanced search

by pkliem
Mon Jun 04, 2018 11:03 pm
Forum: Device Tree
Topic: Can not use some GPIOs with matrix_keypad - why?
Replies: 6
Views: 1795

Re: Can not use some GPIOs with matrix_keypad - why?

You are right. I actually missed the reference. I will try this again, but I guess that will work like you suggested ...
by pkliem
Mon Jun 04, 2018 8:37 pm
Forum: Device Tree
Topic: Can not use some GPIOs with matrix_keypad - why?
Replies: 6
Views: 1795

Re: Can not use some GPIOs with matrix_keypad - why?

just adding the "[email protected]" to my command did not do the trick. After some poking around I ended up with the following fragment which seems to work [email protected] { target = <&gpio>; __overlay__ { pinctrl-names = "default"; pinctrl-0 = <&my_pins>; my_pins: my_pins { brcm,pins = <5 6>; /* gpio no. */ brcm,funct...
by pkliem
Fri Jun 01, 2018 9:26 pm
Forum: Device Tree
Topic: Can not use some GPIOs with matrix_keypad - why?
Replies: 6
Views: 1795

Re: Can not use some GPIOs with matrix_keypad - why?

Thanks very much! You hit the point I guess. I switched to GPIO5 and GPIO6 for the missing ones. What works is to directly set the pull downs using raspi-gpio: sudo raspi-gpio set 5 ip pd sudo raspi-gpio set 6 ip pd What does not work is an additional fragment. I added the following to my dts: fragm...
by pkliem
Fri Jun 01, 2018 1:19 pm
Forum: Device Tree
Topic: Can not use some GPIOs with matrix_keypad - why?
Replies: 6
Views: 1795

Can not use some GPIOs with matrix_keypad - why?

Hi, i converted an old Atari Portfolio with a Raspi Zero w. To use the keyboard I try to use the matrix keypad module. I followed the tutorial I found here: http://blog.gegg.us/2017/08/a-matrix-keypad-on-a-raspberry-pi-done-right/ . I am on a freshly compiled kernel (4.14.43+ #1 Mon May 28 17:31:10 ...

Go to advanced search