Activation Codes and Methods, Hardware Details, Sniffing
survient
Posts: 23
Joined: Tue Apr 23, 2013 5:56 am

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by survient » Sat Apr 27, 2013 9:33 pm

Well I bought this aftermarket from a 3rd party so I'm not sure if it's actually the original Novatel or just a Dell one ripped from another machine

bmork
Posts: 167
Joined: Thu Mar 15, 2012 10:47 pm
Location: Oslo, Norway

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by bmork » Sun Apr 28, 2013 4:33 pm

survient wrote:Well I bought this aftermarket from a 3rd party so I'm not sure if it's actually the original Novatel or just a Dell one ripped from another machine
The vendor ID (0x413c) makes it a Dell card. But it can't tell where it's been before you bought it :)

bmork
Posts: 167
Joined: Thu Mar 15, 2012 10:47 pm
Location: Oslo, Norway

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by bmork » Sun Apr 28, 2013 4:50 pm

bmork wrote:I'll submit a patch to change this module from cdc_ether to qmi_wwan, just like the E362.
Googling for the Novatel E371 vid:pid, I found that you also have a Fedora bug open for this issue:
https://bugzilla.redhat.com/show_bug.cg ... &id=955426

and Dan W already is onto it. So I think I'll just sit here and drink a cup of coffee and wait for his patch to ack instead. That usually works very well. I'm a lazy sod, to quote Sex Pistols.

aiamuzz
Posts: 46
Joined: Mon Jan 23, 2017 5:04 pm

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by aiamuzz » Mon Jan 23, 2017 5:13 pm

Hi,

I just dropped this device into my HP Elitebook 2570p, with HP drivers for my laptop easily available on the driver page running this on my Windows 10 Pro was easy ... in fact the HP driver page had a firmware update as well which i ran on this card.

Ubuntu 14.04(running 3.xx kernel) is however my primary boot for all purposes, and is already known this device is tricky on a linux machine.

Could you please provide a noob step by step (copy & paste commands) guide to have this running on my Ubuntu 14.04 ?

my ubuntu 14.04 and the network manager therein does not pick up the device its just visible in the 'lsusb' list.

at the moment it shows up as an ethernet device(when i boot into a test installation on my machine running Ubuntu 16.04).

Appreciate your help !!!

thanks

survient
Posts: 23
Joined: Tue Apr 23, 2013 5:56 am

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by survient » Mon Jan 23, 2017 5:52 pm

Wow it's been awhile.

Ok so I can confirm as of Fedora 23(likely even earlier) that this modem is working out of the box, right in Network Manager(screenshot is of fedora 24):

Image

For Ubuntu 14.04 I imagine the kernel/NetworkManager release is too old to support the driver; should probably pop in a live USB/CD of a newer release of Ubuntu and see what happens.

aiamuzz
Posts: 46
Joined: Mon Jan 23, 2017 5:04 pm

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by aiamuzz » Mon Jan 23, 2017 6:17 pm

survient wrote:Wow it's been awhile.

Ok so I can confirm as of Fedora 23(likely even earlier) that this modem is working out of the box, right in Network Manager(screenshot is of fedora 24):

Image

For Ubuntu 14.04 I imagine the kernel/NetworkManager release is too old to support the driver; should probably pop in a live USB/CD of a newer release of Ubuntu and see what happens.
Wow !!!
yes been a while and yet a response so quick !!!
speechless !!!

@Survient ... i did pop in a Ubuntu 16.04 LTS live usb and this is where it picked up as a ethernet device but does not connect !!!
i so much as went ahead and installed it as a 3rd boot on my machine so no out-of-box benefit over here !!!

I stick to LTS version's cos i need a stable long term OS for work. I however tried installing kernel 4.4 on my Ubuntu 14.04 LTS ... the kernel installed all right BUT it messed my work environment (the kernel rendered my VMware (a primary work) in active) i did try to satisfy dependencies over dependencies until i felt i don't want to mess my stable work OS and rolled back to the standard kernel and uninstalled the kernel version 4.4 !!!

Is it possible for you to guide me with a step-by-step tutorial ?

I'd really appreciate your help.

No hurry ... if you can do it as a side project ... more of a hobby for you ... i am ok with it !!!

thanks for the quick response !!!

survient
Posts: 23
Joined: Tue Apr 23, 2013 5:56 am

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by survient » Mon Jan 23, 2017 7:36 pm

Are you able to connect using the device in windows? Try a Fedora 25 live USB just to see if you can connect with that. If you aren't able to connect then you're likely having an issue at the provider level rather than the local level.

aiamuzz
Posts: 46
Joined: Mon Jan 23, 2017 5:04 pm

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by aiamuzz » Tue Jan 24, 2017 8:59 am

