FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian Kernel

 
 
LinkBack Thread Tools
 
Old 11-18-2010, 12:26 PM
"filippo@drcreep.de"
 
Default Bug#581715: Ok, I paste inline

Sorry!!!
Here my configuration files.

Ciao, Filippo.

-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'testing'), (500, 'stable'), (1,
'experimental') Architecture: i386 (i686)

Kernel: Linux 2.6.33-2-686 (SMP w/1 CPU core)
Locale: LANG=it_IT.utf8, LC_CTYPE=it_IT.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages eeepc-acpi-scripts depends on:
ii acpi-support 0.137-5 scripts for handling many
ACPI eve ii acpi-support-base 0.137-5 scripts for
handling base ACPI eve ii acpid 1:2.0.6-1
Advanced Configuration and Power I ii pm-utils
1.3.0-2 utilities and scripts for power ma ii
rfkill 0.4-1 tool for enabling and
disabling wi

eeepc-acpi-scripts recommends no packages.

Versions of packages eeepc-acpi-scripts suggests:
ii alsa-utils 1.0.23-3 Utilities for configuring
and usin pn libnotify-bin <none> (no description
available)

-- Configuration Files:
/etc/acpi/actions/hotkey.sh changed:
PKG=eeepc-acpi-scripts
FUNC_LIB=/usr/share/$PKG/functions.sh
DEFAULT=/etc/default/$PKG
[ -e "$FUNC_LIB" ] || exit 0
case $(runlevel) in
*0|*6)
exit 0
;;
esac
BACKLIGHT=/sys/class/backlight/eeepc/brightness
if [ -e "$DEFAULT" ]; then . "$DEFAULT"; fi
. $FUNC_LIB
. /etc/acpi/lib/notify.sh
code=$3
value=$(test "x$1" = x- && cat "$BACKLIGHT" || echo "0x$3")
acpi=
acpiwrite=
ACPITEST=/lib/init/rw/eeepc-acpi-scripts.acpi-ignore
case "$code" in
# Soft buttons 3 & 4 are special.
# They're always reported as hotkeys (901, at least).
# This will probably break when button events are added for these
keys. 0000001[cd])
;;
*)
if test -f "$ACPITEST"; then
read acpi <"$ACPITEST"
else
acpiwrite=$(test "x$1" = x- && echo hotkey || echo -)
fi
test "$1" = "$acpi" && exit 0
;;
esac
seen_hotkey() { test "$acpi" = button; }
handle_mute_toggle() {
/etc/acpi/actions/volume.sh toggle
}
handle_volume_up() {
/etc/acpi/actions/volume.sh up
}
handle_volume_down() {
/etc/acpi/actions/volume.sh down
}
show_wireless() {
if /etc/acpi/actions/wireless.sh detect; then
status=Off
else
status=On
fi
notify wireless "Wireless $status"
}
handle_blank_screen() {
if [ -S /tmp/.X11-unix/X0 ]; then
detect_x_display
if [ -n "$XAUTHORITY" ]; then
xset dpms force off
fi
fi
}
show_bluetooth() {
if bluetooth_is_on; then
notify bluetooth 'Bluetooth On'
else
notify bluetooth 'Bluetooth Off'
fi
}
handle_bluetooth_toggle() {
. /etc/acpi/lib/bluetooth.sh
if [ -e "$BT_CTL" ] || [ "$BLUETOOTH_FALLBACK_TO_HCITOOL" =
"yes" ]; then toggle_bluetooth
show_bluetooth
else
notify error 'Bluetooth unavailable'
fi
}
show_camera() {
if camera_is_on; then
notify camera 'Camera Enabled'
else
notify camera 'Camera Disabled'
fi
}
handle_camera_toggle() {
. /etc/acpi/lib/camera.sh
if [ -e "$CAM_CTL" ]; then
toggle_camera
show_camera
else
notify error 'Camera unavailable'
fi
}
show_brightness() {
# final digit of ACPI code is brightness level in hex
level=$(($value & 0xF))
# convert hex digit to percent
percent=$(((100 * $level + 8) / 15))
notify brightness "Brightness $percent%" fast
}
handle_shengine() {
. /etc/acpi/lib/shengine.sh
handle_shengine "$@"
}
handle_touchpad_toggle() {
. /etc/acpi/lib/touchpad.sh
toggle_touchpad
case "$?" in
0)
notify touchpad 'Touchpad on'
;;
1)
notify touchpad 'Touchpad off'
;;
esac
}
handle_vga_toggle() {
/etc/acpi/actions/vga-toggle.sh
}
handle_gsm_toggle() {
/etc/acpi/actions/gsm.sh toggle
if /etc/acpi/actions/gsm.sh detect; then
notify gsm "GSM off"
else
notify gsm "GSM on"
fi
}
case $(cat /sys/class/dmi/id/product_name) in
[79]*|1000H)
case $code in
ZOOM)
code=0000001b # soft button 2
;;
esac
;;
*)
case $code in
ZOOM)
code=00000038 # Fn-F4
;;
esac
;;
esac
case $code in
# Fn + key:
# <700/900-series key>/<1000-series key> - function
# "--" = not available
# F1/F1 - suspend
# (not a hotkey, not handled here)
# F2/F2 - toggle wireless
0000001[01]|WLAN)
notify wireless 'Wireless ...'
if grep -q '^H.*rfkill' /proc/bus/input/devices; then
:
else
/etc/acpi/actions/wireless.sh toggle
fi
show_wireless
if ! /etc/acpi/actions/wireless.sh detect; then
wakeup_wicd
fi
;;
# --/F3 - touchpad toggle
00000037)
if [ "${FnF_TOUCHPAD}" != 'NONE' ]; then
${FnF_TOUCHPAD:-handle_touchpad_toggle}
fi
;;
# --/F4 - resolution change
00000038) # ZOOM
if [ "${FnF_RESCHANGE}" != 'NONE' ]; then
$FnF_RESCHANGE
fi
;;
# F3/F5 - decrease brightness
# F4/F6 - increase brightness
0000002?|BRTDN|BRTUP)
# actual brightness change is handled in hardware
if [ "x$ENABLE_OSD_BRIGHTNESS" != "xno" ]; then
show_brightness
fi
;;
# --/F7 - backlight off
00000016)
if [ "${FnF_BACKLIGHTOFF}" != 'NONE' ]; then
${FnF_BACKLIGHTOFF:-handle_blank_screen}
fi
;;
# F5/F8 - toggle CAMERA
0000003[012]|VMOD)
if [ "${FnF_CAMERA}" != 'NONE' ]; then
${FnF_CAMERA:-handle_camera_toggle}
fi
;;
# F6/F9 - 'task manager' key
00000012|PROG1)
if [ "${FnF_Space}" != 'NONE' ]; then
${FnF_Space:-handle_shengine}
fi
;;
# F7/F10 - mute/unmute speakers
00000013|MUTE)
if [ "${FnF_MUTE}" != 'NONE' ]; then
${FnF_MUTE:-handle_mute_toggle}
fi
;;
# F8/F11 - decrease volume
00000014|VOLDN)
if [ "${FnF_VOLUMEDOWN}" != 'NONE' ]; then
${FnF_VOLUMEDOWN:-handle_volume_down}
fi
;;
# F9/F12 - increase volume
00000015|VOLUP)
if [ "${FnF_VOLUMEUP}" != 'NONE' ]; then
${FnF_VOLUMEUP:-handle_volume_up}
fi
;;
# --/Space - SHE management
# (ACPI event code not known)
# Silver keys, left to right
# Soft button 1
0000001a|SCRNLCK)
if [ "${SOFTBTN1_ACTION}" != 'NONE' ]; then
${SOFTBTN1_ACTION:-handle_blank_screen}
fi
;;
# Soft button 2
0000001b) # ZOOM
if [ "${SOFTBTN2_ACTION}" != 'NONE' ]; then
${SOFTBTN2_ACTION}
fi
;;
# Soft button 3
0000001c)
if [ "${SOFTBTN3_ACTION}" != 'NONE' ]; then
${SOFTBTN3_ACTION:-handle_camera_toggle}
fi
acpiwrite=
;;
# Soft button 4
0000001d)
if [ "${SOFTBTN4_ACTION}" != 'NONE' ]; then
${SOFTBTN4_ACTION:-handle_bluetooth_toggle}
fi
acpiwrite=
;;
# SHE button
00000039)
if [ "${SOFTBTNSHE_ACTION}" != 'NONE' ]; then
${SOFTBTNSHE_ACTION:-handle_shengine}
fi
acpiwrite=
;;
esac
test "$acpiwrite" = ' || echo "$acpiwrite" >"$ACPITEST"

