kernel:
-------------------------------------------------------------------------------------------------------------------------------------------------------
stardust:/# uname -ra
Linux stardust 2.6.30-2-686 #1 SMP Fri Dec 4 00:53:20 UTC 2009 i686 GNU/Linux
-------------------------------------------------------------------------------------------------------------------------------------------------------
Nainstalovany balik usb_modeswitch:
-------------------------------------------------------------------------------------------------------------------------------------------------------
stardust:/# usb_modeswitch -e
* usb_modeswitch: handle USB devices with multiple modes
* Version 1.0.5 (C) Josua Dietze 2009
* Based on libusb 0.1.12
-------------------------------------------------------------------------------------------------------------------------------------------------------
V konfigu
/etc/usb_modeswitch.conf
mam :-------------------------------------------------------------------------------------------------------------------------------------------------------
# * CheckSuccess -s <number>
#
# Check for successful switch after <number> seconds (to let device
# settle). First, an interface access test: most devices vanish after
# switching and can't be accessed anymore. Second, a recount of target
# devices: one more than at the first count -> device switched fine. A
# settling time of 2 - 3 seconds is usually enough; your setup may vary
#
# All other entries are just ignored !
;CheckSuccess=2
########################################################
# Huawei E1752
#
# Contributor:
DefaultVendor= 0x12d1
DefaultProduct= 0x1446
TargetVendor= 0x12d1
TargetProdct= 0x1001
MessageEndpoint= 0x01
MessageContent= "55534243000000000000000000000011060000000000000000000000000000"
-------------------------------------------------------------------------------------------------------------------------------------------------------Po prikaze
usb_modeswitch
sa prepne z rezimu "usbflash na modem" (ak to dobre chapem). Vypis:-------------------------------------------------------------------------------------------------------------------------------------------------------
stardust:/# usb_modeswitch
Looking for target devices ...
No devices in target mode or class found
Looking for default devices ...
Found default devices (1)
Accessing device 005 on bus 001 ...
Using endpoints 0x01 (out) and 0x81 (in)
Inquiring device details; driver will be detached ...
Looking for active driver ...
No driver found. Either detached before or never attached
Received inquiry data (detailed identification)
-------------------------
Vendor String: HUAWEI
Model String: Mass Storage
Revision String: 2.31
-------------------------
Device description data (identification)
-------------------------
Manufacturer: HUAWEI Technology
Product: HUAWEI Mobile
Serial No.: 1234567890ABCDEF
-------------------------
Setting up communication with interface 0 ...
Trying to send the message to endpoint 0x01 ...
OK, message successfully sent
-> Run lsusb to note any changes. Bye.
-------------------------------------------------------------------------------------------------------------------------------------------------------
Network manager nasledne ponukne nove Mobile broadband pripojenie. Ak ho vyberiem,
vyziada si pin pre zariadenie huawei. Po zadani pinu sa snazi pripojit.
Modem v tejto faze uz neblika, ale svieti na zeleno. Po par sekundach zacne svietit na modro,
ako keby bol pripojeny - sa snazi pripojit. To trva tiez niekolko sekund...
Potom uz iba network manager vypise, ze spojenie je prerusene-odpojene.
Neviem, kde je chyba. Ci to je ovladacom alebo nastavenim pre pripojenie (network managera).
Skusal som nastavit APN na: internet, skusal som nastavit autentifikaciu na: CHAP. Nic nepomohlo.
Btw, pod win to ide bez problemov.
Btw2, Diskusiu mobilny net od orange cez huawei E1752 som cital.
Vie mi niekto poradit?
Vopred Vdaka.
Mimochodom co ti ukazuje lsusb. malo by toto
Bus 002 Device 007: ID 12d1:1446 Huawei Technologies Co., Ltd.
ale mne v niektorych usb ukazovalo
Bus 002 Device 007: ID 12d1:14d1 Huawei Technologies Co., Ltd. tusim.
Takze som modem musel zasunut do ineho usb.
2. No, u nas mame asi aj 3G siet. Niekedy mi ju na mobile ukaze, podla toho kde sa v izbe pohybujem. Ako sa to potom riesi cez grps, edge ? wvdial ?
3.
lsusb
vypisuje toto:Bus 001 Device 002: ID 12d1:1446 Huawei Technologies Co., Ltd.
Ak zadam prikaz
usb_modeswitch
do konzoly, taklsusb
vypisuje toto:Bus 001 Device 003: ID 12d1:14d1 Huawei Technologies Co., Ltd.
Mam 3 usb v notebooku, skusal som to v kazdom. Stale sa opakoval ten vypis. Jedine co sa menilo bolo cislo pri Device.
Po nejakom piatom pripojeni, neviem v ktorom presne usb.
lsusb
vypisalo:...12d1:1446 Huawei...
.Bohuzial, to zatial nemozem odskusat. Lebo som pravdepodobne aktualizoval ati drivre, Vdaka comu mi nechce nabehnut X server.
Brrr, z kaluze do blata...
Ati ovladace odinstaluj v zachrannom rezime a nainstaluj ovladac radeon. S tum by si mal znovu spustit ubuntu a potom mozes znovu skusat fglrx.
Nedalo mi to, spravil som live usb ubuntu 9.10. Stiahol ,nainstaloval a nastavil som usb_modeswitch (najnovsiu verziu).
Siet sa rozbehla. Takze pod ubuntu 9.10 to ide bez problemov.
Ked spravim na tom debiane drivre a problem s X serverom. Skusim, tam nahodit novsiu verziu usb_modeswitch-u a network manager-a.
Ale netusim ci to pomoze...
Ak mate nejake napady, piste....;)