CM119 is not recognised URI

Hi, I have some CM119 URI witch worked fine on [allstar3-arm64-3.0.12.img.xz] but not after updating.
Its connected to an Rapberry 4B.
with lsusb Its listed as
ID 0d8c:000e C-Media Electronics, Inc. Audio Adapter (Planet UP-100, Genius G-Talk)
I also have CM119a witch is listed as
ID 0d8c:013a C-Media Electronics, Inc. USB PnP Sound Device

If i use asl-find-sound its
1-1.1:1.0 → 0d8c:000e Generic USB Audio Device
1-1.4:1.0 → 0d8c:013a C-Media Electronics Inc.

So why is cm119 not recognised als cmedia despite it is working on the previous versie 12.
How to correct and get it working in version 16 again.

Best regards
Benno PA3FBX

In the /etc/asterisk/simpleusb.conf file, check the devstr = strings for each of your nodes. Do they match?

Benno, this may or may not be a clue but in the past earlier versions of ASL I had to edit source and compile for that exact reason. 08dc:000e was omitted from the channel driver source. If that carried over to ASL3 it would explain it. I had several CM119 dongles that were 08dc:000e and the way to fix it was to modify the source to allow it. I substituted it for 08dc:000c. I looked at the current source and cannot find where this is defined. Now I use RA-35’s and all is ok.

Here is what was in the old source:
#endif

#define C108_VENDOR_ID 0x0d8c
#define C108_PRODUCT_ID 0x000c
#define C108AH_PRODUCT_ID 0x013c
#define N1KDO_PRODUCT_ID 0x6a00
#define C119_PRODUCT_ID 0x0008
#define C119A_PRODUCT_ID 0x013a
#define C108_HID_INTERFACE 3

This may or may not be what is the problem there and I’m sure others will be able to explain better

GeorgeC W2DB

If asl-find-sound was able to identify the dongles then the code should also be able to do so. But, moving a dongle from one USB port to another will change the path / device string.

Thanks, i have found that issue and also the device string in the simpleusb file.
I am capable in moving the URI,s around.
Only when i update asl3 via the updating tool (or start a fresh install of 3.0.16) i cannot get the cm119 to work again. (moved front and back on the same hardware a few times to be sure) .
Its just 0d8c:000e is not seen as a proper working device despite being a cm119

George, you might want to check out the /etc/asterisk/res_usbradio.conf file. You can now add CM1xx like devices without needing to edit/recompile the source code.

Great idea, found this info before. only 1 problem. How to compile…
Its just out of my raspberry knolledge.

Sorry is not existing here…
no file /etc/asterisk/res_usbradio.conf

please tell me more…

Benno

When was the last time you exec’d sudo apt update and sudo apt upgrade on your RPi?

If you exec sudo asl-show-version, what is reported for the asl3-asterisk-modules package?

Note: this shouldn’t matter for the CM119A 0d8c:013a dongle as that’s one of the known/built-ins.

Q? how many nodes do you have configured on your RPi?
Q? are all of your nodes configured to use SimpleUSB? or do you some some using SimpleUSB and others USBRadio? If the latter, then you also need to look at the devstr settings in the usbradio.conf file.

Thanks,
For all the answers…
I am currently reluctant to update or upgrade as it does work now.
So its a fresh install from nov 24. with 3.0.12 image.

i have 2 servers rpi4. 1 is running 5 nodes with 3x cm119
the other server is running 3 nodes with 1 cm119 and 1 cm119a.
All nodes are using simpleusb as they are home brew soundfobs…

asl-show-version
********** AllStarLink [ASL] Version Info **********

OS : Debian GNU/Linux 12 (bookworm)
OS Kernel : 6.6.51+rpt-rpi-v8

Asterisk : 20.9.3+asl3-3.0.6-1.deb12
ASL [app_rpt] : 3.0.6

Installed ASL packages :

Package Version
============================== ==============================
allmon3 1.3.5-1.deb12
asl3 3.5.0-1.deb
asl3-asterisk 2:20.9.3+asl3-3.0.6-1.deb12
asl3-asterisk-config 2:20.9.3+asl3-3.0.6-1.deb12
asl3-asterisk-modules 2:20.9.3+asl3-3.0.6-1.deb12
asl3-menu 1.9-1.deb12
asl3-pi-appliance 1.8.1-1.deb12
asl3-update-nodelist 1.5.1-1.deb12
cockpit 287.1-0+deb12u3
cockpit-bridge 287.1-0+deb12u3
cockpit-networkmanager 287.1-0+deb12u3
cockpit-packagekit 287.1-0+deb12u3
cockpit-sosreport 287.1-0+deb12u3
cockpit-storaged 287.1-0+deb12u3
cockpit-system 287.1-0+deb12u3
cockpit-wifimanager 1.1.0-2.deb12
cockpit-ws 287.1-0+deb12u3
dahdi 1:3.1.0-2
dahdi-dkms 1:3.4.0-4+asl
dahdi-linux 1:3.4.0-4+asl

asl3-asterisk-modules
bash: asl3-asterisk-modules: command not found

So i made a backup image and did the sudo apt upgrade.

Now both cm119 and cm119a are not working any more…
1-1.1:1.0 → 0d8c:000e Generic USB Audio Device
1-1.4:1.0 → 0d8c:013a C-Media Electronics Inc.

sudo asl-show-version
********** AllStarLink [ASL] Version Info **********

OS : Debian GNU/Linux 12 (bookworm)
OS Kernel : 6.6.51+rpt-rpi-v8

Asterisk : 20.11.0+asl3-3.2.0-2.deb12
ASL [app_rpt] : 3.2.0

Installed ASL packages :

Package Version
============================== ==============================
allmon3 1.4.2-1.deb12
asl3 3.6.0-1.deb
asl3-asterisk 2:20.11.0+asl3-3.2.0-2.deb12
asl3-asterisk-config 2:20.11.0+asl3-3.2.0-2.deb12
asl3-asterisk-modules 2:20.11.0+asl3-3.2.0-2.deb12
asl3-menu 1.11-1.deb12
asl3-pi-appliance 1.9.0-5.deb12
asl3-update-nodelist 1.5.1-1.deb12
cockpit 287.1-0+deb12u3
cockpit-bridge 287.1-0+deb12u3
cockpit-networkmanager 287.1-0+deb12u3
cockpit-packagekit 287.1-0+deb12u3
cockpit-sosreport 287.1-0+deb12u3
cockpit-storaged 287.1-0+deb12u3
cockpit-system 287.1-0+deb12u3
cockpit-wifimanager 1.1.1-1.deb12
cockpit-ws 287.1-0+deb12u3
dahdi 1:3.1.0-2
dahdi-dkms 1:3.4.0-4+asl
dahdi-linux 1:3.4.0-4+asl

what next to try.??

You don’t have a file /etc/asterisk/res_usbradio.conf?

yes i have now…
and its empy allmost.

Yeah, so uncomment it and fill it out with your device string.

start to understand what i am doing…
but should it not be something like res_simpleusb.conf
I am not yet using the usbradio.conf

It did not work this way…

Benno

res_usbradio.conf is a resource configuration that was introduced in the December 2024 code release to deal with the issue of compatible-but-unidentified USB devices. It’s for the resource, not the channel. Should work fine with both channel types.

Thanks… it did the trick if i only put it in correctly.
I noticed on the reply my typo.
This works and i am happy.
last Q. Can i get this cm119 in the next release ?

As I wrote earlier, the dongles reported by asl-find-sound are alread supported by the ASL3 release. You might be able add a new CM1xx dongle if it is reported by lsusb but not asl-find-sound.

If the USB audio dongles are not working with ASL3 then the most likely reason is a mismatch with the devstr values in the simpleusb.conf and/or usbradio.conf files.

Can you again share the output from lsusb and asl-find-sound with all the fobs attached AND the last lines of your simpleusb.conf file where you see the devstr = line(s)

Is res_usbradio.conf in the docs anywhere, I cannot find it

GC W2DB

Not yet. It’s on our TODO list. But, the comments in the file should be enough to get folks started.