linux:huaweihspamodem
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| linux:huaweihspamodem [2016/08/29 23:33] – rlunaro | linux:huaweihspamodem [2016/08/31 11:45] (current) – removed rlunaro | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== udev rules for the Huawei HSPA Modem ====== | ||
| - | |||
| - | This is what appears in an '' | ||
| - | |||
| - | < | ||
| - | Bus 001 Device 002: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800 (HSPA modem) | ||
| - | Device Descriptor: | ||
| - | bLength | ||
| - | bDescriptorType | ||
| - | bcdUSB | ||
| - | bDeviceClass | ||
| - | bDeviceSubClass | ||
| - | bDeviceProtocol | ||
| - | bMaxPacketSize0 | ||
| - | idVendor | ||
| - | idProduct | ||
| - | bcdDevice | ||
| - | iManufacturer | ||
| - | iProduct | ||
| - | iSerial | ||
| - | bNumConfigurations | ||
| - | Configuration Descriptor: | ||
| - | bLength | ||
| - | bDescriptorType | ||
| - | wTotalLength | ||
| - | bNumInterfaces | ||
| - | bConfigurationValue | ||
| - | iConfiguration | ||
| - | bmAttributes | ||
| - | Self Powered | ||
| - | Remote Wakeup | ||
| - | MaxPower | ||
| - | Interface Descriptor: | ||
| - | bLength | ||
| - | bDescriptorType | ||
| - | bInterfaceNumber | ||
| - | bAlternateSetting | ||
| - | bNumEndpoints | ||
| - | bInterfaceClass | ||
| - | bInterfaceSubClass | ||
| - | bInterfaceProtocol | ||
| - | iInterface | ||
| - | Endpoint Descriptor: | ||
| - | bLength | ||
| - | bDescriptorType | ||
| - | bEndpointAddress | ||
| - | bmAttributes | ||
| - | Transfer Type Bulk | ||
| - | Synch Type None | ||
| - | Usage Type Data | ||
| - | wMaxPacketSize | ||
| - | bInterval | ||
| - | Endpoint Descriptor: | ||
| - | bLength | ||
| - | bDescriptorType | ||
| - | bEndpointAddress | ||
| - | bmAttributes | ||
| - | Transfer Type Bulk | ||
| - | Synch Type None | ||
| - | Usage Type Data | ||
| - | wMaxPacketSize | ||
| - | bInterval | ||
| - | Interface Descriptor: | ||
| - | bLength | ||
| - | bDescriptorType | ||
| - | bInterfaceNumber | ||
| - | bAlternateSetting | ||
| - | bNumEndpoints | ||
| - | bInterfaceClass | ||
| - | bInterfaceSubClass | ||
| - | bInterfaceProtocol | ||
| - | iInterface | ||
| - | Endpoint Descriptor: | ||
| - | bLength | ||
| - | bDescriptorType | ||
| - | bEndpointAddress | ||
| - | bmAttributes | ||
| - | Transfer Type Bulk | ||
| - | Synch Type None | ||
| - | Usage Type Data | ||
| - | wMaxPacketSize | ||
| - | bInterval | ||
| - | Endpoint Descriptor: | ||
| - | bLength | ||
| - | bDescriptorType | ||
| - | bEndpointAddress | ||
| - | bmAttributes | ||
| - | Transfer Type Bulk | ||
| - | Synch Type None | ||
| - | Usage Type Data | ||
| - | wMaxPacketSize | ||
| - | bInterval | ||
| - | Device Qualifier (for other device speed): | ||
| - | bLength | ||
| - | bDescriptorType | ||
| - | bcdUSB | ||
| - | bDeviceClass | ||
| - | bDeviceSubClass | ||
| - | bDeviceProtocol | ||
| - | bMaxPacketSize0 | ||
| - | bNumConfigurations | ||
| - | Device Status: | ||
| - | Self Powered | ||
| - | |||
| - | </ | ||
| - | |||
| - | The important stuff is: | ||
| - | |||
| - | < | ||
| - | |||
| - | idVendor | ||
| - | idProduct | ||
| - | |||
| - | </ | ||
| - | |||
| - | [[http:// | ||
| - | |||
| - | |||
| - | **First step:** install usb_modeswitch if it not installed: | ||
| - | |||
| - | < | ||
| - | sudo apt-get install usb_modeswitch | ||
| - | </ | ||
| - | |||
| - | **Second step:** run manually the configuration | ||
| - | |||
| - | < | ||
| - | usb_modeswitch -v 0x12d1 -p 0x1446 | ||
| - | </ | ||
| - | |||
| - | |||
| - | I've found this: | ||
| - | |||
| - | |||
| - | < | ||
| - | looking at parent device '/ | ||
| - | KERNELS==" | ||
| - | SUBSYSTEMS==" | ||
| - | DRIVERS==" | ||
| - | ATTRS{configuration}==" | ||
| - | ATTRS{bNumInterfaces}==" | ||
| - | ATTRS{bConfigurationValue}==" | ||
| - | ATTRS{bmAttributes}==" | ||
| - | ATTRS{bMaxPower}==" | ||
| - | ATTRS{urbnum}==" | ||
| - | ATTRS{idVendor}==" | ||
| - | ATTRS{idProduct}==" | ||
| - | ATTRS{bcdDevice}==" | ||
| - | ATTRS{bDeviceClass}==" | ||
| - | ATTRS{bDeviceSubClass}==" | ||
| - | ATTRS{bDeviceProtocol}==" | ||
| - | ATTRS{bNumConfigurations}==" | ||
| - | ATTRS{bMaxPacketSize0}==" | ||
| - | ATTRS{speed}==" | ||
| - | ATTRS{busnum}==" | ||
| - | ATTRS{devnum}==" | ||
| - | ATTRS{devpath}==" | ||
| - | ATTRS{version}==" | ||
| - | ATTRS{maxchild}==" | ||
| - | ATTRS{quirks}==" | ||
| - | ATTRS{avoid_reset_quirk}==" | ||
| - | ATTRS{authorized}==" | ||
| - | ATTRS{manufacturer}==" | ||
| - | ATTRS{product}==" | ||
| - | </ | ||
| - | |||
linux/huaweihspamodem.1472513632.txt.gz · Last modified: 2022/12/02 21:02 (external edit)
