Свежие обсуждения
Компьютеры

Зависает USB модем Мегафон (линукс)

1 2 3

tur: точно возможно
А это вот я вчера пол ночи сидел, ничё толкового не нашёл.......
-------------
rmmod usbserial
modprobe usbserial
Такое надо попробовать.
------------
http://marc.info/?l=linux-usb&m=121459435621262&w=2
Такое тоже нашёл, надо скомпилировать как-то...

 

Что за запуск шатла ! мотрите в сторону HAL Я не в курсе какой у вас дистриб и ядро . Все в студию .

 

hal перзапускал, ноль эмоций.
Ubuntu 10.4
linux-image-generic_2.6.32.16.17

 

ls usb
при включенном модеме

 

Не ls usb, а одним словом lsusb.

 

Как зависнет гляну, а так там нормально всё, х...йвей и всё такое...

 

Завис снова. Судя по графику торрента в 14:30. Вот не снял лог при зависшем, В другой раз. Переподключил ([323513.192043] usb 5-2: USB disconnect, address 11) и вот что получается:

dmesg
[323513.032240] option: option_instat_callback: error -84
[323513.044237] option: option_instat_callback: error -84
[323513.056241] option: option_instat_callback: error -84
[323513.068239] option: option_instat_callback: error -84
[323513.080243] option: option_instat_callback: error -84
[323513.092249] option: option_instat_callback: error -84
[323513.104251] option: option_instat_callback: error -84
[323513.116254] option: option_instat_callback: error -84
[323513.128256] option: option_instat_callback: error -84
[323513.140256] option: option_instat_callback: error -84
[323513.152263] option: option_instat_callback: error -84
[323513.164263] option: option_instat_callback: error -84
[323513.176268] option: option_instat_callback: error -84
[323513.188271] option: option_instat_callback: error -84
[323513.192043] usb 5-2: USB disconnect, address 11
[323513.193267] option: option_instat_callback: error -108
[323513.193503] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[323513.193520] option 5-2:1.0: device disconnected
[323513.193663] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[323513.193687] option 5-2:1.1: device disconnected
[323513.193828] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[323513.193849] option 5-2:1.2: device disconnected
[323520.788021] usb 5-2: new full speed USB device using uhci_hcd and address 12
[323520.956975] usb 5-2: configuration #1 chosen from 1 choice
[323520.962982] option 5-2:1.0: GSM modem (1-port) converter detected
[323520.963095] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB0
[323520.963218] option 5-2:1.1: GSM modem (1-port) converter detected
[323520.963281] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB1
[323520.963387] option 5-2:1.2: GSM modem (1-port) converter detected
[323520.963450] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB2

root@ubuntu:/# lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 012: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 093a:2700 Pixart Imaging, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

root@ubuntu:/# usb-devices
T: Bus=05 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 12 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1001 Rev=00.00
S: Manufacturer=HUAWEI Technology
S: Product=HUAWEI Mobile
C: #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option

 

Снова завис. Вот логи.

dmesg
[323513.192043] usb 5-2: USB disconnect, address 11
[323513.193267] option: option_instat_callback: error -108
[323513.193503] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[323513.193520] option 5-2:1.0: device disconnected
[323513.193663] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[323513.193687] option 5-2:1.1: device disconnected
[323513.193828] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[323513.193849] option 5-2:1.2: device disconnected
[323520.788021] usb 5-2: new full speed USB device using uhci_hcd and address 12
[323520.956975] usb 5-2: configuration #1 chosen from 1 choice
[323520.962982] option 5-2:1.0: GSM modem (1-port) converter detected
[323520.963095] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB0
[323520.963218] option 5-2:1.1: GSM modem (1-port) converter detected
[323520.963281] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB1
[323520.963387] option 5-2:1.2: GSM modem (1-port) converter detected
[323520.963450] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB2
[323665.149531] eth0: link up, 100Mbps, full-duplex, lpa 0x45E1
[323665.150301] br0: port 1(eth0) entering learning state
[323680.148016] br0: port 1(eth0) entering forwarding state
[324625.381033] r8169: eth1: link up
[324625.382055] br0: port 2(eth1) entering learning state
[324640.380509] br0: port 2(eth1) entering forwarding state
[324677.566284] r8169: eth1: link down
[324677.575650] br0: port 2(eth1) entering disabled state
[324679.560919] r8169: eth1: link up
[324679.563746] br0: port 2(eth1) entering learning state
[324694.560521] br0: port 2(eth1) entering forwarding state
root@ubuntu:/#

root@ubuntu:/# lsusb
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 012: ID 12d1:1001 Huawei Technologies Co., Ltd. E620 USB Modem
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 005: ID 093a:2700 Pixart Imaging, Inc.
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@ubuntu:/#

root@ubuntu:/# usb-devices
T: Bus=05 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 12 Spd=12 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1
P: Vendor=12d1 ProdID=1001 Rev=00.00
S: Manufacturer=HUAWEI Technology
S: Product=HUAWEI Mobile
C: #Ifs= 3 Cfg#= 1 Atr=e0 MxPwr=500mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 1 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option
I: If#= 2 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=ff Prot=ff Driver=option

root@ubuntu:/# ifconfig
br0 Link encap:Ethernet HWaddr 00:1a:92:06:9d:c0
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::21a:92ff:fe06:9dc0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:55295037 errors:0 dropped:0 overruns:0 frame:0
TX packets:103125213 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:2774681053 (2.7 GB) TX bytes:1451900854 (1.4 GB)

eth0 Link encap:Ethernet HWaddr 00:50:af:20:15:36
inet6 addr: fe80::250:afff:fe20:1536/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1181792 errors:0 dropped:0 overruns:0 frame:0
TX packets:2042925 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:93266901 (93.2 MB) TX bytes:2890836833 (2.8 GB)
Interrupt:22 Base address:0xb800

eth1 Link encap:Ethernet HWaddr 00:1a:92:06:9d:c0
inet6 addr: fe80::21a:92ff:fe06:9dc0/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:57096194 errors:0 dropped:0 overruns:0 frame:0
TX packets:104062672 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2315778360 (2.3 GB) TX bytes:1419756855 (1.4 GB)
Interrupt:28 Base address:0xe000

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:10584015 errors:0 dropped:0 overruns:0 frame:0
TX packets:10584015 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1808237269 (1.8 GB) TX bytes:1808237269 (1.8 GB)

ppp0 Link encap:Point-to-Point Protocol
inet addr:10.110.159.141 P-t-P:10.64.64.64 Mask:255.255.255.255
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:6596 errors:0 dropped:0 overruns:0 frame:0
TX packets:7715 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:3
RX bytes:4560730 (4.5 MB) TX bytes:1088865 (1.0 MB)

root@ubuntu:/#

/var/log/messages

Mar 30 19:57:43 ubuntu kernel: [325931.440421] usb 5-2: USB disconnect, address 12
Mar 30 19:57:43 ubuntu pppd[15454]: Modem hangup
Mar 30 19:57:43 ubuntu pppd[15454]: Connect time 39.8 minutes.
Mar 30 19:57:43 ubuntu kernel: [325931.441646] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
Mar 30 19:57:43 ubuntu pppd[15454]: Sent 1098365 bytes, received 4560388 bytes.
Mar 30 19:57:43 ubuntu kernel: [325931.441663] option 5-2:1.0: device disconnected
Mar 30 19:57:43 ubuntu kernel: [325931.441800] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
Mar 30 19:57:43 ubuntu kernel: [325931.441823] option 5-2:1.1: device disconnected
Mar 30 19:57:43 ubuntu kernel: [325931.441953] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
Mar 30 19:57:43 ubuntu kernel: [325931.441974] option 5-2:1.2: device disconnected
Mar 30 19:57:43 ubuntu pppd[15454]: Connection terminated.
Mar 30 19:57:43 ubuntu pppd[15454]: Exit.
Mar 30 19:57:51 ubuntu kernel: [325939.632637] usb 5-2: new full speed USB device using uhci_hcd and address 13
Mar 30 19:57:51 ubuntu kernel: [325939.805318] usb 5-2: configuration #1 chosen from 1 choice
Mar 30 19:57:51 ubuntu kernel: [325939.815622] option 5-2:1.0: GSM modem (1-port) converter detected
Mar 30 19:57:51 ubuntu kernel: [325939.815743] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB0
Mar 30 19:57:51 ubuntu kernel: [325939.815880] option 5-2:1.1: GSM modem (1-port) converter detected
Mar 30 19:57:51 ubuntu kernel: [325939.815944] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB1
Mar 30 19:57:51 ubuntu kernel: [325939.816171] option 5-2:1.2: GSM modem (1-port) converter detected
Mar 30 19:57:51 ubuntu kernel: [325939.816240] usb 5-2: GSM modem (1-port) converter now attached to ttyUSB2
Mar 30 19:57:56 ubuntu pppd[16967]: Plugin /usr/lib/pppd/2.4.4/nm-pppd-plugin.so loaded.
Mar 30 19:57:56 ubuntu pppd[16967]: pppd 2.4.5 started by root, uid 0
Mar 30 19:57:56 ubuntu pppd[16967]: Using interface ppp0
Mar 30 19:57:56 ubuntu pppd[16967]: Connect: ppp0 <--> /dev/ttyUSB0
Mar 30 19:57:56 ubuntu pppd[16967]: CHAP authentication succeeded
Mar 30 19:57:56 ubuntu pppd[16967]: CHAP authentication succeeded
Mar 30 19:58:06 ubuntu pppd[16967]: Could not determine remote IP address: defaulting to 10.64.64.64
Mar 30 19:58:06 ubuntu pppd[16967]: local IP address 10.110.145.81
Mar 30 19:58:06 ubuntu pppd[16967]: remote IP address 10.64.64.64
Mar 30 19:58:06 ubuntu pppd[16967]: primary DNS address 10.78.72.28
Mar 30 19:58:06 ubuntu pppd[16967]: secondary DNS address 10.78.72.20
Mar 30 19:59:52 ubuntu zmdc[29661]: INF [Starting pending process, zmc -m 5]
Mar 30 19:59:52 ubuntu zmdc[29661]: INF ['zmc -m 5' starting at 10/03/30 19:59:52, pid = 17041]
Mar 30 19:59:52 ubuntu zmdc[17041]: INF ['zmc -m 5' started at 10/03/30 19:59:52]
Mar 30 19:59:52 ubuntu zmc_m5[17041]: INF [Debug Level = 0, Debug Log = <none>]

 

У тебя в логах видно что модем просто терятся на порту ЮСБ. Может питания нехватает ??? Мать какая ??? Или может ноутбук ?

 

Мне не видно. Где конкретно?
USB disconnect - это я его выдёргиваю.