Friday, 2026-03-20

T42<nc1x72> Still no luck here even after rebuilding everything.02:08
T42<nc1x72> 02:08
T42<nc1x72> I did try running usb_moded from /usr/bin and got these errors:02:08
T42<nc1x72> ```02:08
T42<nc1x72> W: ANDROID0 not detected02:08
T42<nc1x72> W: MODULES not detected02:08
T42<nc1x72> C: No supported usb control mechanisms found```02:08
T42<nc1x72> 02:08
T42<nc1x72> Maybe a missing kernel config?02:08
*** xmn_ is now known as xmn02:56
T42<elros34> Did you read "usb cable detection" from hadk-hot, especially about usb peripheral mode needed on some devices?09:08
T42<nc1x72> No, do you have link?10:47
T42<elros34> https://sailfishos.wiki/books/hardware/page/hadk-hot11:30
Mister_Magistercan someone PLEASE fix the links in topic11:41
malthe udc path is also important for usb to work correctly11:50
*** amccarthy is now known as Guest554612:46
*** amccarthy_ is now known as amccarthy12:46
T42<nc1x72> Okay, thanks for the link! This is actually useful!13:10
T42<nc1x72> In fact, I think the problem might be in the init-script.13:10
T42<nc1x72> I booted stable UT on Spacewar (with hybris-boot, same that boots SFOS; of course with the necessary changes regarding binders and apparmor). The system boots fine  and I gathered everything I could find about usb. Strange but the correct path on UT is /sys/kernel/config/usb_gadget/g1. I monitored changes with "watch" tool and yes, changes happened in /sys/class/extcon/extcon3/state. This eliminates the possibility of a kernel issue.13:10
T42<nc1x72> 13:10
T42<nc1x72> Is the init-script in hybris-boot repo the one transferred to te rootfs as init-debug on root partition ?13:10
T42<elros34> yeah it's both in first stage initramfs and / but do you even use it? I don't know these lvm builds. Check init*usb*rc files on device, they might give you some ideas about usb initialization13:29
mal@nc1x72 did you verify the udc path?13:34

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!