Changeset 28636


Ignore:
Timestamp:
2011-10-27T22:29:10+02:00 (6 years ago)
Author:
nbd
Message:

comgt: delay 3g bringup for sierra wireless cards until the card has locked on to the carrier, this helps with avoiding firmware hangs (thx, chris)

Location:
trunk/package/comgt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/package/comgt/Makefile

    r28634 r28636  
    7474        $(INSTALL_DATA) ./files/getcardinfo.gcom $(1)/etc/gcom/getcardinfo.gcom 
    7575        $(INSTALL_DATA) ./files/getstrength.gcom $(1)/etc/gcom/getstrength.gcom 
     76        $(INSTALL_DATA) ./files/getcarrier.gcom $(1)/etc/gcom/getcarrier.gcom 
    7677        $(INSTALL_DIR) $(1)/etc/hotplug.d/tty 
    7778        $(INSTALL_DATA) $(FILES_DIR)/3g.usb $(1)/etc/hotplug.d/tty/30-3g 
  • trunk/package/comgt/files-netifd/3g.sh

    r28634 r28636  
    5151                                esac 
    5252                                export MODE="AT_OPSYS=${CODE}" 
     53                        elif echo "$cardinfo" | grep -q "Sierra Wireless"; then 
     54                                SIERRA=1 
    5355                        fi 
    5456 
     
    6163                        fi 
    6264                        [ -n "$MODE" ] && gcom -d "$device" -s /etc/gcom/setmode.gcom 
     65 
     66                        # wait for carrier to avoid firmware stability bugs 
     67                        [ -n "$SIERRA" ] && { 
     68                                gcom -d "$device" -s /etc/gcom/getcarrier.gcom || return 1 
     69                        } 
    6370                ;; 
    6471        esac 
Note: See TracChangeset for help on using the changeset viewer.