Re: Unable to set hw params - protocol error

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

 



Hi Stu,

it looks like Alsa is having trouble retrieving mixer control information from the device,
or a quirk is missing, or something like that.

Recent kernels have a new usb_audio_dbg() feature that dynamically enable printing of debug information for usb audio.
If you kernel was compiled with DEBUG, this information should be logged in messages or kern.log

Otherwise you need to recompile with this option or with DYNAMIC_DEBUG option,
and then activate debug traces for the mixer using the command:
  echo "file mixer.c" > /sys/kernel/debug/dynamic_debug/control

Activating traces for any file located under "sound/usb/" could also be useful.

Then, plug your card, try to aplay and amixer, and let us know what comes out.


Hope this helps,

Sam

2015-06-24 13:20 GMT+02:00 noblesavage114 <stusmithe@xxxxxxxxxxx>:
Have made a 48K 16bit wav file for testing and get error msg:

stu@Server:~$ sudo aplay -D plughw:1,0 /media/Disk2/Rehab.wav
Playing WAVE '/media/Disk2/Rehab.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo
aplay: set_params:1297: Unable to install hw params:
ACCESS:  RW_INTERLEAVED
FORMAT:  S16_LE
SUBFORMAT:  STD
SAMPLE_BITS: 16
FRAME_BITS: 32
CHANNELS: 2
RATE: 48000
PERIOD_TIME: 125000
PERIOD_SIZE: 6000
PERIOD_BYTES: 24000
PERIODS: 4
BUFFER_TIME: 500000
BUFFER_SIZE: 24000
BUFFER_BYTES: 96000
TICK_TIME: 0

alsamixer gives error when I try to select xmos:

cannot load mixer controls: Protocol error


The output from the alsa info script is here:



lsusb -v  - is available at:


Have spent a weekend on this before I called for help, any advice would be great - specifically if this xmos board will not work then I will know - it works under windows fine.

It is the 10pin U8 xmos daughter board for chinese AK4399 dac also for the ES9018 Dac i Believe

Stu

------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors
network devices and physical & virtual servers, alerts via email & sms
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user


------------------------------------------------------------------------------
Monitor 25 network devices or servers for free with OpManager!
OpManager is web-based network management software that monitors 
network devices and physical & virtual servers, alerts via email & sms 
for fault. Monitor 25 devices for free with no restriction. Download now
http://ad.doubleclick.net/ddm/clk/292181274;119417398;o
_______________________________________________
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