From 1ce19eaa760f337878e7e681cfcf7ddcf2621d9c Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Tue, 11 Mar 2008 15:25:02 +0000 Subject: (switch) display trouble shooting when there's no driver too --- perl-install/NEWS | 1 + perl-install/harddrake/sound.pm | 10 +++++----- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index c2ef64662..bcdd7ab5c 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -3,6 +3,7 @@ - draksound (#37826): o add support to enable/disable PulseAudio o add support to enable/disable user switching + o display trouble shooting when there's no driver too - cpufreq: fix gsx-suspmod probe - scannerdrake: fix to open usbtable.gz instead of usbtable diff --git a/perl-install/harddrake/sound.pm b/perl-install/harddrake/sound.pm index 12d0879fd..7bc45c132 100644 --- a/perl-install/harddrake/sound.pm +++ b/perl-install/harddrake/sound.pm @@ -287,6 +287,11 @@ sub switch { text => N("Enable user switching for audio applications"), type => 'bool', val => \$is_user_switching, }, + { + advanced => 1, + val => N("Trouble shooting"), disabled => sub {}, + clicked => sub { &trouble($in) } + }, ); if ($new_driver eq 'unknown') { @@ -331,11 +336,6 @@ To use alsa, one can either use: : "%s [%s]"), $drv, $drv =~ /^snd_/ ? 'ALSA' : 'OSS'); } }, - { - advanced => 1, - val => N("Trouble shooting"), disabled => sub {}, - clicked => sub { &trouble($in) } - }, @common, ])) { -- cgit v1.2.1