Re: Kernel config for specific cards

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

 



Odd, the VU meter is animating, but no sound. A few times, aplay freezed after 1-2 seconds. Arecord also doesn't work.


bla@ubuntu:~$ aplay -D plughw:1,0 Desktop/Jamiroquai44100-24.wav -V mono -v
Playing WAVE 'Desktop/Jamiroquai44100-24.wav' : Signed 24 bit Little Endian in 3bytes, Rate 44100 Hz, Stereo
Plug PCM: Hardware PCM card 1 'E-MU 0202 | USB' device 0 subdevice 0
Its setup is:
  stream       : PLAYBACK
  access       : RW_INTERLEAVED
  format       : S24_3LE
  subformat    : STD
  channels     : 2
  rate         : 44100
  exact rate   : 44100 (44100/1)
  msbits       : 24
  buffer_size  : 22050
  period_size  : 5513
  period_time  : 125011
  tstamp_mode  : NONE
  period_step  : 1
  avail_min    : 5513
  period_event : 0
  start_threshold  : 22050
  stop_threshold   : 22050
  silence_threshold: 0
  silence_size : 0
  boundary     : 6206523236469964800
  appl_ptr     : 0
  hw_ptr       : 0
#####+                                             | 08%

amixer sset 'PCM' 70%
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 63
  Mono:
  Front Left: Playback 45 [71%] [33.00dB] [on]
  Front Right: Playback 45 [71%] [33.00dB] [on]

amixer -c1 scontents
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 200
  Mono:
  Front Left: Playback 176 [88%] [-12.00dB] [on]
  Front Right: Playback 176 [88%] [-12.00dB] [on]
Simple mixer control 'Clock rate Selector',0
  Capabilities: volume volume-joined
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 5
  Mono: 0 [0%]

bla@ubuntu:~$ amixer -c1 controls
numid=3,iface=MIXER,name='PCM Playback Switch'
numid=4,iface=MIXER,name='PCM Playback Volume'
numid=5,iface=MIXER,name='Clock rate Selector'
numid=2,iface=PCM,name='Capture Channel Map'
numid=1,iface=PCM,name='Playback Channel Map'


2016-01-28 9:22 GMT+01:00 Clemens Ladisch <cladisch@xxxxxxxxxxxxxx>:
P Z wrote:
> Trying to ddx on the sunxi side, judging from the test soundfile and
> given the fact that recording works, how likely is it that this is
> a power supply issue

Pretty much impossible.

> aplay -D plughw:1,0 /home/bla/Desktop/Jamiroquai44100-24.wav

So what happens?

It might be possible that some mixer controls are not set correctly.
Show the output of "amixer -c1 scontents".


Regards,
Clemens

------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux