Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keyboard not working in Chrome OS #8

Open
enablingpenguin opened this issue May 3, 2022 · 8 comments
Open

Keyboard not working in Chrome OS #8

enablingpenguin opened this issue May 3, 2022 · 8 comments

Comments

@enablingpenguin
Copy link

Can send mouse commands to ducky plugged into chromebook/box but cant send any keyboard commands at all.

I am using the arduino-esp32-2.0.2 branch

@tobozo
Copy link
Owner

tobozo commented May 9, 2022

hey thanks for your feedback

This can be caused by a SD Card not mounting, or by a device using the same USB ID on the host machine.
Both situations tend to mess with the USB descriptors order and result with one of the WUD mocked devices to not work.

Can you post the output of your /var/log/syslog after you plug the WUD ?

here's mine:

May  9 21:07:35 linux kernel: [1510062.397275] usb 2-6.3: new full-speed USB device number 53 using ehci-pci
May  9 21:07:35 linux kernel: [1510062.508213] usb 2-6.3: New USB device found, idVendor=303a, idProduct=0002, bcdDevice= 1.00
May  9 21:07:35 linux kernel: [1510062.508216] usb 2-6.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May  9 21:07:35 linux kernel: [1510062.508218] usb 2-6.3: Product: ESP32-WUD
May  9 21:07:35 linux kernel: [1510062.508220] usb 2-6.3: Manufacturer: AprilBrothers
May  9 21:07:35 linux kernel: [1510062.508222] usb 2-6.3: SerialNumber: 0
May  9 21:07:35 linux kernel: [1510062.509444] usb-storage 2-6.3:1.0: USB Mass Storage device detected
May  9 21:07:35 linux kernel: [1510062.511583] scsi host20: usb-storage 2-6.3:1.0
May  9 21:07:35 linux kernel: [1510062.514558] input: AprilBrothers ESP32-WUD Mouse as /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6.3/2-6.3:1.1/0003:303A:0002.0003/input/input13
May  9 21:07:35 linux kernel: [1510062.573781] input: AprilBrothers ESP32-WUD Keyboard as /devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6.3/2-6.3:1.1/0003:303A:0002.0003/input/input14
May  9 21:07:35 linux kernel: [1510062.574368] hid-generic 0003:303A:0002.0003: input,hidraw2: USB HID v1.11 Mouse [AprilBrothers ESP32-WUD] on usb-0000:00:1d.7-6.3/input1
May  9 21:07:35 linux kernel: [1510062.574783] cdc_acm 2-6.3:1.2: ttyACM1: USB ACM device
May  9 21:07:35 linux mtp-probe: checking bus 2, device 53: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6.3"
May  9 21:07:35 linux mtp-probe: bus: 2, device: 53 was not an MTP device
May  9 21:07:35 linux mtp-probe: checking bus 2, device 53: "/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6.3"
May  9 21:07:35 linux mtp-probe: bus: 2, device: 53 was not an MTP device
May  9 21:07:36 linux kernel: [1510063.542627] scsi host20: scsi scan: INQUIRY result too short (5), using 36
May  9 21:07:36 linux kernel: [1510063.542633] scsi 20:0:0:0: Direct-Access                                    PQ: 0 ANSI: 2
May  9 21:07:36 linux kernel: [1510063.543065] sd 20:0:0:0: Attached scsi generic sg4 type 0
May  9 21:07:36 linux kernel: [1510063.543929] sd 20:0:0:0: [sdc] 15564800 512-byte logical blocks: (7.97 GB/7.42 GiB)
May  9 21:07:36 linux kernel: [1510063.545787] sd 20:0:0:0: [sdc] Write Protect is off
May  9 21:07:36 linux kernel: [1510063.545789] sd 20:0:0:0: [sdc] Mode Sense: 03 00 00 00
May  9 21:07:36 linux kernel: [1510063.551089] sd 20:0:0:0: [sdc] No Caching mode page found
May  9 21:07:36 linux kernel: [1510063.551092] sd 20:0:0:0: [sdc] Assuming drive cache: write through
May  9 21:07:36 linux kernel: [1510063.578713]  sdc: sdc1
May  9 21:07:36 linux kernel: [1510063.600670] sd 20:0:0:0: [sdc] Attached SCSI removable disk

@enablingpenguin
Copy link
Author

enablingpenguin commented May 10, 2022

Grabbed them from Chrome://system
syslog

2022-05-09T15:04:00.486045Z INFO kernel: [   14.484009] usb 1-4: new full-speed USB device number 4 using xhci_hcd
2022-05-09T15:04:00.613338Z INFO kernel: [   14.611640] usb 1-4: New USB device found, idVendor=303a, idProduct=0002, bcdDevice= 1.00
2022-05-09T15:04:00.613369Z INFO kernel: [   14.611648] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2022-05-09T15:04:00.613375Z INFO kernel: [   14.611651] usb 1-4: Product: ESP32-WUD
2022-05-09T15:04:00.613377Z INFO kernel: [   14.611654] usb 1-4: Manufacturer: AprilBrothers
2022-05-09T15:04:00.613380Z INFO kernel: [   14.611657] usb 1-4: SerialNumber: 0
2022-05-09T15:04:00.614015Z INFO kernel: [   14.613134] usb-storage 1-4:1.0: USB Mass Storage device detected
2022-05-09T15:04:00.623040Z INFO kernel: [   14.622074] scsi host0: usb-storage 1-4:1.0
2022-05-09T15:04:00.627032Z INFO kernel: [   14.625278] input: AprilBrothers ESP32-WUD as /devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.1/0003:303A:0002.0001/input/input10
2022-05-09T15:04:00.681054Z INFO kernel: [   14.678696] hid-generic 0003:303A:0002.0001: input,hidraw0: USB HID v1.11 Mouse [AprilBrothers ESP32-WUD] on usb-0000:00:15.0-4/input1
2022-05-09T15:04:00.681087Z INFO kernel: [   14.679228] cdc_acm 1-4:1.2: ttyACM0: USB ACM device
2022-05-09T15:04:01.649264Z NOTICE kernel: [   15.647428] scsi 0:0:0:0: Direct-Access                                    PQ: 0 ANSI: 2
2022-05-09T15:04:01.650457Z INFO minijail0[3107]: libminijail[3107]: child process 3108 exited with status 1
2022-05-09T15:04:01.650919Z ERR debugd[2305]: AllowToolUse(...): Domain=dbus, Code=org.chromium.debugd.error.AccessDenied, Message=Use of this tool is restricted to dev mode.
2022-05-09T15:04:01.651168Z NOTICE kernel: [   15.648671] sd 0:0:0:0: [sda] 16 512-byte logical blocks: (8.19 kB/8.00 KiB)
2022-05-09T15:04:01.651174Z NOTICE kernel: [   15.649017] sd 0:0:0:0: [sda] Write Protect is off
2022-05-09T15:04:01.651177Z DEBUG kernel: [   15.649022] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
2022-05-09T15:04:01.651180Z ERR kernel: [   15.649303] sd 0:0:0:0: [sda] No Caching mode page found
2022-05-09T15:04:01.651183Z ERR kernel: [   15.649307] sd 0:0:0:0: [sda] Assuming drive cache: write through
2022-05-09T15:04:01.657034Z INFO kernel: [   15.655231]  sda:
2022-05-09T15:04:01.659047Z NOTICE kernel: [   15.656705] sd 0:0:0:0: [sda] Attached SCSI removable disk

input_devices

I: Bus=0019 Vendor=0000 Product=0005 Version=0000
N: Name="Lid Switch"
P: Phys=PNP0C0D/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:25/PNP0C09:00/PNP0C0D:00/input/input0
U: Uniq=
H: Handlers=event0 
B: PROP=0
B: EV=21
B: SW=1

I: Bus=0019 Vendor=0000 Product=0003 Version=0000
N: Name="Sleep Button"
P: Phys=PNP0C0E/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0E:00/input/input1
U: Uniq=
H: Handlers=event1 
B: PROP=0
B: EV=3
B: KEY=4000 0 0

