Discussion:
UMTS connection with Slackware
(too old to reply)
Tuxedo
2017-09-19 15:29:16 UTC
Permalink
Hello,

I finally got power functions to work on a ThinkPad X240 with Slackware 14.2
64.

The problems I had experienced was with suspend mode in particular, which in
the end clearly had nothing to do with Slackware or Linux

The system has two batteries; one internal and one detachable. The internal
battery was missing, and once fitted, suspend power functions work fine.

Hardware used:
http://www.lenovo.com/shop/americas/content/user_guides/x240_ug_en.pdf

Thanks to the many helpful people here who tried to answer my previously
unanswarable questions!


My next question:

The hardware has a UMTS slot and 'ifconfig -a' returns the following amongst
other network interfaces:

wwan0: flags=4226<BROADCAST,NOARP,MULTICAST> mtu 1500
ether ca:01:97:9d:ce:8c txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Is this the UMTS interface?

When connecting with WiFi I use Wicd, which works very well for that
purpose. However, the Wicd application doesn't appear applicable for sim
connections.

I found the SBo package named 'firmware-gobi-2000' relating to UMTS
(Qualcomm Gobi USB chipsets), which has various dependencies (innoexctract,
msitools, gcab and vala).

Does firmware-gobi-2000 need to be installed in order to connect via UMTS?

Many thanks for any advise.

Tuxedo
Tuxedo
2017-09-20 17:39:24 UTC
Permalink
Post by Tuxedo
Hello,
I finally got power functions to work on a ThinkPad X240 with Slackware
14.2 64.
The problems I had experienced was with suspend mode in particular, which
in the end clearly had nothing to do with Slackware or Linux
The system has two batteries; one internal and one detachable. The
internal battery was missing, and once fitted, suspend power functions
work fine.
http://www.lenovo.com/shop/americas/content/user_guides/x240_ug_en.pdf
Thanks to the many helpful people here who tried to answer my previously
unanswarable questions!
The hardware has a UMTS slot and 'ifconfig -a' returns the following
wwan0: flags=4226<BROADCAST,NOARP,MULTICAST> mtu 1500
ether ca:01:97:9d:ce:8c txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Is this the UMTS interface?
When connecting with WiFi I use Wicd, which works very well for that
purpose. However, the Wicd application doesn't appear applicable for sim
connections.
I found the SBo package named 'firmware-gobi-2000' relating to UMTS
(Qualcomm Gobi USB chipsets), which has various dependencies
(innoexctract, msitools, gcab and vala).
Does firmware-gobi-2000 need to be installed in order to connect via UMTS?
Many thanks for any advise.
Tuxedo
The builtin modem on the laptop is well-recognised in Slackware, as 'lsusb'
returns the following:

Bus 001 Device 006: ID 04f2:b39a Chicony Electronics Co., Ltd
Bus 001 Device 005: ID 8087:07dc Intel Corp.
Bus 001 Device 004: ID 0bdb:193e Ericsson Business Mobile Networks BV
Bus 001 Device 003: ID 04f3:0235 Elan Microelectronics Corp.
Bus 001 Device 002: ID 8087:8000 Intel Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Much more details are returned for the relevant entry ("Ericsson Business
Mobile Networks BV") by 'lsbus -D /dev/bus/usb/001/004':

Device: ID 0bdb:193e Ericsson Business Mobile Networks BV
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0bdb Ericsson Business Mobile Networks BV
idProduct 0x193e
bcdDevice 0.00
iManufacturer 1 Lenovo
iProduct 2 N5321 gw
iSerial 3 A1FF6A4791F348M0
bNumConfigurations 4
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 440
bNumInterfaces 11
bConfigurationValue 1
iConfiguration 4 WMC Device with GPS
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 2 Communications
bInterfaceSubClass 8 Wireless Handset Control
bInterfaceProtocol 0
iInterface 5 N5321 gw Mobile Broadband Device
CDC Header:
bcdCDC 1.20
CDC WHCM:
bcdVersion 1.10
CDC Union:
bMasterInterface 0
bSlaveInterface 1 2 3 4 5 6 7 8 9 10
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 6 N5321 gw Mobile Broadband Modem
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 1
bSlaveInterface 2
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 2
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x8a EP 10 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 7 N5321 gw Mobile Broadband Modem
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 8 N5321 gw Mobile Broadband Data Modem
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 3
bSlaveInterface 4
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 4
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x89 EP 9 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 9 N5321 gw Mobile Broadband Data Modem
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 5
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 9 Device Management
bInterfaceProtocol 1
iInterface 10 N5321 gw Mobile Broadband Device Management
CDC Header:
bcdCDC 1.20
CDC Device Management:
bcdVersion 1.00
wMaxCommand 2048
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x88 EP 8 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 6
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 13
bInterfaceProtocol 0
iInterface 11 Ericsson N5321 gw
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 6
bSlaveInterface 7
CDC Ethernet:
iMacAddress 12 0215E0EC0100
bmEthernetStatistics 0x00000000
wMaxSegmentSize 1514
wNumberMCFilters 0x8040
bNumberPowerFilters 1
CDC NCM:
bcdNcmVersion 1.00
bmNetworkCapabilities 0x1b
crc mode
max datagram size
net address
packet filter
CDC Command Set:
bcdVersion 1.00
iCommandSet 13 S_NCM_CMD_FUNC
bGUID {52998303-e62a-4723-b1ba-e9421e201bca}
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 7
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 6
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 14
bInterfaceProtocol 0
iInterface 11 Ericsson N5321 gw
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 6
bSlaveInterface 7
CDC MBIM:
bcdMBIMVersion 1.00
wMaxControlMessage 512
bNumberFilters 32
bMaxFilterSize 192
wMaxSegmentSize 2048
bmNetworkCapabilities 0x1f
max datagram size
CDC MBIM Extended:
bcdMBIMExtendedVersion 1.00
bMaxOutstandingCommandMessages 255
wMTU 1500
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 7
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 7
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 1
iInterface 14 Ericsson N5321 gw
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 7
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 1
iInterface 15 Ericsson N5321 gw
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 7
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 2
iInterface 15 Ericsson N5321 gw
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 8
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 9 Device Management
bInterfaceProtocol 1
iInterface 16 N5321 gw Mobile Broadband USIM Port
CDC Header:
bcdCDC 1.20
CDC Device Management:
bcdVersion 1.00
wMaxCommand 2048
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 9
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 17 N5321 gw Mobile Broadband GPS Port
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 9
bSlaveInterface 10
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 10
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 10
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 18 N5321 gw Mobile Broadband GPS Port
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 380
bNumInterfaces 9
bConfigurationValue 2
iConfiguration 19 WMC Device
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 2 Communications
bInterfaceSubClass 8 Wireless Handset Control
bInterfaceProtocol 0
iInterface 5 N5321 gw Mobile Broadband Device
CDC Header:
bcdCDC 1.20
CDC WHCM:
bcdVersion 1.10
CDC Union:
bMasterInterface 0
bSlaveInterface 1 2 3 4 5 6 7 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 6 N5321 gw Mobile Broadband Modem
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 1
bSlaveInterface 2
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 2
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x8a EP 10 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 7 N5321 gw Mobile Broadband Modem
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 8 N5321 gw Mobile Broadband Data Modem
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 3
bSlaveInterface 4
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 4
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x89 EP 9 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 9 N5321 gw Mobile Broadband Data Modem
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x02 EP 2 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x82 EP 2 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 5
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 9 Device Management
bInterfaceProtocol 1
iInterface 10 N5321 gw Mobile Broadband Device Management
CDC Header:
bcdCDC 1.20
CDC Device Management:
bcdVersion 1.00
wMaxCommand 2048
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x88 EP 8 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 6
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 13
bInterfaceProtocol 0
iInterface 11 Ericsson N5321 gw
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 6
bSlaveInterface 7
CDC Ethernet:
iMacAddress 12 0215E0EC0100
bmEthernetStatistics 0x00000000
wMaxSegmentSize 1514
wNumberMCFilters 0x8040
bNumberPowerFilters 1
CDC NCM:
bcdNcmVersion 1.00
bmNetworkCapabilities 0x1b
crc mode
max datagram size
net address
packet filter
CDC Command Set:
bcdVersion 1.00
iCommandSet 13 S_NCM_CMD_FUNC
bGUID {52998303-e62a-4723-b1ba-e9421e201bca}
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 7
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 6
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 14
bInterfaceProtocol 0
iInterface 11 Ericsson N5321 gw
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 6
bSlaveInterface 7
CDC MBIM:
bcdMBIMVersion 1.00
wMaxControlMessage 512
bNumberFilters 32
bMaxFilterSize 192
wMaxSegmentSize 2048
bmNetworkCapabilities 0x1f
max datagram size
CDC MBIM Extended:
bcdMBIMExtendedVersion 1.00
bMaxOutstandingCommandMessages 255
wMTU 1500
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 7
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 7
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 1
iInterface 14 Ericsson N5321 gw
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 7
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 1
iInterface 15 Ericsson N5321 gw
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 7
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 2
iInterface 15 Ericsson N5321 gw
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 8
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 9 Device Management
bInterfaceProtocol 1
iInterface 16 N5321 gw Mobile Broadband USIM Port
CDC Header:
bcdCDC 1.20
CDC Device Management:
bcdVersion 1.00
wMaxCommand 2048
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x87 EP 7 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 8
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 262
bNumInterfaces 5
bConfigurationValue 3
iConfiguration 20 WMC MBIM Device with GPS
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 2 Communications
bInterfaceSubClass 8 Wireless Handset Control
bInterfaceProtocol 0
iInterface 5 N5321 gw Mobile Broadband Device
CDC Header:
bcdCDC 1.20
CDC WHCM:
bcdVersion 1.10
CDC Union:
bMasterInterface 0
bSlaveInterface 1 2 3 4
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 13
bInterfaceProtocol 0
iInterface 11 Ericsson N5321 gw
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 1
bSlaveInterface 2
CDC Ethernet:
iMacAddress 12 0215E0EC0100
bmEthernetStatistics 0x00000000
wMaxSegmentSize 1514
wNumberMCFilters 0x8040
bNumberPowerFilters 1
CDC NCM:
bcdNcmVersion 1.00
bmNetworkCapabilities 0x1b
crc mode
max datagram size
net address
packet filter
CDC Command Set:
bcdVersion 1.00
iCommandSet 13 S_NCM_CMD_FUNC
bGUID {52998303-e62a-4723-b1ba-e9421e201bca}
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 7
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 14
bInterfaceProtocol 0
iInterface 11 Ericsson N5321 gw
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 1
bSlaveInterface 2
CDC MBIM:
bcdMBIMVersion 1.00
wMaxControlMessage 512
bNumberFilters 32
bMaxFilterSize 192
wMaxSegmentSize 2048
bmNetworkCapabilities 0x1f
max datagram size
CDC MBIM Extended:
bcdMBIMExtendedVersion 1.00
bMaxOutstandingCommandMessages 255
wMTU 1500
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 7
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 1
iInterface 14 Ericsson N5321 gw
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 1
iInterface 15 Ericsson N5321 gw
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 2
iInterface 15 Ericsson N5321 gw
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 3
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 17 N5321 gw Mobile Broadband GPS Port
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 3
bSlaveInterface 4
CDC Call Management:
bmCapabilities 0x03
call management
use DataInterface
bDataInterface 4
CDC ACM:
bmCapabilities 0x06
sends break
line coding and serial state
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x84 EP 4 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 8
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 4
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 18 N5321 gw Mobile Broadband GPS Port
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x03 EP 3 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x83 EP 3 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 202
bNumInterfaces 3
bConfigurationValue 4
iConfiguration 21 WMC MBIM Device
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 2 Communications
bInterfaceSubClass 8 Wireless Handset Control
bInterfaceProtocol 0
iInterface 5 N5321 gw Mobile Broadband Device
CDC Header:
bcdCDC 1.20
CDC WHCM:
bcdVersion 1.10
CDC Union:
bMasterInterface 0
bSlaveInterface 1 2
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 13
bInterfaceProtocol 0
iInterface 11 Ericsson N5321 gw
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 1
bSlaveInterface 2
CDC Ethernet:
iMacAddress 12 0215E0EC0100
bmEthernetStatistics 0x00000000
wMaxSegmentSize 1514
wNumberMCFilters 0x8040
bNumberPowerFilters 1
CDC NCM:
bcdNcmVersion 1.00
bmNetworkCapabilities 0x1b
crc mode
max datagram size
net address
packet filter
CDC Command Set:
bcdVersion 1.00
iCommandSet 13 S_NCM_CMD_FUNC
bGUID {52998303-e62a-4723-b1ba-e9421e201bca}
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 7
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 1
bAlternateSetting 1
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 14
bInterfaceProtocol 0
iInterface 11 Ericsson N5321 gw
CDC Header:
bcdCDC 1.20
CDC Union:
bMasterInterface 1
bSlaveInterface 2
CDC MBIM:
bcdMBIMVersion 1.00
wMaxControlMessage 512
bNumberFilters 32
bMaxFilterSize 192
wMaxSegmentSize 2048
bmNetworkCapabilities 0x1f
max datagram size
CDC MBIM Extended:
bcdMBIMExtendedVersion 1.00
bMaxOutstandingCommandMessages 255
wMTU 1500
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x86 EP 6 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0020 1x 32 bytes
bInterval 7
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 1
iInterface 14 Ericsson N5321 gw
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 1
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 1
iInterface 15 Ericsson N5321 gw
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes can't get debug descriptor: Resource temporarily
unavailable
2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 2
bAlternateSetting 2
bNumEndpoints 2
bInterfaceClass 10 CDC Data
bInterfaceSubClass 0
bInterfaceProtocol 2
iInterface 15 Ericsson N5321 gw
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x05 EP 5 OUT
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x85 EP 5 IN
bmAttributes 2
Transfer Type Bulk
Synch Type None
Usage Type Data
wMaxPacketSize 0x0200 1x 512 bytes
bInterval 0
Device Qualifier (for other device speed):
bLength 10
bDescriptorType 6
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 4
Device Status: 0x0001
Self Powered

--------------

There is a sim card in the slot which works to connect to the internet
under Windows on another partition using the same hardware.

How can the net-connection be made in Slackware?

Tuxedo
Henrik Carlqvist
2017-09-20 18:39:28 UTC
Permalink
Post by Tuxedo
The builtin modem on the laptop is well-recognised in Slackware, as
Anything connected by USB will be recognized unless it is broken in some
way. But to be really useful you will probably need a kernel module which
gives you some device in /dev. If such a module is already installed you
will probably see some messages from it in the output from dmesg. Then I
suppose you will need to use it as a modem, probably use ppp to connect.
How ppp is configured differs between different carriers.

Many years ago I used a huawei USB modem in Slackware and described how
to do that here:
http://poolhem.se/E220/

But your ppp settings will probably be different as you most likely are
not connecting with swedish telia and your dmesg output might also differ
as you have a different modem.

Still I hope that my page will give some clues about at least some of the
steps you will need to take to get your USB modem working.

regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc351(at)poolhem.se Examples of addresses which go to spammers:
***@localhost ***@localhost
Tuxedo
2017-09-20 21:06:41 UTC
Permalink
Tuxedo wrote:

[...]
Post by Tuxedo
How can the net-connection be made in Slackware?
Tuxedo
Problem solved, by enabling NetworkManager:

# sh /etc/rc.d/rc.networkmanager start

Using the existing NetworkManager Applet in Xfce's taskbar, I selected:
New Mobile Broadband connection; country; entered a pre-existing provider or
a new one. Selected a plan if listed. Entered an APN unless one was pre-
selected. The system then connected with UMTS.

I thereafter tried to enable networkmanager by default on startup by:
chmod +x /etc/rc.d/rc.networkmanager

However, when restarting the system, Wicd took precedence and the Network
Manager daemon must be started again as root:
# /rc.d/rc.networkmanager start

How can this be simplified at a user-level?

Following some quick tests, Wicd appears to work better to connect to WiFi
than Network Manager. For example, I was unable to connect to a regular WiFi
point with Network Manager which there's no problem to connect with by Wicd.

Perhaps there is some conflict between the two applications, which may
explain why Network Manager is deactivated by default on startup.

Tuxedo

Loading...