> On Nov 7, 2016, at 6:44 AM, arisawa <aris...@ar.aichi-u.ac.jp> wrote: > > by the way I said about raspi 1 >> the display size is 1920x1200. >> when I try to resize a window, the mouse cursor flips and it is difficult to >> resize. > This phenomenon was stopped when I connected lan cable. > I don’t know the reason.
Interesting data point. Thank you. I tend to keep mine plugged into an active Ethernet switch. I'll try without to see if I can narrow down the problem. > > I looked the source code and I guess for raspi 1: > Plan9 BCM pin > GPIO0 17 11 > GPIO1 18 12 > GPIO2 27 13 > GPIO3 22 15 > GPIO4 23 16 > GPIO5 24 18 > GPIO6 25 18 > GPIO7 4 7 > GPIO8 28 24 > GPIO9 29 21 > GPIO10 30 ? > GPIO11 31 ? > SDA 2 3 > SCL 3 5 > CE1 7 26 > CE0 8 24 > MISO 9 21 > MOSI 10 19 > SCLK 11 23 > TxD 14 8 > RxD 15 10 > > and I tried some experiments. > > (a) turn led light on/off that is connected to GPIO0 pin Cool, good to know that part is working for others. > > term% echo function out GPIO0 >ctl > term% echo 1 > GPIO0 > term% echo 0 > GPIO0 > term% > > the result is OK. > > (b) read GPIO1 status > > term% echo function in GPIO1 >ctl > > I expected: > term% cat GPIO1 # low voltage > 0 > term% > > however I have: > term% cat GPIO1 # low voltage > 000000... > > I expected: > term% cat GPIO1 # high voltage > 1 > term% > > however I have: > term% cat GPIO1 > 111111... > > is this a feature or bug? > This part is inherited and merged in from original 9front source code. As we discussed before there seems to be no manual page. I'm not sure the intended behaviour and I have not yet tried reading from a gpio pin myself. So in either case on the read it just repeats forever until interrupted? Chris