Toshiba Satellite C75 brightness buttons

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
josefg
Level 2
Level 2
Posts: 84
Joined: Sun Jun 12, 2011 7:07 pm

Toshiba Satellite C75 brightness buttons

Post by josefg » Sun Jan 05, 2014 4:11 pm

Hi,

I have just installed Mint 16 64-bit Cinnamon edition on a Toshiba Satellite C75-A-11J.
I have an issue with the some of the Fn function keys not working as they should. The most problematic part are the two buttons for increasing and decreasing monitor brightness, Fn+F2 and Fn+F3. When the computer boots, it boots with zero brightness (I can turn this up through the control panel). The two shortcut keys on the keyboard have no effect on brightness, but Fn+F3 puts the computer into sleep mode. How can I fix this?

Thanks in advance.

User avatar
roblm
Level 10
Level 10
Posts: 3355
Joined: Sun Feb 24, 2013 2:41 pm

Re: Toshiba Satellite C75 brightness buttons

Post by roblm » Sun Jan 05, 2014 8:34 pm

What Fn+key combinations don't work besides Fn+F2 and Fn+F3?

You said that the brightness can be changed through the “control panel”. Is this accessed by pressing a special key on the keyboard?

Have you tried any other methods, like adding kernel parameters to the GRUB boot file?

Would you open the Terminal and type each command below, pressing Enter after each one and post the output:

cat /sys/class/dmi/id/sys_vendor
cat /sys/class/dmi/id/product_name

josefg
Level 2
Level 2
Posts: 84
Joined: Sun Jun 12, 2011 7:07 pm

Re: Toshiba Satellite C75 brightness buttons

Post by josefg » Mon Jan 06, 2014 3:33 am

Hi robim,

The outputs to the terminal comands are as follows:
cat /sys/class/dmi/id/sys_vendor
TOSHIBA
cat /sys/class/dmi/id/product_name
SATELLITE C75-A

