Sebastian Niehaus <[EMAIL PROTECTED]> writes:

> hkaiser <[EMAIL PROTECTED]> writes:
>> Sebastian Niehaus wrote:
>
> [...]
>
>>>ich weiß nicht, wie ich meinen Rechner[1] mit Fn-F4 in den Sleep-Modus
>>>schicke.
>
> [...]
>
>> funktioniert hier mit SID ohne Problem.


Naja, noch ein kleines Problem: Das funktioniert so nur, wenn ich
vorher

| /bin/echo enable  > /proc/acpi/ibm/hotkey

eingebe. Okay. 

Jetzt wollte ich diesen Befehl beim Laden des Modules ausführen.


,----
| crystalline:/etc# cat   /etc/modutils/ibm_acpi 
| 
| # Activate Hotkeys after loading ibm_acpi
| 
| post-install    ibm_acpi        "/bin/echo enable  > /proc/acpi/ibm/hotkey"
`----

(Ich habe es auch bereits ohne Anführungsstriche probiert)
Anschließend einmal "update-modules.modutils".

,----
| crystalline:/etc# grep ibm_acpi /etc/modules.conf
| ### update-modules: start processing /etc/modutils/ibm_acpi
| # Activate Hotkeys after loading ibm_acpi
| 
| post-install    ibm_acpi        "/bin/echo enable  > /proc/acpi/ibm/hotkey"
| 
| ### update-modules: end processing /etc/modutils/ibm_acpi
| crystalline:/etc#
`----

Gut. 

Modul entladen und neu geladen:


,----
| crystalline:/etc# rmmod ibm_acpi 
| crystalline:/etc# modprobe ibm_ac
`----

Nachgesehen, ob es geklappt hat: 

,----
| crystalline:/etc# cat  /proc/acpi/ibm/hotkey
| status:         disabled
| mask:           0x080c
| commands:       enable, disable, reset, <mask>
| crystalline:/etc# 
`----

Mist, ging nicht....

,----
| crystalline:/etc# /bin/echo enable >  /proc/acpi/ibm/hotkey
| crystalline:/etc# cat  /proc/acpi/ibm/hotkey
| status:         enabled
| mask:           0x080c
| commands:       enable, disable, reset, <mask>
| crystalline:/etc# 
`----

.... ist aber prinzipiell möglich. Warum bekomme ich es nicht hin,
nach dem Laden des Modules den Befehl abzusetzen?


Gruß,


Sebastian 


-- 
Haeufig gestellte Fragen und Antworten (FAQ): 
http://www.de.debian.org/debian-user-german-FAQ/

Zum AUSTRAGEN schicken Sie eine Mail an [EMAIL PROTECTED]
mit dem Subject "unsubscribe". Probleme? Mail an [EMAIL PROTECTED] (engl)

Antwort per Email an