Thanks for your replay.<div>It is a very strange problem, because does not occur always. Now, for example, all goes well.</div><div><br></div><div>Here is the output of second command:</div><div><div>eeepc:~#  sh -x /etc/acpi/actions/hotkey.sh . . 00000039 .; echo &#39;ret:&#39; $?</div>

<div>+ PKG=eeepc-acpi-scripts</div><div>+ FUNC_LIB=/usr/share/eeepc-acpi-scripts/functions.sh</div><div>+ DEFAULT=/etc/default/eeepc-acpi-scripts</div><div>+ [ -e /usr/share/eeepc-acpi-scripts/functions.sh ]</div><div>+ runlevel</div>

<div>+ BACKLIGHT=/sys/class/backlight/eeepc/brightness</div><div>+ [ -e /etc/default/eeepc-acpi-scripts ]</div><div>+ . /etc/default/eeepc-acpi-scripts</div><div>+ ENABLE_OSD=no</div><div>+ OSD_FONT=DejaVuSans 36</div><div>

+ ENABLE_OSD_BRIGHTNESS=no</div><div>+ SOUND_LABEL=</div><div>+ SOUND_SWITCH=</div><div>+ SOUND_SWITCH_EXCLUSIVE=</div><div>+ SOUND_PREFER_MASTER=yes</div><div>+ SOUND_VOLUME_STEP=1.5</div><div>+ DETAILED_SOUND_INFO=no</div>

<div>+ VGA_ON=--auto</div><div>+ LVDS_OFF=--off</div><div>+ SUSPEND_METHOD=pm-suspend</div><div>+ SUSPEND_OPTIONS=--quirk-s3-bios</div><div>+ LOCK_SCREEN_ON_SUSPEND=yes</div><div>+ LID_CLOSE_ACTION=</div><div>+ BLUETOOTH_FALLBACK_TO_HCITOOL=yes</div>

<div>+ SOFTBTN1_ACTION=handle_blank_screen</div><div>+ SOFTBTN2_ACTION=NONE</div><div>+ SOFTBTN3_ACTION=handle_camera_toggle</div><div>+ SOFTBTN4_ACTION=handle_bluetooth_toggle</div><div>+ SOFTBTNSHE_ACTION=handle_shengine</div>

<div>+ FnF_TOUCHPAD=handle_touchpad_toggle</div><div>+ FnF_RESCHANGE=NONE</div><div>+ FnF_BACKLIGHTOFF=handle_blank_screen</div><div>+ FnF_VGATOGGLE=handle_vga_toggle</div><div>+ FnF_TASKMGR=NONE</div><div>+ FnF_MUTE=handle_mute_toggle</div>

<div>+ FnF_VOLUMEDOWN=handle_volume_down</div><div>+ FnF_VOLUMEUP=handle_volume_up</div><div>+ PWR_CLOCK_AC=</div><div>+ PWR_CLOCK_BATTERY=</div><div>+ . /usr/share/eeepc-acpi-scripts/functions.sh</div><div>+ have_dev_rfkill</div>

<div>+ [ -c /dev/rfkill ]</div><div>+ . /etc/acpi/lib/notify.sh</div><div>+ code=00000039</div><div>+ test x. = x-</div><div>+ echo 0x00000039</div><div>+ value=0x00000039</div><div>+ acpi=</div><div>+ acpiwrite=</div><div>

+ ACPITEST=/lib/init/rw/eeepc-acpi-scripts.acpi-ignore</div><div>+ test -f /lib/init/rw/eeepc-acpi-scripts.acpi-ignore</div><div>+ read acpi</div><div>+ test . = -</div><div>+ cat /sys/class/dmi/id/product_name</div><div>

+ [  != NONE ]</div><div>+ handle_shengine</div><div>+ . /etc/acpi/lib/shengine.sh</div><div>+ SHENGINE_CTL=/sys/devices/platform/eeepc/cpufv</div><div>+ cat /sys/devices/platform/eeepc/cpufv</div><div>+ SHENGINE_LIMIT=0x302</div>

