** Description changed: Binary package hint: udev When I press Fn+F4, my laptop does not go to sleep as it supposed to. Through the menu, it goes to sleep well. showkey (ctrl+alt+F1 session) prints the following after I press Fn+F4: keycode 142 pressed keycode 142 released /lib/udev/findkeyboards gives AT keyboard input/event5 sudo /lib/udev/keymap -i input/event5 gives after I press Fn+F4 scan code: 0xDF key code: sleep cat /sys/class/dmi/id/sys_vendor gives Acer cat /sys/class/dmi/id/product_name gives Aspire one The output of sudo /lib/udev/keymap input/event5 is attached as keymap.txt. I tried to fix this problem mys elf - adding the following after LABEL="keyboard_vendorcheck" in /lib/udev/rules.d/95-keymap.rules: RUN+="keymap $name 0xDF sleep" After that, sudo /lib/udev/keymap input/event5 do show "0xDF sleep" binding, but when I press Fn+F4, nothing happens. When I execute acpi_listen and press Fn+F4, nothing happens. Besides, /etc/acpi/sleepbtn.sh is not called for sure - echo "hello" > /home/markhor/test.txt placed at the start does not work. - xev | sed -n 's/^.*state \([0-9].*\), keycode *\([0-9]\+\) *\(.*\), .*$/keycode \2 = \3, state = \1/p' + "xev | sed -n 's/^.*state \([0-9].*\), keycode *\([0-9]\+\) *\(.*\), .*$/keycode \2 = \3, state = \1/p'" gives nothing after I press Fn+F4, before and after the "fix". It prints ordinary key events though. + When I execute "sudo /lib/udev/keymap input/event5 0x02 sleep", I get + + setting scancode 0x 2 to key code 142 + + When I press "one" button, the digit is not printed to the console, however my laptop does not go to sleep. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: udev 151-12 ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2 Uname: Linux 2.6.32-22-generic i686 Architecture: i386 CustomUdevRuleFiles: 20-crystalhd.rules Date: Fri May 14 23:11:55 2010 InstallationMedia: Xubuntu 10.04 "Lucid Lynx" - Beta i386 (20100318) MachineType: Acer Aspire one ProcCmdLine: BOOT_IMAGE=/boot/vmlinuz-2.6.32-22-generic root=UUID=cfe64a9f-b0e1-4a51-88e8-1253d2a5381d ro quiet splash quiet splash nomodeset video=uvesafb:mode_option=1024x600-24,mtrr=3,scroll=ywrap ProcEnviron: LANG=en_US.utf8 SHELL=/bin/bash SourcePackage: udev dmi.bios.date: 03/01/2010 dmi.bios.vendor: Acer dmi.bios.version: V1.27 dmi.board.asset.tag: Base Board Asset Tag dmi.board.name: Aspire one dmi.board.vendor: Acer dmi.board.version: V1.27 dmi.chassis.type: 10 dmi.chassis.vendor: Acer dmi.chassis.version: V1.27 dmi.modalias: dmi:bvnAcer:bvrV1.27:bd03/01/2010:svnAcer:pnAspireone:pvrV1.27:rvnAcer:rnAspireone:rvrV1.27:cvnAcer:ct10:cvrV1.27: dmi.product.name: Aspire one dmi.product.version: V1.27 dmi.sys.vendor: Acer
-- Fn+F4 does not work on 10.04 and Acer Aspire One AOD250 https://bugs.launchpad.net/bugs/580682 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs