configuration_d_une_cle_4g_lte
Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédenteProchaine révision | Révision précédente | ||
| configuration_d_une_cle_4g_lte [2016/09/03 15:52] – simon | configuration_d_une_cle_4g_lte [Date inconnue] (Version actuelle) – supprimée - modification externe (Date inconnue) 127.0.0.1 | ||
|---|---|---|---|
| Ligne 1: | Ligne 1: | ||
| - | ====== Installation et configuration d'une clé 4G LTE ====== | ||
| - | ===== Modèle choisi ===== | ||
| - | D-Link, Model: | ||
| - | |||
| - | ===== Installation ===== | ||
| - | <code bash> | ||
| - | pi@raspberrypi(rw): | ||
| - | Bus 001 Device 010: ID 2001:a401 D-Link Corp. | ||
| - | </ | ||
| - | |||
| - | <code bash> | ||
| - | pi@raspberrypi(rw): | ||
| - | |||
| - | Bus 001 Device 010: ID 2001:a401 D-Link Corp. | ||
| - | 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 | ||
| - | (Bus Powered) | ||
| - | 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 | ||
| - | Device Qualifier (for other device speed): | ||
| - | bLength | ||
| - | bDescriptorType | ||
| - | bcdUSB | ||
| - | bDeviceClass | ||
| - | bDeviceSubClass | ||
| - | bDeviceProtocol | ||
| - | bMaxPacketSize0 | ||
| - | bNumConfigurations | ||
| - | Device Status: | ||
| - | (Bus Powered) | ||
| - | </ | ||
| - | |||
| - | On ajoute ces quatre lignes dans le fichier : | ||
| - | |||
| - | <code bash> | ||
| - | $ sudo nano / | ||
| - | $ sudo cat / | ||
| - | (...) | ||
| - | DefaultVendor=0x2001 | ||
| - | DefaultProduct=0xa401 | ||
| - | MessageEndpoint=" | ||
| - | MessageContent=" | ||
| - | </ | ||
| - | |||
| - | <code bash> | ||
| - | pi@raspberrypi(rw): | ||
| - | Take all parameters from the command line | ||
| - | |||
| - | |||
| - | * usb_modeswitch: | ||
| - | * Version 2.2.0 (C) Josua Dietze 2014 | ||
| - | * Based on libusb1/ | ||
| - | |||
| - | ! PLEASE REPORT NEW CONFIGURATIONS ! | ||
| - | |||
| - | DefaultVendor= | ||
| - | DefaultProduct= 0xa401 | ||
| - | TargetVendor= | ||
| - | TargetProduct= | ||
| - | |||
| - | StandardEject=1 | ||
| - | NeedResponse=0 | ||
| - | |||
| - | Look for target devices ... | ||
| - | found USB ID 2001:a401 | ||
| - | | ||
| - | found USB ID 0a5c:bd1e | ||
| - | found USB ID 0483:2016 | ||
| - | found USB ID 04b3:3021 | ||
| - | found USB ID 04b3:3022 | ||
| - | found USB ID 0424:ec00 | ||
| - | found USB ID 0424:9514 | ||
| - | found USB ID 1d6b:0002 | ||
| - | No devices in target mode or class found | ||
| - | Look for default devices ... | ||
| - | found USB ID 2001:a401 | ||
| - | | ||
| - | | ||
| - | found USB ID 0a5c:bd1e | ||
| - | found USB ID 0483:2016 | ||
| - | found USB ID 04b3:3021 | ||
| - | found USB ID 04b3:3022 | ||
| - | found USB ID 0424:ec00 | ||
| - | found USB ID 0424:9514 | ||
| - | found USB ID 1d6b:0002 | ||
| - | Found devices in default mode (1) | ||
| - | Access device 008 on bus 001 | ||
| - | Current configuration number is 1 | ||
| - | Use interface number 0 | ||
| - | Use endpoints 0x01 (out) and 0x81 (in) | ||
| - | |||
| - | USB description data (for identification) | ||
| - | ------------------------- | ||
| - | Manufacturer: | ||
| - | | ||
| - | Serial No.: 0123456789ABCDEF | ||
| - | ------------------------- | ||
| - | Sending standard EJECT sequence | ||
| - | Looking for active driver ... | ||
| - | No active driver found. Detached before or never attached | ||
| - | Set up interface 0 | ||
| - | Use endpoint 0x01 for message sending ... | ||
| - | Trying to send message 1 to endpoint 0x01 ... | ||
| - | OK, message successfully sent | ||
| - | Read the response to message 1 (CSW) ... | ||
| - | | ||
| - | Trying to send message 2 to endpoint 0x01 ... | ||
| - | OK, message successfully sent | ||
| - | Read the response to message 2 (CSW) ... | ||
| - | | ||
| - | Reset response endpoint 0x81 | ||
| - | Reset message endpoint 0x01 | ||
| - | -> Run lsusb to note any changes. Bye! | ||
| - | </ | ||
| - | |||
| - | Suite | ||
| - | <code bash> | ||
| - | $ lsusb | ||
| - | Bus 001 Device 012: ID 2001:a401 D-Link Corp. | ||
| - | Bus 001 Device 005: ID 0a5c:bd1e Broadcom Corp. | ||
| - | Bus 001 Device 011: ID 0483:2016 STMicroelectronics Fingerprint Reader | ||
| - | Bus 001 Device 010: ID 04b3:3021 IBM Corp. | ||
| - | Bus 001 Device 009: ID 04b3:3022 IBM Corp. | ||
| - | Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/ | ||
| - | Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. | ||
| - | Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | ||
| - | |||
| - | pi@raspberrypi(rw): | ||
| - | Take all parameters from the command line | ||
| - | |||
| - | |||
| - | * usb_modeswitch: | ||
| - | * Version 2.2.0 (C) Josua Dietze 2014 | ||
| - | * Based on libusb1/ | ||
| - | |||
| - | ! PLEASE REPORT NEW CONFIGURATIONS ! | ||
| - | |||
| - | DefaultVendor= | ||
| - | DefaultProduct= 0xa401 | ||
| - | MessageContent=" | ||
| - | MessageContent2=" | ||
| - | MessageContent3=" | ||
| - | NeedResponse=1 | ||
| - | |||
| - | Look for default devices ... | ||
| - | found USB ID 2001:a401 | ||
| - | | ||
| - | | ||
| - | found USB ID 0a5c:bd1e | ||
| - | found USB ID 0483:2016 | ||
| - | found USB ID 04b3:3021 | ||
| - | found USB ID 04b3:3022 | ||
| - | found USB ID 0424:ec00 | ||
| - | found USB ID 0424:9514 | ||
| - | found USB ID 1d6b:0002 | ||
| - | Found devices in default mode (1) | ||
| - | Access device 012 on bus 001 | ||
| - | Current configuration number is 1 | ||
| - | Use interface number 0 | ||
| - | Use endpoints 0x01 (out) and 0x81 (in) | ||
| - | |||
| - | USB description data (for identification) | ||
| - | ------------------------- | ||
| - | Manufacturer: | ||
| - | | ||
| - | Serial No.: 0123456789ABCDEF | ||
| - | ------------------------- | ||
| - | Looking for active driver ... | ||
| - | No active driver found. Detached before or never attached | ||
| - | Set up interface 0 | ||
| - | Use endpoint 0x01 for message sending ... | ||
| - | Trying to send message 1 to endpoint 0x01 ... | ||
| - | OK, message successfully sent | ||
| - | Read the response to message 1 (CSW) ... | ||
| - | | ||
| - | Trying to send message 2 to endpoint 0x01 ... | ||
| - | OK, message successfully sent | ||
| - | Read the response to message 2 (CSW) ... | ||
| - | | ||
| - | Trying to send message 3 to endpoint 0x01 ... | ||
| - | OK, message successfully sent | ||
| - | Read the response to message 3 (CSW) ... | ||
| - | | ||
| - | Reset response endpoint 0x81 | ||
| - | Reset message endpoint 0x01 | ||
| - | -> Run lsusb to note any changes. Bye! | ||
| - | |||
| - | pi@raspberrypi(rw): | ||
| - | Bus 001 Device 013: ID 2001:7e19 D-Link Corp. | ||
| - | Bus 001 Device 005: ID 0a5c:bd1e Broadcom Corp. | ||
| - | Bus 001 Device 011: ID 0483:2016 STMicroelectronics Fingerprint Reader | ||
| - | Bus 001 Device 010: ID 04b3:3021 IBM Corp. | ||
| - | Bus 001 Device 009: ID 04b3:3022 IBM Corp. | ||
| - | Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/ | ||
| - | Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. | ||
| - | Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub | ||
| - | </ | ||
| - | |||
| - | <code bash> | ||
| - | pi@raspberrypi(rw): | ||
| - | [ 806.074853] usb 1-1.5: GSM modem (1-port) converter now attached to ttyUSB0 | ||
| - | [ 806.075897] usb 1-1.5: GSM modem (1-port) converter now attached to ttyUSB1 | ||
| - | [ 806.076943] usb 1-1.5: GSM modem (1-port) converter now attached to ttyUSB2 | ||
| - | [ 806.077874] usb 1-1.5: GSM modem (1-port) converter now attached to ttyUSB3 | ||
| - | </ | ||
| - | ===== Sources ===== | ||
configuration_d_une_cle_4g_lte.1472917978.txt.gz · Dernière modification : (modification externe)