I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input2
U: Uniq=
H: Handlers=event2 
B: PROP=0
B: EV=3
B: KEY=10000000000000 0

I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input3
U: Uniq=
H: Handlers=sysrq leds event3 
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7

I: Bus=0019 Vendor=0000 Product=0000 Version=0001
N: Name="Tablet Mode Switch"
P: Phys=GOOG0006
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:25/PNP0C09:00/GOOG0006:00/input/input4
U: Uniq=
H: Handlers=event4 
B: PROP=0
B: EV=21
B: SW=2

I: Bus=0018 Vendor=04f3 Product=00cb Version=0000
N: Name="Elan Touchpad"
P: Phys=
S: Sysfs=/devices/pci0000:00/0000:00:17.2/i2c_designware.3/i2c-9/i2c-ELAN0000:00/input/input5
U: Uniq=
H: Handlers=event5 
B: PROP=5
B: EV=b
B: KEY=e520 10000 0 0 0 0
B: ABS=663800013000003

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="sof-glkrt5682max Headset Jack"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:0e.0/glk_rt5682_max98357a/sound/card0/input6
U: Uniq=
H: Handlers=event6 
B: PROP=0
B: EV=23
B: KEY=40 0 0 0 0 0 0 1000000000 c000000000000 0
B: SW=54

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="sof-glkrt5682max HDMI/DP, pcm=5 Jack"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:0e.0/glk_rt5682_max98357a/sound/card0/input7
U: Uniq=
H: Handlers=event7 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="sof-glkrt5682max HDMI/DP, pcm=6 Jack"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:0e.0/glk_rt5682_max98357a/sound/card0/input8
U: Uniq=
H: Handlers=event8 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="sof-glkrt5682max HDMI/DP, pcm=7 Jack"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:0e.0/glk_rt5682_max98357a/sound/card0/input9
U: Uniq=
H: Handlers=event9 
B: PROP=0
B: EV=21
B: SW=140

I: Bus=0003 Vendor=303a Product=0002 Version=0111
N: Name="AprilBrothers ESP32-WUD"
P: Phys=usb-0000:00:15.0-4/input1
S: Sysfs=/devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.1/0003:303A:0002.0003/input/input12
U: Uniq=0
H: Handlers=sysrq leds event10 js0 
B: PROP=0
B: EV=12001f
B: KEY=1f0000 1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe
B: REL=1940
B: ABS=3
B: MSC=10
B: LED=1f

@tobozo
Copy link
Owner

tobozo commented May 10, 2022

I hope you don't mind I edited your comment for readability.

that's a quite crowded bus, but the syslog seems to recognize all the devices advertised byt he WUD.

what puzzles me is that part, I'm not sure what to make of it, is that a normal message on Chrome OS or maybe a consequence of the sandboxing?

2022-05-09T15:04:01.650457Z INFO minijail0[3107]: libminijail[3107]: child process 3108 exited with status 1
2022-05-09T15:04:01.650919Z ERR debugd[2305]: AllowToolUse(...): Domain=dbus, Code=org.chromium.debugd.error.AccessDenied, Message=Use of this tool is restricted to dev mode.

If the problem is elswhere, it may be interesting to boot the machine while the WUB is plugged in, and observe the device order change.

Could it be that Chrome OS requires the user to press a certain key on a keyboard before enabling it, like MacOS does?

Sorry about the naive question, I don't know Chrome OS :-)

@enablingpenguin
Copy link
Author

No worries, I apologize for the formatting. I don't use github often enough to know the markdown.

I did some more testing and it looks like that message is probably unrelated as it does not reappear on different attempts

But I did see some possibly interesting logs underneath that I missed.

