Форум русскоязычного сообщества Ubuntu


Хотите сделать посильный вклад в развитие Ubuntu и русскоязычного сообщества?
Помогите нам с документацией!

Автор Тема: Ubuntu 12.04 не видит Nokia 5230 как USB-модем  (Прочитано 4254 раз)

0 Пользователей и 1 Гость просматривают эту тему.

Оффлайн Made in USSR

  • Автор темы
  • Новичок
  • *
  • Сообщений: 15
    • Просмотр профиля
При настройке GPRS-соединения невозможно выбрать устройство (см.фото)


* * * * * SYSTEM INFORMATION * * * * *

1) Nokia 5230 + Lenovo G550

2) Ubuntu 12.04 x64

3) user@user-PC:~$ uname -a
Linux user-PC 3.2.0-26-generic #41-Ubuntu SMP Thu Jun 14 17:49:24 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
4) user@user-PC:~$ lsusb
(Нажмите, чтобы показать/скрыть)

4-1) user@user-PC:~$ lsusb -v -s 2:3
(Нажмите, чтобы показать/скрыть)

5) user@user-PC:~$ lspci
(Нажмите, чтобы показать/скрыть)

6) user@user-PC:~$ dmesg | tail
(Нажмите, чтобы показать/скрыть)

6-1) user@user-PC:~$ dmesg | tail -30
(Нажмите, чтобы показать/скрыть)

7) user@user-PC:~$ sudo wvdialconf
(Нажмите, чтобы показать/скрыть)
« Последнее редактирование: 29 Июня 2012, 23:31:02 от Made in USSR »

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Wars ~.o

Оффлайн Made in USSR

  • Автор темы
  • Новичок
  • *
  • Сообщений: 15
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #2 : 29 Июня 2012, 02:34:49 »
Все равно не видит :-\
user@user-PC:~$ sudo modprobe usbserial vendor=0x0421 product=0x02e3
user@user-PC:~$ sudo wvdialconf
(Нажмите, чтобы показать/скрыть)

Кстати, по ifconfig телефон видно как usbpn0, Link encap:UNSPEC, MTU:65541 - что бы это значило
user@user-PC:~$ ifconfig -a
(Нажмите, чтобы показать/скрыть)

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #3 : 29 Июня 2012, 03:25:04 »
sudo lshw -C network
lsmod
?
« Последнее редактирование: 29 Июня 2012, 03:29:07 от victor00000 »
Wars ~.o

Оффлайн Made in USSR

  • Автор темы
  • Новичок
  • *
  • Сообщений: 15
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #4 : 29 Июня 2012, 03:32:31 »
user@user-PC:~$ sudo lshw -C network
  *-network               
       описание: Беспроводной интерфейс
       продукт: BCM4312 802.11b/g LP-PHY
       производитель: Broadcom Corporation
       физический ID: 0
       bus info: pci@0000:04:00.0
       логическое имя: eth1
       версия: 01
       серийный №: **:**:**:**:**:**
       разрядность: 64 bits
       частота: 33MHz
       возможности: pm msi pciexpress bus_master cap_list ethernet physical wireless
       кофигурация: broadcast=yes driver=wl0 driverversion=5.100.82.38 latency=0 multicast=yes wireless=IEEE 802.11bg
       ресурсы: IRQ:18 память:f4500000-f4503fff
  *-network
       описание: Ethernet interface
       продукт: RTL8101E/RTL8102E PCI Express Fast Ethernet controller
       производитель: Realtek Semiconductor Co., Ltd.
       физический ID: 0
       bus info: pci@0000:07:00.0
       логическое имя: eth0
       версия: 02
       серийный №: **:**:**:**:**:**
       размер: 100Mbit/s
       capacity: 100Mbit/s
       разрядность: 64 bits
       частота: 33MHz
       возможности: pm msi pciexpress msix vpd bus_master cap_list rom ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       кофигурация: autonegotiation=on broadcast=yes driver=r8169 driverversion=2.3LK-NAPI duplex=full firmware=N/A ip=***.***.***.*** latency=0 link=yes multicast=yes port=MII speed=100Mbit/s
       ресурсы: IRQ:47 ioport:3000(size=256) память:f4910000-f4910fff память:f4900000-f490ffff память:f4920000-f493ffff

