Modify

Opened 7 years ago

Last modified 4 years ago

#9730 new defect

3g modem 0685:7000 can't connect in trunk ar71xx and brcm47xx ater 2.6.39 change

Reported by: Elphidium Owned by: developers
Priority: normal Milestone: Barrier Breaker 14.07
Component: kernel Version: Trunk
Keywords: 3g ar71xx brcm47xx h8 0685:7000 Cc:

Description

Tested with a dir-320, wl500gpv1, rspro, mr3420.
ar71xx with trunk r27309 works fine with 3g.
Don't have a record of what release brcm47xx stop working on trunk( for my 3g), but probabily its after the kernel upgrade to 2.6.39.2.
After trunk r27311 on ar71xx it does not conect on 3g with my modem ( sku 80032 from dealextreme ) the modem does not use usb_modeswitch, have to add vendor=0x0685 product=0x7000 to /etc/modules.d/60-usb-serial.
Tested a E173s modem and it worked. weird.
Backfire ar71xx and brcm47xx works fine, but mr3420 isn't supported.

Attachments (0)

Change History (5)

comment:1 Changed 7 years ago by Elphidium

Jul 17 08:39:35 OpenWrt daemon.notice pppd[2361]: pppd 2.4.4 started by root, uid 0
Jul 17 08:39:36 OpenWrt local2.info chat[2366]: abort on (BUSY)
Jul 17 08:39:36 OpenWrt local2.info chat[2366]: abort on (NO CARRIER)
Jul 17 08:39:36 OpenWrt local2.info chat[2366]: abort on (ERROR)
Jul 17 08:39:36 OpenWrt local2.info chat[2366]: report (CONNECT)
Jul 17 08:39:36 OpenWrt local2.info chat[2366]: timeout set to 10 seconds
Jul 17 08:39:36 OpenWrt local2.info chat[2366]: send (AT&F^M)
Jul 17 08:39:36 OpenWrt local2.info chat[2366]: expect (OK)
Jul 17 08:39:46 OpenWrt local2.info chat[2366]: alarm
Jul 17 08:39:46 OpenWrt local2.info chat[2366]: Failed
Jul 17 08:39:46 OpenWrt daemon.err pppd[2361]: Connect script failed
Jul 17 08:40:18 OpenWrt local2.info chat[2373]: abort on (BUSY)
Jul 17 08:40:18 OpenWrt local2.info chat[2373]: abort on (NO CARRIER)
Jul 17 08:40:18 OpenWrt local2.info chat[2373]: abort on (ERROR)
Jul 17 08:40:18 OpenWrt local2.info chat[2373]: report (CONNECT)
Jul 17 08:40:18 OpenWrt local2.info chat[2373]: timeout set to 10 seconds
Jul 17 08:40:18 OpenWrt local2.info chat[2373]: send (AT&F^M)
Jul 17 08:40:18 OpenWrt local2.info chat[2373]: expect (OK)
Jul 17 08:40:28 OpenWrt local2.info chat[2373]: alarm
Jul 17 08:40:28 OpenWrt local2.info chat[2373]: Failed
Jul 17 08:40:28 OpenWrt daemon.err pppd[2361]: Connect script failed
Jul 17 08:41:00 OpenWrt local2.info chat[2379]: abort on (BUSY)
Jul 17 08:41:00 OpenWrt local2.info chat[2379]: abort on (NO CARRIER)
Jul 17 08:41:00 OpenWrt local2.info chat[2379]: abort on (ERROR)
Jul 17 08:41:00 OpenWrt local2.info chat[2379]: report (CONNECT)
Jul 17 08:41:00 OpenWrt local2.info chat[2379]: timeout set to 10 seconds
Jul 17 08:41:00 OpenWrt local2.info chat[2379]: send (AT&F^M)
Jul 17 08:41:00 OpenWrt local2.info chat[2379]: expect (OK)
Jul 17 08:41:10 OpenWrt local2.info chat[2379]: alarm
Jul 17 08:41:10 OpenWrt local2.info chat[2379]: Failed
Jul 17 08:41:10 OpenWrt daemon.err pppd[2361]: Connect script failed

does not pass that point, stay all the time sending these msgs.

comment:2 Changed 7 years ago by Elphidium

Updating:

For 0685:7000 i have to add in /etc/modules.d/60-usb-serial usbserial vendor=0x0685 product=0x7000 and do echo "0685 7000" > /sys/bus/usb-serial/drivers/option1/new_id and only after the echo i can plug the modem, before the echo command it does not work.

For e173s i have to echo "12d1 1c05" > /sys/bus/usb-serial/drivers/option1/new_id

if i add the echo command in /etc/rc.local , while reboot occurs i have to plugout the modem and plugin to work correctly.

before the kernel update the e173s works without setting anything and the 0685:7000 works by setting the vid and pid in usbserial.

comment:3 Changed 7 years ago by jow

That makes no sense. First you force usb-serial to claim the device, then you bind the same device to the option driver. Remove the arguments to usb serial and attach the device to option right away. See also /ticket/9422.html - for a proper fix your dongle ID must be added to the option.ko driver.

comment:4 Changed 7 years ago by Elphidium

Well, for the modem 0685:7000 i have to claim its vid and pid for usbserial and option, if i bind only with option nothing happens, if i bind only usbserial, ttyUSBx comes up but does not connect like the first post. For e173s i have only to bind to option as of a new modem i have today, its a 05c6:0015 (sku 41957) and works like the e173s , working only by issuing a "echo "vid pid" > /sys/bus/usb-serial/drivers/option1/new_id". The e173s and the 05c6:0015 works only that way, if i don't echo, the ttyUSBX don't come up. And the 0685:7000 only comes up with usbserial and option binded.

I see that the patch u made was for .38 kernel and above, the patch does not exist on .39 and 3.0 kernel.

tested with r276691 trunk

comment:5 Changed 4 years ago by jow

  • Milestone changed from Attitude Adjustment 12.09 to Barrier Breaker 14.07

Milestone Attitude Adjustment 12.09 deleted

Add Comment

Modify Ticket

Action
as new .
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.