Page 1 of 1

Netgear R7800 with Pantech UML295 QMI mode

Posted: Wed Sep 04, 2019 4:40 am
by twiztid99
Hello everyone. New here to gargoyle but not to custom firmware on routers. I came over from tomatoshibby. Anyways I have had an odd setup for years and seems like before many started doing it. I was running a r7000 with tomato and a pantech uml295 in cdc_ether mode. The latest updates stopped my modem from connecting on reboot. I started looking into qmi mode but realized the kernel and usb-modeswitch in tomato was old and troublesome. I went out bought a new r7800 today and after a ton of reading I got it all working. Hopefully this can be fixed in source to make it easier for others.

Let me add that the pantech uml295 worked out of the box in gargoyle in cdc_ether mode. I was on a mission though to get qmi mode working.

This is what I changed/added to make it work.


usb-mode.json

Code: Select all

{
        "messages" : [
        ],
        "devices" : {
                "10a9:606f": {
                        "*": {
                                "t_vendor": 4265,
                                "t_product": [ 24676, 24690, 24687 ],
                                "mode": "Pantech",
                                "modeval": 4,
                                "msg": [  ]
                        }
                },
                "10a9:6072": {
                        "*": {
                                "t_vendor": 4265,
                                "t_product": [ 24690 ],
                                "msg": [  ]
                        }
                },
                "10a9:6064": {
                        "*": {
                                "t_vendor": 4265,
                                "t_product": [ 24676 ],
                                "mode": "Pantech",
                                "modeval": 4,
                                "msg": [  ]
                        }
                },
                "10a9:6080": {
                        "*": {
                                "t_vendor": 4265,
                                "t_product": [ 24709 ],
                                "mode": "Pantech",
                                "modeval": 2,
                                "msg": [  ]
                        }
                },
        }
}
/etc/rc.local

Code: Select all

sleep 20; echo 10a9 6072 >/sys/bus/usb/drivers/qmi_wwan/new_id
cat /sys/kernel/debug/usb/devices

Code: Select all

T:  Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#=  3 Spd=480  MxCh= 0
D:  Ver= 2.00 Cls=02(comm.) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=10a9 ProdID=6072 Rev= 2.28
S:  Manufacturer=Pantech, Incorporated
S:  Product=PANTECH UML295
S:  SerialNumber=UMLxxxxxxxxxx
C:* #Ifs= 6 Cfg#= 1 Atr=80 MxPwr=500mA
A:  FirstIf#= 1 IfCount= 2 Cls=02(comm.) Sub=02 Prot=01
A:  FirstIf#= 3 IfCount= 2 Cls=02(comm.) Sub=02 Prot=01
I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=e0 Prot=10 Driver=usbfs
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=01(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 1 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E:  Ad=83(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
I:* If#= 2 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E:  Ad=82(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 3 Alt= 0 #EPs= 1 Cls=02(comm.) Sub=02 Prot=01 Driver=cdc_acm
E:  Ad=85(I) Atr=03(Int.) MxPS=  10 Ivl=32ms
I:* If#= 4 Alt= 0 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_acm
E:  Ad=84(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=03(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms
I:* If#= 5 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=f0 Prot=00 Driver=qmi_wwan
E:  Ad=87(I) Atr=03(Int.) MxPS=   8 Ivl=32ms
E:  Ad=86(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=04(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms


Re: Netgear R7800 with Pantech UML295 QMI mode

Posted: Wed Sep 04, 2019 6:28 am
by Lantis
Thanks, so are you using Gargoyle or Openwrt. I can see you have made an identical post on both forums...

Re: Netgear R7800 with Pantech UML295 QMI mode

Posted: Wed Sep 04, 2019 12:35 pm
by twiztid99
I'm using gargoyle but got most of my info from openwrt related info. Just sharing the info to get it fixed or out there.