Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

USB Soundcard issue on A95x

Featured Replies

Hi,

 

I've a small amount of linux knowledge... enough to be dangerous but not enough to understand fully what's going on.  I'm learning slowly but have reached a frustrating failure with my A95x revision 2 set top box.

 

It's running "ARMBIAN 5.41.1 user-built Debian GNU/Linux 9 (stretch) 4.17.0-rc3-next-20180430-amlogics905x"

 

I have a behringer UCA202 USB soundcard - it uses standard texas instruments chipset so should just be plug and play.  But there's a gap in my knowledge and in the process of getting the soundcard to detect within Armbian.

 

lsbusb outputs....

Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec
Bus 001 Device 002: ID 2500:0020  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

Relevant lines from dmesg are:

 

[    1.420548] usbcore: registered new interface driver usbfs
[    1.420620] usbcore: registered new interface driver hub
[    1.420714] usbcore: registered new device driver usb

[    1.422003] Advanced Linux Sound Architecture Driver Initialized.

[    3.034073] hub 1-0:1.0: USB hub found
[    3.037122] hub 1-0:1.0: 2 ports detected
[    3.041352] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.046493] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    3.054088] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
[    3.060691] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.069177] hub 2-0:1.0: USB hub found
[    3.072406] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    3.129093] ALSA device list:
[    3.132447]   No soundcards found.

[    3.375015] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    3.739136] usb 1-2: new full-speed USB device number 3 using xhci-hcd
[    3.952146] input: Burr-Brown from TI               USB Audio CODEC  as /devices/platform/soc/soc:usb@c9000000/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-2/1-2:1.3/0003:08BB:2902.0001/input/input0
[    4.072254] hid-generic 0003:08BB:2902.0001: input: USB HID v1.00 Device [Burr-Brown from TI               USB Audio CODEC ] on usb-xhci-hcd.0.auto-2/input3


 

aplay -l shows

 

aplay: device_list:270: no soundcards found...

 

 

I've done a lot of googling and tried various potential solutions none of which seem to make ALSA see the soundcard even though it seems to be detected at a USB level.

 

I'd be extremely grateful if anyone can help guide me through this?  

 

Thanks

 

Simon

5 hours ago, shardwick said:

Hi,

 

I've a small amount of linux knowledge... enough to be dangerous but not enough to understand fully what's going on.  I'm learning slowly but have reached a frustrating failure with my A95x revision 2 set top box.

 

It's running "ARMBIAN 5.41.1 user-built Debian GNU/Linux 9 (stretch) 4.17.0-rc3-next-20180430-amlogics905x"

 

I have a behringer UCA202 USB soundcard - it uses standard texas instruments chipset so should just be plug and play.  But there's a gap in my knowledge and in the process of getting the soundcard to detect within Armbian.

 

lsbusb outputs....


Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 003: ID 08bb:2902 Texas Instruments PCM2902 Audio Codec
Bus 001 Device 002: ID 2500:0020  
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

 

Relevant lines from dmesg are:

 


[    1.420548] usbcore: registered new interface driver usbfs
[    1.420620] usbcore: registered new interface driver hub
[    1.420714] usbcore: registered new device driver usb

[    1.422003] Advanced Linux Sound Architecture Driver Initialized.

[    3.034073] hub 1-0:1.0: USB hub found
[    3.037122] hub 1-0:1.0: 2 ports detected
[    3.041352] xhci-hcd xhci-hcd.0.auto: xHCI Host Controller
[    3.046493] xhci-hcd xhci-hcd.0.auto: new USB bus registered, assigned bus number 2
[    3.054088] xhci-hcd xhci-hcd.0.auto: Host supports USB 3.0  SuperSpeed
[    3.060691] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    3.069177] hub 2-0:1.0: USB hub found
[    3.072406] hub 2-0:1.0: config failed, hub doesn't have any ports! (err -19)
[    3.129093] ALSA device list:
[    3.132447]   No soundcards found.

[    3.375015] usb 1-1: new high-speed USB device number 2 using xhci-hcd
[    3.739136] usb 1-2: new full-speed USB device number 3 using xhci-hcd
[    3.952146] input: Burr-Brown from TI               USB Audio CODEC  as /devices/platform/soc/soc:usb@c9000000/c9000000.dwc3/xhci-hcd.0.auto/usb1/1-2/1-2:1.3/0003:08BB:2902.0001/input/input0
[    4.072254] hid-generic 0003:08BB:2902.0001: input: USB HID v1.00 Device [Burr-Brown from TI               USB Audio CODEC ] on usb-xhci-hcd.0.auto-2/input3


 

aplay -l shows

 


aplay: device_list:270: no soundcards found...

 

 

I've done a lot of googling and tried various potential solutions none of which seem to make ALSA see the soundcard even though it seems to be detected at a USB level.

 

I'd be extremely grateful if anyone can help guide me through this?  

 

Thanks

 

Simon

 

Can you see (lsmod) the kernel module 'snd_usb_audio'. (Try modprobe if not)

  • Author
28 minutes ago, arox said:

 

Can you see (lsmod) the kernel module 'snd_usb_audio'. (Try modprobe if not)

 

Thanks Arox... no snd_usb_audio listed on lsmod and when trying modprobe (assuming I did it right)

 

modprobe: FATAL: Module snd_usb_audio not found in directory /lib/modules/4.17.0-rc3-next-20180430-amlogics905x

 

So the n00b question is where and how do I get the module :) I'll do some further research and learning about modules in the meantime. Thanks all!

 

 

Try :

 

zcat /proc/config.gz | grep -i USB_AUDIO

 

If you dont see

 

CONFIG_SND_USB_AUDIO=m
 

then I think you may need to recompile the kernel ...

 

 

  • Author

zcat /proc/config.gz | grep -i USB_AUDIO gives...

 

# CONFIG_SND_USB_AUDIO is not set

 

  • Author

This all looks very complex and I'm out of my depth with pull requests! 

 

Is there an earlier version of the kernel that supports USB soundcards? Could I download that and change kernel without affecting the work I've already done on my a95x? If so, are there any step by step guides anywhere? 

 

Thanks

Simon

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.