[SOLVED] Huawei Technologies Co., Ltd. E220 HSDPA Modem / E230/E270/E870 HSDPA/HSUPA Modem

This is with Phone in usb tethering

[manjaro@manjaro-gnome ~]$ lsmod
Module                  Size  Used by
rndis_host             16384  0
cdc_ether              16384  1 rndis_host
usbnet                 49152  2 rndis_host,cdc_ether
ccm                    20480  6
rfcomm                 86016  16
fuse                  118784  2
sg                     40960  0
st                     65536  0
bnep                   24576  2
btusb                  53248  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                24576  1 btusb
bluetooth             655360  37 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic           24576  1 bluetooth
crc16                  16384  1 bluetooth
option                 53248  0
usb_wwan               20480  1 option
joydev                 24576  0
mousedev               24576  0
iTCO_wdt               16384  0
coretemp               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
gpio_ich               16384  0
kvm_intel             245760  0
arc4                   16384  2
kvm                   737280  1 kvm_intel
iwl3945               122880  0
dell_laptop            24576  0
dell_smm_hwmon         16384  0
iwlegacy              139264  1 iwl3945
mac80211              929792  2 iwl3945,iwlegacy
snd_hda_codec_hdmi     57344  1
irqbypass              16384  1 kvm
snd_hda_codec_idt      61440  1
snd_hda_codec_generic    86016  1 snd_hda_codec_idt
psmouse               172032  0
pcspkr                 16384  0
dell_wmi               16384  0
snd_hda_intel          45056  5
dell_smbios            28672  2 dell_wmi,dell_laptop
sparse_keymap          16384  1 dell_wmi
dcdbas                 16384  1 dell_smbios
input_leds             16384  0
snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_idt
wmi_bmof               16384  0
dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios
r852                   20480  0
i2c_i801               32768  0
sm_common              16384  1 r852
lpc_ich                28672  0
nand                  106496  2 r852,sm_common
snd_hda_core           94208  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_idt
cfg80211              778240  3 iwl3945,iwlegacy,mac80211
nand_ecc               16384  1 nand
nand_bch               16384  1 nand
bch                    20480  1 nand_bch
snd_hwdep              16384  1 snd_hda_codec
rng_core               16384  0
r592                   24576  0
memstick               16384  1 r592
mtd                    69632  3 nand,sm_common,nand_bch
snd_pcm               131072  5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              36864  1 snd_pcm
evdev                  24576  14
mac_hid                16384  0
snd                    98304  17 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_hda_codec_idt
rfkill                 28672  9 bluetooth,dell_laptop,cfg80211
battery                24576  0
ac                     16384  0
soundcore              16384  1 snd
pcc_cpufreq            16384  0
acpi_cpufreq           24576  0
uinput                 20480  0
crypto_user            16384  0
ip_tables              28672  0
x_tables               45056  1 ip_tables
overlay               126976  1
hid_generic            16384  0
usbhid                 57344  0
hid                   139264  2 usbhid,hid_generic
squashfs               69632  4
zstd_decompress        81920  1 squashfs
xxhash                 16384  1 zstd_decompress
isofs                  45056  1
sr_mod                 28672  0
cdrom                  69632  1 sr_mod
sd_mod                 61440  2
ata_generic            16384  0
pata_acpi              16384  0
uas                    28672  0
usb_storage            69632  2 uas
radeon               1634304  4
serio_raw              16384  0
atkbd                  32768  0
libps2                 16384  2 atkbd,psmouse
i2c_algo_bit           16384  1 radeon
ata_piix               36864  0
b44                    40960  0
drm_kms_helper        200704  1 radeon
ssb                    90112  1 b44
libata                278528  3 ata_piix,pata_acpi,ata_generic
libphy                 77824  1 b44
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
sdhci_pci              45056  0
fb_sys_fops            16384  1 drm_kms_helper
uhci_hcd               49152  0
cqhci                  28672  1 sdhci_pci
ttm                   126976  1 radeon
sdhci                  61440  1 sdhci_pci
firewire_ohci          45056  0
mii                    16384  2 usbnet,b44
pcmcia                 69632  1 ssb
firewire_core          81920  1 firewire_ohci
pcmcia_core            28672  1 pcmcia
mmc_core              176128  4 sdhci,ssb,cqhci,sdhci_pci
crc_itu_t              16384  1 firewire_core
scsi_mod              253952  7 st,sd_mod,usb_storage,uas,libata,sg,sr_mod
drm                   495616  7 drm_kms_helper,radeon,ttm
ehci_pci               16384  0
ehci_hcd               94208  1 ehci_pci
wmi                    28672  4 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
intel_agp              24576  0
i8042                  32768  1 dell_laptop
serio                  28672  6 serio_raw,atkbd,psmouse,i8042
intel_gtt              24576  1 intel_agp
agpgart                49152  4 intel_agp,intel_gtt,ttm,drm
dm_snapshot            49152  0
dm_bufio               32768  1 dm_snapshot
dm_mod                155648  2 dm_snapshot,dm_bufio
loop                   32768  8
[manjaro@manjaro-gnome ~]$ 

