1
1
mirror of https://github.com/NixOS/mobile-nixos.git synced 2024-12-27 18:06:13 +03:00
Commit Graph

5 Commits

Author SHA1 Message Date
Samuel Dionne-Riel
701c01187f initrd: adbd defaults to true only for android 2019-09-21 22:44:44 -04:00
Samuel Dionne-Riel
f40c8c1f08 modules: use types.str over types.string...
types.string having been formally deprecated, and having a likely
unwanted behaviour.
2019-09-18 15:28:51 -04:00
Samuel Dionne-Riel
d71a4e8489 WIP trying to get adb to work on the z00t.
~ # dmesg | grep -i '\(function\|adb\)'
[    0.972168] [hall_sensor] default report function.
[    1.766641] android_usb gadget: Mass Storage Function, version:
2009/09/11
[   11.983813] functions_store: android_usb: Cannot enable 'adb' (-22)
[   12.486886] rndis_function_bind_config: rndis_function_bind_config
MAC: 00:00:00:00:00:00

That "Cannot enable 'adb'" is maddening...
2018-11-05 22:50:08 -05:00
Samuel Dionne-Riel
93d508bedc initrd: Fixes android-specific usb handling on non-android.
Issue came from hoisting what was previously in a function into the main
scope. It made the whole script `return` early on non-android devices.
2018-07-11 14:44:39 -04:00
Samuel Dionne-Riel
832256ec40 initrd: Adds adbd support in initrd. 2018-07-08 21:14:16 -04:00