/etc/default/eeepc-acpi-scripts changed:
ENABLE_OSD='no'
OSD_FONT='DejaVuSans 36'
ENABLE_OSD_BRIGHTNESS='no'
SOUND_LABEL=
SOUND_SWITCH=
SOUND_SWITCH_EXCLUSIVE=
SOUND_PREFER_MASTER=yes
SOUND_VOLUME_STEP=1.5
DETAILED_SOUND_INFO=no
VGA_ON='--auto'
LVDS_OFF='--off'
BLUETOOTH_FALLBACK_TO_HCITOOL='yes'
SOFTBTN1_ACTION='handle_blank_screen'
SOFTBTN2_ACTION='NONE'
SOFTBTN3_ACTION='handle_camera_toggle'
SOFTBTN4_ACTION='handle_bluetooth_toggle'
SOFTBTNSHE_ACTION='handle_shengine'
FnF_TOUCHPAD='handle_touchpad_toggle'
FnF_RESCHANGE='NONE'
FnF_BACKLIGHTOFF='handle_blank_screen'
FnF_VGATOGGLE='handle_vga_toggle'
FnF_TASKMGR='NONE'
FnF_MUTE='NONE'
FnF_VOLUMEDOWN='NONE'
FnF_VOLUMEUP='NONE'
PWR_CLOCK_AC=
PWR_CLOCK_BATTERY=


-- no debconf information



--
To UNSUBSCRIBE, email to debian-kernel-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20101118142626.2e75a34a@mrmonkey">http://lists.debian.org/20101118142626.2e75a34a@mrmonkey
 

Thread Tools




All times are GMT. The time now is 01:33 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org