user@user-PC:~$ lsmod
Module                  Size  Used by
usbserial              47077  0
rndis_wlan             37554  0
cfg80211              205544  1 rndis_wlan
rndis_host             13848  1 rndis_wlan
cdc_ether              13536  1 rndis_host
cdc_phonet             13042  0
phonet                 30565  1 cdc_phonet
cdc_acm                26858  0
usbnet                 26212  3 rndis_wlan,rndis_host,cdc_ether
joydev                 17693  0
pci_stub               12622  1
vboxpci                23200  0
vboxnetadp             13382  0
vboxnetflt             23441  0
vboxdrv               287082  3 vboxpci,vboxnetadp,vboxnetflt
parport_pc             32866  0
rfcomm                 47604  0
bnep                   18281  2
ppdev                  17113  0
binfmt_misc            17540  1
bluetooth             180104  10 rfcomm,bnep
dm_crypt               23125  1
snd_hda_codec_conexant    62311  1
snd_hda_intel          33773  2
snd_hda_codec         127706  2 snd_hda_codec_conexant,snd_hda_intel
snd_hwdep              13668  1 snd_hda_codec
snd_pcm                97188  2 snd_hda_intel,snd_hda_codec
snd_seq_midi           13324  0
uvcvideo               72627  0
snd_rawmidi            30748  1 snd_seq_midi
videodev               98259  1 uvcvideo
snd_seq_midi_event     14899  1 snd_seq_midi
v4l2_compat_ioctl32    17128  1 videodev
snd_seq                61896  2 snd_seq_midi,snd_seq_midi_event
lib80211_crypt_tkip    17390  0
snd_timer              29990  2 snd_pcm,snd_seq
snd_seq_device         14540  3 snd_seq_midi,snd_rawmidi,snd_seq
psmouse                87692  0
ideapad_laptop         18234  0
serio_raw              13211  0
sparse_keymap          13890  1 ideapad_laptop
snd                    78855  13 snd_hda_codec_conexant,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
wl                   2568210  0
lib80211               14381  2 lib80211_crypt_tkip,wl
soundcore              15091  1 snd
mac_hid                13253  0
snd_page_alloc         18529  2 snd_hda_intel,snd_pcm
lp                     17799  0
parport                46562  3 parport_pc,ppdev,lp
r8169                  62099  0
i915                  468737  3
drm_kms_helper         46978  1 i915
drm                   242038  4 i915,drm_kms_helper
i2c_algo_bit           13423  1 i915
video                  19596  1 i915
« Последнее редактирование: 29 Июня 2012, 03:34:57 от Made in USSR »

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #5 : 29 Июня 2012, 03:50:20 »
sudo rmmod phonet
sudo rmmod usbnet
sudo rmmod usbserial
sudo modprobe usbserial vendor=0x0421 product=0x02e3
sudo wvdialconf
?
Wars ~.o

Оффлайн Made in USSR

  • Автор темы
  • Новичок
  • *
  • Сообщений: 15
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #6 : 29 Июня 2012, 04:10:09 »
user@user-PC:~$ sudo rmmod phonet
ERROR: Module phonet is in use by cdc_phonet
user@user-PC:~$ sudo rmmod usbnet
ERROR: Module usbnet is in use by rndis_wlan,rndis_host,cdc_ether
user@user-PC:~$ sudo rmmod usbserial
user@user-PC:~$ sudo modprobe usbserial vendor=0x0421 product=0x02e3
user@user-PC:~$ sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3   S4   S5   S6   S7   
Modem Port Scan<*1>: S8   S9   S10  S11  S12  S13  S14  S15 
Modem Port Scan<*1>: S16  S17  S18  S19  S20  S21  S22  S23 
Modem Port Scan<*1>: S24  S25  S26  S27  S28  S29  S30  S31 
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyACM0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyACM0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyACM1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyACM1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyACM1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://alumnit.ca/wiki/?WvDial

user@user-PC:~$ sudo rmmod cdc_phonet
user@user-PC:~$ sudo rmmod phonet
user@user-PC:~$ sudo rmmod rndis_wlan
user@user-PC:~$ sudo rmmod rndis_host
user@user-PC:~$ sudo rmmod rndis_ether
ERROR: Module rndis_ether does not exist in /proc/modules
user@user-PC:~$ sudo rmmod usbnet
ERROR: Module usbnet is in use by cdc_ether
user@user-PC:~$ sudo rmmod usbserial
user@user-PC:~$ sudo modprobe usbserial vendor=0x0421 product=0x02e3
user@user-PC:~$ sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3   S4   S5   S6   S7   
Modem Port Scan<*1>: S8   S9   S10  S11  S12  S13  S14  S15 
Modem Port Scan<*1>: S16  S17  S18  S19  S20  S21  S22  S23 
Modem Port Scan<*1>: S24  S25  S26  S27  S28  S29  S30  S31 
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyACM0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyACM0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyACM1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyACM1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyACM1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://alumnit.ca/wiki/?WvDial

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #7 : 29 Июня 2012, 04:24:59 »
Цитировать
ttyACM1<*1>: ATQ0 V1 E1 -- and failed too at [color=red]115200[/color], giving up.
до 115200, не читать 460800 не знает. Попробуешь настройка
sudo gedit /etc/wvdial.confвстав
[Dialer Defaults]
    Modem = /dev/ttyACM0
    BAUD = 460800
    Init1 = ATZ
    Init2 = ATQ0 V1 E1 S0=0 &C1 &D2 +FCLASS=0
    Init3 = AT+CGDCONT=, ,"gint.b-online.gr"
    Phone = *99***1#
    Username = web
    Password = web
    New PPPD = yes
    Stupid Mode = 1
сохранить
==================
sudo wvdial?
Wars ~.o

Оффлайн Made in USSR

  • Автор темы
  • Новичок
  • *
  • Сообщений: 15
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #8 : 29 Июня 2012, 04:46:07 »
user@user-PC:~$ sudo gedit /etc/wvdial.conf
user@user-PC:~$ sudo wvdial
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: ATZ
--> Sending: ATQ0
--> Re-Sending: ATZ
--> Modem not responding.

тоже самое и при изменении ttyACM0 на ttyACM1(ttyUSB0) в файле /etc/wvdial.conf

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #9 : 29 Июня 2012, 04:51:08 »
я думал, наверно кабеля юсб другое.

Пользователь решил продолжить мысль 29 Июня 2012, 05:18:26:
ls /dev/tty{A*,U*}
sudo rmmod  cdc_acm
sudo rmmod usbserial
sudo modprobe usbserial vendor=0x0421 product=0x02e3
ls /dev/tty{A*,U*}
?
« Последнее редактирование: 29 Июня 2012, 05:19:26 от victor00000 »
Wars ~.o

Оффлайн Made in USSR

  • Автор темы
  • Новичок
  • *
  • Сообщений: 15
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #10 : 29 Июня 2012, 15:48:53 »
user@user-PC:~$ ls /dev/tty{A*,U*}
/dev/ttyACM0  /dev/ttyACM1 /dev/ttyUSB0
user@user-PC:~$ sudo rmmod cdc_acm
user@user-PC:~$ sudo rmmod usbserial
user@user-PC:~$ sudo modprobe usbserial vendor=0x0421 product=0x02e3
user@user-PC:~$ ls /dev/tty{A*,U*}
ls: невозможно получить доступ к /dev/ttyA*: Нет такого файла или каталога
/dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2

***

user@user-PC:~$ sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3   S4   S5   S6   S7   
Modem Port Scan<*1>: S8   S9   S10  S11  S12  S13  S14  S15 
Modem Port Scan<*1>: S16  S17  S18  S19  S20  S21  S22  S23 
Modem Port Scan<*1>: S24  S25  S26  S27  S28  S29  S30  S31 
WvModem<*1>: Cannot get information for serial port.
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 9600 baud
ttyUSB2<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://alumnit.ca/wiki/?WvDial

***

user@user-PC:~$ sudo gedit /etc/wvdial.conf
(Нажмите, чтобы показать/скрыть)

***