This is with usb modem

[manjaro@manjaro-gnome ~]$ lsmod
Module                  Size  Used by
rndis_host             16384  0
cdc_ether              16384  1 rndis_host
usbnet                 49152  2 rndis_host,cdc_ether
ccm                    20480  6
rfcomm                 86016  16
fuse                  118784  2
sg                     40960  0
st                     65536  0
bnep                   24576  2
btusb                  53248  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                24576  1 btusb
bluetooth             655360  37 btrtl,btintel,btbcm,bnep,btusb,rfcomm
ecdh_generic           24576  1 bluetooth
crc16                  16384  1 bluetooth
option                 53248  1
usb_wwan               20480  1 option
joydev                 24576  0
mousedev               24576  0
iTCO_wdt               16384  0
coretemp               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
gpio_ich               16384  0
kvm_intel             245760  0
arc4                   16384  2
kvm                   737280  1 kvm_intel
iwl3945               122880  0
dell_laptop            24576  0
dell_smm_hwmon         16384  0
iwlegacy              139264  1 iwl3945
mac80211              929792  2 iwl3945,iwlegacy
snd_hda_codec_hdmi     57344  1
irqbypass              16384  1 kvm
snd_hda_codec_idt      61440  1
snd_hda_codec_generic    86016  1 snd_hda_codec_idt
psmouse               172032  0
pcspkr                 16384  0
dell_wmi               16384  0
snd_hda_intel          45056  3
dell_smbios            28672  2 dell_wmi,dell_laptop
sparse_keymap          16384  1 dell_wmi
dcdbas                 16384  1 dell_smbios
input_leds             16384  0
snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_idt
wmi_bmof               16384  0
dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios
r852                   20480  0
i2c_i801               32768  0
sm_common              16384  1 r852
lpc_ich                28672  0
nand                  106496  2 r852,sm_common
snd_hda_core           94208  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_idt
cfg80211              778240  3 iwl3945,iwlegacy,mac80211
nand_ecc               16384  1 nand
nand_bch               16384  1 nand
bch                    20480  1 nand_bch
snd_hwdep              16384  1 snd_hda_codec
rng_core               16384  0
r592                   24576  0
memstick               16384  1 r592
mtd                    69632  3 nand,sm_common,nand_bch
snd_pcm               131072  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_timer              36864  1 snd_pcm
evdev                  24576  14
mac_hid                16384  0
snd                    98304  14 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_hda_codec_idt
rfkill                 28672  9 bluetooth,dell_laptop,cfg80211
battery                24576  0
ac                     16384  0
soundcore              16384  1 snd
pcc_cpufreq            16384  0
acpi_cpufreq           24576  0
uinput                 20480  0
crypto_user            16384  0
ip_tables              28672  0
x_tables               45056  1 ip_tables
overlay               126976  1
hid_generic            16384  0
usbhid                 57344  0
hid                   139264  2 usbhid,hid_generic
squashfs               69632  4
zstd_decompress        81920  1 squashfs
xxhash                 16384  1 zstd_decompress
isofs                  45056  1
sr_mod                 28672  0
cdrom                  69632  1 sr_mod
sd_mod                 61440  2
ata_generic            16384  0
pata_acpi              16384  0
uas                    28672  0
usb_storage            69632  3 uas
radeon               1634304  4
serio_raw              16384  0
atkbd                  32768  0
libps2                 16384  2 atkbd,psmouse
i2c_algo_bit           16384  1 radeon
ata_piix               36864  0
b44                    40960  0
drm_kms_helper        200704  1 radeon
ssb                    90112  1 b44
libata                278528  3 ata_piix,pata_acpi,ata_generic
libphy                 77824  1 b44
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
sysimgblt              16384  1 drm_kms_helper
sdhci_pci              45056  0
fb_sys_fops            16384  1 drm_kms_helper
uhci_hcd               49152  0
cqhci                  28672  1 sdhci_pci
ttm                   126976  1 radeon
sdhci                  61440  1 sdhci_pci
firewire_ohci          45056  0
mii                    16384  2 usbnet,b44
pcmcia                 69632  1 ssb
firewire_core          81920  1 firewire_ohci
pcmcia_core            28672  1 pcmcia
mmc_core              176128  4 sdhci,ssb,cqhci,sdhci_pci
crc_itu_t              16384  1 firewire_core
scsi_mod              253952  7 st,sd_mod,usb_storage,uas,libata,sg,sr_mod
drm                   495616  7 drm_kms_helper,radeon,ttm
ehci_pci               16384  0
ehci_hcd               94208  1 ehci_pci
wmi                    28672  4 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
intel_agp              24576  0
i8042                  32768  1 dell_laptop
serio                  28672  6 serio_raw,atkbd,psmouse,i8042
intel_gtt              24576  1 intel_agp
agpgart                49152  4 intel_agp,intel_gtt,ttm,drm
dm_snapshot            49152  0
dm_bufio               32768  1 dm_snapshot
dm_mod                155648  2 dm_snapshot,dm_bufio
loop                   32768  8


dont know if there shpuld be a diference

rfkill list all

[manjaro@manjaro-gnome ~]$ rfkill list all
0: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
1: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
[manjaro@manjaro-gnome ~]$

with tethering usb

Close any open programs or unsaved documents.

Then run these commands individually, do not cut and paste the entire list of commands at once.

nmcli networking off
sudo systemctl stop NetworkManager
sudo systemctl stop ModemManager
sudo rmmod dell_laptop
sudo modprobe ppp-generic
sleep 10
sudo systemctl start ModemManager
sudo systemctl start NetworkManager
nmcli networking on

Please post the input and output of each command after you have run the entire series of commands.

no output at all…

That means there were no errors. Did you check for any changes in your modems status.

Please post the input/outputs of all requested commands via the terminal as text, (not as pics).

Information on how to properly post hardware specs and logs:

Please format any terminal output with three backticks before and after, as shown in this picture:

unfortunately no change. it seems to be recognized and connected to ttyXXX but no way to configure connection from GUI . i didnt try to configure it from with nmcli and to connect manually.

[Dec29 15:47] usb 1-7: new high-speed USB device number 8 using ehci-pci
[  +0.161464] usb 1-7: New USB device found, idVendor=12d1, idProduct=1003, bcdDevice= 0.00
[  +0.000004] usb 1-7: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[  +0.000003] usb 1-7: Product: HUAWEI Mobile
[  +0.000002] usb 1-7: Manufacturer: HUAWEI Technology
[  +0.004946] usb-storage 1-7:1.0: USB Mass Storage device detected
[  +0.011213] option 1-7:1.0: GSM modem (1-port) converter detected
[  +0.000152] usb 1-7: GSM modem (1-port) converter now attached to ttyUSB0
[  +0.000132] usb-storage 1-7:1.1: USB Mass Storage device detected
[  +0.024053] option 1-7:1.1: GSM modem (1-port) converter detected
[  +0.000320] usb 1-7: GSM modem (1-port) converter now attached to ttyUSB1
[  +0.000113] usb-storage 1-7:1.2: USB Mass Storage device detected
[  +0.005420] scsi host3: usb-storage 1-7:1.2
[  +0.000219] usb-storage 1-7:1.3: USB Mass Storage device detected
[  +0.004482] scsi host4: usb-storage 1-7:1.3
[  +1.010930] scsi 4:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2
[  +0.002438] scsi 3:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[  +0.001742] sd 4:0:0:0: Attached scsi generic sg3 type 0
[  +0.009986] sd 4:0:0:0: [sdc] Attached SCSI removable disk
[  +0.002615] sr 3:0:0:0: [sr1] scsi-1 drive
[  +0.000367] sr 3:0:0:0: Attached scsi CD-ROM sr1
[  +0.000993] sr 3:0:0:0: Attached scsi generic sg4 type 5
[  +5.635244] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[  +0.000051] option 1-7:1.0: device disconnected
[  +0.003200] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb failed. (-2)
[  +0.000008] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb failed. (-2)
[  +0.000006] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb failed. (-2)
[  +5.760076] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[  +0.000043] option 1-7:1.1: device disconnected
[  +0.129784] usb 1-7: reset high-speed USB device number 8 using ehci-pci
[  +0.152530] usb-storage 1-7:1.0: USB Mass Storage device detected
[  +0.000290] option 1-7:1.0: GSM modem (1-port) converter detected
[  +0.001399] usb 1-7: GSM modem (1-port) converter now attached to ttyUSB0
[  +0.000074] usb-storage 1-7:1.1: USB Mass Storage device detected
[  +0.013796] option 1-7:1.1: GSM modem (1-port) converter detected
[  +0.000177] usb 1-7: GSM modem (1-port) converter now attached to ttyUSB1
[  +1.945912] CE: hpet increased min_delta_ns to 67887 nsec
[  +3.512773] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[  +0.000052] option 1-7:1.0: device disconnected
[  +0.003073] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb failed. (-2)
[  +0.000008] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb failed. (-2)
[  +0.000006] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb failed. (-2)
[  +6.184886] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[  +0.000051] option 1-7:1.1: device disconnected
[  +0.125022] usb 1-7: reset high-speed USB device number 8 using ehci-pci
[  +0.152390] usb-storage 1-7:1.0: USB Mass Storage device detected
[  +0.000364] option 1-7:1.0: GSM modem (1-port) converter detected
[  +0.001996] usb 1-7: GSM modem (1-port) converter now attached to ttyUSB0
[  +0.000078] usb-storage 1-7:1.1: USB Mass Storage device detected
[  +0.011920] option 1-7:1.1: GSM modem (1-port) converter detected
[  +0.001161] usb 1-7: GSM modem (1-port) converter now attached to ttyUSB1


