Re: [Alsa-user] [alsa-user] Error: Unable to install hw params

2021-03-22 Thread Alan Corey
0-3 are playback and 4-6 are capture devices. That seems odd. They don't normally mix I think. You have play devices 0-3 and record devices 0-2.They're separate lists. So device 6 is invalid. On Mon, Mar 22, 2021, 10:34 AM Alan Corey wrote: > The way I do it is to start with a line that wor

Re: [Alsa-user] [alsa-user] Error: Unable to install hw params

2021-03-22 Thread Alan Corey
The way I do it is to start with a line that works and change one thing at a time. Do a quick test and if it still works go on to the next change otherwise undo. 6 devices means 0-5. On Mon, Mar 22, 2021, 9:39 AM Vijay Rakesh Munganda < vijayrakeshmunga...@gmail.com> wrote: > Hi Alan, > > Thank

Re: [Alsa-user] [alsa-user] Error: Unable to install hw params

2021-03-22 Thread Vijay Rakesh Munganda
Hi Alan, Thanks for the reply. I’m working on an embedded board which has 6 devices where 0-3 are playback and 4-6 are capture devices. Playback works fine but not recording. Whatever format I use I get an error saying as `unable to hw params` I tried plughw which also didn’t worked. I’m not su

Re: [Alsa-user] [alsa-user] Error: Unable to install hw params

2021-03-22 Thread Alan Corey
This works for me arecord -D hw:0,0 -d 5 -f S16_LE -r 48000 -c 2 test.wav Recording WAVE 'test.wav' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo root@pbp:/tmp/snd# ^C Do you really have 6 devices on card 0? And I don't know that I've ever seen a 32 bit wav file, 8 is often enough. Need t

Re: [Alsa-user] [alsa-user] Error: Unable to install hw params

2021-03-21 Thread Vijay Rakesh Munganda
Hi All, Any suggestions? Thanks & Regards, Vijay Rakesh > On 01-Feb-2021, at 14:00, Vijay Rakesh Munganda > wrote: > > Hi Clemens, > > I have tried both pulghw and also given supported sample rate/format, but I > get same error. > > root@test:~# arecord -D hw:0,6 -d 5 -f S32_LE -r 4800

Re: [Alsa-user] [alsa-user] Error: Unable to install hw params

2021-02-01 Thread Vijay Rakesh Munganda
Hi Clemens, I have tried both pulghw and sample rate/format, but I get same error. root@test:~# arecord -D hw:0,6 -d 5 -f S32_LE -r 48000 test.wav Recording WAVE 'test.wav' : Signed 32 bit Little Endian, Rate 48000 Hz, Mono arecord: set_params:1405: Unable to install hw params: ACCESS: RW_INTE

Re: [Alsa-user] [alsa-user] Error: Unable to install hw params

2021-01-30 Thread Clemens Ladisch via Alsa-user
Vijay Rakesh Munganda wrote: > I had tried to record a sample audio using arecord, “arecord hw:0,6 -d 10 > test.wav” but I got an error as unable to install hw params. Use plughw:0,x instead of hw:0,x to get automatic sample format conversion. Or tell arecord to use a sample rate/format that you