ODROIDDAC shown in aplay -l even if not present

This forum is for topics dealing with problems with software specifically in the AArch64 repo.

ODROIDDAC shown in aplay -l even if not present

Postby tuxx » Thu Mar 10, 2016 9:18 pm

Hi all,

I have been testing odroid C2 with mpd/usb dac. What I realized is that aplay -l show the ODROIDDAC which I do not own:

$this->bbcode_second_pass_code('', '[root@archphile ~]# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: ODROIDHDMI [ODROID-HDMI], device 0: I2S.28 dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: ODROIDDAC [ODROID-DAC], device 0: I2S.28 pcm5102-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: DAC [S16 USB DAC], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0')

How can I get rid of this alsa entry as it causes my dac to be changing number during reboots (odroid dac and my usb dac keep changing between 1 and 2).

Thank you in advance.
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: ODROIDDAC shown in aplay -l even if not present

Postby tuxx » Tue Mar 15, 2016 11:34 am

Recently I did not have the time to play around with C2, but I just saw the changes here:

https://github.com/archlinuxarm/PKGBUIL ... c9ab2e12a2

I assume this problem was due to the fact that the dac moudules were built in. I suppose that now them being modules it will solve my problem.

I will report ASAP.

Many thanks,

Michael
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: ODROIDDAC shown in aplay -l even if not present

Postby tuxx » Tue Mar 15, 2016 6:32 pm

Latest kernel packages resolves this issue as expected.

Thanks!


$this->bbcode_second_pass_code('', 'card 0: ODROIDHDMI [ODROID-HDMI], device 0: I2S.27 dit-hifi-0 []
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: DAC [S16 USB DAC], device 0: USB Audio [USB Audio]
Subdevices: 0/1
Subdevice #0: subdevice #0
')
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm

Re: ODROIDDAC shown in aplay -l even if not present

Postby tuxx » Thu Mar 17, 2016 8:10 pm

There's still a pending issue as the odroid-hdmi and the external usb dac keep changing card numbers (card0, card1).

I have tried to avoid snd_usb_audio being the first device with:

/etc/modprobe.d/alsa-base.conf


$this->bbcode_second_pass_code('', 'options snd_usb_audio index=-2')

without any luck.
tuxx
 
Posts: 45
Joined: Thu May 15, 2014 1:07 pm


Return to ARMv8

Who is online

Users browsing this forum: No registered users and 3 guests