no sign of life XD

Just checking, did you install “usb_modeswitch” because it seems to be required from any of the threads regarding this adapter I’ve read.

1 Like

Before we go too far with this, the adapter works correctly in another Manjaro installation on another system. This means the issue is more likely to be related to the laptop rather than Manjaro.

For example, certain USB hardware doesn’t work properly in certain USB3 ports.

The other option is that you have somehow altered the configuration (e.g. through udev rules) which are preventing normal operation.

Also

:arrow_up:

That was my thought as well, thats why I had him rmmod the pesky manufacturers module that causes so many problems with wifi. Unfortunately it had no effect.

sorry for creating confusion. this was referred on another system. the tests we did today are on fresh install and live usb stick

right. the inspiron 6400 is quite old and it is also an old usb stick.

i altered anything on this laptop. only installed the moden manager gui in xfce. the fact there is the same issue on gnome live usb shows that there is no altered settings.

what makes it weird to me is that it seems to be fine from cli. in xfce i can also add the connection with its parameters but there appears no option to connect…

From the lsmod you posted earlier it appeared that your modem was still in storage mode, which is detected as a cd drive of all things. You must use usb_modeswitch to change it from storage mode to the modem mode.

From the ArchWiki:

Mode switching

Often these devices will have two modes (1) USB flash memory storage (2) USB Modem. The first mode, sometimes known as ZeroCD, is often used to deliver an internet communications program for another operating system and is generally of no interest to Linux users. Additionally some have a slot into which the user can insert an additional flash memory card.

A useful utility for switching these devices into modem mode is usb_modeswitch, available in the official repositories.

Udev rules are supplied with the package in /lib/udev/rules.d/40-usb_modeswitch.rules . This contains entries for many devices, which it will switch to modem mode upon insertion.

When a device is switched, its product ID may change to a different value. The vendor ID will remain unchanged. This can be seen in the output of lsusb .

Some devices are supported in the USB serial kernel module called “option” (after the Option devices, but not limited to just those) and may be used without usb_modeswitch.

Udev itself included a utility called /lib/udev/modem-modeswitch . In udev 157 this was renamed to /lib/udev/mobile-action-modeswitch and morphed into a tool that only switches Mobile Action cables. For other devices use usb_modeswitch .

https://wiki.archlinux.org/index.php/USB_3G_Modem#Mode_switching

that was one of the issues. The gnome machine where it works has the entry and the modifications i posted initally on this thread.
i pasted the

in and restarted. now i have the device visible but not working.

and

[dic30 10:18] usb 1-5: new high-speed USB device number 6 using ehci-pci
[  +0,164591] usb 1-5: New USB device found, idVendor=12d1, idProduct=1003, bcdDevice= 0.00
[  +0,000007] usb 1-5: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[  +0,000005] usb 1-5: Product: HUAWEI Mobile
[  +0,000005] usb 1-5: Manufacturer: HUAWEI Technology
[  +0,005206] usb-storage 1-5:1.0: USB Mass Storage device detected
[  +0,001626] scsi host2: usb-storage 1-5:1.0
[  +0,003329] usb 1-5: USB disconnect, device number 6
[  +0,206029] audit: type=1130 audit(1546161497.268:79): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=usb_modeswitch@1-5 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  +0,000026] audit: type=1131 audit(1546161497.268:80): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=usb_modeswitch@1-5 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  +7,169178] usb 1-5: new high-speed USB device number 7 using ehci-pci
[  +0,164537] usb 1-5: New USB device found, idVendor=12d1, idProduct=1003, bcdDevice= 0.00
[  +0,000007] usb 1-5: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[  +0,000005] usb 1-5: Product: HUAWEI Mobile
[  +0,000005] usb 1-5: Manufacturer: HUAWEI Technology
[  +0,004689] usb-storage 1-5:1.0: USB Mass Storage device detected
[  +0,017575] option 1-5:1.0: GSM modem (1-port) converter detected
[  +0,000159] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB0
[  +0,000140] usb-storage 1-5:1.1: USB Mass Storage device detected
[  +0,017860] option 1-5:1.1: GSM modem (1-port) converter detected
[  +0,000175] usb 1-5: GSM modem (1-port) converter now attached to ttyUSB1
[  +0,000108] usb-storage 1-5:1.2: USB Mass Storage device detected
[  +0,004225] scsi host2: usb-storage 1-5:1.2
[  +0,000202] usb-storage 1-5:1.3: USB Mass Storage device detected
[  +0,004052] scsi host3: usb-storage 1-5:1.3
[  +1,006304] scsi 3:0:0:0: Direct-Access     HUAWEI   MMC Storage      2.31 PQ: 0 ANSI: 2
[  +0,004016] sd 3:0:0:0: Attached scsi generic sg2 type 0
[  +0,000144] scsi 2:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
[  +0,009340] sd 3:0:0:0: [sdb] Attached SCSI removable disk
[  +0,002107] sr 2:0:0:0: [sr1] scsi-1 drive
[  +0,000293] sr 2:0:0:0: Attached scsi CD-ROM sr1
[  +0,000138] sr 2:0:0:0: Attached scsi generic sg3 type 5
[  +1,086497] audit: type=1130 audit(1546161506.758:81): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=usb_modeswitch@1-5 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[  +0,000573] audit: type=1131 audit(1546161506.758:82): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=usb_modeswitch@1-5 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[dic30 10:19] audit: type=1130 audit(1546161566.891:83): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'

[andreas@dell ~]$ lsmod
Module                  Size  Used by
ccm                    20480  6
rfcomm                 86016  16
fuse                  118784  3
bnep                   24576  2
option                 53248  0
usb_wwan               20480  1 option
uas                    28672  0
usb_storage            69632  1 uas
iTCO_wdt               16384  0
iTCO_vendor_support    16384  1 iTCO_wdt
joydev                 24576  0
gpio_ich               16384  0
mousedev               24576  0
hid_generic            16384  0
wmi_bmof               16384  0
dell_wmi               16384  0
sparse_keymap          16384  1 dell_wmi
dell_laptop            24576  0
dell_smbios            28672  2 dell_wmi,dell_laptop
radeon               1634304  2
coretemp               16384  0
dell_wmi_descriptor    16384  2 dell_wmi,dell_smbios
kvm_intel             245760  0
dcdbas                 16384  1 dell_smbios
kvm                   737280  1 kvm_intel
arc4                   16384  2
dell_smm_hwmon         16384  0
iwl3945               122880  0
irqbypass              16384  1 kvm
psmouse               172032  0
snd_hda_codec_hdmi     57344  1
iwlegacy              139264  1 iwl3945
usbhid                 57344  0
snd_hda_codec_idt      61440  1
pcspkr                 16384  0
snd_hda_codec_generic    86016  1 snd_hda_codec_idt
btusb                  53248  0
hid                   139264  2 usbhid,hid_generic
btrtl                  16384  1 btusb
snd_hda_intel          45056  3
btbcm                  16384  1 btusb
b44                    40960  0
i2c_algo_bit           16384  1 radeon
r852                   20480  0
ttm                   126976  1 radeon
btintel                24576  1 btusb
mac80211              929792  2 iwl3945,iwlegacy
sm_common              16384  1 r852
ssb                    90112  1 b44
drm_kms_helper        208896  1 radeon
nand                  106496  2 r852,sm_common
bluetooth             655360  37 btrtl,btintel,btbcm,bnep,btusb,rfcomm
mii                    16384  1 b44
snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_idt
nand_ecc               16384  1 nand
libphy                 77824  1 b44
snd_hda_core           94208  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_idt
nand_bch               16384  1 nand
drm                   495616  6 drm_kms_helper,radeon,ttm
snd_hwdep              16384  1 snd_hda_codec
pcmcia                 69632  1 ssb
ecdh_generic           24576  1 bluetooth
cfg80211              778240  3 iwl3945,iwlegacy,mac80211
bch                    20480  1 nand_bch
mtd                    69632  3 nand,sm_common,nand_bch
snd_pcm               131072  4 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
syscopyarea            16384  1 drm_kms_helper
r592                   24576  0
sysfillrect            16384  1 drm_kms_helper
lpc_ich                28672  0
sysimgblt              16384  1 drm_kms_helper
pcmcia_core            28672  1 pcmcia
input_leds             16384  0
rfkill                 28672  7 bluetooth,dell_laptop,cfg80211
fb_sys_fops            16384  1 drm_kms_helper
snd_timer              36864  1 snd_pcm
i2c_i801               32768  0
memstick               16384  1 r592
rng_core               16384  0
snd                    98304  14 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_pcm,snd_hda_codec_idt
wmi                    28672  4 dell_wmi,wmi_bmof,dell_smbios,dell_wmi_descriptor
pcc_cpufreq            16384  0
soundcore              16384  1 snd
evdev                  24576  14
mac_hid                16384  0
acpi_cpufreq           24576  0
battery                24576  0
intel_agp              24576  0
ac                     16384  0
intel_gtt              24576  1 intel_agp
agpgart                49152  4 intel_agp,intel_gtt,ttm,drm
uinput                 20480  0
sg                     40960  0
crypto_user            16384  0
ip_tables              28672  0
x_tables               45056  1 ip_tables
ext4                  733184  1
crc32c_generic         16384  2
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  126976  1 ext4
fscrypto               32768  1 ext4
sr_mod                 28672  0
cdrom                  69632  1 sr_mod
sd_mod                 61440  3
ata_generic            16384  0
pata_acpi              16384  0
serio_raw              16384  0
atkbd                  32768  0
ata_piix               36864  2
libps2                 16384  2 atkbd,psmouse
sdhci_pci              45056  0
cqhci                  28672  1 sdhci_pci
libata                278528  3 ata_piix,pata_acpi,ata_generic
sdhci                  61440  1 sdhci_pci
firewire_ohci          45056  0
firewire_core          81920  1 firewire_ohci
mmc_core              176128  4 sdhci,ssb,cqhci,sdhci_pci
crc_itu_t              16384  1 firewire_core
scsi_mod              253952  6 sd_mod,usb_storage,uas,libata,sg,sr_mod
uhci_hcd               49152  0
i8042                  32768  1 dell_laptop
serio                  28672  6 serio_raw,atkbd,psmouse,i8042
ehci_pci               16384  0
ehci_hcd               94208  1 ehci_pci

