[App_rpt-users] DIAL and devstr changes
John Locke
jldharma at gmail.com
Wed Sep 14 14:42:49 UTC 2016
Hi all,
I have found 2 interesting things:
*- The lsusb changes after shutdown.*
*- The numbers of the devstr in usbradio_tune does not match the lsusb
numbers.*
For example before shutdown:
root at repeater:~# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 003: ID 0d8c:013a C-Media Electronics, Inc.
Bus 007 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 003: ID 0d8c:013a C-Media Electronics, Inc.
Bus 003 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
After shutdown:
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 003: ID 0d8c:013a C-Media Electronics, Inc.
Bus 006 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 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 002 Device 003: ID 0d8c:013a C-Media Electronics, Inc.
Bus 002 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Then I reconfigure asterisk with
repeater*CLI> radio active usb01
Active (command) USB Radio device set to [usb01]
repeater*CLI> radio tune save
Saved radio tuning settings to usbradio_tune_usb01.conf
repeater*CLI> radio active usb02
Active (command) USB Radio device set to [usb02]
repeater*CLI> radio tune save
Saved radio tuning settings to usbradio_tune_usb02.conf
....
The numbers of the devstr does not match the lsusb numbers. It looks like*
the Device in the lsusb is 1 more*...
Bus 002 Device 003: ID 0d8c:013a C-Media Electronics, Inc.
[usb01]
; name=usb01
; devicenum=2
devstr=2-2:1.0
...
Bus 002 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
[usb02]
; name=usb02
; devicenum=1
devstr=2-1:1.0
...
Bus 006 Device 003: ID 0d8c:013a C-Media Electronics, Inc.
[usb03]
; name=usb03
; devicenum=6
devstr=6-2:1.0
Bus 004 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
[usb04]
; name=usb04
; devicenum=3
devstr=4-1:1.0
Bus 005 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
[usb05]
; name=usb05
; devicenum=4
devstr=5-1:1.0
Bus 006 Device 002: ID 0d8c:013a C-Media Electronics, Inc.
[usb06]
; name=usb06
; devicenum=5
devstr=6-1:1.0
Any advise would be very appreciated.
Thanks in advance.
Regards
John
On Mon, Sep 12, 2016 at 10:56 PM, Bob <k6ecm1 at gmail.com> wrote:
> What type of USB hub?
>
>
>
> Bob
>
>
> ------------------------------
>
> *From:* app_rpt-users-bounces at ohnosec.org [mailto:app_rpt-users-bounces@
> ohnosec.org] *On Behalf Of *John Locke
> *Sent:* Monday, September 12, 2016 2:37 PM
> *To:* app_rpt-users at ohnosec.org
> *Subject:* [App_rpt-users] DIAL and devstr changes
>
>
>
> Hi all,
>
> I have a Dial server with 4 URIs.
>
> Everything is working ok.
>
> Each URI has his own config file
>
>
>
> Example
>
> usbradio_tune_usb01.conf
>
> [usb01]
>
> ; name=usb01
>
> ; devicenum=1
>
> devstr=3-2:1.0
>
>
>
> ...
>
>
>
> usbradio_tune_usb04.conf
>
> [usb04]
>
> ; name=usb04
>
> ; devicenum=1
>
> devstr=7-1:1.0
>
>
>
> *The problem is that "sometimes" after a reboot, Debian changes the devstr
> of the USB ports...*
>
> I have reconfigured this server 3 times already!
>
>
>
> Any advise would be very appreciated.
>
> Thanks in advance.
>
>
>
> Regards
>
> John
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.keekles.org/pipermail/app_rpt-users/attachments/20160914/47877de9/attachment.html>
More information about the App_rpt-users
mailing list