On 2 September 2015 at 12:27, Tom Horsley <horsley1953@xxxxxxxxx> wrote: > Every single fedora release, and sometimes even just from > an update where there wasn't a full release, the sound > devices get renumbered or renamed. The last time I > tried to play a movie and send the sound to the optical > output connected to my receiver, this worked: > > pacmd set-card-profile 1 off > mplayer -vo gl_nosw -ao alsa:device=hw=1.1 -ac hwdts,hwac3, -monitoraspect 16:9 -fs "$@" > > I tried it last night for the first time in a while, and > it doesn't work. I've had to fiddle this script over and > over again every time sound devices change. > > When are we going to get immutable names for sound devices? > If they can do it for ethernet ports, surely they can > do it for sound cards, right? (Though come to think of it > the "immutable" ethernet port names change in every release > as well :-). > cat /proc/asound/cards 0 [PCH ]: HDA-Intel - HDA Intel PCH HDA Intel PCH at 0xf6420000 irq 82 1 [NVidia ]: HDA-Intel - HDA NVidia HDA NVidia at 0xf6080000 irq 36 The text in [] can be used as an alsa device name. You can still add the "," for sub devices. -- imalone http://ibmalone.blogspot.co.uk -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines Have a question? Ask away: http://ask.fedoraproject.org