i have the broadband connection configured but it does not connect.

any more idea?

the lines in /lib/udev/rules.d/40-usb_modeswitch.rules

# Generic entry for most Huawei devices, excluding Android phones
ATTRS{idVendor}=="12d1", ATTRS{manufacturer}!="Android", ATTR{bInterfaceNumber}=="00", ATTR{bInterfaceClass}=="08", RUN+="usb_modeswi$

# HP LaserJet Professional P1102
ATTR{idVendor}=="03f0", ATTR{idProduct}=="002a", RUN+="usb_modeswitch '/%k'"

# HP LaserJet Professional P1102w
ATTR{idVendor}=="03f0", ATTR{idProduct}=="032a", RUN+="usb_modeswitch '/%k'"

# HP hs3110
ATTR{idVendor}=="03f0", ATTR{idProduct}=="521d", RUN+="usb_modeswitch '/%k'"

# HP hs3120
ATTR{idVendor}=="03f0", ATTR{idProduct}=="531d", RUN+="usb_modeswitch '/%k'"

# HP hs3114
ATTR{idVendor}=="03f0", ATTR{idProduct}=="541d", RUN+="usb_modeswitch '/%k'"


is there a reason that there is a “S” in “ATTR” ? the other lines all have “ATTR” and not “ATTRS”

Mine is the same way Here are all the Huawei device entries in my:

/lib/udev/rules.d/40-usb_modeswitch.rules
# Generic entry for most Huawei devices, excluding Android phones
ATTRS{idVendor}=="12d1", ATTRS{manufacturer}!="Android", ATTR{bInterfaceNumber}=="00", ATTR{bInterfaceClass}=="08", RUN+="usb_modeswitch '%b/%k'"

# Huawei ME909u-521 (MBIM, dummy config)
ATTR{idVendor}=="12d1", ATTR{idProduct}=="1573", RUN+="usb_modeswitch '/%k'"

# Huawei ME906, ME909 (MBIM, dummy config)
ATTR{idVendor}=="12d1", ATTR{idProduct}=="15c1", RUN+="usb_modeswitch '/%k'"

You may want to check that your vendor ID and your product ID match at least one of the entries in those lines.

I have never owned a 3G modem, so this is all pretty much guesswork on my part.

@bogdancovaciu is far more familiar with udev rules than me. Perhaps he can advise if it would be a good idea to create a rule for your model containing your specific ATTR{idVendor}== & ATTR{idProduct}==.

1 Like

Looks like @bogdancovaciu is enjoying a well deserved break, perhaps @AgentS can comment on the udev rule. Do you think he has to add his device ID’s into a custom entry.

1 Like

Thanks for the guessing challenge! I am not experienced on udev rules, except I try to understand the RTFM… :stuck_out_tongue: , so I had to review the topic history…
Being on hit-and-miss road, adding a specific device entry would not hurt (more…).

One question:
Are we talking about a Manjaro system or Archlinux? (it shows a Manjaro kernel, but I had to ask…).

By experience, some times Device IDs change, or there are some strange situations that a different ID than that in lsusb works.
Maybe OP should review dmesg in detail, on the relevant dmesg parts, and also post again lsusb or other info to verify how the HW is recognized.

I hope I could say more., It seems I need to play with systemd services AND udev rules on next year, apart from my book authoring… :sweat_smile:

1 Like

Udev rules are a weak point for me as well. I’ve just never had much cause for writing custom udev rules. The only one who really seems on top of his udev stuff is Bogdan (at least that I’ve noticed).

Anyways, thanks for responding, I’m sure your input was helpful as always @AgentS .

1 Like

This seem ok, but then on the latest post about the 40-usb_modeswitch.rules it seems to be

No, i’m not much into this rules, and modems are quite unknown to me.
This should work tho, by adding also the InterfaceClass:

ATTR{idVendor}=="12d1", ATTR{idProduct}=="1003", ATTR{bInterfaceClass}=="08", RUN+="usb_modeswitch '%k'"

After reboot and while trying to connect it should ask for the PIN number.

1 Like

Without RTFM I suspect

  • ATTR= one specific target
    while
  • ATTRS= multiple matching targets

Forum kindly sponsored by