In the BIOS, I can choose whether the F1-F12 keys should work as F1-F12 when pressed directly, and as special settings keys when holding down the Fn key, or the other way around. I have tested both situations (the brightness keys don't work with either), but left them at being straight-forward F1-F12 for normal presses, and as settings keys when the Fn button is held down.

The special keys available on this toshiba are:
F1 -> ? (I suppose this means help). Opens a browser page at www.linuxmint.com/documentation.php.
F2 -> Brightness Down. Currently launches the power statistics panel. (Statistiques de l'alimentation).
F3 -> Brightness Up. Currently puts the computer to sleep mode.
F4 -> Switch monitor. Currently hibernates the computer.
F5 -> Enable/Disable touchpad. Currently does nothing.
F6 -> Rewind media player. Works normally.
F7 -> Play/pause media player. Works normally.
F8 -> Forward media player. Works normally.
F9 -> Volume down. Works normally.
F10 -> Volume up. Works normally.
F11 -> Mute / unmute. Currently does nothing.
F12 -> Enable/disable Wifi. Currently does nothing.

I have not tested adding parameters to the GRUB file.
The way I can adjust screen brightness right now is through: Menu -> Preferences -> System Settings -> Screen Saver & Lock Settings. I can then adjust the Brightness slider with the mouse. The changes are reset at reboot. I tried unticking Dim screen to save power, but the backlight brightness is still reset.

User avatar
roblm
Level 10
Level 10
Posts: 3355
Joined: Sun Feb 24, 2013 2:41 pm

Re: Toshiba Satellite C75 brightness buttons

Post by roblm » Mon Jan 06, 2014 8:47 am

josefg,

First you need to open the Synaptic Package Manager and install evtest.
Then open the Terminal and type: sudo evtest

Look for a “Toshiba input device” and get it's event number. If it's not present then get the event number of the AT keyboard.
Type this number in the bottom line that says “Select the device event number” and press Enter. Then press the Fn+key
combinations that don't work correctly, which are Fn+F2, Fn+F3, Fn+F5, Fn+F11 and Fn+F12.

Then press Ctrl+Z to stop the program. Use the cursor to highlight all the information on the Terminal screen from the
end to the beginning and copy it. Then post the output by selecting “code” in the Mint forum reply window menu and pasting
the info between the two code words.

josefg
Level 2
Level 2
Posts: 84
Joined: Sun Jun 12, 2011 7:07 pm

Re: Toshiba Satellite C75 brightness buttons

Post by josefg » Mon Jan 06, 2014 9:43 am

Hi robim,

Here comes:

Code: Select all

user@mysystem ~ $ sudo evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0:	Power Button
/dev/input/event1:	Lid Switch
/dev/input/event2:	Power Button
/dev/input/event3:	AT Translated Set 2 keyboard
/dev/input/event4:	Video Bus
/dev/input/event5:	Toshiba input device
/dev/input/event6:	HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event7:	HDA Intel PCH Front Headphone
/dev/input/event8:	HDA Intel PCH Mic
/dev/input/event9:	TOSHIBA Web Camera - HD
/dev/input/event10:	SynPS/2 Synaptics TouchPad
Select the device event number [0-10]: 5
Input driver version is 1.0.1
Input device ID: bus 0x19 vendor 0x0 product 0x0 version 0x0
Input device name: "Toshiba input device"
Supported events:
  Event type 0 (EV_SYN)
  Event type 1 (EV_KEY)
    Event code 113 (KEY_MUTE)
    Event code 128 (KEY_STOP)
    Event code 142 (KEY_SLEEP)
    Event code 149 (KEY_PROG2)
    Event code 150 (KEY_WWW)
    Event code 152 (KEY_SCREENLOCK)
    Event code 155 (KEY_MAIL)
    Event code 163 (KEY_NEXTSONG)
    Event code 164 (KEY_PLAYPAUSE)
    Event code 165 (KEY_PREVIOUSSONG)
    Event code 205 (KEY_SUSPEND)
    Event code 224 (KEY_BRIGHTNESSDOWN)
    Event code 225 (KEY_BRIGHTNESSUP)
    Event code 226 (KEY_MEDIA)
    Event code 227 (KEY_SWITCHVIDEOMODE)
    Event code 228 (KEY_KBDILLUMTOGGLE)
    Event code 236 (KEY_BATTERY)
    Event code 238 (KEY_WLAN)
    Event code 240 (KEY_UNKNOWN)
    Event code 418 (KEY_ZOOMIN)
    Event code 419 (KEY_ZOOMOUT)
    Event code 420 (KEY_ZOOMRESET)
    Event code 464 (KEY_FN)
    Event code 530 (KEY_TOUCHPAD_TOGGLE)
  Event type 4 (EV_MSC)
    Event code 4 (MSC_SCAN)
Properties:
Testing ... (interrupt to exit)
Event: time 1389015614.392732, type 4 (EV_MSC), code 4 (MSC_SCAN), value 13c
Event: time 1389015614.392732, type 1 (EV_KEY), code 236 (KEY_BATTERY), value 1
Event: time 1389015614.392732, -------------- SYN_REPORT ------------
Event: time 1389015614.392748, type 1 (EV_KEY), code 236 (KEY_BATTERY), value 0
Event: time 1389015614.392748, -------------- SYN_REPORT ------------
Event: time 1389015619.724166, type 4 (EV_MSC), code 4 (MSC_SCAN), value 13d
Event: time 1389015619.724166, type 1 (EV_KEY), code 142 (KEY_SLEEP), value 1
Event: time 1389015619.724166, -------------- SYN_REPORT ------------
Event: time 1389015619.724184, type 1 (EV_KEY), code 142 (KEY_SLEEP), value 0
Event: time 1389015619.724184, -------------- SYN_REPORT ------------
Event: time 1389015628.704506, -------------- SYN_REPORT ------------
Event: time 1389015640.465468, type 4 (EV_MSC), code 4 (MSC_SCAN), value 13e
Event: time 1389015640.465468, type 1 (EV_KEY), code 205 (KEY_SUSPEND), value 1
Event: time 1389015640.465468, -------------- SYN_REPORT ------------
Event: time 1389015640.465487, type 1 (EV_KEY), code 205 (KEY_SUSPEND), value 0
Event: time 1389015640.465487, -------------- SYN_REPORT ------------
Event: time 1389015681.581339, -------------- SYN_REPORT ------------
Event: time 1389015700.085980, type 4 (EV_MSC), code 4 (MSC_SCAN), value 13f
Event: time 1389015700.085980, type 1 (EV_KEY), code 227 (KEY_SWITCHVIDEOMODE), value 1
Event: time 1389015700.085980, -------------- SYN_REPORT ------------
Event: time 1389015700.085998, type 1 (EV_KEY), code 227 (KEY_SWITCHVIDEOMODE), value 0
Event: time 1389015700.085998, -------------- SYN_REPORT ------------
Event: time 1389015730.311206, type 4 (EV_MSC), code 4 (MSC_SCAN), value 157
Event: time 1389015730.311206, type 1 (EV_KEY), code 240 (KEY_UNKNOWN), value 1
Event: time 1389015730.311206, -------------- SYN_REPORT ------------
Event: time 1389015730.311223, type 1 (EV_KEY), code 240 (KEY_UNKNOWN), value 0
Event: time 1389015730.311223, -------------- SYN_REPORT ------------
Event: time 1389015734.450076, type 4 (EV_MSC), code 4 (MSC_SCAN), value 158
Event: time 1389015734.450076, type 1 (EV_KEY), code 240 (KEY_UNKNOWN), value 1
Event: time 1389015734.450076, -------------- SYN_REPORT ------------
Event: time 1389015734.450093, type 1 (EV_KEY), code 240 (KEY_UNKNOWN), value 0
Event: time 1389015734.450093, -------------- SYN_REPORT ------------
^Z
[1]+  Stoppé                 sudo evtest
I pressed the keys in the following order:
Fn+F2, Fn+F3, Fn+F4, Fn+F5, Fn+F11, Fn+F12
Judging buy the codes that show up, Fn+F5 seems to be doing what it should - there's just no external monitor attached. The others are clearly giving the wrong commands.

josefg
Level 2
Level 2
Posts: 84
Joined: Sun Jun 12, 2011 7:07 pm

Re: Toshiba Satellite C75 brightness buttons

Post by josefg » Mon Jan 06, 2014 9:53 am

Pressing Fn+1, Fn+2 and Fn+SPACE send the signals KEY_ZOOMOUT, KEY_ZOOMIN and KEY_ZOOMRESET respectively. This is consistent with the symbols on the keys themselves.
Pressing Fn+Z sends the signal KEY_KBDILLUMTOGGLE, which is not printed on the key, and which doesn't make much sense as this keyboard does not have backlighting. Only a LED for the caps lock and the num lock keys.
No other Fn+KEY combination sends any signals.

For what it's worth, I have the keyboard layout set to English (International, AltGr dead keys).

User avatar
roblm
Level 10
Level 10
Posts: 3355
Joined: Sun Feb 24, 2013 2:41 pm

Re: Toshiba Satellite C75 brightness buttons

Post by roblm » Mon Jan 06, 2014 2:22 pm

josefg,

Copy the following lines. They contain the scan codes generated by evtest from pressing the special keys:

Code: Select all

# Satellite C75-A
keyboard:name:Toshiba input device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*C75-A:pvr*
 KEYBOARD_KEY_13c=brightnessdown
 KEYBOARD_KEY_13d=brightnessup
 KEYBOARD_KEY_13e=suspend                      
 KEYBOARD_KEY_13f=switchvideomode             # switch display outputs                     
 KEYBOARD_KEY_157=mute                                
 KEYBOARD_KEY_158=wlan                            # RF Switch Off
Open the file “60-keyboard.hwdb” with this command in the Terminal: gksudo gedit /lib/udev/60-keyboard.hwdb
EDITED: should be: gksudo gedit /lib/udev/hwdb-d/60-keyboard.hwdb
Go down to the Toshiba section and paste the lines below this section:

Code: Select all

# Satellite P75-A
keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:pvr*
 KEYBOARD_KEY_ef=brightnessdown
 KEYBOARD_KEY_ee=brightnessup
 KEYBOARD_KEY_a9=switchvideomode                        # switch display outputs
 KEYBOARD_KEY_d4=wlan                                   # RF Switch Off
Save the file, reboot and test the keyboard keys.

If you have a startup problem then restart and at the GRUB boot menu select “Recovery mode”.
If no menu shows then hold down the shift key while starting. In the menu go down to the line that starts with “root”.
When asked for the root password, just type your user password. Change the file permissions to read and write by
typing this command: mount --options remount,rw /

Then type: nano /lib/udev/60-keyboard.hwdb EDITED: should be: nano /lib/udev/hwdb-d/60-keyboard.hwdb
Remove the lines that were added. Press Ctrl+X. Type “Y” for Yes. Press Enter. Type “exit”. Select “resume”.
Last edited by roblm on Mon Jan 06, 2014 5:58 pm, edited 1 time in total.

josefg
Level 2
Level 2
Posts: 84
Joined: Sun Jun 12, 2011 7:07 pm

Re: Toshiba Satellite C75 brightness buttons

Post by josefg » Mon Jan 06, 2014 4:04 pm

Hi robim,

The file was located in /lib/udev/hwdb.d/60-keyboard.hwdb, one subfolder deeper than /lib/udev/60-keyboard.hwdb, so I added the lines you suggested there. Upon reboot however there is no effect. Could it be that something additional needs to be done, such as running some config program or so? (The way one must do if one modifies the grub source files). The suggestion you provided sure looks like the right path...

My /lib/udev/hwdb.d/60-keyboard.hwdb now looks like this:

Code: Select all

# This file is part of systemd.
#
# Keyboard mapping of scan codes to key codes, and
# scan codes to add to the AT keyboard's 'force-release' list.
#
# The lookup keys are composed in:
#   60-keyboard.rules
#
# Note: The format of the "keyboard:" prefix match key is a
# contract between the rules file and the hardware data, it might
# change in later revisions to support more or better matches, it
# is not necessarily expected to be a stable ABI.
#
# Supported hardware matches are:
#  - USB keyboards identified by the usb kernel modalias:
#      keyboard:usb:vXXXXpYYYY*
#    XXXX is the 4-digit hex uppercase vendor, and YYYY
#    the 4-digit hex uppercase product.
#
#  - AT keyboard DMI data matches:
#      keyboard:dmi:bvn*:bvr*:bd*:svn<vendor>:pn<product>:pvr*
#    <vendor> and <product> are the firmware-provided strings
#    exported by the kernel DMI modalias.
#
#  - Platform driver device name and DMI data match:
#      keyboard:name:<input device name>:dmi:bvn*:bvr*:bd*:svn<vendor>:pn*
#    <input device name> is the name device specified by the
#    driver, <vendor> is the firmware-provided string exported
#    by the kernel DMI modalias.
#
#  Scan codes are specified as:
#    KEYBOARD_KEY_<hex scan code>=<key code identifier>
#  The scan code should be expressed in hex lowercase and in
#  full bytes, a multiple of 2 digits. The key codes are retrieved
#  and normalized from the kernel input API header.
#
#  A '!' as the first charcter of the key identifier string
#  will add the scan code to the AT keyboard's list of scan codes
#  where the driver will synthesize a release event and not expect
#  it to be generated by the hardware.
#
# To debug key presses and access scan code mapping data of
# an input device use the commonly available tool: evtest(1).

##########################################
# Acer
##########################################

# Acer platform kernel driver
keyboard:name:Acer WMI hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnAcer*:pvr*
 KEYBOARD_KEY_82=f21

# Aspire 5720
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*5720*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnZG8*:pvr*
 KEYBOARD_KEY_84=bluetooth                              # sent when bluetooth module missing, and key pressed
 KEYBOARD_KEY_92=media                                  # Acer arcade
 KEYBOARD_KEY_d4=bluetooth                              # Bluetooth on
 KEYBOARD_KEY_d9=bluetooth                              # Bluetooth off
 KEYBOARD_KEY_f4=prog3                                  # e-key

# Aspire 5920g
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*5920G:*
 KEYBOARD_KEY_8a=media
 KEYBOARD_KEY_92=media
 KEYBOARD_KEY_a6=setup
 KEYBOARD_KEY_b2=www
 KEYBOARD_KEY_d9=bluetooth                              # (toggle) on-to-off

# Aspire 6920
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*6920:*
 KEYBOARD_KEY_d9=bluetooth                              # (toggle) on-to-off
 KEYBOARD_KEY_92=media
 KEYBOARD_KEY_9e=back
 KEYBOARD_KEY_83=rewind
 KEYBOARD_KEY_89=fastforward

# Aspire 8930
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*8930:*
 KEYBOARD_KEY_ca=prog3                                  # key 'HOLD' on CineDash Media Console
 KEYBOARD_KEY_83=rewind
 KEYBOARD_KEY_89=fastforward
 KEYBOARD_KEY_92=media                                  # key 'ARCADE' on CineDash Media Console
 KEYBOARD_KEY_9e=back

# Travelmate C300
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*C3[01]0*:pvr*
 KEYBOARD_KEY_67=f24                                    # FIXME: rotate screen
 KEYBOARD_KEY_68=up
 KEYBOARD_KEY_69=down
 KEYBOARD_KEY_6b=fn
 KEYBOARD_KEY_6c=screenlock                             # FIXME: lock tablet device/buttons

#
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pn*
keyboard:dmi:bvn*:bvr*:bd*:svnGateway*:pnA0A1*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svneMachines:pneMachines*E725:pvr*
 KEYBOARD_KEY_a5=help                                   # Fn+F1
 KEYBOARD_KEY_a6=setup                                  # Fn+F2 Acer eSettings
 KEYBOARD_KEY_a7=battery                                # Fn+F3 Power Management
 KEYBOARD_KEY_a9=switchvideomode                        # Fn+F5
 KEYBOARD_KEY_b3=euro
 KEYBOARD_KEY_b4=dollar
 KEYBOARD_KEY_ce=brightnessup                           # Fn+Right
 KEYBOARD_KEY_d4=bluetooth                              # (toggle) off-to-on
 KEYBOARD_KEY_d5=wlan                                   # (toggle) on-to-off
 KEYBOARD_KEY_d6=wlan                                   # (toggle) off-to-on
 KEYBOARD_KEY_d7=bluetooth                              # (toggle) on-to-off
 KEYBOARD_KEY_d8=bluetooth                              # (toggle) off-to-on
 KEYBOARD_KEY_d9=brightnessup                           # Fn+Right
 KEYBOARD_KEY_ee=brightnessup                           # Fn+Right
 KEYBOARD_KEY_ef=brightnessdown                         # Fn+Left
 KEYBOARD_KEY_f1=f22                                    # Fn+F7 Touchpad toggle (off-to-on)
 KEYBOARD_KEY_f2=f23                                    # Fn+F7 Touchpad toggle (on-to-off)
 KEYBOARD_KEY_f3=prog2                                  # "P2" programmable button
 KEYBOARD_KEY_f4=prog1                                  # "P1" programmable button
 KEYBOARD_KEY_f5=presentation
 KEYBOARD_KEY_f8=fn
 KEYBOARD_KEY_f9=prog1                                  # Launch NTI shadow

#
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5210*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5220*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5610*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5620*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pn*5720*:pvr*
 KEYBOARD_KEY_ee=screenlock

#
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*6292*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*8471*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*4720*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*7720*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*1810T*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAO751h:*
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAO531h:*
 KEYBOARD_KEY_d9=bluetooth

#
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*4720*:pvr*
 KEYBOARD_KEY_b2=www
 KEYBOARD_KEY_ee=screenlock

#
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnTravelMate*6593:*
keyboard:dmi:bvn*:bvr*:bd*:svnAcer*:pnAspire*1640:*
 KEYBOARD_KEY_b2=www
 KEYBOARD_KEY_ee=screenlock

###########################################################
# Alienware
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svnAlienware*:pn*
 KEYBOARD_KEY_8a=ejectcd

###########################################################
# Asus
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svnASUS:pn*
 KEYBOARD_KEY_ed=volumeup
 KEYBOARD_KEY_ee=volumedown
 KEYBOARD_KEY_ef=mute

keyboard:name:Asus WMI hotkeys:dmi:bvn*:bvr*:bd*:svnASUS*:pn*:pvr*
 KEYBOARD_KEY_6b=f21		# Touchpad Toggle

###########################################################
# BenQ
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svn*BenQ*:pn*Joybook*R22*:pvr*
 KEYBOARD_KEY_6e=wlan

###########################################################
# Compal
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svnCOMPAL:pnHEL80I:*
 KEYBOARD_KEY_84=wlan

###########################################################
# COMPAQ
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svnCompaq*:pn*E500*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnCompaq*:pn*Evo*N*:pvr*
 KEYBOARD_KEY_a3=www                                    # I key
 KEYBOARD_KEY_9a=search
 KEYBOARD_KEY_9e=email
 KEYBOARD_KEY_9f=homepage

###########################################################
# Dell
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pn*
 KEYBOARD_KEY_81=playpause                              # Play/Pause
 KEYBOARD_KEY_82=stopcd                                 # Stop
 KEYBOARD_KEY_83=previoussong                           # Previous song
 KEYBOARD_KEY_84=nextsong                               # Next song
 KEYBOARD_KEY_85=brightnessdown                         # Fn+Down Brightness Down
 KEYBOARD_KEY_86=brightnessup                           # Fn+Up Brightness Up
 KEYBOARD_KEY_87=battery                                # Fn+F3 battery icon
 KEYBOARD_KEY_88=unknown                                # Fn+F2 Turn On/Off Wireless - handled in hardware
 KEYBOARD_KEY_89=ejectclosecd                           # Fn+F10 Eject CD
 KEYBOARD_KEY_8a=suspend                                # Fn+F1 hibernate
 KEYBOARD_KEY_8b=switchvideomode                        # Fn+F8 CRT/LCD (high keycode: "displaytoggle")
 KEYBOARD_KEY_8c=unknown                                # Fn+Right Auto Brightness
 KEYBOARD_KEY_8F=switchvideomode                        # Fn+F7 aspect ratio
 KEYBOARD_KEY_90=previoussong                           # Front panel previous song
 KEYBOARD_KEY_91=prog1                                  # Wi-Fi Catcher (Dell-specific)
 KEYBOARD_KEY_92=media                                  # MediaDirect button (house icon)
 KEYBOARD_KEY_93=unknown                                # FIXME Fn+Left Auto Brightness
 KEYBOARD_KEY_95=camera                                 # Shutter button - Takes a picture if optional camera available
 KEYBOARD_KEY_97=email                                  # Tablet email button
 KEYBOARD_KEY_98=f21                                    # FIXME: Tablet screen rotation
 KEYBOARD_KEY_99=nextsong                               # Front panel next song
 KEYBOARD_KEY_9a=setup                                  # Tablet tools button
 KEYBOARD_KEY_9b=switchvideomode                        # Display toggle button
 KEYBOARD_KEY_9e=f21                                    # Touchpad toggle
 KEYBOARD_KEY_a2=playpause                              # Front panel play/pause
 KEYBOARD_KEY_a4=stopcd                                 # Front panel stop
 KEYBOARD_KEY_ed=media                                  # MediaDirect button
 KEYBOARD_KEY_d8=screenlock                             # FIXME: Tablet lock button
 KEYBOARD_KEY_d9=f21                                    # Touchpad toggle

#
keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*910:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*101[012]:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1110:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnInspiron*1210:pvr*
 KEYBOARD_KEY_84=wlan

# Latitude XT2
keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*XT2:pvr*
 KEYBOARD_KEY_9b=up                                     # tablet rocker up
 KEYBOARD_KEY_9e=enter                                  # tablet rocker press
 KEYBOARD_KEY_9f=back                                   # tablet back
 KEYBOARD_KEY_a3=down                                   # tablet rocker down

keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnStudio*155[78]:pvr*
 KEYBOARD_KEY_a0=!                                      # mute
 KEYBOARD_KEY_ae=!                                      # volume down
 KEYBOARD_KEY_b0=!                                      # volume up

# Dell Touchpad
keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnLatitude*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnPrecision*:pvr*
 KEYBOARD_KEY_9e=!f21

# Dell XPS
keyboard:dmi:bvn*:bvr*:bd*:svnDell*:pnXPS*:pvr*
 KEYBOARD_KEY_8c=!unknown

###########################################################
# Everex
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svnEverex:pnXT5000*:pvr*
 KEYBOARD_KEY_5c=media
 KEYBOARD_KEY_65=f21                                    # Fn+F5 Touchpad toggle
 KEYBOARD_KEY_67=prog3                                  # Fan speed control button
 KEYBOARD_KEY_6f=brightnessup
 KEYBOARD_KEY_7f=brightnessdown
 KEYBOARD_KEY_b2=www
 KEYBOARD_KEY_ec=mail

##########################################
# Fujitsu
##########################################

keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAMILO*M*:pvr*
 KEYBOARD_KEY_97=prog2
 KEYBOARD_KEY_9f=prog1

keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAmilo*Li*1718:*
 KEYBOARD_KEY_d6=wlan

# Amilo Li 2732
keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pnAMILO*Li*2732:*
 KEYBOARD_KEY_d9=brightnessdown                         # Fn+F8 brightness down
 KEYBOARD_KEY_ef=brightnessup                           # Fn+F9 brightness up
 KEYBOARD_KEY_a9=switchvideomode                        # Fn+F10 Cycle between available video outputs

# Amilo Pa 2548
keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pa*2548*:pvr*
 KEYBOARD_KEY_e0=volumedown
 KEYBOARD_KEY_e1=volumeup
 KEYBOARD_KEY_e5=prog1

# Amilo Pro Edition V3505
keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pro*Edition*V3505*:pvr*
 KEYBOARD_KEY_a5=help                                   # Fn+F1
 KEYBOARD_KEY_a9=switchvideomode                        # Fn+F3
 KEYBOARD_KEY_d9=brightnessdown                         # Fn+F8
 KEYBOARD_KEY_e0=brightnessup                           # Fn+F9

# Amilo Pro v3205
keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*AMILO*Pro*V3205*:pvr*
 KEYBOARD_KEY_f4=f21                                    # FIXME: silent-mode decrease CPU/GPU clock
 KEYBOARD_KEY_f7=switchvideomode                        # Fn+F3

# Amilo Si 1520
keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*Amilo*Si*1520*:pvr*
 KEYBOARD_KEY_e1=wlan
 KEYBOARD_KEY_f3=wlan
 KEYBOARD_KEY_ee=brightnessdown
 KEYBOARD_KEY_e0=brightnessup
 KEYBOARD_KEY_e2=bluetooth
 KEYBOARD_KEY_f7=video

# Esprimo Mobile V5
keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*ESPRIMO*Mobile*V5*:pvr*
 KEYBOARD_KEY_a9=switchvideomode
 KEYBOARD_KEY_d9=brightnessdown
 KEYBOARD_KEY_df=sleep
 KEYBOARD_KEY_ef=brightnessup

# Esprimo Mobile V6
keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*:pn*ESPRIMO*Mobile*V6*:pvr*
 KEYBOARD_KEY_ce=brightnessup
 KEYBOARD_KEY_ef=brightnessdown

###########################################################
# GIGABYTE
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svnGIGABYTE:pnU2442:*
 KEYBOARD_KEY_a0=!                                      # mute

###########################################################
# Genius
###########################################################

# Slimstar 320
keyboard:usb:v0458p0708d*dc*dsc*dp*ic*isc*ip*in01*
 KEYBOARD_KEY_0900f0=scrollup
 KEYBOARD_KEY_0900f1=scrolldown
 KEYBOARD_KEY_0900f3=back
 KEYBOARD_KEY_0900f2=forward
 KEYBOARD_KEY_0900f5=wordprocessor
 KEYBOARD_KEY_0900f6=spreadsheet
 KEYBOARD_KEY_0900f4=presentation
 KEYBOARD_KEY_0c0223=www
 KEYBOARD_KEY_0900f7=chat
 KEYBOARD_KEY_0900fb=prog1
 KEYBOARD_KEY_0900f8=close
 KEYBOARD_KEY_0900f9=graphicseditor
 KEYBOARD_KEY_0900fd=scale
 KEYBOARD_KEY_0900fc=screenlock

###########################################################
# Hewlett Packard
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*:pvr*
 KEYBOARD_KEY_81=fn_esc
 KEYBOARD_KEY_89=battery                                # Fn+F8
 KEYBOARD_KEY_8a=screenlock                             # Fn+F6
 KEYBOARD_KEY_8b=camera
 KEYBOARD_KEY_8c=media                                  # music
 KEYBOARD_KEY_8e=dvd
 KEYBOARD_KEY_b1=help
 KEYBOARD_KEY_b3=unknown                                # FIXME: Auto brightness
 KEYBOARD_KEY_d7=wlan
 KEYBOARD_KEY_92=brightnessdown                         # Fn+F7 (Fn+F9 on 6730b)
 KEYBOARD_KEY_97=brightnessup                           # Fn+F8 (Fn+F10 on 6730b)
 KEYBOARD_KEY_ee=switchvideomode                        # Fn+F4

# Tablet
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[tT][aA][bB][lL][eE][tT]*:pvr*
 KEYBOARD_KEY_82=prog2                                  # Funny Key
 KEYBOARD_KEY_83=prog1                                  # Q
 KEYBOARD_KEY_84=tab
 KEYBOARD_KEY_85=esc
 KEYBOARD_KEY_86=pageup
 KEYBOARD_KEY_87=pagedown

# Pavilion
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[pP][aA][vV][iI][lL][iI][oO][nN]*:pvr*
 KEYBOARD_KEY_88=media                                  # FIXME: quick play
 KEYBOARD_KEY_b7=print
 KEYBOARD_KEY_d8=!f23                                   # touchpad off
 KEYBOARD_KEY_d9=!f22                                   # touchpad on

keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*Pavilion*dv7*Notebook*PC:pvr*
 KEYBOARD_KEY_b7=print
 KEYBOARD_KEY_c2=media                                  # FIXME: quick play
 KEYBOARD_KEY_c6=break
 KEYBOARD_KEY_94=0

# Elitebook
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Compaq*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*EliteBook*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2230s*:pvr*
 KEYBOARD_KEY_88=presentation
 KEYBOARD_KEY_d9=help                                   # I key (high keycode: "info")

# Presario
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*Presario*CQ*:pvr*
 KEYBOARD_KEY_d8=f21
 KEYBOARD_KEY_d9=f21

# 2510p 2530p
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2510p*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2530p*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*G60*Notebook*PC:pvr*
 KEYBOARD_KEY_d8=!f23                                   # touchpad off
 KEYBOARD_KEY_d9=!f22                                   # touchpad on

# 2570p
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*2570p*:pvr*
 KEYBOARD_KEY_f8=wlan                                   # Wireless HW switch button

# TX2
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pn*[tT][xX]2*:pvr*
 KEYBOARD_KEY_c2=media
 KEYBOARD_KEY_d8=!f23                                   # Toggle touchpad button on tx2 (OFF)
 KEYBOARD_KEY_d9=!f22                                   # Toggle touchpad button on tx2 (ON)

# Presario 2100
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnPresario*2100*:pvr*
 KEYBOARD_KEY_f0=help
 KEYBOARD_KEY_f1=screenlock
 KEYBOARD_KEY_f3=search

# Elitebook 8440p
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*EliteBook*8440p:pvr*
 KEYBOARD_KEY_88=www
 KEYBOARD_KEY_a0=mute
 KEYBOARD_KEY_ae=volumedown
 KEYBOARD_KEY_b0=volumeup
 KEYBOARD_KEY_ec=mail

# Elitebook 8460p
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHP*EliteBook*8460p:pvr*
 KEYBOARD_KEY_f8=wlan                                   # Wireless HW switch button
 KEYBOARD_KEY_b3=prog1                                  # Fn+F11 - Ambient Light Sensor button
 KEYBOARD_KEY_b1=prog2                                  # Fn+ESC - System information button

# HDX9494nr
keyboard:dmi:bvn*:bvr*:bd*:svnHewlett-Packard*:pnHDX9494NR:pvr*
 KEYBOARD_KEY_b2=www                                    # Fn+F3
 KEYBOARD_KEY_d8=!f23                                   # touchpad off
 KEYBOARD_KEY_d9=!f22                                   # touchpad on

###########################################################
# IBM
###########################################################

# thinkpad_acpi driver
keyboard:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnIBM*:pn*:pvr*
 KEYBOARD_KEY_01=battery                                # Fn+F2
 KEYBOARD_KEY_02=screenlock                             # Fn+F3
 KEYBOARD_KEY_03=sleep                                  # Fn+F4
 KEYBOARD_KEY_04=wlan                                   # Fn+F5
 KEYBOARD_KEY_06=switchvideomode                        # Fn+F7
 KEYBOARD_KEY_07=zoom                                   # Fn+F8 screen expand
 KEYBOARD_KEY_08=f24                                    # Fn+F9 undock
 KEYBOARD_KEY_0b=suspend                                # Fn+F12
 KEYBOARD_KEY_0f=brightnessup                           # Fn+Home
 KEYBOARD_KEY_10=brightnessdown                         # Fn+End
 KEYBOARD_KEY_11=kbdillumtoggle                         # Fn+PgUp - ThinkLight
 KEYBOARD_KEY_13=zoom                                   # Fn+Space
 KEYBOARD_KEY_14=volumeup
 KEYBOARD_KEY_15=volumedown
 KEYBOARD_KEY_16=mute
 KEYBOARD_KEY_17=prog1                                  # ThinkPad/ThinkVantage button (high keycode: "vendor")

# IBM Thinkpad USB Keyboard Trackpoint
keyboard:usb:v04B3p301[89]*
 KEYBOARD_KEY_900f0=screenlock
 KEYBOARD_KEY_900f1=wlan
 KEYBOARD_KEY_900f2=switchvideomode
 KEYBOARD_KEY_900f3=suspend
 KEYBOARD_KEY_900f4=brightnessup
 KEYBOARD_KEY_900f5=brightnessdown
 KEYBOARD_KEY_900f8=zoom

###########################################################
# Inventec
###########################################################

# Symphony
keyboard:dmi:bvn*:bvr*:bd*:svnINVENTEC:pnSYMPHONY*6.0/7.0:pvr*
 KEYBOARD_KEY_f3=prog2
 KEYBOARD_KEY_f4=prog1

###########################################################
# Lenovo
###########################################################

# thinkpad_acpi driver
keyboard:name:ThinkPad Extra Buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*
 KEYBOARD_KEY_01=screenlock
 KEYBOARD_KEY_02=battery
 KEYBOARD_KEY_03=sleep
 KEYBOARD_KEY_04=wlan
 KEYBOARD_KEY_06=switchvideomode
 KEYBOARD_KEY_07=f21
 KEYBOARD_KEY_08=f24
 KEYBOARD_KEY_0b=suspend
 KEYBOARD_KEY_0f=brightnessup
 KEYBOARD_KEY_10=brightnessdown
 KEYBOARD_KEY_11=kbdillumtoggle
 KEYBOARD_KEY_13=zoom
 KEYBOARD_KEY_14=volumeup
 KEYBOARD_KEY_15=volumedown
 KEYBOARD_KEY_16=mute
 KEYBOARD_KEY_17=prog1
 KEYBOARD_KEY_1a=f20

#
keyboard:name:Ideapad extra buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*
 KEYBOARD_KEY_42=f23
 KEYBOARD_KEY_43=f22

# ThinkPad Keyboard with TrackPoint
keyboard:usb:v17EFp6009*
 KEYBOARD_KEY_090012=screenlock                         # Fn+F2
 KEYBOARD_KEY_090013=battery                            # Fn+F3
 KEYBOARD_KEY_090014=wlan                               # Fn+F5
 KEYBOARD_KEY_090016=switchvideomode                    # Fn+F7
 KEYBOARD_KEY_090017=f21                                # Fn+F8  touchpad toggle
 KEYBOARD_KEY_090019=suspend                            # Fn+F12
 KEYBOARD_KEY_09001a=brightnessup                       # Fn+Home
 KEYBOARD_KEY_09001b=brightnessdown                     # Fn+End
 KEYBOARD_KEY_09001d=zoom                               # Fn+Space
 KEYBOARD_KEY_090011=prog1                              # ThinkVantage button
 KEYBOARD_KEY_090015=camera                             # Fn+F6 headset/camera VoIP key  ??
 KEYBOARD_KEY_090010=f20                                # Microphone mute button; should be micmute

# Lenovo 3000
keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*3000*:pvr*
 KEYBOARD_KEY_8b=switchvideomode                        # Fn+F7 video
 KEYBOARD_KEY_96=wlan                                   # Fn+F5 wireless
 KEYBOARD_KEY_97=sleep                                  # Fn+F4 suspend
 KEYBOARD_KEY_98=suspend                                # Fn+F12 hibernate
 KEYBOARD_KEY_b4=prog1                                  # Lenovo Care

# lenovo-ideapad
keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnS10-*:pvr*
 KEYBOARD_KEY_81=rfkill                                 # does nothing in BIOS
 KEYBOARD_KEY_83=display_off                            # BIOS toggles screen state
 KEYBOARD_KEY_b9=brightnessup                           # does nothing in BIOS
 KEYBOARD_KEY_ba=brightnessdown                         # does nothing in BIOS
 KEYBOARD_KEY_f1=camera                                 # BIOS toggles camera power
 KEYBOARD_KEY_f2=f21                                    # touchpad toggle (key alternately emits F2 and F3)
 KEYBOARD_KEY_f3=f21

# Thinkpad X200_Tablet
keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnThinkPad*X2*Tablet*:pvr*
 KEYBOARD_KEY_5d=menu
 KEYBOARD_KEY_63=fn
 KEYBOARD_KEY_66=screenlock
 KEYBOARD_KEY_67=cyclewindows                           # bezel circular arrow
 KEYBOARD_KEY_68=setup                                  # bezel setup / menu
 KEYBOARD_KEY_6c=direction                              # rotate screen

# ThinkPad X6 Tablet
keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pnThinkPad*X6*:pvr*
 KEYBOARD_KEY_6c=f21                                    # rotate
 KEYBOARD_KEY_68=screenlock                             # screenlock
 KEYBOARD_KEY_6b=esc                                    # escape
 KEYBOARD_KEY_6d=right                                  # right on d-pad
 KEYBOARD_KEY_6e=left                                   # left on d-pad
 KEYBOARD_KEY_71=up                                     # up on d-pad
 KEYBOARD_KEY_6f=down                                   # down on d-pad
 KEYBOARD_KEY_69=enter                                  # enter on d-pad

# IdeaPad
keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*Y550*:pvr*
 KEYBOARD_KEY_95=media
 KEYBOARD_KEY_a3=play

# V480
keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*Lenovo*V480*:pvr*
 KEYBOARD_KEY_f1=f21

# IdeaPad
keyboard:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*IdeaPad*U300s*:pvr*
 KEYBOARD_KEY_f1=f21
 KEYBOARD_KEY_ce=f20

###########################################################
# Logitech
###########################################################

# iTouch
keyboard:usb:v046DpC308*
 KEYBOARD_KEY_90001=shop                                # Shopping
 KEYBOARD_KEY_90002=config                              # iTouch
 KEYBOARD_KEY_90003=finance                             # Finance
 KEYBOARD_KEY_90004=prog1                               # My Sites
 KEYBOARD_KEY_90005=prog2                               # Community
 KEYBOARD_KEY_C0183=media                               # Media

# Cordless Desktop S510
keyboard:usb:v046DpC50C*
 KEYBOARD_KEY_d4=zoomin
 KEYBOARD_KEY_cc=zoomout

# Wave cordless
keyboard:usb:v046DpC317*
 KEYBOARD_KEY_9001c=scale                               # expo
 KEYBOARD_KEY_9001f=zoomout
 KEYBOARD_KEY_90020=zoomin
 KEYBOARD_KEY_9003d=prog1                               # gadget
 KEYBOARD_KEY_90005=camera
 KEYBOARD_KEY_90018=media
 KEYBOARD_KEY_90041=wordprocessor
 KEYBOARD_KEY_90042=spreadsheet
 KEYBOARD_KEY_90043=calendar
 KEYBOARD_KEY_90044=prog2                               # fn+f4 (program a)
 KEYBOARD_KEY_90045=prog3                               # fn+f5 (program b)
 KEYBOARD_KEY_90046=prog4                               # fn+f6 (program c)
 KEYBOARD_KEY_90048=messenger                           # fn+f8 (msn messenger)
 KEYBOARD_KEY_9002d=search                              # fn+f10 (search www)
 KEYBOARD_KEY_9004b=find                                # fn+f11 (search pc)
 KEYBOARD_KEY_9004c=ejectclosecd

# Wave cordless
keyboard:usb:v046DpC517*
 KEYBOARD_KEY_c101f=zoomout
 KEYBOARD_KEY_c1020=zoomin
 KEYBOARD_KEY_c1005=camera
 KEYBOARD_KEY_c0183=media
 KEYBOARD_KEY_c1041=wordprocessor
 KEYBOARD_KEY_c1042=spreadsheet
 KEYBOARD_KEY_c1043=calendar
 KEYBOARD_KEY_c1044=prog2                               # fn+f4 (program a)
 KEYBOARD_KEY_c1045=prog3                               # fn+f5 (program b)
 KEYBOARD_KEY_c1046=prog4                               # fn+f6 (program c)
 KEYBOARD_KEY_c1048=messenger                           # fn+f8 (msn messenger)
 KEYBOARD_KEY_c104a=find                                # fn+f10 (search www)
 KEYBOARD_KEY_c104c=ejectclosecd

# Cordless Wave Pro
keyboard:usb:v046DpC52[9B]*
 KEYBOARD_KEY_0c01b6=camera
 KEYBOARD_KEY_0c0183=media
 KEYBOARD_KEY_0c0184=wordprocessor
 KEYBOARD_KEY_0c0186=spreadsheet
 KEYBOARD_KEY_0c018e=calendar
 KEYBOARD_KEY_0c0223=homepage
 KEYBOARD_KEY_0c01bc=messenger
 KEYBOARD_KEY_0c018a=mail
 KEYBOARD_KEY_0c0221=search
 KEYBOARD_KEY_0c00b8=ejectcd
 KEYBOARD_KEY_0c022d=zoomin
 KEYBOARD_KEY_0c022e=zoomout

# Logitech Presenter R400
keyboard:usb:v046DpC52Dd*dc*dsc*dp*ic*isc*ip*in00*
 KEYBOARD_KEY_070029=presentation
 KEYBOARD_KEY_07003e=presentation
 KEYBOARD_KEY_070037=displaytoggle

# Internet Navigator
keyboard:usb:v046DpC309*
  KEYBOARD_KEY_90001=chat         # Messenger/SMS
  KEYBOARD_KEY_90002=camera       # webcam
  KEYBOARD_KEY_90003=prog1        # iTouch
  KEYBOARD_KEY_90004=shop         # Shopping
  KEYBOARD_KEY_C0201=new          # New (F1)
  KEYBOARD_KEY_C0289=reply        # Reply mail (F2)
  KEYBOARD_KEY_C028B=forwardmail  # Forward mail (F3)
  KEYBOARD_KEY_C028C=send         # Send (F4)
  KEYBOARD_KEY_C021A=undo         # Undo (F5).
  KEYBOARD_KEY_C0279=redo         # Redo (F6).
  KEYBOARD_KEY_C0208=print        # Print (F7)
  KEYBOARD_KEY_C0207=save         # Save (F8)
  KEYBOARD_KEY_C0194=file         # My Computer (F9)
  KEYBOARD_KEY_C01A7=documents    # My Documents (F10)
  KEYBOARD_KEY_C01B6=images       # My Pictures (F11) ??
  KEYBOARD_KEY_C01B7=sound        # My Music (F12) ??


###########################################################
# Maxdata
###########################################################

# Pro 7000
keyboard:dmi:bvn*:bvr*:bd*:svnMAXDATA:pnPro*7000*:pvr*
 KEYBOARD_KEY_97=prog2
 KEYBOARD_KEY_9f=prog1
 KEYBOARD_KEY_a0=mute                                   # Fn+F5
 KEYBOARD_KEY_82=www
 KEYBOARD_KEY_ec=email
 KEYBOARD_KEY_ae=volumedown                             # Fn+Down
 KEYBOARD_KEY_b0=volumeup                               # Fn+Up
 KEYBOARD_KEY_df=suspend                                # Fn+F2
 KEYBOARD_KEY_f5=help

###########################################################
# Medion
###########################################################

# FID2060
keyboard:dmi:bvn*:bvr*:bd*:svnMEDION*:pn*FID2060*:pvr*
 KEYBOARD_KEY_6b=channeldown                            # Thottle Down
 KEYBOARD_KEY_6d=channelup                              # Thottle Up

# NB-A555
keyboard:dmi:bvn*:bvr*:bd*:svnMEDIONNB:pnA555*:pvr*
 KEYBOARD_KEY_63=www                                    # N button
 KEYBOARD_KEY_66=prog1                                  # link 1 button
 KEYBOARD_KEY_67=email                                  # envelope button
 KEYBOARD_KEY_69=prog2                                  # link 2 button

###########################################################
# Microsoft
###########################################################

# Microsoft Natural Ergonomic Keyboard 4000
keyboard:usb:v045Ep00DB*
 KEYBOARD_KEY_c022d=zoomin
 KEYBOARD_KEY_c022e=zoomout

###########################################################
# Micro Star
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*
keyboard:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*
 KEYBOARD_KEY_a0=mute                                   # Fn+F9
 KEYBOARD_KEY_ae=volumedown                             # Fn+F7
 KEYBOARD_KEY_b0=volumeup                               # Fn+F8
 KEYBOARD_KEY_b2=www                                    # e button
 KEYBOARD_KEY_df=sleep                                  # Fn+F12
 KEYBOARD_KEY_e2=bluetooth                              # satellite dish2
 KEYBOARD_KEY_e4=f21                                    # Fn+F3 Touchpad disable
 KEYBOARD_KEY_ec=email                                  # envelope button
 KEYBOARD_KEY_ee=camera                                 # Fn+F6 camera disable
 KEYBOARD_KEY_f6=wlan                                   # satellite dish1
 KEYBOARD_KEY_f7=brightnessdown                         # Fn+F4
 KEYBOARD_KEY_f8=brightnessup                           # Fn+F5
 KEYBOARD_KEY_f9=search

#
keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnGE60*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnGE70*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnMicro-Star*:pn*:pvr*
 KEYBOARD_KEY_c2=ejectcd

#
keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U-100*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*U100*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pn*N033:*
 KEYBOARD_KEY_f7=reserved
 KEYBOARD_KEY_f8=reserved

#
keyboard:dmi:bvn*:bvr*:bd*:svnMICRO-STAR*:pnU90/U100:*
 KEYBOARD_KEY_e4=reserved

###########################################################
# MSI
###########################################################

keyboard:name:MSI Laptop hotkeys:dmi:bvn*:bvr*:bd*:svn*:pnM[iI][cC][rR][oO]-S[tT][aA][rR]*:pvr*
 KEYBOARD_KEY_0213=f22
 KEYBOARD_KEY_0214=f23

###########################################################
# OLPC
###########################################################

# XO
keyboard:dmi:bvn*:bvr*:bd*:svnOLPC:pnXO:*
 KEYBOARD_KEY_59=fn
 KEYBOARD_KEY_81=fn_esc
 KEYBOARD_KEY_f9=camera
 KEYBOARD_KEY_f8=sound                                  # Fn+CAMERA = Mic
 KEYBOARD_KEY_43=brightnessdown
 KEYBOARD_KEY_44=brightnessup
 KEYBOARD_KEY_57=volumedown
 KEYBOARD_KEY_58=volumeup
 KEYBOARD_KEY_bb=f1
 KEYBOARD_KEY_bc=f2
 KEYBOARD_KEY_bd=f3
 KEYBOARD_KEY_be=f4
 KEYBOARD_KEY_bf=f5
 KEYBOARD_KEY_c0=f6
 KEYBOARD_KEY_c1=f7
 KEYBOARD_KEY_c2=f8
 KEYBOARD_KEY_c3=f9
 KEYBOARD_KEY_c4=f10
 KEYBOARD_KEY_c7=f11
 KEYBOARD_KEY_d8=f12
 KEYBOARD_KEY_f7=f13
 KEYBOARD_KEY_f6=f14
 KEYBOARD_KEY_f5=f15
 KEYBOARD_KEY_f4=f16
 KEYBOARD_KEY_f3=f17
 KEYBOARD_KEY_f2=f18
 KEYBOARD_KEY_f1=f19
 KEYBOARD_KEY_f0=f20
 KEYBOARD_KEY_ef=f21
 KEYBOARD_KEY_ee=chat
 KEYBOARD_KEY_e4=chat
 KEYBOARD_KEY_dd=menu                                   # Frame
 KEYBOARD_KEY_da=prog1                                  # Fn+Frame
 KEYBOARD_KEY_d3=delete
 KEYBOARD_KEY_d2=insert
 KEYBOARD_KEY_c9=pageup
 KEYBOARD_KEY_d1=pagedown
 KEYBOARD_KEY_c7=home
 KEYBOARD_KEY_cF=end
 KEYBOARD_KEY_73=hp
 KEYBOARD_KEY_7e=hp
 KEYBOARD_KEY_db=leftmeta                               # left grab
 KEYBOARD_KEY_dc=rightmeta                              # right grab
 KEYBOARD_KEY_85=rightmeta                              # Right grab releases on a different scancode
 KEYBOARD_KEY_d6=kbdillumtoggle                         # Fn+Space
 KEYBOARD_KEY_69=switchvideomode                        # Brightness key
 KEYBOARD_KEY_65=kp8                                    # up
 KEYBOARD_KEY_66=kp2                                    # down
 KEYBOARD_KEY_67=kp4                                    # left
 KEYBOARD_KEY_68=kp6                                    # right
 KEYBOARD_KEY_e5=kp9                                    # pgup
 KEYBOARD_KEY_e6=kp3                                    # pgdn
 KEYBOARD_KEY_e7=kp7                                    # home
 KEYBOARD_KEY_e8=kp1                                    # end

###########################################################
# Onkyo
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svnONKYO*CORPORATION:pnONKYOPC:*
 KEYBOARD_KEY_a0=mute                                   # Fn+D
 KEYBOARD_KEY_ae=volumedown                             # Fn+F
 KEYBOARD_KEY_b0=volumeup                               # Fn+G
 KEYBOARD_KEY_df=sleep                                  # Fn+W
 KEYBOARD_KEY_e0=bluetooth                              # Fn+H
 KEYBOARD_KEY_e2=cyclewindows                           # Fn+Esc
 KEYBOARD_KEY_ee=battery                                # Fn+Q
 KEYBOARD_KEY_f0=media                                  # Fn+R
 KEYBOARD_KEY_f5=switchvideomode                        # Fn+E
 KEYBOARD_KEY_f6=camera                                 # Fn+T
 KEYBOARD_KEY_f7=f21                                    # Fn+Y (touchpad toggle)
 KEYBOARD_KEY_f8=brightnessup                           # Fn+S
 KEYBOARD_KEY_f9=brightnessdown                         # Fn+A
 KEYBOARD_KEY_fb=wlan                                   # Fn+J

###########################################################
# OQO
###########################################################

# Model 2
keyboard:dmi:bvn*:bvr*:bd*:svnOQO*Inc.*:pnOQO*Model*2*:pvr*
 KEYBOARD_KEY_8e=wlan
 KEYBOARD_KEY_f0=switchvideomode
 KEYBOARD_KEY_f1=mute
 KEYBOARD_KEY_f2=volumedown
 KEYBOARD_KEY_f3=volumeup

###########################################################
# Quanta
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svn*:pn*:pvr*:rvnQuanta:rn30B7:rvr65.2B:*
 KEYBOARD_KEY_88=media                                  # "quick play

###########################################################
# Samsung
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*
 KEYBOARD_KEY_74=prog1                                  # User key
 KEYBOARD_KEY_75=www
 KEYBOARD_KEY_78=mail
 KEYBOARD_KEY_82=!switchvideomode                       # Fn+F4 CRT/LCD (high keycode: "displaytoggle")
 KEYBOARD_KEY_83=!battery                               # Fn+F2
 KEYBOARD_KEY_84=!prog1                                 # Fn+F5 backlight on/off
 KEYBOARD_KEY_86=!wlan                                  # Fn+F9
 KEYBOARD_KEY_88=!brightnessup                          # Fn+Up
 KEYBOARD_KEY_89=!brightnessdown                        # Fn+Down
 KEYBOARD_KEY_b1=!prog2                                 # Fn+F7 run Samsung Magic Doctor (keypressed event is generated twice)
 KEYBOARD_KEY_b3=!prog3                                 # Fn+F8 switch power mode (battery/dynamic/performance)
 KEYBOARD_KEY_b4=!wlan                                  # Fn+F9 (X60P)
 KEYBOARD_KEY_c5=!prog3                                 # Fn+F8 switch power mode (battery/dynamic/performance)
 KEYBOARD_KEY_d5=!wlan                                  # Fn+F12 wlan/airplane switch
 KEYBOARD_KEY_f7=!f22                                   # Fn+F10 Touchpad on
 KEYBOARD_KEY_f9=!f23                                   # Fn+F10 Touchpad off

# Series 3
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*300E[457]*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*200E[45]*:pvr*
 KEYBOARD_KEY_ce=!                                      # Fn+F1  launch control setting

# Series 5
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*530U*:pvr*
 KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
 KEYBOARD_KEY_a8=!                                      # Fn Lock - Function lock on
 KEYBOARD_KEY_a9=!                                      # Fn Lock - Function lock off

keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*550P*:pvr*
 KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
 KEYBOARD_KEY_a8=!                                      # Fn Lock - Function lock on
 KEYBOARD_KEY_a9=!                                      # Fn Lock - Function lock off

keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34][CDG]*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*940X3G*:pvr*
 KEYBOARD_KEY_ce=!prog1                                 # Fn+F1 launch settings
 KEYBOARD_KEY_a0=!mute                                  # Fn+F6 mute
 KEYBOARD_KEY_ae=!volumedown                            # Fn+F7
 KEYBOARD_KEY_b0=!volumeup                              # Fn+F8
 KEYBOARD_KEY_97=!kbdillumdown                          # Fn+F9 keyboard backlight down
 KEYBOARD_KEY_96=!kbdillumup                            # Fn+F10 keyboard backlight up
 KEYBOARD_KEY_b3=!prog3                                 # Fn+F11 fan/cooling mode changer

# Series 9
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*90X3A*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*900X[34][AB]*:pvr*
 KEYBOARD_KEY_ce=!                                      # Fn+F8 keyboard backlight up
 KEYBOARD_KEY_8d=!                                      # Fn+F7 keyboard backlight down
 KEYBOARD_KEY_96=!                                      # Fn+F1 performance mode (?)
 KEYBOARD_KEY_97=!                                      # Fn+F12 Wi-Fi toggle
 KEYBOARD_KEY_d5=!                                      # Fn+F6 battery life extender

# SQ1US
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pnSQ1US:pvr*
 KEYBOARD_KEY_d4=menu
 KEYBOARD_KEY_d8=f1
 KEYBOARD_KEY_d9=f10
 KEYBOARD_KEY_d6=f3
 KEYBOARD_KEY_d7=f9
 KEYBOARD_KEY_e4=f5
 KEYBOARD_KEY_ee=f11

# SX20S
keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*SX20S*:pvr*
 KEYBOARD_KEY_74=mute
 KEYBOARD_KEY_75=mute
 KEYBOARD_KEY_77=f22                                    # Touchpad on
 KEYBOARD_KEY_79=f23                                    # Touchpad off

keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700Z*:pvr*
 KEYBOARD_KEY_ba=ejectcd
 KEYBOARD_KEY_96=keyboardbrightnessup
 KEYBOARD_KEY_97=keyboardbrightnessdown

keyboard:dmi:bvn*:bvr*:bd*:svn[sS][aA][mM][sS][uU][nN][gG]*:pn*700T*:pvr*
 KEYBOARD_KEY_ad=leftmeta

###########################################################
# SONY
###########################################################

# sony-laptop driver
keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*
 KEYBOARD_KEY_06=mute                                   # Fn+F2
 KEYBOARD_KEY_07=volumedown                             # Fn+F3
 KEYBOARD_KEY_08=volumeup                               # Fn+F4
 KEYBOARD_KEY_09=brightnessdown                         # Fn+F5
 KEYBOARD_KEY_0a=brightnessup                           # Fn+F6
 KEYBOARD_KEY_0b=switchvideomode                        # Fn+F7
 KEYBOARD_KEY_0e=zoom                                   # Fn+F10
 KEYBOARD_KEY_10=suspend                                # Fn+F12

keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-C1*:pvr*
keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-K25*:pvr*
keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-F[1-6]*:pvr*
keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-FX*:pvr*
keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-FRV*:pvr*
keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-GR*:pvr*
keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-TR*:pvr*
keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-NV*:pvr*
keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*PCG-Z*:pvr*
keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pn*VGN-S360*:pvr*
 KEYBOARD_KEY_06=battery
 KEYBOARD_KEY_07=mute

keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-AR71*:pvr*
keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-FW*:pvr*
keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVGN-Z21*:pvr*
 KEYBOARD_KEY_00=brightnessdown                         # Fn+F5
 KEYBOARD_KEY_10=brightnessup                           # Fn+F6
 KEYBOARD_KEY_11=switchvideomode                        # Fn+F7
 KEYBOARD_KEY_12=zoomout
 KEYBOARD_KEY_14=zoomin
 KEYBOARD_KEY_15=suspend                                # Fn+F12
 KEYBOARD_KEY_17=prog1
 KEYBOARD_KEY_20=media

keyboard:name:Sony Vaio Keys:dmi:bvn*:bvr*:bd*:svnSony*:pnVPC*:pvr*
 KEYBOARD_KEY_05=f21                                    # Fn+F1 -> KEY_F21 (The actual touchpad toggle)
 KEYBOARD_KEY_0d=zoomout                                # Fn+F9
 KEYBOARD_KEY_0e=zoomin                                 # Fn+F10

###########################################################
# Toshiba
###########################################################

# Satellite A100
keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSATELLITE*A100:pvr*
 KEYBOARD_KEY_a4=stopcd
 KEYBOARD_KEY_b2=www

# Satellite A110
keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*A110:pvr*
 KEYBOARD_KEY_92=stop
 KEYBOARD_KEY_93=www
 KEYBOARD_KEY_94=media
 KEYBOARD_KEY_9e=f22                                    # Touchpad on
 KEYBOARD_KEY_9f=f23                                    # Touchpad off
 KEYBOARD_KEY_b9=nextsong
 KEYBOARD_KEY_d9=brightnessup
 KEYBOARD_KEY_ee=screenlock
 KEYBOARD_KEY_f4=previoussong
 KEYBOARD_KEY_f7=playpause

# Satellite M30X
keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*M30X:pvr*
 KEYBOARD_KEY_ef=brightnessdown
 KEYBOARD_KEY_d9=brightnessup
 KEYBOARD_KEY_ee=screenlock
 KEYBOARD_KEY_93=media
 KEYBOARD_KEY_9e=f22                                    # touchpad enable
 KEYBOARD_KEY_9f=f23                                    # touchpad disable

# Satellite P75-A
keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*P75-A:pvr*
 KEYBOARD_KEY_ef=brightnessdown
 KEYBOARD_KEY_ee=brightnessup
 KEYBOARD_KEY_a9=switchvideomode                        # switch display outputs
 KEYBOARD_KEY_d4=wlan                                   # RF Switch Off

# Satellite C75-A
keyboard:name:Toshiba input device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatellite*C75-A:pvr*
 KEYBOARD_KEY_13c=brightnessdown
 KEYBOARD_KEY_13d=brightnessup
 KEYBOARD_KEY_13e=suspend                     
 KEYBOARD_KEY_13f=switchvideomode             # switch display outputs                     
 KEYBOARD_KEY_157=mute                               
 KEYBOARD_KEY_158=wlan                            # RF Switch Off

###########################################################
# VIA
###########################################################

keyboard:dmi:bvn*:bvr*:bd*:svnVIA:pnK8N800:pvr*
 KEYBOARD_KEY_81=prog1

###########################################################
# Zepto
###########################################################

# Znote
keyboard:dmi:bvn*:bvr*:bd*:svnZepto:pnZnote:*
 KEYBOARD_KEY_93=switchvideomode                        # Fn+F3 Toggle Video Output
 KEYBOARD_KEY_95=brightnessdown                         # Fn+F4 Brightness Down
 KEYBOARD_KEY_91=brightnessup                           # Fn+F5 Brightness Up
 KEYBOARD_KEY_a5=f23                                    # Fn+F6 Disable Touchpad
 KEYBOARD_KEY_a6=f22                                    # Fn+F6 Enable Touchpad
 KEYBOARD_KEY_a7=bluetooth                              # Fn+F10 Enable Bluetooth
 KEYBOARD_KEY_a9=bluetooth                              # Fn+F10 Disable Bluetooth
 KEYBOARD_KEY_f1=wlan                                   # RF Switch Off
 KEYBOARD_KEY_f2=wlan                                   # RF Switch On
 KEYBOARD_KEY_f4=prog1                                  # P1 Button
 KEYBOARD_KEY_f3=prog2                                  # P2 Button
 KEYBOARD_KEY_a0=!                                      # mute
 KEYBOARD_KEY_ae=!                                      # volume down
 KEYBOARD_KEY_b0=!                                      # volume up

# Znote 6615WD
keyboard:dmi:bvn*:bvr*:bd*:svnZepto:pnZnote*6615WD:*
 KEYBOARD_KEY_a0=!                                      # mute
 KEYBOARD_KEY_ae=!                                      # volume down
 KEYBOARD_KEY_b0=!                                      # volume up

###########################################################
# Other
###########################################################

# Common Volume Keys
keyboard:dmi:bvn*:bvr*:bd*:svnFUJITSU*SIEMENS:pnAMILO*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnFOXCONN:pnQBOOK:*
keyboard:dmi:bvn*:bvr*:bd*:svnMTC:pn*:pvrA0:*
keyboard:dmi:bvn*:bvr*:bd*:svnMio*Technology:pnN890:*
keyboard:dmi:bvn*:bvr*:bd*:svnPEGATRON*CORP.:pnSpring*Peak:*
keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSatellite*[uU]30[05]*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSatellite*Pro*[uU]300*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnTOSHIBA:pnSATELLITE*[uU]500*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnViooo*Corporation:pnPT17:*
keyboard:dmi:bvn*:bvr*:bd*:svnHANNspree:pnSN10E100:*
keyboard:dmi:bvn*:bvr*:bd*:svnGIGABYTE:pni1520M:*
keyboard:dmi:bvn*:bvr*:bd*:svnBenQ:pn*nScreen*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnBenQ:pnJoybook*Lite*:pvr*
keyboard:dmi:bvn*:bvr*:bd*:svnDIXONSP:pnDIXON*:pvr*
 KEYBOARD_KEY_a0=!                                      # mute
 KEYBOARD_KEY_ae=!                                      # volume down
 KEYBOARD_KEY_b0=!                                      # volume up

User avatar
roblm
Level 10
Level 10
Posts: 3355
Joined: Sun Feb 24, 2013 2:41 pm

Re: Toshiba Satellite C75 brightness buttons

Post by roblm » Mon Jan 06, 2014 4:59 pm

I don't know how I made that mistake with the file's pathway since I double check each post I submit.

Prior to Mint 16, this method using evtest was not used, so this is the first time I have suggested it. I was more familiar with the
older method. In the topic below tato11 was successful in getting his laptop's special keys for brightness working with one glitch:
http://forums.linuxmint.com/viewtopic.php?f=49&t=153157

The problem may be in the wording. I noticed in his line:
keyboard:name:Toshiba input device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatelliteS75D-A:pvr*
there is no asterisk (wildcard) after “pnSatellite” but your line has one. I was following the line from the “60-keyboard.hwdb” file,
which has an asterisk after “pnSatellite”

You could try removing the asterisk. Also, since the full model name of your laptop is C75-A-11J, then an asterisk may be needed
after: pnSatellite*C75-A
so the end of the line becomes: pnSatellite*C75-A*:pvr*
or the whole model number added.

josefg
Level 2
Level 2
Posts: 84
Joined: Sun Jun 12, 2011 7:07 pm

Re: Toshiba Satellite C75 brightness buttons

Post by josefg » Tue Jan 07, 2014 3:00 am

Hi robim,

Your advice and tato11's post are being of great help here.
I've made progress, and have got the brightness keys to work.

I used the following configuration in the 60-keyboard.hwdb file:

Code: Select all

# Satellite C75-A
keyboard:name:Toshiba input device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSATELLITE*C75-A:pvr*
 KEYBOARD_KEY_13c=brightnessdown
 KEYBOARD_KEY_13d=brightnessup
 KEYBOARD_KEY_13e=switchvideomode             		# switch display outputs
 KEYBOARD_KEY_13f=f21                                   # Touchpad toggle                  
 KEYBOARD_KEY_157=mute                               
 KEYBOARD_KEY_158=wlan                            	# RF Switch Off
To my surprise, it helped when I wrote SATELLITE in uppercase letters.
Also, as Tato11 mentioned in his post, one must run the command

Code: Select all

sudo udevadm hwdb --update
after updating the 60-keyboard.hwdb file. Otherwise the changes do not take effect.

Now my brightness keys are working as they should, and so is the touchpad toggle key.
Still not working are only two buttons: Mute and WLAN. I've been looking at their lines this morning, but can't figure out what would be wrong with them.

Thanks for the great help so far.

User avatar
roblm
Level 10
Level 10
Posts: 3355
Joined: Sun Feb 24, 2013 2:41 pm

Re: Toshiba Satellite C75 brightness buttons

Post by roblm » Tue Jan 07, 2014 9:11 am

josefg,
So are you saying that if the whole word “Satellite” is not in capital letters then the brightness keys don't work? I was
wondering about that myself when I asked you to get the output of this command:
cat /sys/class/dmi/id/product_name

and the result was: SATELLITE C75-A
which is all in capital letters, but if you look in the “60-keyboard.hwdb” file there are four Toshiba laptop models listed and
only one of them has the word in all capital letters.

I guess the reason I didn't mention the update command is because I was still thinking too much about the previous method
used to solve these kind of problems. That method also has a command to update the system but it was only needed to get
an immediate update without rebooting, otherwise upon rebooting the update took place automatically. A big problem for me
is that I don't have a laptop to do this kind of testing.

In the other post tato11 also said that when he pressed the keys for brightness control then “switchvideomode” was also activated.
This didn't happen to you?

I noticed that you changed the lines for the scan codes 13e and 13f to the lines tato11 used. If you look at the output from running
evtest in your third post:

Code: Select all

Event: time 1389015640.465468, type 4 (EV_MSC), code 4 (MSC_SCAN), value 13e
Event: time 1389015640.465468, type 1 (EV_KEY), code 205 (KEY_SUSPEND), value 1

Code: Select all

Event: time 1389015700.085980, type 4 (EV_MSC), code 4 (MSC_SCAN), value 13f
Event: time 1389015700.085980, type 1 (EV_KEY), code 227 (KEY_SWITCHVIDEOMODE), value 1
the scan code 13e was mapped to the keycode 205 which is SUSPEND, and the scan code 13f was mapped to the keycode 227,
which is SWITCHVIDEOMODE. Were these functions not working with the original setting?

I rechecked tato11's topic and I think I found out how he decided on the syntax to use on the line:
keyboard:name:Toshiba input device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatelliteS75D-A:pvr*
after looking at his second post after running the command:
sudo udevadm info --export-db > Escritorio/udev-db.txt

If you have some extra time could you do this procedure. It may help in solving these kind of problems. Repeat typing
“sudo evtest” in the Terminal and typing the event number, but don't press any keys. Press Ctrl+Z to stop the program.
Then type this command to generate a device dump: udevadm info --export-db > /tmp/udev-db.txt

Then open the file “udev-db.txt” with this command: gedit /tmp/udev-db.txt
Press Ctrl+A to select the whole file and copy it. Post the output.

josefg
Level 2
Level 2
Posts: 84
Joined: Sun Jun 12, 2011 7:07 pm

Re: Toshiba Satellite C75 brightness buttons

Post by josefg » Mon Jan 13, 2014 10:20 am

roblm wrote: So are you saying that if the whole word “Satellite” is not in capital letters then the brightness keys don't work?
Yes, I'm saying that.
roblm wrote: A big problem for me is that I don't have a laptop to do this kind of testing.
Well, you do provide highly helpful advice in spite of this constraint. Credit to you.
roblm wrote: In the other post tato11 also said that when he pressed the keys for brightness control then “switchvideomode” was also activated.
This didn't happen to you?
No, the two brightness keys now work as they should.
roblm wrote: I noticed that you changed the lines for the scan codes 13e and 13f to the lines tato11 used. If you look at the output from running
evtest in your third post:

Code: Select all

Event: time 1389015640.465468, type 4 (EV_MSC), code 4 (MSC_SCAN), value 13e
Event: time 1389015640.465468, type 1 (EV_KEY), code 205 (KEY_SUSPEND), value 1

Code: Select all

Event: time 1389015700.085980, type 4 (EV_MSC), code 4 (MSC_SCAN), value 13f
Event: time 1389015700.085980, type 1 (EV_KEY), code 227 (KEY_SWITCHVIDEOMODE), value 1
the scan code 13e was mapped to the keycode 205 which is SUSPEND, and the scan code 13f was mapped to the keycode 227,
which is SWITCHVIDEOMODE. Were these functions not working with the original setting?
They were not aligned with the symbols printed on the keyboard. Fn+F4 was putting the laptop into hibernation, and Fn+F5 was probably attempting the video mode switch. But the symbols on the keyboard suggest Fn+F4 should switch the video ode, and Fn+F5 should enable and disable the touchpad.
roblm wrote:
I rechecked tato11's topic and I think I found out how he decided on the syntax to use on the line:
keyboard:name:Toshiba input device:dmi:bvn*:bvr*:bd*:svnTOSHIBA*:pnSatelliteS75D-A:pvr*
after looking at his second post after running the command:
sudo udevadm info --export-db > Escritorio/udev-db.txt

If you have some extra time could you do this procedure. It may help in solving these kind of problems. Repeat typing
“sudo evtest” in the Terminal and typing the event number, but don't press any keys. Press Ctrl+Z to stop the program.
Then type this command to generate a device dump: udevadm info --export-db > /tmp/udev-db.txt

Then open the file “udev-db.txt” with this command: gedit /tmp/udev-db.txt
Press Ctrl+A to select the whole file and copy it. Post the output.
I will try to do this later. The laptop was not actually mine, I was installing for someone else. He is now using it, but I can probably get a hold of it later.

Post Reply

Return to “Hardware Support”