Results 1 to 7 of 7

Thread: Keyboard Problem - (Caps lock, Numlock) Hardy

  1. #1
    Join Date
    Mar 2006
    Beans
    28

    Keyboard Problem - (Caps lock, Numlock) Hardy

    Hi there,
    I have just installed Hardy on a Macbook Pro Core 2 Duo. Everything is working, ati driver, wireless(although i had to manual install from a svn version of madwifi as described in the macbook pro wiki).

    The only problem i have is that the caps lock key and the numlock key are not working in the sense that the light doesn't light when i press it. Although i do get the uppercase letters when i push it.

    Futher what i see is that pressing a key in the keyboard hangs the mouse temporally and when i release it the mouse works again.

    Is this a known issue? any workaround?

    By the way i did a clean install of Hardy and not an upgrade.

    (In Gutsy I didn't have this problem, the keys were working fine and the
    mouse issus)

    Any ideas?

    Thanks in advance,
    Christos

  2. #2
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: Keyboard Problem - (Caps lock, Numlock) Hardy

    Quote Originally Posted by cvasilak View Post
    The only problem i have is that the caps lock key and the numlock key are not working in the sense that the light doesn't light when i press it. Although i do get the uppercase letters when i push it.
    you might just have to deal with it. this is not an unusual problem, but you might try pommed to see if it changes the behavior.

    Quote Originally Posted by cvasilak View Post
    Futher what i see is that pressing a key in the keyboard hangs the mouse temporally and when i release it the mouse works again.
    This is actually done on purpose for some reason and was the case in gutsy too... See this thread:
    http://ubuntuforums.org/showthread.php?t=545244

  3. #3
    Join Date
    Mar 2006
    Beans
    28

    Re: Keyboard Problem - (Caps lock, Numlock) Hardy

    Thanks cyberdork33 for your reply.

    I don't know if it breaks some other program but for the time being i have uninstalled "mouseemu" package and everything is back to normal. Seems to be some conflict of mousemu with the rest of the system.

    Caps lock and numlock keys work, touchpad works, mouse doesn't hang when i press a key and all of the functions keys(volume up down, brightness, backlight) work ok (I haven't used pommed, they work by default).

    I guess i will see in the future if it breaks sth else but for now I am happy

    Thanks,
    Christos

  4. #4
    Join Date
    Jun 2007
    Location
    SP, Brazil
    Beans
    Hidden!

    Re: Keyboard Problem - (Caps lock, Numlock) Hardy

    For keyboard leds check in https://bugs.launchpad.net/ubuntu/+s...ux/+bug/218263
    and https://bugs.launchpad.net/ubuntu/+s...mu/+bug/103375
    Confirmed removing package mouseemu fix problem with keyboard leds not lighting up.

    Probably there is some kind of problem with mouseemu.
    On my MacBook 2nd gen trackpad mouse sometimes doesn't load if I keep pressing touchpad before GDM screen displays.

    Normal boot I have this:
    [ 26.015669] input: Macintosh mouse button emulation as /devices/virtual/input/input0
    [ 26.015806] PNP: No PS/2 controller found. Probing ports directly.
    [ 26.016659] i8042.c: No controller found.
    [ 26.035879] mice: PS/2 mouse device common for all mice
    [ 66.900568] appletouch: incomplete data package (first byte: 2, length: 4).
    [ 66.984528] input: Mouseemu virtual keyboard as /devices/virtual/input/input12
    [ 67.038998] input: Mouseemu virtual mouse as /devices/virtual/input/input13
    [ 69.559087] usb 4-1: usbfs: USBDEVFS_CONTROL failed cmd hid2hci rqt 64 rq 0 len 0 ret -71

    Mouse don't working sometimes:
    [ 23.897250] input: Macintosh mouse button emulation as /devices/virtual/input/input0
    [ 23.897384] PNP: No PS/2 controller found. Probing ports directly.
    [ 23.898237] i8042.c: No controller found.
    [ 23.917577] mice: PS/2 mouse device common for all mice
    [ 40.094619] input,hidraw4: USB HID v1.11 Mouse [HID 05ac:1000] on usb-0000:00:1d.3-1
    [ 65.237096] input: Mouseemu virtual keyboard as /devices/virtual/input/input14
    [ 65.268671] input: Mouseemu virtual mouse as /devices/virtual/input/input15
    [ 67.702014] usb 4-1: usbfs: USBDEVFS_CONTROL failed cmd hid2hci rqt 64 rq 0 len 0 ret -84
    Last edited by mabovo; April 25th, 2008 at 09:17 PM.

  5. #5
    Join Date
    Aug 2005
    Location
    Huntsville, AL, USA
    Beans
    7,526
    Distro
    Ubuntu

    Re: Keyboard Problem - (Caps lock, Numlock) Hardy

    Quote Originally Posted by cvasilak View Post
    I don't know if it breaks some other program but for the time being i have uninstalled "mouseemu" package and everything is back to normal. Seems to be some conflict of mousemu with the rest of the system.
    That is actual what it is supposed to do... Changing the config file as I outlined in the other post turns that option off.

  6. #6
    Join Date
    Mar 2009
    Location
    caribbean
    Beans
    8
    Distro
    Ubuntu 9.10 Karmic Koala

    Lightbulb Re: Keyboard Problem - (Caps lock, Numlock) Hardy

    I removed (uninstaled) from my system the 'mouseemu' and it solved the capsLock led issue. But I still had the problem that could not increase or decrease the keyboard brightness with F5 or F6 keyboard keys on my [MacBookPro5,4]

    I solved this issue by creating two (2) shell scripts
    • kbdBrightnessUp.sh
    • kbdBrightnessDown.sh


    I copy those files to my home directory or the /usr/local/bin/ directory.

    then grant my self permissions to write to the file which controls the keyboard brightness on this laptops.
    Code:
    sudo chmod 777 /sys/class/leds/smc::kbd_backlight/brightness
    Then I configured the keyboard shortcuts by means of
    System > preferences > Keyboard Shortcuts

    To configure the shortcut to increase the brightness
    Click [Add]
    Assign a name: Keyboard Brightness Up
    Assign a command:/usr/local/bin/kbdBrightnessUp.sh
    Click [Apply]
    Now click the word "Disabled" of your newly created "shortcut" and press the "F6" key

    Configure the shortcut to decrease the brightness
    Click [Add]
    Assign a name: Keyboard Brightness Down
    Assign a command:/usr/local/bin/kbdBrightnessDown.sh
    Click [Apply]
    Now click the word "Disabled" of your newly created "shortcut" and press the "F5" key

    Finally Click [Close]

    Now when you hit the corresponding keys F5 or F6, your keyboard should increase or decrease its brightness accordingly.

    I've only tested this on a MacBookPro5,4 but there is a great chance that you could make it work on other systems where the keyboard brightness behaves this way, by editing this scripts and assigning the
    variable KBD_BRIGHTNESS_FILE the corresponding and appropriate full path.

    Best regards,
    Felipe
    Attached Files Attached Files

  7. #7
    Join Date
    Dec 2005
    Location
    Greece
    Beans
    436

    Re: Keyboard Problem - (Caps lock, Numlock) Hardy

    Quote Originally Posted by cvasilak View Post
    Thanks cyberdork33 for your reply.

    I don't know if it breaks some other program but for the time being i have uninstalled "mouseemu" package and everything is back to normal. Seems to be some conflict of mousemu with the rest of the system.

    Caps lock and numlock keys work, touchpad works, mouse doesn't hang when i press a key and all of the functions keys(volume up down, brightness, backlight) work ok (I haven't used pommed, they work by default).

    I guess i will see in the future if it breaks sth else but for now I am happy

    Thanks,
    Christos
    Still in 2012 this _was_ a problem for me (on a MacBook Pro 5,1) up until a few minutes ago . I had, on a clean Oneiric install, non-functional:

    • Capslock light indicator
    • F11 & F12 keys
    • Pommed crashing causing keyboard backlight to switch off after a few secs


    Removed mouseemu and presto, it works

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •