Sierra Wireless EM7565 LTE card supported?

Started by NKnusperer, October 15, 2022, 02:01:49 PM

Previous topic - Next topic
October 15, 2022, 02:01:49 PM Last Edit: October 15, 2022, 02:42:14 PM by NKnusperer
Hello, has someone successfully used a EM7565 LTE card?
There are two devices visible when creating a new Point-to-Point device: /dev/cuau0 and /dev/cuau1
Both of them are failing: The modem is not responding to "AT" at ModemCmd: label
Using "&F0E1Q0 +CMEE=2" as init string also has no observable effect.
usbconfig output:
ugen0.2: <Sierra Wireless, Incorporated EM7565-9> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (500mA)

  bLength = 0x0012
  bDescriptorType = 0x0001
  bcdUSB = 0x0200
  bDeviceClass = 0x00ef  <Miscellaneous device>
  bDeviceSubClass = 0x0002
  bDeviceProtocol = 0x0001
  bMaxPacketSize0 = 0x0040
  idVendor = 0x1199
  idProduct = 0x9091
  bcdDevice = 0x0006
  iManufacturer = 0x0001  <Sierra Wireless, Incorporated>
  iProduct = 0x0002  <EM7565-9>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001


Update:
It looks like that this device was just recently added to FreeBSD:
https://cgit.freebsd.org/src/commit/?id=89d98b9b003e63dfdf182fa3144a3e809019fcd4
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=263700#c13

I created a issue for this: https://github.com/opnsense/src/issues/169


Try AT!greset as AT command (from GUI only !greset).
With sierra Mc7304 I had most success with this command.
Device should be cuaUx.0
i am not an expert... just trying to help...

I get a "Connected" from cu but the session seems to be dead, nothing is ever retuned to any given command.

What are the commands you tried?
i am not an expert... just trying to help...

"ATI" and "AT!IMAGE?".
# ls -a /dev/cu*
/dev/cuau0      /dev/cuau0.init /dev/cuau0.lock /dev/cuau1      /dev/cuau1.init /dev/cuau1.lock

There are only two devices which exist.

What says "AT" and "AT+CPIN?"?
Have you tried to reboot the sense?
i am not an expert... just trying to help...

Quote from: tiermutter on October 15, 2022, 05:33:23 PM
What says "AT" and "AT+CPIN?"?

Nothing, the session is just hanging.
I already rebooted multiple times.
Before installing it into the sense I upgraded to the latest firmware using Linux so I know the device itself is fine.

Hm, ok. I am not sure whether the device is recognized correctly or not.
It should be /dev/cuaU0.1 or /dev/cuaU0.2 out of 4 or 6, where one of them is the device that responds to AT (eg cu -l cuaU0.2).

i am not an expert... just trying to help...

October 16, 2022, 01:25:00 PM #8 Last Edit: October 16, 2022, 01:49:24 PM by NKnusperer
Which USBCOMP mode are you using?
Right now I'm using "1,3,10D" for QMI, might this be a problem?
As far as I understand neither QMI nor MBIM are supported by FreeBSD?
I also noticed that under Linux there are 3 serial interfaces exposed (ttyUSB0, 1 and 2) where 2 is the one which is responding to commands.

I don't know, sorry... I am using a external modem because I always had similar issues with the Mc7304  :o
i am not an expert... just trying to help...


Did you do soemthing special or just updated to the new version?
i am not an expert... just trying to help...