[arm-allstar] Issue with USB fob going offline.
Simon - ZL1SWW
zl1sww at orcon.net.nz
Wed Feb 13 04:35:58 EST 2019
Hi all,
I have had an allstar node running quite well for some time like 6 months or
so. Up till now, it has been going well.
As of about 3 week ago, I have been having issues where the USB sound fob
drops off and non responsive to or from the attached radio. An asterisk
restart won't work but a warm boot from the menu will restore the usb fob
and the radio works again. It will last a day or so and then die.
I can connect via my cell using DVswitch and all runs fine from the
asterisk point of view. I can even reboot via the IAX client and all is good
again for a while.
I thought some power glitches / outages may have corrupted the SD card image
and so rebuilt it. The day after the rebuild, it's failing again just as
before. Using the latest image off the site. It's an RPi 2 with a USB wlan
dongle working ok.
The messages file shows many entries as below:
[Feb 13 21:53:09] ERROR[14444] chan_simpleusb.c: Not able to detach the USB
device
[Feb 13 21:53:10] ERROR[14444] chan_simpleusb.c: Not able to detach the USB
device
Asterisk CLI console shows loads of:
[89837.644648] usb 1-1.5: 1:1: usb_set_interface failed (-32)
[89837.652889] usb 1-1.5: 2:1: usb_set_interface failed (-32)
[89837.660900] usb 1-1.5: 2:1: usb_set_interface failed (-32)
And
[Feb 13 21:58:01] NOTICE[14444]: chan_simpleusb.c:1488 hidthread: Loaded
parameters from simpleusb_tune_usb.conf for device usb .
[Feb 13 21:58:01] WARNING[14444]: chan_simpleusb.c:1789 setformat: Unable to
re-open DSP device 0 (usb): Device or resource busy
== Set device 1-1.5:1.0 to usb
[Feb 13 21:58:01] NOTICE[14444]: chan_simpleusb.c:1488 hidthread: Loaded
parameters from simpleusb_tune_usb.conf for device usb .
[Feb 13 21:58:01] WARNING[14444]: chan_simpleusb.c:1802 setformat: Unable to
set format to 16-bit signed
== Set device 1-1.5:1.0 to usb
[Feb 13 21:58:02] NOTICE[14444]: chan_simpleusb.c:1488 hidthread: Loaded
parameters from simpleusb_tune_usb.conf for device usb .
[Feb 13 21:58:02] WARNING[14444]: chan_simpleusb.c:1802 setformat: Unable to
set format to 16-bit signed
It seems to show up as a module from lsusb.
[root at zl1sww-47563 asterisk]# lsusb
Bus 001 Device 005: ID 0d8c:0012 C-Media Electronics, Inc.
Bus 001 Device 004: ID 148f:5370 Ralink Technology, Corp. RT5370 Wireless
Adapter
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514
Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp. SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
[root at zl1sww-47563 asterisk]#
In the simpleusbtune menu it shows as not available.
Note this is a clean build so should be fine. Don't think it is hardware as
the thing runs fine after a warm boot. The warm boot most likely power
cycles the USB subsystem though. Hope it's not the URI piece as it is home
built and a pain to change.
Any ideas or someone who has had the same issue?
Any extra debugging I can do?
Cheers and thanks,
Simon
ZL1SWW.
More information about the ARM-allstar
mailing list