Zdravim..
Balicky usb_modeswitch mam...
# rpm -qa | grep 'usb_mode'
usb_modeswitch-1.2.1-1.mga2
usb_modeswitch-data-20111023-1.mga2
Po zasunuti modemu dmesg vyhodi tohle....
# dmesg
[ 3104.658658] usb 1-1.3: new high-speed USB device number 3 using ehci_hcd
[ 3104.746160] usb 1-1.3: New USB device found, idVendor=12d1, idProduct=1446
[ 3104.746165] usb 1-1.3: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[ 3104.746168] usb 1-1.3: Product: HUAWEI Mobile
[ 3104.746170] usb 1-1.3: Manufacturer: HUAWEI Technology
[ 3104.918097] usbcore: registered new interface driver uas
[ 3104.928389] Initializing USB Mass Storage driver...
[ 3104.928505] scsi6 : usb-storage 1-1.3:1.0
[ 3104.928621] scsi7 : usb-storage 1-1.3:1.1
[ 3104.928675] usbcore: registered new interface driver usb-storage
[ 3104.928677] USB Mass Storage support registered.
[ 3105.697348] usb 1-1.3: USB disconnect, device number 3
[ 3109.574223] usb 1-1.3: new high-speed USB device number 4 using ehci_hcd
[ 3109.661494] usb 1-1.3: New USB device found, idVendor=12d1, idProduct=1436
[ 3109.661498] usb 1-1.3: New USB device strings: Mfr=4, Product=3, SerialNumber=0
[ 3109.661501] usb 1-1.3: Product: HUAWEI Mobile
[ 3109.661503] usb 1-1.3: Manufacturer: HUAWEI Technology
[ 3109.664419] option 1-1.3:1.0: GSM modem (1-port) converter detected
[ 3109.664529] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB0
[ 3109.664814] option 1-1.3:1.3: GSM modem (1-port) converter detected
[ 3109.664872] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB1
[ 3109.664950] option 1-1.3:1.4: GSM modem (1-port) converter detected
[ 3109.665046] usb 1-1.3: GSM modem (1-port) converter now attached to ttyUSB2
[ 3109.665484] scsi10 : usb-storage 1-1.3:1.5
[ 3109.666009] scsi11 : usb-storage 1-1.3:1.6
[ 3109.830215] cdc_ether 1-1.3:1.1: wwan0: register 'cdc_ether' at usb-0000:00:1a.0-1.3, Mobile Broadband Network Device, 02:50:f3:00:00:00
[ 3109.830236] usbcore: registered new interface driver cdc_ether
[ 3110.667528] scsi 10:0:0:0: CD-ROM HUAWEI Mass Storage 2.31 PQ: 0 ANSI: 2
[ 3110.668397] scsi 11:0:0:0: Direct-Access HUAWEI SD Storage 2.31 PQ: 0 ANSI: 2
[ 3110.670623] sr1: scsi-1 drive
[ 3110.670851] sr 10:0:0:0: Attached scsi CD-ROM sr1
[ 3110.671606] sd 11:0:0:0: [sdb] Attached SCSI removable disk
[ 3111.083642] NET: Registered protocol family 17
[ 3120.049492] wwan0: no IPv6 routers present
[ 3125.039517] sd 11:0:0:0: [sdb] 3842048 512-byte logical blocks: (1.96 GB/1.83 GiB)
[ 3125.040870] sd 11:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 3125.046512] sdb: sdb1
# lsusb....
Bus 001 Device 004: ID 12d1:1436 Huawei Technologies Co., Ltd.
Z pocatku modem blika zelene, po chvili prejde na modrou... To chapu tak ze se chyti site a prepne na 3G... Stejne se to deje i ve W7... Rozumim tomu ale dobre ze mam ted tri modemy ttyUSB0 az ttyUSB2
Predpokladam ze ne protoze podle idProduct=1436 to porad neni modem...
Nerozumim ale tehle pasazi...
----------------------------------------------------------------------------------Pak může být třeba upravit konfiguraci usbmodeswitch – v Debianu už je vše hotové, výše uvedené příkazy nainstalují i soubor /etc/usb-modeswitch.d/12d1:1446 s následujícím kouzelným číslem:
DefaultVendor=0x12d1
DefaultProduct=0x1446
TargetVendor=0x12d1
TargetProductList="1001,1406,140b,140c,1412,141b,14ac"
CheckSuccess=20
MessageContent="55534243123456780000000000000011062000000100000000000000000000"
Nyní by se modem měl po připojení přepnout do režimu modem (kontrola: ve výpisu dmesg se objeví idProduct=1001 místo idProduct=1436).
----------------------------------------------------------------------------------
Nevim jak spravne zadat parametry pro usb_modeswitch ... Jasne je pouze idVendor=12d1, idProduct=1436 .... Vic nechapu...
PeTTr