不过要注意各种依赖比如说dhcp也要升级到4以上
手头有两台手机一台MOTO E8 一台NOKIA 5530
NOKIA的连上后全自动地配置了networkmanager
而Moto的连上后啥反应都没有
试过udev、usb_modemswitch重新配置也没用
比较了一下感觉一点区别都没有
代码: 全选
/dev/serial/by-id$ ls
usb-Motorola_Inc._E8-if00
usb-Nokia_Nokia_5530_XpressMusic_358304032531234-if01
lsusb -v 也没啥区别
MOTO的
代码: 全选
Bus 002 Device 002: ID 22b8:6422 Motorola PCS
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 2 Abstract (modem)
bDeviceProtocol 0 None
bMaxPacketSize0 64
idVendor 0x22b8 Motorola PCS
idProduct 0x6422
bcdDevice 1.01
iManufacturer 3 Motorola Inc.
iProduct 2 E8
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 67
bNumInterfaces 2
bConfigurationValue 1
iConfiguration 7 Motorola Communication Class
bmAttributes 0xc0
Self Powered
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 2 Communications
bInterfaceSubClass 2 Abstract (modem)
bInterfaceProtocol 1 AT-commands (v.25ter)
iInterface 8 Motorola Communication Interface
……
Device Status: 0x0000
(Bus Powered)
代码: 全选
Bus 001 Device 004: ID 0421:022a Nokia Mobile Phones
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 2 Communications
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x0421 Nokia Mobile Phones
idProduct 0x022a
bcdDevice 1.00
iManufacturer 1 Nokia
iProduct 2 Nokia 5530 XpressMusic
iSerial 3 358304032531234
……
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 7 CDC Comms Interface
CDC Header:
bcdCDC 1.10
CDC ACM:
……
Device Status: 0x0000
(Bus Powered)
代码: 全选
hal-device /org/freedesktop/Hal/devices/usb_device_22b8_6425_noserial_if0
udi = '/org/freedesktop/Hal/devices/usb_device_22b8_6425_noserial_if0'
info.linux.driver = 'cdc_acm' (string)
info.subsystem = 'usb' (string)
info.product = 'USB Communications Interface' (string)
info.udi = '/org/freedesktop/Hal/devices/usb_device_22b8_6425_noserial_if0' (string)
usb.linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0' (string)
usb.configuration_value = 1 (0x1) (int)
linux.sysfs_path = '/sys/devices/pci0000:00/0000:00:1d.0/usb6/6-1/6-1:1.0' (string)
usb.num_interfaces = 3 (0x3) (int)
usb.device_class = 255 (0xff) (int)
info.parent = '/org/freedesktop/Hal/devices/usb_device_22b8_6425_noserial' (string)
usb.device_subclass = 255 (0xff) (int)
usb.product_id = 25637 (0x6425) (int)
usb.num_configurations = 1 (0x1) (int)
usb.vendor_id = 8888 (0x22b8) (int)
usb.vendor = 'Motorola PCS' (string)
usb.device_protocol = 255 (0xff) (int)
usb.product = 'USB Communications Interface' (string)
usb.device_revision_bcd = 257 (0x101) (int)
usb.linux.device_number = 2 (0x2) (int)
usb.num_ports = 0 (0x0) (int)
usb.bus_number = 6 (0x6) (int)
usb.speed = 12 (double)
usb.version = 2 (double)
usb.is_self_powered = true (bool)
usb.max_power = 500 (0x1f4) (int)
usb.can_wake_up = false (bool)
usb.interface.class = 2 (0x2) (int)
usb.interface.number = 0 (0x0) (int)
usb.interface.description = 'Motorola Communication Interface' (string)
usb.interface.subclass = 2 (0x2) (int)
usb.interface.protocol = 1 (0x1) (int)
linux.hotplug_type = 2 (0x2) (int)
linux.subsystem = 'usb' (string)