The new status installed by update 22 attempts to detect Raspberry Pi models A, B, and B+:
TEST=`lsusb | grep 9514`
if [ -z "$TEST" ]; then
TEST=`lsusb | grep 9512`
if [ -z "$TEST" ]; then
BOARD="A"
else
BOARD="B"
fi
else
BOARD="B+"
fi
I have two model B Raspberry Pi's which were purchased around the beginning of the year. The lsusb from each is:
#1: Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
#2:Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
#2 is incorrectly identified as a model B+.
The 9514 part was obviously used on the model B prior to the introduction of the model B+. Consequently, this is not a satisfactory test for a model B+.
TEST=`lsusb | grep 9514`
if [ -z "$TEST" ]; then
TEST=`lsusb | grep 9512`
if [ -z "$TEST" ]; then
BOARD="A"
else
BOARD="B"
fi
else
BOARD="B+"
fi
I have two model B Raspberry Pi's which were purchased around the beginning of the year. The lsusb from each is:
#1: Bus 001 Device 002: ID 0424:9512 Standard Microsystems Corp.
#2:Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
#2 is incorrectly identified as a model B+.
The 9514 part was obviously used on the model B prior to the introduction of the model B+. Consequently, this is not a satisfactory test for a model B+.