linux-postmarketos-qcom: Remove composite usb gadget for networking
This removes the precomposed usb gadget from the kernel config and enables the configfs usb gadget modules. This makes the usb networking on the hammerhead come up reliably
[x] Merge on GitHub (see https://postmarketos.org/merge)
Merge request reports
Activity
There is some super weirdness is going on, but I don't think is related to this PR, selecting weston makes it not start device at all for some reason which I believe is kernel panic/hang or something.. But I don't think it's related to this PR at all since this PR doesn't touch the graphics part at all and is good to go IMO.
By Bhushan Shah on 2018-05-06T12:29:35
USB Network is not working on sirius. I've tried with no kernel configuration changes, and I've enabled
CONFIG_USB_ETH
andCONFIG_USB_ETH_RNDIS
. No luck both ways.I was able to connect phone to wifi and ssh to it, and I see, there is no network interface for USB Network. I have dummy interface and wlan, but no USB network interface.
What can I do to enable USB network and how can I help with testing something else on sirius?
This is output of
ip a
:/home/user # ip a 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1000 link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo valid_lft forever preferred_lft forever inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: dummy0: <BROADCAST,NOARP> mtu 1500 qdisc noop state DOWN qlen 1000 link/ether 4e:a5:e4:1f:61:2f brd ff:ff:ff:ff:ff:ff 3: wlan0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000 link/ether d6:f4:bd:4f:f9:a2 brd ff:ff:ff:ff:ff:ff inet 192.168.1.138/24 brd 192.168.1.255 scope global dynamic wlan0 valid_lft 41812sec preferred_lft 41812sec inet6 fd2f:a439:cae8::6f7/128 scope global dynamic noprefixroute valid_lft 41811sec preferred_lft 41811sec inet6 fd2f:a439:cae8:0:c43f:c6fa:815:f3e4/64 scope global secondary dynamic valid_lft 601650sec preferred_lft 83069sec inet6 fd2f:a439:cae8:0:c555:272b:aaac:ac56/64 scope global noprefixroute flags 100 valid_lft forever preferred_lft forever inet6 fdec:a55d:cd6f:0:1bff:753f:f0e0:6264/64 scope global secondary dynamic valid_lft 601650sec preferred_lft 83069sec inet6 fdec:a55d:cd6f:0:d032:8623:391a:2f2f/64 scope global noprefixroute flags 100 valid_lft forever preferred_lft forever inet6 fe80::cdb4:901:2833:7eea/64 scope link noprefixroute valid_lft forever preferred_lft forever
PS. Excuse me for raising old topic.
By Alexey Rozhnov on 2024-06-17T10:07:51
Why are you commenting on a 6 year old merge request? Please don't do that, if you have an issue and can't find the solution, either ask in Matrix/IRC or open a new issue in the pmaports repo: https://gitlab.com/postmarketOS/pmaports/-/issues
By Luca Weiss on 2024-06-21T16:03:36