Default system sound card

'User made' tutorials related to Porteus Kiosk edition.
Official kiosk documentation can be find here: http://porteus-kiosk.org/documentation.html
Forum rules
Porteus Kiosk section of the forum is unmaintained now. Its kept in a 'read only' mode for archival purposes.
Please use the kiosk contact page for directing your queries: https://porteus-kiosk.org/contact.html
audiophile
Ronin
Ronin
Posts: 2
Joined: 31 Oct 2022, 15:54
Distribution: Porteus Kiosk 5.4.0

Default system sound card

Post#1 by audiophile » 31 Oct 2022, 16:02

I got my sound card info:

card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]

But the below instruction don't show how to ammend this info:

"Function: Default system sound card
Parameter: default_sound_card
Description:
Set the default sound card in case you have no sound in the system or when you want to redirect the sound output to external monitor/TV. Data for the parameter can be obtained by running 'aplay -l' command on a Linux system booted on the target hardware. Sample output for card 0, device 9:
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]
If the parameter is not present then device 0, card 0 is set as default sound card (if available in the system).
The following parameter value format must be preserved: 'card.device'.
Examples:
default_sound_card=0.1
default_sound_card=0.3
default_sound_card=1.0"



What text line must I add to config file to make my audio work? Thanks!

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Default system sound card

Post#2 by fanthom » 01 Nov 2022, 10:19

Hi audiophile,

See the description:
The following parameter value format must be preserved: 'card.device'.

If your sound card is really this one (I actually doubt this - more than likely you have copied this output from the parameter description):
card 0: NVidia [HDA NVidia], device 9: HDMI 3 [HDMI 3]

the you should use this parameter:
default_sound_card=0.9

Thanks
Please add [Solved] to your thread title if the solution was found.

audiophile
Ronin
Ronin
Posts: 2
Joined: 31 Oct 2022, 15:54
Distribution: Porteus Kiosk 5.4.0

Default system sound card

Post#3 by audiophile » 01 Nov 2022, 16:48

Thanks for the reply. I tried that. I was able to figure out you had to put put 0.9. although this didn't work and also removing the default sound card line didn't work either.
You said I probably put the wrong information I typed the command in the terminal and that's what came up for the information how else do I get that information about the sound card?

Thanks

User avatar
fanthom
Moderator Team
Moderator Team
Posts: 5667
Joined: 28 Dec 2010, 02:42
Distribution: Porteus Kiosk
Location: Poland
Contact:

Default system sound card

Post#4 by fanthom » 02 Nov 2022, 07:38

Please generate debug log:
https://porteus-kiosk.org/screens/news/ ... report.png

upload it to pastebin.com and link here.

Thanks
Please add [Solved] to your thread title if the solution was found.

Locked