/dev/ttyUSB0
lord_Niedzwiedz
sir_Misiek w o2.pl
Wto, 30 Wrz 2014, 09:12:51 CEST
>> Bladego pojęcia nie mam jak wywołać ręcznie modeswitcha.
> alias Huawei='usb_modeswitch -v 12d1 -p 14fe -c
> /usr/share/usb_modeswitch/12d1:14fe'
>
>
> Modem E3131s-2 jak masz inny to pewnie będziesz musiał poprawić.
>
> Grzesiek
> _______________________________________________
> pld-users-pl mailing list
> pld-users-pl w lists.pld-linux.org
> http://lists.pld-linux.org/mailman/listinfo/pld-users-pl
>
Bojów ciąg dalszy.
[ 1080.018677] usb 2-1: USB disconnect, device number 4
[ 1096.516620] usb 2-1: new high-speed USB device number 5 using ehci-pci
[ 1096.640766] usb 2-1: New USB device found, idVendor=12d1, idProduct=14fe
[ 1096.640773] usb 2-1: New USB device strings: Mfr=2, Product=1,
SerialNumber=0
[ 1096.640776] usb 2-1: Product: HUAWEI Mobile
[ 1096.640780] usb 2-1: Manufacturer: HUAWEI
[ 1096.642364] usb-storage 2-1:1.0: USB Mass Storage device detected
[ 1096.649911] scsi10 : usb-storage 2-1:1.0
[ 1096.650100] usb-storage 2-1:1.1: USB Mass Storage device detected
[ 1096.652289] scsi11 : usb-storage 2-1:1.1
[ 1097.654097] scsi 10:0:0:0: CD-ROM HUAWEI Mass
Storage 2.31 PQ: 0 ANSI: 2
[ 1097.655253] scsi 11:0:0:0: Direct-Access HUAWEI SD
Storage 2.31 PQ: 0 ANSI: 2
[ 1097.655617] sd 11:0:0:0: Attached scsi generic sg2 type 0
[ 1097.658329] sr1: scsi-1 drive
[ 1097.659079] sr 10:0:0:0: Attached scsi CD-ROM sr1
[ 1097.659959] sr 10:0:0:0: Attached scsi generic sg3 type 5
[ 1097.660625] sd 11:0:0:0: [sdb] Attached SCSI removable disk
[root w Misiek ~]# alias Huawei='usb_modeswitch -v 12d1 -p 14fe -c
/usr/share/usb_modeswitch/12d1:14fe'
[root w Misiek ~]# ls /dev/ttyU*
zsh: no matches found: /dev/ttyU*
Dalej:
[root w Misiek ~]# usb_modeswitch -v 12d1 -p 14fe -c
/usr/share/usb_modeswitch/12d1:14fe
Look for target devices ...
No devices in target mode or class found
Look for default devices ...
product ID matched
Found devices in default mode (1)
Access device 006 on bus 002
Current configuration number is 1
Use interface number 0
Use endpoints 0x01 (out) and 0x81 (in)
USB description data (for identification)
-------------------------
Manufacturer: HUAWEI
Product: HUAWEI Mobile
Serial No.: not provided
-------------------------
Using standard Huawei switching message
Looking for active driver ...
OK, driver detached
Set up interface 0
Use endpoint 0x01 for message sending ...
Trying to send message 1 to endpoint 0x01 ...
OK, message successfully sent
Reset response endpoint 0x81
Could not reset endpoint (probably harmless): -99
Reset message endpoint 0x01
Could not reset endpoint (probably harmless): -4
Device is gone, skip any further commands
-> Run lsusb to note any changes. Bye!
[root w Misiek ~]# ls /dev/ttyU*
/dev/ttyUSB0 /dev/ttyUSB1 /dev/ttyUSB2
I dotąd jest wszystko pięknie.
Niestety wvdial w dystrybucji jest skopany (na laptopie używam starego).
[root w Misiek ~]# wvdial
--> Ignoring malformed input line: ";Init3 moze byc "internet""
--> WvDial: Internet dialer version 1.61
--> Initializing modem.
--> Sending: ATH
ATH
OK
--> Sending: ATE1
ATE1
OK
--> Sending: AT+CGDCONT=1,"IP","darmowy"
AT+CGDCONT=1,"IP","darmowy"
OK
--> Modem initialized.
wvdial: utils/wvtask.cc:409: static void WvTaskMan::_stackmaster():
Assertion `magic_number == -0x123678' failed.
zsh: abort wvdial
Więcej informacji o liście pld-users-pl