Page 1 of 1

Oops - unable to determine board type... model: 17

Posted: Tue Sep 10, 2019 9:24 am
by kadisi
Hi there,

I'm trying to test my Pi 4. and run:

Code: Select all

gpio readall
Oops - unable to determine board type... model: 17


When I use: "gpio -v" I get:

Code: Select all


gpio -v
gpio version: 2.50
Copyright (c) 2012-2018 Gordon Henderson
This is free software with ABSOLUTELY NO WARRANTY.
For details type: gpio -warranty

Raspberry Pi Details:
  Type: Unknown17, Revision: 01, Memory: 0MB, Maker: Sony
  * Device tree is enabled.
  *--> Raspberry Pi 4 Model B Rev 1.1
  * This Raspberry Pi supports user-level GPIO access.
  
Does anybody knows what I must do?

Re: Oops - unable to determine board type... model: 17

Posted: Tue Sep 10, 2019 10:42 am
by jamesh
Old version of the wiring library?

Re: Oops - unable to determine board type... model: 17

Posted: Tue Sep 10, 2019 11:29 am
by pcmanbob
Hi.

If you run

Code: Select all

sudo apt update 
sudo apt full-upgrade
it should update wiring pi
or
you could just update wiringpi with

Code: Select all

sudo apt-get install wiringpi

http://wiringpi.com/download-and-install/

Re: Oops - unable to determine board type... model: 17

Posted: Tue Sep 10, 2019 12:15 pm
by Ernst

Re: Oops - unable to determine board type... model: 17

Posted: Mon Feb 24, 2020 3:18 pm
by wni5378
This worked for me. Thanks.

Re: Oops - unable to determine board type... model: 17

Posted: Thu May 14, 2020 11:43 pm
by mustash
Worked for me as well !

Re: Oops - unable to determine board type... model: 17

Posted: Tue Jun 09, 2020 8:35 pm
by DemonicTubes
pcmanbob wrote:
Tue Sep 10, 2019 11:29 am
Hi.

If you run

Code: Select all

sudo apt update 
sudo apt full-upgrade
it should update wiring pi
or
you could just update wiringpi with

Code: Select all

sudo apt-get install wiringpi

http://wiringpi.com/download-and-install/
This did not work for me but this did:

http://wiringpi.com/wiringpi-updated-to ... rry-pi-4b/

Re: Oops - unable to determine board type... model: 17

Posted: Sun Nov 08, 2020 9:37 pm
by setuid
And still, no released sources for that packaged binary, as required by the terms of the LGPL-3.0+ he agreed to when he licensed that distribution.

It shouldn't take months to release source to a binary you've already distributed. That's not how the license works.

Re: Oops - unable to determine board type... model: 17

Posted: Sun Nov 08, 2020 9:48 pm
by DarkElvenAngel
setuid wrote:
Sun Nov 08, 2020 9:37 pm
And still, no released sources for that packaged binary, as required by the terms of the LGPL-3.0+ he agreed to when he licensed that distribution.

It shouldn't take months to release source to a binary you've already distributed. That's not how the license works.
That's because Gordon isn't realease anything ATM due the this post http://wiringpi.com/wiringpi-deprecated/ there have been offers of other people taking over.

Re: Oops - unable to determine board type... model: 17

Posted: Sun Nov 08, 2020 9:57 pm
by trejan
setuid wrote:
Sun Nov 08, 2020 9:37 pm
And still, no released sources for that packaged binary, as required by the terms of the LGPL-3.0+ he agreed to when he licensed that distribution.

It shouldn't take months to release source to a binary you've already distributed. That's not how the license works.
DanielK? Is that you?

What licensing obligations? He's the author so there are no obligations imposed on him by the license. The license obligations are only for third parties since he's licensing the code to them under the GPL. The only obligation he would have is if there were any GPL licensed contributions but AFAIK he wrote everything himself.

Re: Oops - unable to determine board type... model: 17

Posted: Sun Nov 08, 2020 10:52 pm
by jamesh
Not surprised Gordon gave up with this if the uninformed post above is anything to go by.

Re: Oops - unable to determine board type... model: 17

Posted: Mon Nov 09, 2020 1:37 pm
by hippy
Thanks, and for the timely bump, because I just ran into the "unable to determine board type" issue myself. Update instructions there worked a treat for my Pi 4B 1GB. Do they also work for a Pi 400 and CM4 ?

I honestly can't remember, and don't want to flash a new image just to check, but is Gordon's WiringPi and the 'gpio' utility included by default with a Raspberry Pi OS install ?

If it is it might be time to try and find a way to keep it updated to support all the Pi boards as they arrive or, exclude it as deprecated and encourage people towards 'raspi-gpio' use.

Re: Oops - unable to determine board type... model: 17

Posted: Mon Nov 09, 2020 1:52 pm
by hippy
trejan wrote:
Sun Nov 08, 2020 9:57 pm
He's the author so there are no obligations imposed on him by the license. The license obligations are only for third parties since he's licensing the code to them under the GPL. The only obligation he would have is if there were any GPL licensed contributions but AFAIK he wrote everything himself.
I'm sure you are right, but, if his original work was released under some GPL licence, then further work on that creates a derivative work of that, so that would seem to fall under the obligations of the GPL licence. I can see why some would interpret it that way.

I suppose the argument is he didn't create a derivative work from the GPL licensed release, but created a derivative work from something exactly the same which doesn't have a GPL licence. And, as you say, as author he's setting the rules for others who use it, not setting rules for himself.

Re: Oops - unable to determine board type... model: 17

Posted: Mon Nov 09, 2020 1:54 pm
by B.Goode
hippy wrote:
Mon Nov 09, 2020 1:37 pm

I honestly can't remember, and don't want to flash a new image just to check, but is Gordon's WiringPi and the 'gpio' utility included by default with a Raspberry Pi OS install ?

According to the .info manifest on the official Downloads server it is in the Full and Desktop only variants, but not included in Lite.