survient wrote:Are you able to connect using the device in windows? Try a Fedora 25 live USB just to see if you can connect with that. If you aren't able to connect then you're likely having an issue at the provider level rather than the local level.
Screenshot from 2017-01-24 10-57-37.png
Screenshot from 2017-01-24 10-57-37.png (44.01 KiB) Viewed 3212 times
Screenshot from 2017-01-24 10-57-50.png
Screenshot from 2017-01-24 10-57-50.png (57.64 KiB) Viewed 3212 times
Screenshot from 2017-01-24 10-58-00.png
Screenshot from 2017-01-24 10-58-00.png (63.84 KiB) Viewed 3212 times

Hmmmm ... ethernet device on Fedora 25 64bit ... just like it shows up on Ubuntu 16.04 LTS version !!!

does it mean its broken from 23 to 25 ?

Would appreciate your help in rebuilding it on Ubuntu 16.04 64bit which is installed on my system as a 3rd OS on triple boot, moving to fedora is difficult as they do not have the LTS concept.

thanks for looking.

survient
Posts: 23
Joined: Tue Apr 23, 2013 5:56 am

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by survient » Tue Jan 24, 2017 9:13 am

Right I forgot 25 moved to Wayland. I'm using Fedora 25 XFCE. Try booting from this:

https://spins.fedoraproject.org/xfce/do ... index.html

alternatively I believe Xubuntu should work as well:

http://xubuntu.org/getxubuntu/#lts

While you're at it post the output of # lspci and # lsusb to verify which device you're using

It may be something as simple as the Unity/Gnome3 network utility not being able to handle the device

aiamuzz
Posts: 46
Joined: Mon Jan 23, 2017 5:04 pm

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by aiamuzz » Tue Jan 24, 2017 9:20 am

please find outputs below ...

15:~$ lspci

Code: Select all

15:~$ lspci
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 7 Series/C210 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1c.3 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 4 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation QM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
02:00.0 USB controller: Renesas Technology Corp. uPD720202 USB 3.0 Host Controller (rev 02)
23:00.0 System peripheral: JMicron Technology Corp. SD/MMC Host Controller (rev 30)
23:00.2 SD Host controller: JMicron Technology Corp. Standard SD Host Controller (rev 30)
24:00.0 Network controller: Intel Corporation Centrino Advanced-N 6205 [Taylor Peak] (rev 34)
15:~$ lsusb

Code: Select all

15:~$ lsusb
Bus 002 Device 003: ID 0a5c:21e1 Broadcom Corp. HP Portable SoftSailing
Bus 002 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 003: ID 1d57:fa60 Xenta 
Bus 005 Device 002: ID 046d:0a29 Logitech, Inc. H600 [Wireless Headset]
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[u]Bus 001 Device 004: ID 03f0:421d Hewlett-Packard [/u]
Bus 001 Device 003: ID 05c8:0341 Cheng Uei Precision Industry Co., Ltd (Foxlink) 
Bus 001 Device 002: ID 8087:0024 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
15:~$ usb-devices

Code: Select all

15:~$ usb-devices

T:  Bus=01 Lev=02 Prnt=02 Port=04 Cnt=02 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=03f0 ProdID=421d Rev=00.00
S:  Manufacturer=Novatel Wireless, Inc.
S:  Product=HP lt2523 Mobile Broadband Device
S:  SerialNumber=359789040033051
C:  #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 6 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=00 Driver=cdc_ether
I:  If#= 7 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=cdc_ether

This as shown on my Ubuntu 14.04 LTS 64 bit ... if i can have it working on THIS(my primary work OS) OS version ... it would be SWEET !!!

thanks.

PS : please note that in this version the card is not picked up even as ethernet device in the network-manager applet. it just shows under the above commands.

survient
Posts: 23
Joined: Tue Apr 23, 2013 5:56 am

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by survient » Tue Jan 24, 2017 9:39 am

Ok looks like this is a vendor peculiarity issue then. Doing some searching I found this:

http://www.linuxquestions.org/questions ... 175576998/

and that seems to line up with the issue you're seeing with the ID mismatching. Now to change the ID I'm a little in the dark but this post asks about it:

https://bbs.archlinux.org/viewtopic.php?id=204964

where they're referring the poster to the next article here:

https://lwn.net/Articles/143397/

My lapper with my Novatel card is at home but I'll check when I get back to see what driver it has loaded. You *may* be able to unbind it and then rebind it forcing it to use the right driver. Not an ideal solution but if it works then it's better than nothing.

Now if you do get it working with a workaround my recommendation since you're using Ubuntu is to file a bug report following the guide here https://wiki.ubuntu.com/Kernel/Bugs and also see if you can get the bug reported upstream so it gets resolved in future releases of Ubuntu automatically. Basically if it's just a simple ID mismatch due to a vendor bastardization then in theory it should be simple to patch, but we'll have to see.

aiamuzz
Posts: 46
Joined: Mon Jan 23, 2017 5:04 pm

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by aiamuzz » Tue Jan 24, 2017 9:51 am

oh ... ok ...

will wait for your instructions to unbind/bind by device to the right drivers after you get back home.

Like i said i am not so adept in understanding things under the hood ... superficially i can only grasp the concept.


FYI ... Fedora and xubuntu on my torrents ... will report back their live usb response ...


thanks.

bmork
Posts: 167
Joined: Thu Mar 15, 2012 10:47 pm
Location: Oslo, Norway

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by bmork » Tue Jan 24, 2017 11:01 am

aiamuzz wrote:oh ... ok ...

will wait for your instructions to unbind/bind by device to the right drivers after you get back home.

Like i said i am not so adept in understanding things under the hood ... superficially i can only grasp the concept.

To manually switch the modem to other drivers, you first have to figure out the usb bus and port numbers. You can look for this in the dmesg driver output from cdc_ether, or look it up in sysfs:

Code: Select all

ls -l /sys/bus/usb/drivers/cdc_ether
The output will be similar to this

Code: Select all

lrwxrwxrwx 1 root root    0 Jan 24 09:30 x-y:1.6 -> ../../../../devices/pci0000:00/0000:00:14.0/usbx/x-y/x-y:1.6
lrwxrwxrwx 1 root root    0 Jan 24 09:30 x-y:1.7 -> ../../../../devices/pci0000:00/0000:00:14.0/usbx/x-y/x-y:1.7
--w------- 1 root root 4096 Jan 21 20:29 bind
lrwxrwxrwx 1 root root    0 Jan 21 20:29 module -> ../../../../module/cdc_ether
-rw-r--r-- 1 root root 4096 Jan 21 20:29 new_id
-rw-r--r-- 1 root root 4096 Jan 21 20:29 remove_id
--w------- 1 root root 4096 Jan 21 20:29 uevent
--w------- 1 root root 4096 Jan 21 20:29 unbind
Take note of the "x-y" values.

Then use those values in somthing like this:

Code: Select all

modprobe option
modprobe qmi_wwan
echo 03f0 421d > /sys/bus/usb-serial/drivers/option1/new_id
echo 03f0 421d  > /sys/bus/usb/drivers/cdc_ether/new_id
echo 03f0 421d  > /sys/bus/usb/drivers/qmi_wwan/new_id
echo x-y:1.6 > /sys/bus/usb/drivers/cdc_ether/unbind
echo x-y:1.6 > /sys/bus/usb/drivers/qmi_wwan/bind

This might work. But Ubuntu 14.04 is very old, and I don't remember exactly when the qmi_wwan driver grew the ability do use dynamic device IDs like that. The real fix is adding a patch similar to the one Dan refer to here: https://bugzilla.redhat.com/show_bug.cgi?id=955426#c4

This stupid device ID vanity by Dell and HP is just so stupid. We need to know that this is a Novatel E371 device, because it needs it very own special handling in the drivers. But Dell and HP hides this info by changing the device ID, for absolutely no reason whatsoever. But this is even worse for other types of modems like the Huawei ones, which can be handled in bulk by using vendor specific rules. Exept that it won't work if the vendor ID is Dells or HPs. And Dell and HP of course do this for Huawei, Sierra Wireless, Ericsson, Novatel and whatever modems, so their vendor IDs are completely useless for any sort of classification. The result is that we have to add device specific rules for every single modem, which we'll of course never be able to. We can only add the ones we've heard about, and that's only after they have been reported.

Well, whatever. I'll add patches for the device you have. But this will not propagate into any Ubuntu LTS without someone pushing it there, and I'm not going to do that. You will have to follow up this with Ubuntu support. After all, they are the reason you chose to run outdated software.

aiamuzz
Posts: 46
Joined: Mon Jan 23, 2017 5:04 pm

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by aiamuzz » Tue Jan 24, 2017 11:52 am

Hey thanks ... for the steps ... here is the output ...

Code: Select all

15:~$ ls -l /sys/bus/usb/drivers/cdc_ether
total 0
lrwxrwxrwx 1 root root    0 Jan 24 13:17 1-1.5:1.6 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.6
lrwxrwxrwx 1 root root    0 Jan 24 13:17 1-1.5:1.7 -> ../../../../devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.5/1-1.5:1.7
--w------- 1 root root 4096 Jan 24 13:17 bind
lrwxrwxrwx 1 root root    0 Jan 24 13:17 module -> ../../../../module/cdc_ether
-rw-r--r-- 1 root root 4096 Jan 24 13:17 new_id
-rw-r--r-- 1 root root 4096 Jan 24 13:17 remove_id
--w------- 1 root root 4096 Jan 24 11:37 uevent
--w------- 1 root root 4096 Jan 24 13:17 unbind


usbx/x-y/x-y:1.6
usbx/x-y/x-y:1.7

x=1
y=1.5

then

echo x-y:1.6 > /sys/bus/usb/drivers/cdc_ether/unbind
echo x-y:1.6 > /sys/bus/usb/drivers/qmi_wwan/bind

will be ...

echo 1-1.5:1.6 > /sys/bus/usb/drivers/cdc_ether/unbind
echo 1-1.5:1.6 > /sys/bus/usb/drivers/qmi_wwan/bind

Are the substitutions in the following 7 commands accurate ?
Shall i run them ???

Code: Select all


modprobe option
modprobe qmi_wwan
echo 03f0 421d > /sys/bus/usb-serial/drivers/option1/new_id
echo 03f0 421d  > /sys/bus/usb/drivers/cdc_ether/new_id
echo 03f0 421d  > /sys/bus/usb/drivers/qmi_wwan/new_id
echo 1-1.5:1.6 > /sys/bus/usb/drivers/cdc_ether/unbind
echo 1-1.5:1.6 > /sys/bus/usb/drivers/qmi_wwan/bind

AFTER RUNNING THE ABOVE COMMANDS DO I HAVE TO ONLY RESTART THE NETWORK-MANAGER OR REBOOT THE MACHINE ?


Yes sure !!!
Once i have my device up and running ...
I will follow up with ubuntu issues (on bug tracker)... just guide me with what exactly needs to be reported there(technical aspects) !!!

aiamuzz
Posts: 46
Joined: Mon Jan 23, 2017 5:04 pm

Re: Novatel Expedite E371(Dell Wireless 5084)

Post by aiamuzz » Wed Jan 25, 2017 6:20 am

ok ... i tried xbuntu and its still showing as Ethernet ... i guess that was expected as my device ID's wouldn't be added in them anyways.
Screenshot_2017-01-25_09-12-05.png
Screenshot_2017-01-25_09-12-05.png (36.47 KiB) Viewed 3200 times

I tried running the following commands ...

Code: Select all

modprobe option
modprobe qmi_wwan
echo 03f0 421d > /sys/bus/usb-serial/drivers/option1/new_id
echo 03f0 421d  > /sys/bus/usb/drivers/cdc_ether/new_id
echo 03f0 421d  > /sys/bus/usb/drivers/qmi_wwan/new_id
echo 1-1.5:1.6 > /sys/bus/usb/drivers/cdc_ether/unbind
echo 1-1.5:1.6 > /sys/bus/usb/drivers/qmi_wwan/bind

the last command ... returned an error ...

# echo 1-1.5:1.6 > /sys/bus/usb/drivers/qmi_wwan/bind
bash: echo: write error: No such device

the CDC unbind command however went through without a glitch usb-devices command confirms the same.

Code: Select all

# usb-devices

T:  Bus=01 Lev=02 Prnt=02 Port=04 Cnt=02 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=03f0 ProdID=421d Rev=00.00
S:  Manufacturer=Novatel Wireless, Inc.
S:  Product=HP lt2523 Mobile Broadband Device
S:  SerialNumber=359789040033051
C:  #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=(none)
I:  If#= 6 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=00 Driver=(none)
I:  If#= 7 Alt= 0 #EPs= 0 Cls=0a(data ) Sub=00 Prot=00 Driver=(none)


I hope my x-y values haven't been off !!!

so How now ... to bind it to qmi ?

Update : ...

sorry after i rebooted my machine the commands went through fine even on my Ubuntu 14.04 LTS (my daily driver OS)

Code: Select all

T:  Bus=01 Lev=02 Prnt=02 Port=04 Cnt=02 Dev#=  4 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=ef(misc ) Sub=02 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=03f0 ProdID=421d Rev=00.00
S:  Manufacturer=Novatel Wireless, Inc.
S:  Product=HP lt2523 Mobile Broadband Device
S:  SerialNumber=359789040033051
C:  #Ifs= 7 Cfg#= 1 Atr=e0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 3 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 4 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I:  If#= 6 Alt= 0 #EPs= 1 Cls=02(commc) Sub=06 Prot=00 Driver=qmi_wwan
I:  If#= 7 Alt= 1 #EPs= 2 Cls=0a(data ) Sub=00 Prot=00 Driver=qmi_wwan
restarting network manager does not list the device nor adding a manual mobile broadband network list now device as well.
Last edited by aiamuzz on Wed Jan 25, 2017 7:12 am, edited 1 time in total.

Post Reply