kadisi
Posts: 1
Joined: Tue Sep 10, 2019 9:16 am

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

Tue Sep 10, 2019 9:24 am

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?

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 29377
Joined: Sat Jul 30, 2011 7:41 pm

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

Tue Sep 10, 2019 10:42 am

Old version of the wiring library?
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Applications Team.

pcmanbob
Posts: 11687
Joined: Fri May 31, 2013 9:28 pm
Location: Mansfield UK

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

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/
We want information… information… information........................no information no help
The use of crystal balls & mind reading are not supported

Ernst
Posts: 1374
Joined: Sat Feb 04, 2017 9:39 am
Location: Germany

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

Tue Sep 10, 2019 12:15 pm

The road to insanity is paved with static ip addresses

wni5378
Posts: 5
Joined: Tue Jan 07, 2020 2:42 pm

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

Mon Feb 24, 2020 3:18 pm

This worked for me. Thanks.

mustash
Posts: 1
Joined: Thu May 14, 2020 11:41 pm

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

Thu May 14, 2020 11:43 pm

Worked for me as well !

DemonicTubes
Posts: 1
Joined: Tue Jun 09, 2020 8:33 pm

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

Tue Jun 09, 2020 8:35 pm

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/

setuid
Posts: 3
Joined: Mon Oct 19, 2020 10:42 pm

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

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.

DarkElvenAngel
Posts: 1892
Joined: Tue Mar 20, 2018 9:53 pm

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

Sun Nov 08, 2020 9:48 pm

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.

trejan
Posts: 3627
Joined: Tue Jul 02, 2019 2:28 pm

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

Sun Nov 08, 2020 9:57 pm

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.

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 29377
Joined: Sat Jul 30, 2011 7:41 pm

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

Sun Nov 08, 2020 10:52 pm

Not surprised Gordon gave up with this if the uninformed post above is anything to go by.
Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Working in the Applications Team.

hippy
Posts: 10618
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

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

Mon Nov 09, 2020 1:37 pm

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.

hippy
Posts: 10618
Joined: Fri Sep 09, 2011 10:34 pm
Location: UK

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

Mon Nov 09, 2020 1:52 pm

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.
Last edited by hippy on Mon Nov 09, 2020 1:54 pm, edited 1 time in total.

User avatar
B.Goode
Posts: 12847
Joined: Mon Sep 01, 2014 4:03 pm
Location: UK

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

Mon Nov 09, 2020 1:54 pm

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.

LeahC
Posts: 1
Joined: Thu Nov 26, 2020 12:22 pm

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

Thu Nov 26, 2020 12:29 pm

I was receiving the same "unable to determine board type" error but i was using an Octporint image.

Update and Upgrade did not fix it.

I eventually worked around it by using raspi-gpio that was installed on the image by default.

Very easy to ise for simple output, help file is available raspi-gpio help

Commands work within crontab to set things up on @reboot / IO in/out and level etc

PhilE
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 4080
Joined: Mon Sep 29, 2014 1:07 pm
Location: Cambridge

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

Thu Nov 26, 2020 2:10 pm

raspi-gpio is quite functional now, just don't read the source - it will make your eyes bleed.

6by9
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 11658
Joined: Wed Dec 04, 2013 11:27 am
Location: ZZ9 Plural Z Alpha, aka just outside Cambridge.

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

Fri Nov 27, 2020 10:52 am

PhilE wrote:
Thu Nov 26, 2020 2:10 pm
raspi-gpio is quite functional now, just don't read the source - it will make your eyes bleed.
It's what happens when you let hardware guys write software, and a manager at that! :D
Software Engineer at Raspberry Pi Trading. Views expressed are still personal views.
I'm not interested in doing contracts for bespoke functionality - please don't ask.


Return to “Troubleshooting”