GPIO Cmd on Edge-V & Edge Captain not working with V20190830 Ubuntu Desktop image

Edge-V:
$ gpio readall
MODEL SETUP ERROR
wiringPiSetup: Unknown model
$uname -r
4.4.179
$ gpio -v
gpio version: 2.46
Copyright © 2012-2018 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty

MODEL SETUP ERROR
Raspberry Pi Details:
Type: Unknown, Revision: 00, Memory: 256MB, Maker: Unknown [Out of Warranty]

  • Device tree is enabled.
    *–> Khadas Edge-V
  • Root or sudo required for GPIO access.

Edge Captain:
$ gpio readall
MODEL SETUP ERROR
wiringPiSetup: Unknown model
$uname -r
4.4.179
$ gpio -v
gpio version: 2.46
Copyright © 2012-2018 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty

MODEL SETUP ERROR
Raspberry Pi Details:
Type: Unknown, Revision: 00, Memory: 256MB, Maker: Unknown [Out of Warranty]

  • Device tree is enabled.
    *–> Khadas Captain
  • Root or sudo required for GPIO access.

Any suggestion?

@Frank Follow-up 。。。。。。。。

@KenKJian which version board with Edge-V that you used ?

Do you mean this number on the board?20191009_163940

look here…

Yes, it is correct. The version on this board is the same as yours, V13

@KenKJian I don’t know why . I don’t know how bugs come about.I need to discuss it with my colleagues.I reinstalled the source code from my GitHub on the board and it worked well. This may be where the integration went wrong.You can source clone from GitHub and reinstall it.

1 Like

@Frank Yeah, you’re right. After I updated the board from source, it worked. Thanks.

@KenKJian OK, That’s good.

@Frank Edge-V worked. But Edge Captain still got problem even after update from source:

$ sudo gpio readall
MODEL SETUP ERROR
wiringPiSetup: Unknown model
$ sudo gpio -v
gpio version: 2.46
Copyright © 2012-2018 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty

MODEL SETUP ERROR
Raspberry Pi Details:
Type: Unknown, Revision: 00, Memory: 256MB, Maker: Unknown [Out of Warranty]

  • Device tree is enabled.
    *–> Khadas Captain
  • Root or sudo required for GPIO access.
    vitalsign@Masstron:~/Others/WiringPi-master$ sudo gpio readall
    MODEL SETUP ERROR
    wiringPiSetup: Unknown model

Any suggestions?

The board version:
KhadasCaptain_ver

@Frank sorry but the Edge-V starts to have problems as well after update from source. The gpio readall worked but after about 20+ seconds, the board dump the below info & then hanged. (no response from keyboard).

@KenKJian I’ll confirm this when I finish the work at hand.

Hi @Frank,
Any chance you could take a look at this problem? Thanks.

@KenKJian Sorry.I checked the code briefly last weekend and found no reason. Maybe it needs to go deeper to check the source code. This will be included in my plan, but I still have important work to do, so I hope you will wait for a while.

Hi @Frank, sure. Not a problem. Thanks.