MC8705 can not work in embedded linux


#1

Hi, I got a problem when I us MC8705 in my linux platform.
My linux is running on cavium MCU and linux version is 2.6.27,when I try to use MC8705 in this system,the debug information is as below:

//insert the sierra module

insmod sierra.ko

usbserial: USB Serial support registered for Sierra USB modem
sierra 1-1:1.0: Sierra USB modem converter detected
usb 1-1: Sierra USB modem converter now attached to ttyUSB0
sierra 1-1:1.1: Sierra USB modem converter detected
usb 1-1: Sierra USB modem converter now attached to ttyUSB1
sierra 1-1:1.2: Sierra USB modem converter detected
usb 1-1: Sierra USB modem converter now attached to ttyUSB2
sierra 1-1:1.3: Sierra USB modem converter detected
usb 1-1: Sierra USB modem converter now attached to ttyUSB3
sierra 1-1:1.4: Sierra USB modem converter detected
usb 1-1: Sierra USB modem converter now attached to ttyUSB4
usbcore: registered new interface driver sierra
sierra: sierra version: v.1.7.40

//insert the sierra_net module
#insmod sierra_net.ko
usb0: register ‘sierra_net’ at usb-OcteonUSB.0-1,Sierra Wireless USB-Ethernet Modem,12:a7:d2:28:01:07
usbcore: registered new interface driver sierra_net

//After probe the sierra_net module,I use ifconfig to check,and there is no usb0,so I use the command “ifconfig usb0 up”,the debug information is as below

#ifconfig usb0 up
usb0: sierra_net_open
usb0: sierra_net_send_sync
usb0: sierra_net_send_sync
usb0: rxqlen 0 --> 10
usb0: rxqlen 10 --> 20
usb0: rxqlen 20 --> 30
usb0: rxqlen 30 --> 40
usb0: rxqlen 40 --> 50
usb0: sierra_net_status
a1010000 07000000
usb0: sierra_net_kevent 1 scheduled
usb0: rxqlen 50 --> 59
ADDRCONF(NETDEV_UP): usb0: link is not ready
/lib/modules/2.6.27.7-Cavium-Octeon/drivers # usb0: sierra_net_kevent: Received status message, 0058 bytes
00546200 54315f30 5f315f31 41502052 33303920 434e535a 584c3030 30303030 31352032 3031312f 30312f32 31203138 3a32383a 33300000 00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
usb0: Restart reported: 0, stopping sync timer

Thank you very much!


#2

By the way,after the driver send the sync cmd to modem(i.e call the function sierra_net_send_sync), the driver never receive the SIERRA_NET_HIP_LSI_UMTSID,instead, SIERRA_NET_HIP_RESTART_ID is received.
Thanks!


#3

Hi,

Did you tried to follow the instructions provided in the FAQ?

mycusthelp.net/SIERRAWIRELESS/_c … ID=&aid=44

Regards,

Jay


#4

Hi,Jay.
Yes,I did.
There were more details.
I checked the debug information and I found that all the CONTROL type transfer successed,and then the usb host received a INTERRUPT input successfully,after that,a BULK type input was checked by the usb host,but it wasn’t received successfully.
Then none of the BULK and INTERRUPT input was received successfully.