On Fri, 18 Dec 2020, Vele Tosevski wrote: > Hey guys, > > I have been trying to connect the Quectel EG25GGB-256-SGNS chip to AGL with little success. > > I am running Jellyfish 10.0.1 on a 2GB, RaspberryPi4 board. The chip is mini PCI connected to the RPi4 via usb. > > This is my dmesg output: [snip] > So I've corrected that "No support over 100mA line by adding the following rule to /etc/udev/rules.d/99-usb.rule: > > ACTION=="add", SUBSYSTEM=="usb", DRIVER=="usb", KERNEL=="1-1.2.3", RUN+="/bin/sh -c 'echo 1 > /sys/bus/usb/devices/1-1.2.3/bConfigurationValue'" > > However, the modem is not connecting to LTE. Here is my output for connmanctl services: > > Bell cellular_xxxxxxxxxxxxxxxx_context3 > Bell cellular_xxxxxxxxxxxxxxxx_context2 > Bell cellular_xxxxxxxxxxxxxxxx_context1 > > And for context 1: > > /net/connman/service/cellular_xxxxxxxxxxxxxxx_context1 > Type = cellular > Security = [ ] > State = idle [snip] > IPv6 = [ ] > IPv6.Configuration = [ Method=auto, Privacy=disabled ] > Nameservers = [ ] > Nameservers.Configuration = [ ] > Timeservers = [ ] > Timeservers.Configuration = [ ] > Domains = [ ] > Domains.Configuration = [ ] > Proxy = [ ] > Proxy.Configuration = [ ] > mDNS = False > mDNS.Configuration = False > Provider = [ ] > > It's the same for the other contexts. > > My journalctl looks like this when I try to run "connmanctl connect cellular_xxxxxxxxxxxxxxx_context1": > > connmand[273]: Failed to change property: /quectelqmi_0/context1 org.ofono.ConnectionContext.Active: org.ofono.Error.NotImplemented Implementation not provided > afbd-agl-service-network[284]: INFO: [API network-manager] report-error: service_path=/net/connman/service/cellular_xxxxxxxxxxxxxxx_context1 error=connect-failed [/usr/src/debug/agl-service-network/1.0+gitAUTOINC+3609c1aa41-r0/git/binding/network-api.c:724,handle_method_call] > dbus-daemon[174]: [system] Rejected send message, 0 matched rules; type="error", sender=":1.12" (uid=1 pid=284 comm="afbd-agl-service-network " label="User::App::agl-service-network") interface="(unset)" member="(unset)" error name="org.freedesktop.DBus.Error.UnknownMethod" requested_reply="0" destination=":1.10" > > > The error when running the connect is: > > Error /net/connman/service/cellular_302610032501341_context1: Input/output error > > Also, the gps does not connect, giving the error "No GNSS 3D fix". > > Do I need to configure the modem in ofono? Any help would be appreciated. I need to make this work! It's been quite a while since I did this, but I seem to recall that the context information should have a lot more fields filled in. I would suggest checking whether there is a APN configuration coming from serviceproviders.xml in the mobile-broadband-config package that is incorrect and breaking things. That was the case with my local provider (Fido) when I played with this last; I added a patch for the telematics demo image to clear it since the SIM defaults worked. So I would check that and perhaps check what some of the tools in the ofono-tests package show, I believe I used "list-contexts" to debug my issue. For the gps, you likely will need some tweaks, take a look at the sw-gpsd-udev-conf recipe and gpsd bbappend in meta-agl-telematics-demo in Icefish/Jellyfish (or in meta-agl-demo in master) to get an idea. Scott -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#8955): https://lists.automotivelinux.org/g/agl-dev-community/message/8955 Mute This Topic: https://lists.automotivelinux.org/mt/79071303/2167316 Mute #automotive:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/automotive Mute #help:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/help Mute #phone:https://lists.automotivelinux.org/g/agl-dev-community/mutehashtag/phone Group Owner: agl-dev-community+owner@xxxxxxxxxxxxxxxxxxxxxxxxx Unsubscribe: https://lists.automotivelinux.org/g/agl-dev-community/leave/4543822/883735764/xyzzy [list-automotive-discussions82@xxxxxxxxxxx] -=-=-=-=-=-=-=-=-=-=-=-