答复: Quesitons about Raspberry Pi usb sound card

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Thierry, Thanks for your reply.

 

-Test  Results:

usb sound  card

onboard bcm2835

onboard bcm2835 IEC958/HDMI

command

4a-play  audio-file  hw:1,0,0  multimedia

4a-play  audio-file  hw:3,0,0  multimedia

4a-play  audio-file  hw:3,1,0  multimedia

aac

PASS

PASS

PASS

ogg

PASS

PASS

PASS

wav

NG

NG

NG

Mp3

NG

NG

NG

 

-Devicel list

raspberrypi3:/media/E5CA-C7EA# aplay -l

**** List of PLAYBACK Hardware Devices ****

card 0: Loopback [Loopback], device 0: Loopback PCM [Loopback PCM]

card 0: Loopback [Loopback], device 1: Loopback PCM [Loopback PCM]

  Subdevices: 8/8

card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]

  Subdevices: 1/1

  Subdevice #0: subdevice #0

card 3: ALSA [bcm2835 ALSA], device 0: bcm2835 ALSA [bcm2835 ALSA]

  Subdevices: 8/8

  Subdevice #0: subdevice #0

  ...

  Subdevice #7: subdevice #7

card 3: ALSA [bcm2835 ALSA], device 1: bcm2835 ALSA [bcm2835 IEC958/HDMI]

  Subdevices: 1/1

  Subdevice #0: subdevice #0

card 4: vc4hdmi [vc4-hdmi], device 0: MAI PCM vc4-hdmi-hifi-0 []

  Subdevices: 1/1

  Subdevice #0: subdevice #0

 

 

Best

 

发件人: automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx [mailto:automotive-discussions-bounces@xxxxxxxxxxxxxxxxxxxxxxxxx] 代表 Thierry Bultel
发送时间: 2019527 14:42
收件人: automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
主题: Re: [agl-discussions] Quesitons about Raspberry Pi usb sound card

 

Hi Li,
The fact that /proc/config.gz is not builtin is a bug, imho, that we should fix;
because alll the boards I use have it as a "Y".

Now, would you mind trying music playback with "4a-play" ?
This would validate 4a setup. Please tell me when you have it.

About the sound format, I suggest you start another thread on the mailing list about
this, with a more explicit title, you would likely get a quicker answer.

Best regards
Thierry

On 05/27/2019 07:05 AM, Li, Xiaoming wrote:

Hi,all

 

This mail is about Raspberry Pi 3B/B+'s Mediaplayer, Mixer,sound card and 4A.

 

As a known issue, Raspberry Pi's onboard sound card can't work with AGL.

So I test with a USB dongle audio apapter.

And I got some problems. I will try to describe in short. Thanks.

 

Test Enviroment:

-Board: RPI 3B+

-AGL: Guppy 7.0.2

-USB sound card: ID 1b3f:2008 Generalplus Technology Inc.

(according to https://learn.adafruit.com/usb-audio-cards-with-a-raspberry-pi/generalplus, this card works fine with RPI original os)

 

Setting Process:

- insert usb sound card

- $aplay -l # to get card no and device no

card 1: Device [USB Audio Device], device 0: USB Audio [USB Audio]

    Subdevices: 1/1

    Subdevice #0: subdevice #0

- $vi /etc/asound.conf  # add below words to specify usb sound card as default

defaults.pcm.card 1

defaults.pcm.device 0

defaults.ctl.card 1

- $speaker-test #  i did get the noise

 

Problem I:

When startup Mixer, i only get a black sceen with side bars.

 

raspberrypi3:~# 4a-status

---- Audio cards detected ----

card 0: Loopback

card 1: Device

card 3: ALSA

card 4: vc4hdmi

 

---- snd-aloop driver availability ----

zcat: /proc/config.gz: No such file or directory

WARNING: Not built into the kernel, devices order can randomly change!

zcat: /proc/config.gz: No such file or directory

ERROR: snd-aloop is not provided at all, 4a-softmixer can't work!

 

---- 4a service status ----

SUCCESS: Service is currently running!

 

To elimate the above error,

~# modprobe configs

 

then “4a-status" again, report all success with no error and warning.

 

But this do no effect to invoke the Mixer bars.

 

 

Problem II:

- Mediaplayer can only play aac, can not play mp3,ogg,wav

- Mediaplayer can oly play aac once when system power-on, no longer play any more. no log in /var/log/messages.

 

 

 

BR

Li

 

--------------------------------------------------------

Li Xiaoming

Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)

No. 6 Wenzhu Road, Nanjing, 210012, China

TEL:+86+25-86630566-9416

Emaillixm.fnst@xxxxxxxxxxxxxx

--------------------------------------------------------

 




_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions

 

_______________________________________________
automotive-discussions mailing list
automotive-discussions@xxxxxxxxxxxxxxxxxxxxxxxxx
https://lists.linuxfoundation.org/mailman/listinfo/automotive-discussions

[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux