> On Nov 7, 2016, at 6:44 AM, arisawa 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:
> Plan9BCMpin
> GPIO01711
> GPIO11812
> GPIO22713
> GPIO32215
> GPIO42316
> GPIO52418
> GPIO62518
> GPIO7 4 7
> GPIO82824
> GPIO92921
> GPIO1030?
> GPIO1131?
> SDA 2 3
> SCL 3 5
> CE1 726
> CE0 824
> MISO 921
> MOSI1019
> SCLK1123
> TxD14 8
> RxD1510
>
> 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
> 00...
>
> I expected:
> term% cat GPIO1# high voltage
> 1
> term%
>
> however I have:
> term% cat GPIO1
> 11...
>
> 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