Skip to content
Snippets Groups Projects

linux-postmarketos-qcom: Remove composite usb gadget for networking

Merged Imported Administrator requested to merge martijnbraam/postmarketos-qcom-networking into master

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)

Edited by Administrator

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Author Owner

    @MartijnBraam also the sony sirius uses the linux-postmarketos-qcom kernel, maybe someone have to check if it still works also there?

    By Daniele Debernardi on 2018-05-03T20:55:28

  • Author Owner

    Yeah this definitely needs some multiple device testing

    By Martijn Braam on 2018-05-03T20:56:47

  • Author Owner

    Hmm it looks like that's a change from running menuconfig on 4.17-rc4 while the old config was for 4.16

    By Martijn Braam on 2018-05-04T09:33:07

  • Author Owner

    This is the least amount of changes I can get it to do with menuconfig, I'm not sure how to make the QMI_HELPER a module again, it changes it on its own when you run menuconfig without touching anything.

    screenshot from 2018-05-05 13-44-47

    By Martijn Braam on 2018-05-05T09:48:08

  • Author Owner

    Thinking about please disable, SAMPLE_QMI_CLIENT and effectively QMI_HELPER... as those I had enabled for testing something locally and then those slipped into config for aports but those are not needed

    By Bhushan Shah on 2018-05-05T10:17:45

  • Author Owner

    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

  • Author Owner

    I've bumped the pkgrel, now waiting on testting on the sirius @opendata26

    By Martijn Braam on 2018-05-06T12:32:20

  • Author Owner

    USB Network is not working on sirius. I've tried with no kernel configuration changes, and I've enabled CONFIG_USB_ETH and CONFIG_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

  • Author Owner

    Hello, I have the same issue on Samsung j5 2015

    By Julien PEETERS on 2024-06-21T13:00:30

  • Author Owner

    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

  • Administrator changed the description · Imported

    changed the description

    By Luca Weiss on 2024-06-21T16:03:43

  • Administrator locked the discussion in this merge request · Imported

    locked the discussion in this merge request

    By Luca Weiss on 2024-06-21T16:03:43

  • Administrator added time estimate of · Imported

    added time estimate of

    By Luca Weiss on 2024-06-21T16:03:43

Please register or sign in to reply
Loading