トップ   新規 一覧 単語検索 最終更新   ヘルプ   最終更新のRSS


AUのUSB LTEアダプタ
Linuxの場合、挿入時にCD-ROMデバイスとして認識されますが、ProductIDを変更することでネットワークアダプタとして使用できます。

http://www.kddi.com/business/data/hwd12/

$ cat /etc/usb_modeswitch.hwd12 
###################################################
# KDDI (Huawei) HWD12 USB STICK LTE
# http://www.kddi.com/business/data/hwd12/ 

DefaultVendor= 0x12d1
DefaultProduct=0x1f03 

TargetVendor=  0x12d1
TargetProduct= 0x14db

MessageContent="55534243123456780000000000000a11062000000000000100000000000000"
$ sudo usb_modeswitch -c /etc/usb_modeswitch.hwd12

Looking for target devices ...
 No devices in target mode or class found
Looking for default devices ...
   found matching product ID
   adding device
 Found device in default mode, class or configuration (1)
Accessing device 005 on bus 002 ...
Getting the current device configuration ...
 OK, got current device configuration (1)
Using interface number 0
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
 OK, driver found ("usb-storage")
 OK, driver "usb-storage" detached 

SCSI inquiry data (for identification)
-------------------------
  Vendor String: HUAWEI  
   Model String: Mass Storage    
Revision String: 2.31
-------------------------

USB description data (for identification)
-------------------------
Manufacturer: HUAWEI Technology
     Product: HUAWEI Mobile
  Serial No.: 0123456789ABCDEF
-------------------------
Setting up communication with interface 0
Using endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
 OK, message successfully sent
Resetting response endpoint 0x81
Resetting message endpoint 0x01
 Device is gone, skipping any further commands
-> Run lsusb to note any changes. Bye.