Jump to content

Recommended Posts

Posted

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

Posted
  On 8/16/2018 at 3:19 PM, 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

Expand  

 

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

Posted
  On 8/16/2018 at 8:25 PM, arox said:

 

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

Expand  

 

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!

 

 

Posted

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 ...

 

 

Posted

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

Posted
  On 8/16/2018 at 3:19 PM, shardwick said:

ARMBIAN 5.41.1 user-built Debian GNU/Linux 9 (stretch) 4.17.0-rc3-next-20180430-amlogics905x

Expand  


This means somebody made an Armbian image by using our tools. That's all I know.

Guest
This topic is now closed to further replies.
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines