Re: When should gpio-restart be used/avoided?

2022-08-14 Thread Lech Perczak
W dniu 2022-08-14 o 21:15, Bjørn Mork pisze: Lech Perczak writes: W dniu 2022-08-14 o 18:40, Bjørn Mork pisze: Lech Perczak writes: I'll try your settings, on MF286D and on older MF286 as well. My setup is a bit more convoluted, since my build has patches to use split APN for IPv4v6 dual st

Re: When should gpio-restart be used/avoided?

2022-08-14 Thread Bjørn Mork
Lech Perczak writes: > W dniu 2022-08-14 o 18:40, Bjørn Mork pisze: >> Lech Perczak writes: >> >>> I'll try your settings, on MF286D and on older MF286 as well. >>> My setup is a bit more convoluted, since my build has patches to use >>> split APN for IPv4v6 dual stack and I use DHCP. >> Are patc

Re: When should gpio-restart be used/avoided?

2022-08-14 Thread Lech Perczak
W dniu 2022-08-14 o 18:40, Bjørn Mork pisze: Lech Perczak writes: I'll try your settings, on MF286D and on older MF286 as well. My setup is a bit more convoluted, since my build has patches to use split APN for IPv4v6 dual stack and I use DHCP. Are patches still required for dual-stack with u

Re: When should gpio-restart be used/avoided?

2022-08-14 Thread Bjørn Mork
Lech Perczak writes: > I'll try your settings, on MF286D and on older MF286 as well. > My setup is a bit more convoluted, since my build has patches to use > split APN for IPv4v6 dual stack and I use DHCP. Are patches still required for dual-stack with uqmi? FWIW, this just works with ModemMan

Re: When should gpio-restart be used/avoided?

2022-08-14 Thread Lech Perczak
W dniu 2022-08-14 o 13:35, Bjørn Mork pisze: Bjørn Mork writes: FWIW, I did a simple test now using ModemManager on the MF286D. There is no issue with the modem after reboot, even if the gpio-restart device is disabled. This is my MM config: config interface 'wan' option device '/

Re: When should gpio-restart be used/avoided?

2022-08-14 Thread Bjørn Mork
Bjørn Mork writes: > FWIW, I did a simple test now using ModemManager on the MF286D. There > is no issue with the modem after reboot, even if the gpio-restart device > is disabled. > > This is my MM config: > > config interface 'wan' > option device > '/sys/devices/platform/soc/8af8800.

Re: When should gpio-restart be used/avoided?

2022-08-14 Thread Bjørn Mork
Lech Perczak writes: > Hi, > > Yes, I can confirm, this is used to reset the modem on rebooting the device. > > At least when used in conjunction with uqmi, the modem would misbehave > otherwise, > and connection attempts would fail after rebooting the device. The > same is true for its ath79-bas

Re: When should gpio-restart be used/avoided?

2022-08-13 Thread Lech Perczak
Hi, Yes, I can confirm, this is used to reset the modem on rebooting the device. At least when used in conjunction with uqmi, the modem would misbehave otherwise, and connection attempts would fail after rebooting the device. The same is true for its ath79-based predecessors. I think this iss

Re: When should gpio-restart be used/avoided?

2022-08-13 Thread Robert Marko
I had just that question today when reviewing a similar ZTE modem. It appears that its to reset the modem as well: https://github.com/openwrt/openwrt/pull/10418/files#r945125301 Regards, Robert On Sat, 13 Aug 2022 at 19:13, Bjørn Mork wrote: > > I just got myself a ZTE286D. But after installing

When should gpio-restart be used/avoided?

2022-08-13 Thread Bjørn Mork
I just got myself a ZTE286D. But after installing OpenWrt I had an unexpected problem on reboot. The Openwrt DTS includes a gpio-restart device: gpio-restart { compatible = "gpio-restart"; gpios = <&tlmm 8 GPIO_ACTIVE_HIGH>; }; The gpio-restart dri