X-Git-Url: http://git.rot13.org/?p=linux-usb-otg;a=blobdiff_plain;f=usb-composite-all.sh;h=4593a0143fe5ac56d56b552a0da90a91f4417cb5;hp=ecc39383d560080c9404923a5ec55c034d645c2b;hb=2126c651eaa36269876326ec0d852d31ae66241c;hpb=f3fce21e5c9441d198ae188d5ebf8deff7bd9143 diff --git a/usb-composite-all.sh b/usb-composite-all.sh index ecc3938..4593a01 100755 --- a/usb-composite-all.sh +++ b/usb-composite-all.sh @@ -24,7 +24,7 @@ echo 0x0100 > bcdDevice # v1.0.0 echo 0x0200 > bcdUSB # USB2 mkdir -p strings/0x409 -echo "deadbeef00000001" > strings/0x409/serialnumber +echo `cat /proc/device-tree/serial-number` > strings/0x409/serialnumber echo `uname -r` > strings/0x409/manufacturer echo `hostname -s` > strings/0x409/product