2022-05-10T16:16:29.963070Z INFO kernel: [ 133.962029] usb 1-4: new full-speed USB device number 4 using xhci_hcd
2022-05-10T16:16:30.090438Z INFO kernel: [ 134.089540] usb 1-4: New USB device found, idVendor=303a, idProduct=0002, bcdDevice= 1.00
2022-05-10T16:16:30.090461Z INFO kernel: [ 134.089548] usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
2022-05-10T16:16:30.090463Z INFO kernel: [ 134.089551] usb 1-4: Product: ESP32-WUD
2022-05-10T16:16:30.090464Z INFO kernel: [ 134.089553] usb 1-4: Manufacturer: AprilBrothers
2022-05-10T16:16:30.090466Z INFO kernel: [ 134.089556] usb 1-4: SerialNumber: 0
2022-05-10T16:16:30.091013Z INFO kernel: [ 134.090676] usb-storage 1-4:1.0: USB Mass Storage device detected
2022-05-10T16:16:30.092015Z INFO kernel: [ 134.091802] scsi host0: usb-storage 1-4:1.0
2022-05-10T16:16:30.095060Z INFO kernel: [ 134.094444] input: AprilBrothers ESP32-WUD as /devices/pci0000:00/0000:00:15.0/usb1/1-4/1-4:1.1/0003:303A:0002.0001/input/input10
2022-05-10T16:16:30.147036Z INFO kernel: [ 134.146738] hid-generic 0003:303A:0002.0001: input,hidraw0: USB HID v1.11 Mouse [AprilBrothers ESP32-WUD] on usb-0000:00:15.0-4/input1
2022-05-10T16:16:30.148015Z INFO kernel: [ 134.147263] cdc_acm 1-4:1.2: ttyACM0: USB ACM device
2022-05-10T16:16:30.201724Z ERR usb_bouncer[6330]: No active user session.
2022-05-10T16:16:30.382172Z INFO permission_broker[1809]: ProcessPath(/dev/bus/usb/001/004)
2022-05-10T16:16:30.449874Z INFO permission_broker[1809]: AllowUsbDeviceRule: ALLOW
2022-05-10T16:16:30.450036Z INFO permission_broker[1809]: AllowTtyDeviceRule: IGNORE
2022-05-10T16:16:30.452336Z INFO permission_broker[1809]: Found claimed interface with driver: usb-storage
2022-05-10T16:16:30.453279Z INFO permission_broker[1809]: Found claimed interface with driver: usbhid
2022-05-10T16:16:30.455395Z INFO permission_broker[1809]: Found claimed interface with driver: cdc_acm
2022-05-10T16:16:30.455621Z INFO permission_broker[1809]: Found claimed interface with driver: cdc_acm
2022-05-10T16:16:30.456093Z WARNING permission_broker[1809]: Could not load the device policy file.
2022-05-10T16:16:30.456228Z INFO permission_broker[1809]: DenyClaimedUsbDeviceRule: DENY
2022-05-10T16:16:30.456295Z INFO permission_broker[1809]: Verdict for /dev/bus/usb/001/004: DENY
2022-05-10T16:16:30.456602Z INFO permission_broker[1809]: ProcessPath(/dev/bus/usb/001/004)
2022-05-10T16:16:30.518867Z INFO permission_broker[1809]: AllowUsbDeviceRule: ALLOW
2022-05-10T16:16:30.519035Z INFO permission_broker[1809]: AllowTtyDeviceRule: IGNORE
2022-05-10T16:16:30.521267Z INFO permission_broker[1809]: Found claimed interface with driver: usb-storage
2022-05-10T16:16:30.522141Z INFO permission_broker[1809]: Found claimed interface with driver: usbhid
2022-05-10T16:16:30.524232Z INFO permission_broker[1809]: Found claimed interface with driver: cdc_acm
2022-05-10T16:16:30.524471Z INFO permission_broker[1809]: Found claimed interface with driver: cdc_acm
2022-05-10T16:16:30.524890Z WARNING permission_broker[1809]: Could not load the device policy file.
2022-05-10T16:16:30.525050Z INFO permission_broker[1809]: DenyClaimedUsbDeviceRule: DENY
2022-05-10T16:16:30.525108Z INFO permission_broker[1809]: Verdict for /dev/bus/usb/001/004: DENY
2022-05-10T16:16:31.137712Z NOTICE kernel: [ 135.136542] scsi 0:0:0:0: Direct-Access PQ: 0 ANSI: 2
2022-05-10T16:16:31.139194Z NOTICE kernel: [ 135.138177] sd 0:0:0:0: [sda] 16 512-byte logical blocks: (8.19 kB/8.00 KiB)
2022-05-10T16:16:31.139207Z NOTICE kernel: [ 135.138512] sd 0:0:0:0: [sda] Write Protect is off
2022-05-10T16:16:31.139209Z DEBUG kernel: [ 135.138517] sd 0:0:0:0: [sda] Mode Sense: 03 00 00 00
2022-05-10T16:16:31.139210Z ERR kernel: [ 135.138805] sd 0:0:0:0: [sda] No Caching mode page found
2022-05-10T16:16:31.139210Z ERR kernel: [ 135.138809] sd 0:0:0:0: [sda] Assuming drive cache: write through
2022-05-10T16:16:31.145035Z INFO kernel: [ 135.144389] sda:
2022-05-10T16:16:31.146017Z NOTICE kernel: [ 135.145784] sd 0:0:0:0: [sda] Attached SCSI removable disk
2022-05-10T16:16:31.190940Z ERR cros-disks[1881]: Cannot retrieve USB identifier database at '/usr/share/misc/usb.ids'
2022-05-10T16:16:31.225289Z ERR cros-disks[1881]: message repeated 2 times: [ Cannot retrieve USB identifier database at '/usr/share/misc/usb.ids']
2022-05-10T16:16:34.796469Z NOTICE temp_logger[6489]: x86_pkg_temp:45C INT3400_Thermal:20C TSR0:23C TSR1:33C TSR2:28C TCPU:46C PL1:9.999W
2022-05-10T16:16:35.646029Z INFO kernel: [ 139.645875] sof-audio-pci 0000:00:0e.0: firmware boot complete
2022-05-10T16:16:36.182513Z INFO vm_cicerone[4595]: Received GetDebugInformation request
2022-05-10T16:16:36.530683Z WARNING mosys[6765]: libminijail[6765]: not locking any securebits
2022-05-10T16:16:36.530799Z WARNING mosys[6765]: libminijail[6765]: SECURE_NOROOT not set, not dropping bounding set
2022-05-10T16:16:36.724886Z WARNING mosys[6785]: libminijail[6785]: not locking any securebits
2022-05-10T16:16:36.724990Z WARNING mosys[6785]: libminijail[6785]: SECURE_NOROOT not set, not dropping bounding set
2022-05-10T16:16:37.516530Z INFO tpm-manager[6956]: OnSignalConnected: Connected dbus signal successfully.
2022-05-10T16:17:13.779030Z INFO kernel: [ 177.778931] sof-audio-pci 0000:00:0e.0: firmware boot complete
2022-05-10T16:17:14.325079Z INFO vm_cicerone[4595]: Received GetDebugInformation request
2022-05-10T16:17:14.690940Z WARNING mosys[7493]: libminijail[7493]: not locking any securebits
2022-05-10T16:17:14.691059Z WARNING mosys[7493]: libminijail[7493]: SECURE_NOROOT not set, not dropping bounding set
2022-05-10T16:17:14.887530Z WARNING mosys[7513]: libminijail[7513]: not locking any securebits
2022-05-10T16:17:14.887629Z WARNING mosys[7513]: libminijail[7513]: SECURE_NOROOT not set, not dropping bounding set
2022-05-10T16:17:15.686316Z INFO tpm-manager[7684]: OnSignalConnected: Connected dbus signal successfully.
2022-05-10T16:17:34.830389Z NOTICE temp_logger[7972]: x86_pkg_temp:40C INT3400_Thermal:20C TSR0:23C TSR1:33C TSR2:29C TCPU:43C PL1:9.999W
2022-05-10T16:17:37.588146Z ERR /usr/bin/shill[984]: dhcpcd[3459]: wlan0: renewing lease of 10.23.55.20
2022-05-10T16:17:37.588179Z ERR /usr/bin/shill[984]: dhcpcd[3459]: wlan0: sending REQUEST (xid 0x9fe68cda), next in 3.4 seconds
2022-05-10T16:17:37.593743Z ERR /usr/bin/shill[984]: dhcpcd[3459]: wlan0: received ACK with xid 0x9fe68cda
2022-05-10T16:17:37.593750Z ERR /usr/bin/shill[984]: dhcpcd[3459]: wlan0: acknowledged 10.23.55.20 from 10.23.10.13
2022-05-10T16:17:37.598143Z ERR /usr/bin/shill[984]: dhcpcd[3459]: wlan0: ARP(B) probing 10.23.55.254 (1 of 3), next in 1.4 seconds
2022-05-10T16:17:37.598324Z ERR /usr/bin/shill[984]: dhcpcd[3459]: status changed to ArpGateway
2022-05-10T16:17:37.603935Z ERR /usr/bin/shill[984]: dhcpcd[3459]: event RENEW on interface wlan0
2022-05-10T16:17:37.604118Z ERR /usr/bin/shill[984]: dhcpcd[3459]: status changed to Bound
2022-05-10T16:18:25.443050Z INFO kernel: [ 249.442263] sof-audio-pci 0000:00:0e.0: firmware boot complete
2022-05-10T16:18:26.101102Z INFO vm_cicerone[4595]: Received GetDebugInformation request
2022-05-10T16:18:26.466370Z WARNING mosys[8337]: libminijail[8337]: not locking any securebits
2022-05-10T16:18:26.466395Z WARNING mosys[8337]: libminijail[8337]: SECURE_NOROOT not set, not dropping bounding set
2022-05-10T16:18:26.661433Z WARNING mosys[8357]: libminijail[8357]: not locking any securebits
2022-05-10T16:18:26.661455Z WARNING mosys[8357]: libminijail[8357]: SECURE_NOROOT not set, not dropping bounding set

@enablingpenguin
Copy link
Author

https://stackoverflow.com/questions/32335206/failed-to-connect-to-usb-on-chromebook-permission-to-access-device-was-denied

This is a little above my head but if I am understanding this right, ChromeOS might be blocking the keyboard as it is already being used as a mouse or storage drive. I have tried using StopMouse and StopPenDrive commands but keyboard is still not working.

Is there possibly a way to disable the mouse and pendrive before flashing so I can test that?

Thank you again for all your help.

@tobozo
Copy link
Owner

tobozo commented May 10, 2022

this part is interesting:

Cannot retrieve USB identifier database at '/usr/share/misc/usb.ids'

it means you can eventually play with USB_PID / USB_VID until something is found

Is there possibly a way to disable the mouse and pendrive before flashing so I can test that?

the WUD-Ducky has a few commands to start/stop the USB devices, only the 'start*' situations have been tested though

image

The info window in the WebUI should show the different device statuses.

@enablingpenguin
Copy link
Author

enablingpenguin commented May 10, 2022

I am going to put the chromebook in developer mode so I read the the "/usr/share/misc/usb.ids" file.

Also I have tried stopping the devices but they come back on with a reboot.

@enablingpenguin
Copy link
Author

That file does not exit apparently 🤦‍♂️

chronos@localhost /usr/share/misc $ ls -l
total 1100
-rw-r--r--. 1 root root 11737 May 4 23:45 chromeos-common.sh
-rw-r--r--. 1 root root 62743 May 4 22:48 cros-regions.json
-rw-r--r--. 1 root root 2886 May 4 23:45 lvm-utils.sh
lrwxrwxrwx. 1 root root 31 May 5 01:45 magic.mgc -> /usr/local/share/misc/magic.mgc
-rw-r--r--. 1 root root 984359 Jul 17 2015 pci.ids
-rw-r--r--. 1 root root 37882 May 4 22:20 shflags
-rw-r--r--. 1 root root 6216 May 4 23:58 storage-info-common.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants