tvtime sound config file need change after reboot


up vote
0
down vote
favorite
On my Ubuntu 16.04 every time I run tvtime
after a reboot the sound does not work. I discovered that it is because it changes the order of the sound boards in this list:
$ cat / proc / asound / cards
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xf7b14000 irq 33
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7b10000 irq 32
2 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
3 [Camera ]: USB-Audio - USB2.0 Camera
AVEO Technology Corp. USB2.0 Camera at usb-0000:00:14.0-4, high speed
The one that I use is the 1 (PCH) the problem is that in the next restart it changes the order being able to be in 2 so i need to modifie the config file.
In the configuration file .tvtime.xml the line that I must modify is:
<option name = "MixerDevice" value = "hw: 1 / Line" />
changing the 1 by the number in which it falls.
Is there a way to make a script that does this in an automated way?
I hope my English is not very bad and it is understood.
Thank you very much.
sound tvtime
add a comment |Â
up vote
0
down vote
favorite
On my Ubuntu 16.04 every time I run tvtime
after a reboot the sound does not work. I discovered that it is because it changes the order of the sound boards in this list:
$ cat / proc / asound / cards
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xf7b14000 irq 33
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7b10000 irq 32
2 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
3 [Camera ]: USB-Audio - USB2.0 Camera
AVEO Technology Corp. USB2.0 Camera at usb-0000:00:14.0-4, high speed
The one that I use is the 1 (PCH) the problem is that in the next restart it changes the order being able to be in 2 so i need to modifie the config file.
In the configuration file .tvtime.xml the line that I must modify is:
<option name = "MixerDevice" value = "hw: 1 / Line" />
changing the 1 by the number in which it falls.
Is there a way to make a script that does this in an automated way?
I hope my English is not very bad and it is understood.
Thank you very much.
sound tvtime
add a comment |Â
up vote
0
down vote
favorite
up vote
0
down vote
favorite
On my Ubuntu 16.04 every time I run tvtime
after a reboot the sound does not work. I discovered that it is because it changes the order of the sound boards in this list:
$ cat / proc / asound / cards
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xf7b14000 irq 33
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7b10000 irq 32
2 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
3 [Camera ]: USB-Audio - USB2.0 Camera
AVEO Technology Corp. USB2.0 Camera at usb-0000:00:14.0-4, high speed
The one that I use is the 1 (PCH) the problem is that in the next restart it changes the order being able to be in 2 so i need to modifie the config file.
In the configuration file .tvtime.xml the line that I must modify is:
<option name = "MixerDevice" value = "hw: 1 / Line" />
changing the 1 by the number in which it falls.
Is there a way to make a script that does this in an automated way?
I hope my English is not very bad and it is understood.
Thank you very much.
sound tvtime
On my Ubuntu 16.04 every time I run tvtime
after a reboot the sound does not work. I discovered that it is because it changes the order of the sound boards in this list:
$ cat / proc / asound / cards
0 [HDMI ]: HDA-Intel - HDA Intel HDMI
HDA Intel HDMI at 0xf7b14000 irq 33
1 [PCH ]: HDA-Intel - HDA Intel PCH
HDA Intel PCH at 0xf7b10000 irq 32
2 [NVidia ]: HDA-Intel - HDA NVidia
HDA NVidia at 0xf7080000 irq 17
3 [Camera ]: USB-Audio - USB2.0 Camera
AVEO Technology Corp. USB2.0 Camera at usb-0000:00:14.0-4, high speed
The one that I use is the 1 (PCH) the problem is that in the next restart it changes the order being able to be in 2 so i need to modifie the config file.
In the configuration file .tvtime.xml the line that I must modify is:
<option name = "MixerDevice" value = "hw: 1 / Line" />
changing the 1 by the number in which it falls.
Is there a way to make a script that does this in an automated way?
I hope my English is not very bad and it is understood.
Thank you very much.
sound tvtime
edited May 23 at 18:55
Thomas
3,10071325
3,10071325
asked May 23 at 18:41
user1877038
11
11
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1039532%2ftvtime-sound-config-file-need-change-after-reboot%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password