user@user-PC:~$ sudo wvdial U0
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","internet"
--> Sending: ATQ0
--> Re-Sending: AT+CGDCONT=1,"IP","internet"
--> Modem not responding.
user@user-PC:~$ sudo wvdial U1
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","internet"
--> Sending: ATQ0
--> Re-Sending: AT+CGDCONT=1,"IP","internet"
--> Modem not responding.
user@user-PC:~$ sudo wvdial U2
--> WvDial: Internet dialer version 1.61
--> Cannot get information for serial port.
--> Initializing modem.
--> Sending: AT+CGDCONT=1,"IP","internet"
--> Sending: ATQ0
--> Re-Sending: AT+CGDCONT=1,"IP","internet"
--> Modem not responding.
« Последнее редактирование: 29 Июня 2012, 15:50:27 от Made in USSR »

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #11 : 29 Июня 2012, 16:46:53 »
sudo lsof | grep tty?
Wars ~.o

Оффлайн Made in USSR

  • Автор темы
  • Новичок
  • *
  • Сообщений: 15
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #12 : 29 Июня 2012, 17:28:08 »
user@user-PC:~$ sudo lsof | grep tty
lsof: WARNING: can't stat() fuse.gvfs-fuse-daemon file system /home/user/.gvfs
      Output information may be incomplete.
modem-man  913       root   25u      CHR              188,0      0t0      30491 /dev/ttyUSB0
modem-man  913       root   26u      CHR              188,1      0t0      25974 /dev/ttyUSB1
modem-man  913       root   27u      CHR              188,2      0t0      25976 /dev/ttyUSB2
getty     1023       root  cwd       DIR                8,1     4096          2 /
getty     1023       root  rtd       DIR                8,1     4096          2 /
getty     1023       root  txt       REG                8,1    32048     392681 /sbin/getty
getty     1023       root  mem       REG                8,1 93085296       8057 /usr/lib/locale/locale-archive
getty     1023       root  mem       REG                8,1    52120     920059 /lib/x86_64-linux-gnu/libnss_files-2.15.so
getty     1023       root  mem       REG                8,1    47680     920063 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
getty     1023       root  mem       REG                8,1    97248     920053 /lib/x86_64-linux-gnu/libnsl-2.15.so
getty     1023       root  mem       REG                8,1    35680     920055 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
getty     1023       root  mem       REG                8,1  1802936     920008 /lib/x86_64-linux-gnu/libc-2.15.so
getty     1023       root  mem       REG                8,1   149280     919988 /lib/x86_64-linux-gnu/ld-2.15.so
getty     1023       root  mem       REG                8,1   151984     135282 /usr/lib/locale/C.UTF-8/LC_CTYPE
getty     1023       root  mem       REG                8,1    26258     265635 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
getty     1023       root    0u      CHR                4,4      0t0       5806 /dev/tty4
getty     1023       root    1u      CHR                4,4      0t0       5806 /dev/tty4
getty     1023       root    2u      CHR                4,4      0t0       5806 /dev/tty4
getty     1027       root  cwd       DIR                8,1     4096          2 /
getty     1027       root  rtd       DIR                8,1     4096          2 /
getty     1027       root  txt       REG                8,1    32048     392681 /sbin/getty
getty     1027       root  mem       REG                8,1 93085296       8057 /usr/lib/locale/locale-archive
getty     1027       root  mem       REG                8,1    52120     920059 /lib/x86_64-linux-gnu/libnss_files-2.15.so
getty     1027       root  mem       REG                8,1    47680     920063 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
getty     1027       root  mem       REG                8,1    97248     920053 /lib/x86_64-linux-gnu/libnsl-2.15.so
getty     1027       root  mem       REG                8,1    35680     920055 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
getty     1027       root  mem       REG                8,1  1802936     920008 /lib/x86_64-linux-gnu/libc-2.15.so
getty     1027       root  mem       REG                8,1   149280     919988 /lib/x86_64-linux-gnu/ld-2.15.so
getty     1027       root  mem       REG                8,1   151984     135282 /usr/lib/locale/C.UTF-8/LC_CTYPE
getty     1027       root  mem       REG                8,1    26258     265635 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
getty     1027       root    0u      CHR                4,5      0t0       5807 /dev/tty5
getty     1027       root    1u      CHR                4,5      0t0       5807 /dev/tty5
getty     1027       root    2u      CHR                4,5      0t0       5807 /dev/tty5
getty     1033       root  cwd       DIR                8,1     4096          2 /
getty     1033       root  rtd       DIR                8,1     4096          2 /
getty     1033       root  txt       REG                8,1    32048     392681 /sbin/getty
getty     1033       root  mem       REG                8,1 93085296       8057 /usr/lib/locale/locale-archive
getty     1033       root  mem       REG                8,1    52120     920059 /lib/x86_64-linux-gnu/libnss_files-2.15.so
getty     1033       root  mem       REG                8,1    47680     920063 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
getty     1033       root  mem       REG                8,1    97248     920053 /lib/x86_64-linux-gnu/libnsl-2.15.so
getty     1033       root  mem       REG                8,1    35680     920055 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
getty     1033       root  mem       REG                8,1  1802936     920008 /lib/x86_64-linux-gnu/libc-2.15.so
getty     1033       root  mem       REG                8,1   149280     919988 /lib/x86_64-linux-gnu/ld-2.15.so
getty     1033       root  mem       REG                8,1   151984     135282 /usr/lib/locale/C.UTF-8/LC_CTYPE
getty     1033       root  mem       REG                8,1    26258     265635 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
getty     1033       root    0u      CHR                4,2      0t0       5804 /dev/tty2
getty     1033       root    1u      CHR                4,2      0t0       5804 /dev/tty2
getty     1033       root    2u      CHR                4,2      0t0       5804 /dev/tty2
getty     1034       root  cwd       DIR                8,1     4096          2 /
getty     1034       root  rtd       DIR                8,1     4096          2 /
getty     1034       root  txt       REG                8,1    32048     392681 /sbin/getty
getty     1034       root  mem       REG                8,1 93085296       8057 /usr/lib/locale/locale-archive
getty     1034       root  mem       REG                8,1    52120     920059 /lib/x86_64-linux-gnu/libnss_files-2.15.so
getty     1034       root  mem       REG                8,1    47680     920063 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
getty     1034       root  mem       REG                8,1    97248     920053 /lib/x86_64-linux-gnu/libnsl-2.15.so
getty     1034       root  mem       REG                8,1    35680     920055 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
getty     1034       root  mem       REG                8,1  1802936     920008 /lib/x86_64-linux-gnu/libc-2.15.so
getty     1034       root  mem       REG                8,1   149280     919988 /lib/x86_64-linux-gnu/ld-2.15.so
getty     1034       root  mem       REG                8,1   151984     135282 /usr/lib/locale/C.UTF-8/LC_CTYPE
getty     1034       root  mem       REG                8,1    26258     265635 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
getty     1034       root    0u      CHR                4,3      0t0       5805 /dev/tty3
getty     1034       root    1u      CHR                4,3      0t0       5805 /dev/tty3
getty     1034       root    2u      CHR                4,3      0t0       5805 /dev/tty3
getty     1036       root  cwd       DIR                8,1     4096          2 /
getty     1036       root  rtd       DIR                8,1     4096          2 /
getty     1036       root  txt       REG                8,1    32048     392681 /sbin/getty
getty     1036       root  mem       REG                8,1 93085296       8057 /usr/lib/locale/locale-archive
getty     1036       root  mem       REG                8,1    52120     920059 /lib/x86_64-linux-gnu/libnss_files-2.15.so
getty     1036       root  mem       REG                8,1    47680     920063 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
getty     1036       root  mem       REG                8,1    97248     920053 /lib/x86_64-linux-gnu/libnsl-2.15.so
getty     1036       root  mem       REG                8,1    35680     920055 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
getty     1036       root  mem       REG                8,1  1802936     920008 /lib/x86_64-linux-gnu/libc-2.15.so
getty     1036       root  mem       REG                8,1   149280     919988 /lib/x86_64-linux-gnu/ld-2.15.so
getty     1036       root  mem       REG                8,1   151984     135282 /usr/lib/locale/C.UTF-8/LC_CTYPE
getty     1036       root  mem       REG                8,1    26258     265635 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
getty     1036       root    0u      CHR                4,6      0t0       5808 /dev/tty6
getty     1036       root    1u      CHR                4,6      0t0       5808 /dev/tty6
getty     1036       root    2u      CHR                4,6      0t0       5808 /dev/tty6
Xorg      1103       root    7u      CHR                4,7      0t0       5809 /dev/tty7
console-k 1337       root   10r      CHR                4,0      0t0       5798 /dev/tty0
getty     1413       root  cwd       DIR                8,1     4096          2 /
getty     1413       root  rtd       DIR                8,1     4096          2 /
getty     1413       root  txt       REG                8,1    32048     392681 /sbin/getty
getty     1413       root  mem       REG                8,1 93085296       8057 /usr/lib/locale/locale-archive
getty     1413       root  mem       REG                8,1    52120     920059 /lib/x86_64-linux-gnu/libnss_files-2.15.so
getty     1413       root  mem       REG                8,1    47680     920063 /lib/x86_64-linux-gnu/libnss_nis-2.15.so
getty     1413       root  mem       REG                8,1    97248     920053 /lib/x86_64-linux-gnu/libnsl-2.15.so
getty     1413       root  mem       REG                8,1    35680     920055 /lib/x86_64-linux-gnu/libnss_compat-2.15.so
getty     1413       root  mem       REG                8,1  1802936     920008 /lib/x86_64-linux-gnu/libc-2.15.so
getty     1413       root  mem       REG                8,1   149280     919988 /lib/x86_64-linux-gnu/ld-2.15.so
getty     1413       root  mem       REG                8,1   151984     135282 /usr/lib/locale/C.UTF-8/LC_CTYPE
getty     1413       root  mem       REG                8,1    26258     265635 /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache
getty     1413       root    0u      CHR                4,1      0t0       5803 /dev/tty1
getty     1413       root    1u      CHR                4,1      0t0       5803 /dev/tty1
getty     1413       root    2u      CHR                4,1      0t0       5803 /dev/tty1