<div>+ SHENGINE_LIMIT=3</div><div>+ SHENGINE_CONFIG=/var/lib/eeepc-acpi-scripts/cpufv</div><div>+ cat /var/lib/eeepc-acpi-scripts/cpufv</div><div>+ SHENGINE_SETTING=manual</div><div>+ SHENGINE_SETTING=manual</div><div>+ handle_shengine</div>

<div>+ [ -e /sys/devices/platform/eeepc/cpufv ]</div><div>+ [  =  ]</div><div>+ cycle_shengine</div><div>+ [ -e /sys/devices/platform/eeepc/cpufv ]</div><div>+ get_shengine</div><div>+ [ manual = auto -a  =  ]</div><div>
+ [ -e /sys/devices/platform/eeepc/cpufv ]</div>
<div>+ cat /sys/devices/platform/eeepc/cpufv</div><div>+ echo 2</div><div>+ SHENGINE_CLOCKING=2</div><div>+ [ manual = auto ]</div><div>+ SHENGINE_CLOCKING=0</div><div>+ [ 0 = 0 ]</div><div>+ cat /sys/class/power_supply/AC0/online</div>

<div>+ [ 1 != 0 ]</div><div>+ SHENGINE_CLOCKING=</div><div>+ SHENGINE_DEFAULT=0</div><div>+ [ :+1 ]</div><div>+ SHENGINE_SETTING=auto</div><div>+ echo auto</div><div>+ echo 0</div><div>+ [  !=  ]</div><div>+ get_shengine</div>

<div>+ [ auto = auto -a  =  ]</div><div>+ echo 255</div><div>+ notify super_hybrid_engine S. H. Engine: Automatic</div><div>+ CATEGORY=super_hybrid_engine</div><div>+ MSG=S. H. Engine: Automatic</div><div>+ [ -n  -o ( -n  -a  != fast ) ]</div>

<div>+ echo S. H. Engine: Automatic</div><div>S. H. Engine: Automatic</div><div>+ [ ! -S /tmp/.X11-unix/X0 ]</div><div>+ [ xno = xno ]</div><div>+ return</div><div>+ test  = </div><div>ret: 0</div><div><br></div><div>acpi-listen gives the correct value.</div>

<div><br></div><div>I&#39;ll keep an eye on that and I&#39;ll post the required data when and if the problem will occur again!</div><div>Ciao and thanks.</div><div><br></div></div><div><br><div class="gmail_quote">2010/1/25 Darren Salt <span dir="ltr">&lt;<a href="mailto:linux@youmustbejoking.demon.co.uk" target="_blank">linux@youmustbejoking.demon.co.uk</a>&gt;</span><br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I demand that Domenico Cufalo may or may not have written...<br>
<div><br>
&gt; As in subject, when I start the PC with Bluetooth turned off, it seems<br>
&gt; impossible manage she-engine.<br>
<br>
</div>That&#39;s... strange. Some debugging will be needed:<br>
<br>
* Run &quot;acpi_listen&quot;, press the S.H.E. button and report what events are<br>
  reported for it. It would be worth knowing whether/how toggling Bluetooth<br>
  affects this.<br>
<br>
* Run (as root)<br>
    sh -x /etc/acpi/actions/hotkey.sh . . 00000039 .; echo &#39;ret:&#39; $?<br>
<font color="#888888"><br>
--<br>
| Darren Salt            | linux at youmustbejoking | nr. Ashington, | Doon<br>
| using Debian GNU/Linux | or ds    ,demon,co,uk    | Northumberland | Army<br>
| + Vermin Media = Internet Surveillance Partner of HM Govt. ENCRYPT!<br>
<br>
You do not have mail.<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Prof. Domenico Cufalo<br>Via Contessa Matilde 14<br>56123 Pisa (PI)<br>Tel.: 3475207746<br>
</div>