How to debug hot key disfuntion (on asus eepc) ?

Henri-Pierre Charles hpcharles at gmail.com
Wed Feb 13 14:30:33 UTC 2008


Hello,

On 2/11/08, Henri-Pierre Charles <hpcharles at gmail.com> wrote:
> Hello, I have an asus eepc 701, FreeBSD 7.0 RC1 + patch for the ath
> wifi connection.
> It work quite well, but I'm unable to use ALT+F5 which is supposed to
> swicth between LCD and VGA port (with or without ACPI enabled).
>

I answer for myself :
* It's an acpi related problem, but I still don't know how to debug this
* A turnaround is a script with xrand. Boot FreeBSD with a vga
connection. Start X (I personnaly use startxfce4 WITHOUT any
xorg.conf). In an xterm type xrandr :
You get
> xrandr
Screen 0: minimum 320 x 200, current 1280 x 1024, maximum 1280 x 1280
VGA connected 1280x1024+0+0 (normal left inverted right x axis y axis)
376mm x 301mm
   1280x1024      60.0*+   75.0     59.9
   1280x960       59.9
   1152x864       75.0     74.8
   1024x768       75.1     70.1     60.0
   832x624        74.6
   800x600        72.2     75.0     60.3     56.2
   640x480        75.0     72.8     66.7     60.0
   720x400        70.1
LVDS connected 800x480+0+0 (normal left inverted right x axis y axis) 0mm x 0mm
   800x480        60.0*+
   640x480        85.0     72.8     75.0     59.9
   720x400        85.0
   640x400        85.1
   640x350        85.1
TV disconnected (normal left inverted right x axis y axis)

You can activate/desactivate the vga port with :
> xrandr --output VGA --off
> xrandr --output VGA --auto

Thanks for :
http://nighthack.org/wiki/EeeBSD

Follow all the steps except for xorg.conf

Then pick some ideas from
http://www.di2.nu/software/eeetweaks.htm
(xorg.conf and vga-toggle)

You are done with a pretty cool screen :
screen #0:
  dimensions:    1280x1024 pixels (375x300 millimeters)
  resolution:    87x87 dots per inch
  depths (7):    24, 1, 4, 8, 15, 16, 32
  root window id:    0x7d
  depth of root window:    24 planes

The only annoying point is the network interface which doesn't work.
(the wireless is ok) Any idea ?

-- 
HPC


More information about the freebsd-current mailing list