dmesg после user@user-PC:~$ sudo modprobe usbserial vendor=0x0421 product=0x02e3
[ 1990.338606] usbcore: deregistering interface driver cdc_acm
[ 1990.403834] usbcore: registered new interface driver usbserial
[ 1990.403848] USB Serial support registered for generic
[ 1990.403870] usbserial_generic 2-1:1.0: generic converter detected
[ 1990.405694] usb 2-1: generic converter now attached to ttyUSB0
[ 1990.405722] usbserial_generic 2-1:1.1: Generic device with no bulk out, not allowed.
[ 1990.405738] usbserial_generic: probe of 2-1:1.1 failed with error -5
[ 1990.405745] usbserial_generic 2-1:1.2: generic converter detected
[ 1990.407605] usb 2-1: generic converter now attached to ttyUSB1
[ 1990.407637] usbserial_generic 2-1:1.3: Generic device with no bulk out, not allowed.
[ 1990.407647] usbserial_generic: probe of 2-1:1.3 failed with error -5
[ 1990.407655] usbserial_generic 2-1:1.4: generic converter detected
[ 1990.410155] usb 2-1: generic converter now attached to ttyUSB2
[ 1990.410179] usbserial_generic 2-1:1.5: Generic device with no bulk out, not allowed.
[ 1990.410186] usbserial_generic: probe of 2-1:1.5 failed with error -5
[ 1990.410193] usbserial_generic 2-1:1.6: Generic device with no bulk out, not allowed.
[ 1990.410197] usbserial_generic: probe of 2-1:1.6 failed with error -5
[ 1990.410204] usbserial_generic 2-1:1.7: Generic device with no bulk out, not allowed.
[ 1990.410207] usbserial_generic: probe of 2-1:1.7 failed with error -5
[ 1990.410214] usbserial_generic 2-1:1.8: Generic device with no bulk out, not allowed.
[ 1990.410217] usbserial_generic: probe of 2-1:1.8 failed with error -5
[ 1990.410223] usbserial_generic 2-1:1.9: Generic device with no bulk out, not allowed.
[ 1990.410227] usbserial_generic: probe of 2-1:1.9 failed with error -5
[ 1990.410234] usbserial_generic 2-1:1.12: Generic device with no bulk out, not allowed.
[ 1990.410238] usbserial_generic: probe of 2-1:1.12 failed with error -5
[ 1990.410245] usbserial_generic 2-1:1.13: Generic device with no bulk out, not allowed.
[ 1990.410248] usbserial_generic: probe of 2-1:1.13 failed with error -5
[ 1990.410266] usbcore: registered new interface driver usbserial_generic
[ 1990.410269] usbserial: USB Serial Driver core
« Последнее редактирование: 29 Июня 2012, 17:36:52 от Made in USSR »

