EM7565 RAWIP Mode assistance


#1

Hello,

I have the EM7565 running over PPP, but would like to get it working over RAWIP. My current status is as follows. This is for an embedded system running Linux kernel 2.6.28.

Kernel messages after loading GobiSerial

USB Serial support registered for GobiSerial
GobiSerial::GobiProbe
GobiSerial::GobiProbe Num Interfaces = 4
GobiSerial::GobiProbe This Interface = 0
GobiSerial 1-1.1:1.0: GobiSerial converter detected
usb 1-1.1: GobiSerial converter now attached to ttyUSB0
GobiSerial::GobiProbe
GobiSerial::GobiProbe Num Interfaces = 4
GobiSerial::GobiProbe This Interface = 2
GobiSerial 1-1.1:1.2: GobiSerial converter detected
usb 1-1.1: GobiSerial converter now attached to ttyUSB1
GobiSerial::GobiProbe
GobiSerial::GobiProbe Num Interfaces = 4
GobiSerial::GobiProbe This Interface = 3
GobiSerial 1-1.1:1.3: GobiSerial converter detected
usb 1-1.1: GobiSerial converter now attached to ttyUSB2
GobiSerial::GobiProbe
GobiSerial::GobiProbe Num Interfaces = 4
GobiSerial::GobiProbe This Interface = 8
GobiSerial::GobiProbe Ignoring blacklisted interface #8
usbcore: registered new interface driver GobiSerial

Kernel Messages for GobiNet

GobiNet: 2015-12-08/SWI_2.36
usb0: register ‘GobiNet’ at usb-nios_isp1760.0-1.1, GobiNet Ethernet Device
RawIP mode
TE Enabled
creating qcqmi0
USB Speed : USB 2.0
usbcore: registered new interface driver GobiNet

For GobiNet usb0 interface is created and I can bring it up with ifconfig. The qcqmi node is not creatd at all so I create it prior to driver loading using mknod as follows. “mknod /dev/qcqmi0 c 252 0”

I then send the following AT commands via ttyUSB2

‘at+cfun=1’
‘at+cgdcont=1,“IP”,“The APN :)”’
‘at+creg=1’
‘at!scact=1,1’
‘a+cgpaddr=1’

creg returns “+CREG: 1,5” which indicates I am registered.
cgpaddr returns +CGPADDR: 1,10.212.13.59 which indicates the ISP has given the modem an address.

I then use udhcp (v1.22.1) on usb0 however I never get an address (Sending discover… over and over again) . Since DHCP is not working I then use ifconfig to set usb0 as the same address as the CGPADDR result and set it as a default route. I can see that usb0 has some bytes received using ifconfig however I can not route to the internet. What am I missing here? Is the node creation (qcqmi0) an issue here?


#2

@ygarcia,

Unfortunately the drivers are only built for 2.6.32 or newer because there was a break in the Linux API’s here and we do not have a QMI version for older kernels. They would probably need a re write to get them working properly. There may be some open source QMI drivers which address kernels of the vintage you are using but I have no idea if they would work with the EM7565.

Regards

Matt