X-Git-Url: http://git.rot13.org/?p=linux-usb-otg;a=blobdiff_plain;f=usb-composite-all.sh;h=ecc39383d560080c9404923a5ec55c034d645c2b;hp=2c1a4bcc98a56d76372e3bc1e0826fcb5f916ab0;hb=f3fce21e5c9441d198ae188d5ebf8deff7bd9143;hpb=c006460a488a869ac0750cd4a5007b6279451f01;ds=sidebyside diff --git a/usb-composite-all.sh b/usb-composite-all.sh index 2c1a4bc..ecc3938 100755 --- a/usb-composite-all.sh +++ b/usb-composite-all.sh @@ -1,4 +1,4 @@ -#!/bin/bash -xe +#!/bin/bash -e # this file is from: https://github.com/ckuethe/usbarmory/wiki/USB-Gadgets echo "creating composite mass-storage, serial, ethernet, hid..." @@ -24,9 +24,9 @@ echo 0x0100 > bcdDevice # v1.0.0 echo 0x0200 > bcdUSB # USB2 mkdir -p strings/0x409 -echo "fedcba9876543210" > strings/0x409/serialnumber -echo "girst" > strings/0x409/manufacturer -echo "Hardpass" > strings/0x409/product +echo "deadbeef00000001" > strings/0x409/serialnumber +echo `uname -r` > strings/0x409/manufacturer +echo `hostname -s` > strings/0x409/product N="usb0" mkdir -p functions/acm.gs0