Hallo, I'm completing the support for the dlink dwr-512 adding the support for 3G. In order to enable the 3G modem the following step need to be performed:
1) write '1' to the gpio18 (it should switch on the modem) 2) echo '2001 7d04 ff' > /sys/bus/usb-serial/drivers/option1/new_id 3) enable the full modem functionality with AT+CFUN=1 4) add the configuration in /etc/config/network I would like to ask the better place where to add these step. For the point 2. I read a potential solution is to add the cmd in /etc/rc.local, but why don't add a line like: static const struct usb_device_id option_ids[] = { { USB_DEVICE(DLINK_VENDOR_ID, DLINK_PRODUCT_DWR512) }, In linux/drivers/usb/serial/option.c ? For the point .3 I'm currently add the cmd in the /etc/gcom/setpin.gcom (from comgt pkg). Is that correct? Thanks. Bye. _______________________________________________ Lede-dev mailing list Lede-dev@lists.infradead.org http://lists.infradead.org/mailman/listinfo/lede-dev