no USB sound card on Cubox-i

This forum is for supported devices using an ARMv7 Freescale SoC.

no USB sound card on Cubox-i

Postby Gordian » Thu Aug 14, 2014 10:33 am

Hello,

I managed to install Archlinux on my cubox-i but can't see my USB sound card.
With an aplay -l , the USB sound card does not seem to appear :

$this->bbcode_second_pass_code('', 'card 0: imxspdif [imx-spdif], device 0: S/PDIF PCM Playback dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: imxhdmisoc [imx-hdmi-soc], device 0: i.MX HDMI Audio Tx hdmi-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
')

even if the sound card seems to be in place,
$this->bbcode_second_pass_code('', '[root@alarm ~]# lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 003: ID 08bb:2704 Texas Instruments Audio Codec
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
')

Could you please help as I have no idea how to make the sound card appear ?

Cheers
Gordian
 
Posts: 10
Joined: Thu Aug 14, 2014 9:52 am

Re: no USB sound card on Cubox-i

Postby dhead666 » Thu Aug 14, 2014 12:15 pm

If lsusb shows the device it doesn't necessarily means a module/driver is loaded and the device registered as sound device.

Connect it to your machine look at the output of dmesg, it should show a new sound device registered, I'm guessing under /sys/class/sound/card2 (or similar address).
Pogoplug Series 4 - Network Storage and Music Server: NFS/TVHeadend
Cubox-i2 - Applications Server: Lighttpd/CherryMusic/HTPCManager/Transmission/Couchpotato/SickBeard/OpenVPN
Samsung Chromebook: Chroach in ChromeOS
dhead666
 
Posts: 116
Joined: Sat Aug 11, 2012 10:25 pm

Re: no USB sound card on Cubox-i

Postby Gordian » Thu Aug 14, 2014 12:51 pm

Hi,

Thanks for your help

dmesg when connected to my machine :

$this->bbcode_second_pass_code('', '[ 108.621720] usb 1-1: new full-speed USB device number 3 using ci_hdrc
[ 108.784370] input: Burr-Brown from TI USB Audio DAC as /devices/soc0/soc.1/2100000.aips-bus/2184000.usb/ci_ hdrc.0/usb1/1-1/1-1:1.2/input/input3
[ 108.785521] hid-generic 0003:08BB:2704.0002: input,hidraw0: USB HID v1.00 Device [Burr-Brown from TI USB Audio DAC ] on usb-ci_hdrc.0-1/input2
')

but desperatelly the same before and after connecting it : no card2 in the list
$this->bbcode_second_pass_code('', '[root@alarm ~]# ls /sys/class/sound/
card0 card1 controlC0 controlC1 pcmC0D0p pcmC1D0p timer')
Gordian
 
Posts: 10
Joined: Thu Aug 14, 2014 9:52 am

Re: no USB sound card on Cubox-i

Postby dhead666 » Thu Aug 14, 2014 7:28 pm

I think the kernel should output that a new usb sound device is registered, like:
$this->bbcode_second_pass_code('', 'usbcore: registered new interface driver snd-usb-audio')

and "# lsmod|grep snd" should show that snd_usb_audio is loaded.
Try manually loading the snd_usb_audio by "# modprobe snd_usb_audio" and then look again at the output of "# aplay -l".

p.s. I have a usb sound device connected to my Cubox-i so I don't think you need to do any special settings in order that a usb audio device would be recognized.
Pogoplug Series 4 - Network Storage and Music Server: NFS/TVHeadend
Cubox-i2 - Applications Server: Lighttpd/CherryMusic/HTPCManager/Transmission/Couchpotato/SickBeard/OpenVPN
Samsung Chromebook: Chroach in ChromeOS
dhead666
 
Posts: 116
Joined: Sat Aug 11, 2012 10:25 pm

Re: no USB sound card on Cubox-i

Postby Gordian » Sun Aug 17, 2014 9:38 am

Hi,

Thanks again for your help.
Have tried what you suggested but failed to load the snd_usb_audio module.

I rebuilt a new image from scratch, the USB sound card appeared and... disappeared after appling a package (pacman -Syu) :
$this->bbcode_second_pass_code('', 'Packages (1): linux-imx6-cubox-dt-3.10.30-28')

Then I built for the 3rd time a new image but without this #!!& package. Everything went all right from then ;)

I'm far to be a linux ace but I understand the snd_usb_audio module is missing in this new kernel
Gordian
 
Posts: 10
Joined: Thu Aug 14, 2014 9:52 am

Re: no USB sound card on Cubox-i

Postby dhead666 » Sun Aug 17, 2014 5:49 pm

That's strange.
I've been on linux-imx6-cubox-dt 3.10.30-25 so I updated to 3.10.30-28 and usb sound still works, no change whatsoever.
Looking at the kernel, I didn't see any change in the config and no related change in the source so I'm not sure what's wrong.

https://github.com/archlinuxarm/PKGBUIL ... -dt/config
https://github.com/warped-rudi/linux-li ... f66058413d
Pogoplug Series 4 - Network Storage and Music Server: NFS/TVHeadend
Cubox-i2 - Applications Server: Lighttpd/CherryMusic/HTPCManager/Transmission/Couchpotato/SickBeard/OpenVPN
Samsung Chromebook: Chroach in ChromeOS
dhead666
 
Posts: 116
Joined: Sat Aug 11, 2012 10:25 pm

Re: no USB sound card on Cubox-i

Postby pepedog » Sun Aug 17, 2014 6:41 pm

Maybe /dev/mmcblk0p1 was not mounted as /boot when kernel was upgraded, ie old kernel and new modules doesn't work.
Check installed kernel pkg, uname -a, ls /usr/lib/modules
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: no USB sound card on Cubox-i

Postby Gordian » Tue Aug 19, 2014 11:12 am

Hi both,

Thanks you very much for your help. I managed to reproduce the issue with the new kernel linux-imx6-cubox-dt-3.10.30-29

Of course /dev/mmcblk0p1 was not mounted properly when kernel was upgraded.

I sorted this out in copying zimage from /boot to the first partition of the SD card.

Again thanks for your precious help :D
Gordian
 
Posts: 10
Joined: Thu Aug 14, 2014 9:52 am


Return to Freescale

Who is online

Users browsing this forum: No registered users and 6 guests