Public bug reported:

Binary package hint: hotkey-setup

In the 'do_video' and 'do_thinkpad' methods in /etc/init.d/hotkey-setup,
the following code is used to find out what video driver X is using:

VIDEO=`sed -n -e '/^[ \t]*section[ \\t]*"device"/I,/^[
\t]*endsection/I{/^[ \t]*driver[ \t]*/I{s/^[ \t]*driver[ \t]*"*//I;s/"*[
\t]*$//;p}}' /etc/X11/xorg.conf`

The value of $VIDEO is then tested to see if it is 'intel', 'ati', or
'radeon'. Unfortunately, with the new, less-configuration-required
X.Org, the xorg.conf doesn't actually contain a "Driver" line in the
"Device" section. The value of $VIDEO ends up being empty, and the code
that is conditional on the test doesn't get run when it should.

It doesn't seem like the configuration of the thinkpad_acpi hotkey mask
(at line 32 in hotkey-setup) should be dependent on the video driver in
use, in any case. Surely if the driver were 'fglrx', for example, the
hotkey mask should still be configured?

This is in hardy final, with hotkey-setup version 0.1-17ubuntu21, on an
IBM ThinkPad T43 model 2668F5G.

** Affects: hotkey-setup (Ubuntu)
     Importance: Undecided
         Status: New

-- 
/etc/init.d/hotkey-setup looks at xorg.conf to find what video driver is in 
use; this doesn't work any more
https://bugs.launchpad.net/bugs/221571
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to