Не видит второй DONGLE freePBX-6.12.65
[root@localhost~]# ls -la /dev/ttyUSB*
crw-rw---- 1 asterisk dialout 188, 0 Jan 17 20:26 /dev/ttyUSB0
crw-rw---- 1 asterisk dialout 188, 1 Jan 17 20:26 /dev/ttyUSB1
crw-rw---- 1 asterisk dialout 188, 2 Jan 18 11:12 /dev/ttyUSB2
[root@localhost~]# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 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 005 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 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Bus 001 Device 003: ID 12d1:1446 Huawei Technologies Co., Ltd. E1552/E1800/E173 (HSPA modem)
[root@localhost~]#
а потом оказалось:
[root@localhost~]#dmesg
.
.
Bluetooth: HCI socket layer initialized
------------[ cut here ]------------
WARNING: at drivers/usb/serial/usb-serial.c:406 serial_write_room+0x71/0x80 [usb serial]() (Not tainted)
Hardware name: A780LB
Modules linked in: bluetooth rfkill xt_multiport iptable_filter ip_tables xpp_us b(U) xpp(U) wctc4xxp(U) dahdi_transcode(U) wcb4xxp(U) rcbfx(U) wctdm(U) wcfxo(U) wcaxx(U) wctdm24xxp(U) rxt1(U) r1t1(U) wcte11xp(U) wct1xxp(U) wcte13xp(U) wcte1 2xp(U) dahdi_voicebus(U) wcte43x(U) wct4xxp(U) oct612x(U) dahdi(U) crc_ccitt ipv 6 ppdev serio_raw k8temp parport_pc parport option usb_wwan usbserial snd_hda_co dec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc i2c_piix4 r8169 mii sg ext4 jbd2 mbcache sr_mod cdrom sd_mod crc_t10dif ata_generic pata_acpi pata_atiixp ahci usb_stora ge nouveau ttm drm_kms_helper drm i2c_algo_bit i2c_core mxm_wmi video output wmi dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]
Pid: 12, comm: events/1 Not tainted 2.6.32-431.el6.i686 #1
Call Trace:
[] ? warn_slowpath_common+0x81/0xc0
[] ? serial_write_room+0x71/0x80 [usbserial]
[] ? serial_write_room+0x71/0x80 [usbserial]
[] ? warn_slowpath_null+0x1b/0x20
[] ? serial_write_room+0x71/0x80 [usbserial]
[] ? tty_write_room+0x15/0x20
[] ? process_echoes+0x47/0x2b0
[] ? n_tty_receive_buf+0xcd9/0xfa0
[] ? lock_timer_base+0x27/0x50
[] ? delayed_work_timer_fn+0x0/0x30
[] ? mod_timer+0xfe/0x1e0
[] ? flush_to_ldisc+0x14a/0x180
[] ? flush_to_ldisc+0x0/0x180
[] ? worker_thread+0x11b/0x230
[] ? autoremove_wake_function+0x0/0x40
[] ? worker_thread+0x0/0x230
[] ? kthread+0x74/0x80
[] ? kthread+0x0/0x80
[] ? kernel_thread_helper+0x7/0x10
---[ end trace 091628996e3fb33b ]---
------------[ cut here ]------------
WARNING: at drivers/usb/serial/usb-serial.c:393 serial_write+0xab/0xc0 [usbseria l]() (Tainted: G W --------------- )
Hardware name: A780LB
Modules linked in: bluetooth rfkill xt_multiport iptable_filter ip_tables xpp_us b(U) xpp(U) wctc4xxp(U) dahdi_transcode(U) wcb4xxp(U) rcbfx(U) wctdm(U) wcfxo(U) wcaxx(U) wctdm24xxp(U) rxt1(U) r1t1(U) wcte11xp(U) wct1xxp(U) wcte13xp(U) wcte1 2xp(U) dahdi_voicebus(U) wcte43x(U) wct4xxp(U) oct612x(U) dahdi(U) crc_ccitt ipv 6 ppdev serio_raw k8temp parport_pc parport option usb_wwan usbserial snd_hda_co dec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc i2c_piix4 r8169 mii sg ext4 jbd2 mbcache sr_mod cdrom sd_mod crc_t10dif ata_generic pata_acpi pata_atiixp ahci usb_stora ge nouveau ttm drm_kms_helper drm i2c_algo_bit i2c_core mxm_wmi video output wmi dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]
Pid: 12, comm: events/1 Tainted: G W --------------- 2.6.32-431.el6.i 686 #1
Call Trace:
[] ? warn_slowpath_common+0x81/0xc0
[] ? serial_write+0xab/0xc0 [usbserial]
[] ? serial_write+0xab/0xc0 [usbserial]
[] ? warn_slowpath_null+0x1b/0x20
[] ? serial_write+0xab/0xc0 [usbserial]
[] ? do_output_char+0x1ba/0x1f0
[] ? process_echoes+0x134/0x2b0
[] ? n_tty_receive_buf+0xcd9/0xfa0
[] ? lock_timer_base+0x27/0x50
[] ? delayed_work_timer_fn+0x0/0x30
[] ? mod_timer+0xfe/0x1e0
[] ? flush_to_ldisc+0x14a/0x180
[] ? flush_to_ldisc+0x0/0x180
[] ? worker_thread+0x11b/0x230
[] ? autoremove_wake_function+0x0/0x40
[] ? worker_thread+0x0/0x230
[] ? kthread+0x74/0x80
[] ? kthread+0x0/0x80
[] ? kernel_thread_helper+0x7/0x10
---[ end trace 091628996e3fb33c ]---
------------[ cut here ]------------
WARNING: at drivers/usb/serial/usb-serial.c:406 serial_write_room+0x71/0x80 [usb serial]() (Tainted: G W --------------- )
Hardware name: A780LB
Modules linked in: bluetooth rfkill xt_multiport iptable_filter ip_tables xpp_us b(U) xpp(U) wctc4xxp(U) dahdi_transcode(U) wcb4xxp(U) rcbfx(U) wctdm(U) wcfxo(U) wcaxx(U) wctdm24xxp(U) rxt1(U) r1t1(U) wcte11xp(U) wct1xxp(U) wcte13xp(U) wcte1 2xp(U) dahdi_voicebus(U) wcte43x(U) wct4xxp(U) oct612x(U) dahdi(U) crc_ccitt ipv 6 ppdev serio_raw k8temp parport_pc parport option usb_wwan usbserial snd_hda_co dec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_seq snd_seq_device snd_pcm snd_timer snd soundcore snd_page_alloc i2c_piix4 r8169 mii sg ext4 jbd2 mbcache sr_mod cdrom sd_mod crc_t10dif ata_generic pata_acpi pata_atiixp ahci usb_stora ge nouveau ttm drm_kms_helper drm i2c_algo_bit i2c_core mxm_wmi video output wmi dm_mirror dm_region_hash dm_log dm_mod [last unloaded: scsi_wait_scan]
Pid: 12, comm: events/1 Tainted: G W --------------- 2.6.32-431.el6.i 686 #1
Call Trace:
[] ? warn_slowpath_common+0x81/0xc0
[] ? serial_write_room+0x71/0x80 [usbserial]
[] ? serial_write_room+0x71/0x80 [usbserial]
[] ? warn_slowpath_null+0x1b/0x20
[] ? serial_write_room+0x71/0x80 [usbserial]
[] ? do_output_char+0x1ba/0x1f0
[] ? tty_write_room+0x15/0x20
[] ? process_echoes+0x47/0x2b0
[] ? n_tty_receive_buf+0xcd9/0xfa0
[] ? lock_timer_base+0x27/0x50
[] ? delayed_work_timer_fn+0x0/0x30
[] ? mod_timer+0xfe/0x1e0
[] ? flush_to_ldisc+0x14a/0x180
[] ? flush_to_ldisc+0x0/0x180
[] ? worker_thread+0x11b/0x230
[] ? autoremove_wake_function+0x0/0x40
[] ? worker_thread+0x0/0x230
[] ? kthread+0x74/0x80
[] ? kthread+0x0/0x80
[] ? kernel_thread_helper+0x7/0x10
---[ end trace 091628996e3fb33d ]---
[root@localhost ~]#
[root@localhost ~]# uname -r
2.6.32-431.el6.i686
по одному они видятся ?
_________________
платный суппорт по мере возможностей
Опять пишет тоже самое , перегружал, dmesg выдает тоже самое . Перегружал без донглов , все заработало. Потом воткнул донглы какое то время работало. Теперь опять. Подозрение что не хватает питания? Еще одни нюанс донглы один e1550, другой e171, однако вывод говорит что они одинаковые:
Bus 001 Device 002: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Bus 001 Device 003: ID 12d1:1001 Huawei Technologies Co., Ltd. E169/E620/E800 HSDPA Modem
Хотя раньше по другому отображалось, подскажите где у меня проблема(какие данные еще показать?)
Added after 2 minutes:
| awsswa @ Вс Янв 18, 2015 10:36 писал(а): |
| у вас вообще то в кору подает linux ? |
Не могли бы Вы подробнее рассказать что имели ввиду?
Последний раз редактировалось: lipun (Чт Фев 12, 2015 15:00)
| Цитата: |
| WARNING: at drivers/usb/serial/usb-serial.c:406 serial_write_room+0x71/0x80 [usb serial]() (Tainted: G W --------------- ) |
Бага в драйвере usb_serial.ko
| Цитата: |
| > > That's the one here in drivers/usb/serial/usb-serial.c: > > static int serial_write_room(struct tty_struct *tty) > > { > > struct usb_serial_port *port = tty->driver_data; > > dbg("%s - port %d", __func__, port->number); > > WARN_ON(!port->port.count); > > /* pass on to the driver specific version of this function */ > > return port->serial->type->write_room(tty); > > } > > > > I'm really not at all certain what could have caused this problem, > > but did you try other USB configurations? Such as using self-powered > > external hubs etc. > > Also, do you get further USB-related error values in the dmesg log? > > This error could probably result from not entirely successful USB device > > enumeration etc. > > This isn't related to the USB configuration, the device enumeration, or > anything else. Those WARN_ON() statements are simply obsolete. They > need to be removed -- port->port.count is no longer supposed to be used > for anything in the USB serial core, so the situation they warn about > is valid, not a problem at all. > > So to answer Guido's question, the backtraces can be avoided by editing > the drivers/usb/serial/usb-serial.c source file and removing all the > lines that say: > > WARN_ON(!port->port.count); |
источник: тыц
_________________
http://mh.otx.ru Гибкие SIP/E1 шлюзы Alvis. SIP-Модернизация LDK/TDA:VoIP, Добавь E1 к Asterisk.
UPDATE! Теперь и T.38! Скидки для форумчан!!
Сегодня попробую поставить 2 донгла е173, посмотрим что получится. Кстати версии прошивок были :
| Код: |
| localhost*CLI> dongle show devices ID Group State RSSI Mode Submode Provider Name Model Firmware IMEI IMSI Number MTS1 0 Free 16 0 0 MTS RUS E1550 11.608.12.00.143 35244504xxxxxxx 250018542xxxxxx +79XXXXXXXXX TELE1 0 Free 18 3 3 TELE2 E171 11.126.85.01.143 35480704xxxxxxx 250203406xxxxxx +79XXXXXXXXX localhost*CLI> |
| Код: |
| Какие то варианты решения моей проблемы существуют? |
Безусловный отказ от usb-свистков, если СТРОИТЕ СВЯЗЬ.
_________________
P4 3.0 + 1Gb CentOS 5.8 Aster 1.8.16
Не люблю gui-сборки: натуральный продукт вкуснее.
И еще: я ПРОФИ так как НЕ ЛЕНЮСЬ читать литературу.
наверняка втыкаете в переднюю панель . а там как правило проводочки тонкие . Как вариант можно переткнуть непосредственно на материнку .
Я так понимаю еще вариант обновить ядро, раньше делал на Elastix 2.3, вроде проблем не было, хотя до конца АТС настроить не успел.Кто то делал на моей конфигурации? Или отдельно драйвер?
Added after 3 hours 24 minutes:
По инструкции http://asterisk-pbx.ru/wiki/system/kernel обновил ядро на 2.6.33, результат тотже, пробуем внешний концентратор