Re: List devices

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

 



When testing this on an Raspberry Pi with Raspbian Stretch, it works fine. I.e. when adding a hint section, the pcm device is listed when running "aplay -L".

But it does not work on the target platform I'm using. Is this an ALSA version issue ? How can I tell which version of ALSA is used on a particular platform ?

Regards
/Robert

> -----Original Message-----
> From: Robert Bielik <Robert.Bielik@xxxxxxxxx>
> Sent: den 6 september 2018 14:46
> To: Alsa User <alsa-user@xxxxxxxxxxxxxxxxxxxxx>
> Subject: Re:  List devices
> 
> Hi Clemens,
> 
> Thanks for hint 😊 I added hint description and show as follows:
> 
> pcm.i2s_play {
>         type dmix
>         ipc_key 1024
>         ipc_key_add_uid 0
>         slave {
>                 pcm {
>                         type hw
>                         card 1
>                 }
>                 rate 96000
>                 format S24_3LE
>         }
>         hint.description "I2S device"
>         hint.show on
> }
> 
> Still it does not show up with aplay -L. The alsa.conf setting wrt hints:
> 
> # show all name hints also for definitions without hint {} section
> defaults.namehint.showall off
> # show just basic name hints
> defaults.namehint.basic on
> # show extended name hints
> defaults.namehint.extended off
> 
> Anything else I need to do ?
> 
> Regards
> /Robert
> 
> > -----Original Message-----
> > From: Clemens Ladisch via Alsa-user <alsa-user@xxxxxxxxxxxxxxxxxxxxx>
> > Sent: den 6 september 2018 11:34
> > To: alsa-user@xxxxxxxxxxxxxxxxxxxxx
> > Subject: Re:  List devices
> >
> > Robert Bielik wrote:
> > > I cannot get it listed with ALSA API function snd_device_name_hint.
> >
> > This is undocumented; see the "hint" entries in the standard .conf files.
> >
> >
> > Regards,
> > Clemens
> >
> > ------------------------------------------------------------------------------
> > Check out the vibrant tech community on one of the world's most
> > engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> > _______________________________________________
> > Alsa-user mailing list
> > Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/alsa-user
> ------------------------------------------------------------------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Alsa-user mailing list
> Alsa-user@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/alsa-user
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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