Оффлайн victor00000

  • Старожил
  • *
  • Сообщений: 15568
  • Глухонемой (Deaf)
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #13 : 29 Июня 2012, 17:47:32 »
ls /dev/tty{A*,U*}
sudo rmmod  cdc_acm
sudo rmmod usbserial
sudo modprobe cdc_acm
ls /dev/tty{A*,U*}
sudo wvdialconf
?
Wars ~.o

Оффлайн Made in USSR

  • Автор темы
  • Новичок
  • *
  • Сообщений: 15
    • Просмотр профиля
Re: Ubuntu 12.04 не видит Nokia 5230 как USB-модем
« Ответ #14 : 29 Июня 2012, 18:32:40 »
user@user-PC:~$ ls /dev/tty{A*,U*}
ls: невозможно получить доступ к /dev/ttyA*: Нет такого файла или каталога
/dev/ttyUSB0  /dev/ttyUSB1  /dev/ttyUSB2
user@user-PC:~$ sudo rmmod cdc_acm
ERROR: Module cdc_acm does not exist in /proc/modules
user@user-PC:~$ sudo rmmod usbserial
user@user-PC:~$ sudo modprobe cdc_acm
user@user-PC:~$ ls /dev/tty{A*,U*}
ls: невозможно получить доступ к /dev/ttyU*: Нет такого файла или каталога
/dev/ttyACM0  /dev/ttyACM1
user@user-PC:~$ sudo wvdialconf
Editing `/etc/wvdial.conf'.

Scanning your serial ports for a modem.

Modem Port Scan<*1>: S0   S1   S2   S3   S4   S5   S6   S7   
Modem Port Scan<*1>: S8   S9   S10  S11  S12  S13  S14  S15 
Modem Port Scan<*1>: S16  S17  S18  S19  S20  S21  S22  S23 
Modem Port Scan<*1>: S24  S25  S26  S27  S28  S29  S30  S31 
WvModem<*1>: Cannot get information for serial port.
ttyACM0<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyACM0<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyACM0<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.
WvModem<*1>: Cannot get information for serial port.
ttyACM1<*1>: ATQ0 V1 E1 -- failed with 2400 baud, next try: 9600 baud
ttyACM1<*1>: ATQ0 V1 E1 -- failed with 9600 baud, next try: 115200 baud
ttyACM1<*1>: ATQ0 V1 E1 -- and failed too at 115200, giving up.


Sorry, no modem was detected!  Is it in use by another program?
Did you configure it properly with setserial?

Please read the FAQ at http://alumnit.ca/wiki/?WvDial


DMESG
[ 5823.315614] usbcore: deregistering interface driver usbserial_generic
[ 5823.318367] generic ttyUSB2: generic converter now disconnected from ttyUSB2
[ 5823.319632] usbserial_generic 2-1:1.4: device disconnected
[ 5823.321782] generic ttyUSB1: generic converter now disconnected from ttyUSB1
[ 5823.322633] usbserial_generic 2-1:1.2: device disconnected
[ 5823.322901] generic ttyUSB0: generic converter now disconnected from ttyUSB0
[ 5823.322950] usbserial_generic 2-1:1.0: device disconnected
[ 5823.323037] USB Serial deregistering driver generic
[ 5823.323324] usbcore: deregistering interface driver usbserial
[ 5830.021494] cdc_acm 2-1:1.1: ttyACM0: USB ACM device
[ 5830.022241] cdc_acm 2-1:1.3: ttyACM1: USB ACM device
[ 5830.025270] usbcore: registered new interface driver cdc_acm
[ 5830.025274] cdc_acm: USB Abstract Control Model driver for USB modems and ISDN adapters

 

Страница сгенерирована за 0.091 секунд. Запросов: 24.