forked from pool/systemd
2f2eb23bbf
- rework patch: 1020-usb_id-some-strange-devices-have-a-very-bogus-or-strage-serial.patch - udev: use unique names for temporary files created in /dev. add: 1022-udev-use-unique-names-for-temporary-files-created-in.patch - cdrom_id: add data track count for bad virtual drive. add: 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch - rework patch: 1020-usb_id-some-strange-devices-have-a-very-bogus-or-strage-serial.patch - udev: use unique names for temporary files created in /dev. add: 1022-udev-use-unique-names-for-temporary-files-created-in.patch - cdrom_id: add data track count for bad virtual drive. add: 1023-cdrom_id-add-data-track-count-for-bad-virtual-drive.patch OBS-URL: https://build.opensuse.org/request/show/155319 OBS-URL: https://build.opensuse.org/package/show/Base:System/systemd?expand=0&rev=344
60 lines
3.5 KiB
Diff
60 lines
3.5 KiB
Diff
Index: systemd-195/Makefile.am
|
|
===================================================================
|
|
--- systemd-195.orig/Makefile.am
|
|
+++ systemd-195/Makefile.am
|
|
@@ -2246,6 +2246,8 @@ dist_udevkeymap_DATA = \
|
|
keymaps/hewlett-packard-presario-2100 \
|
|
keymaps/hewlett-packard-tablet \
|
|
keymaps/hewlett-packard-tx2 \
|
|
+ keymaps/hewlett-packard_elitebook-8440p \
|
|
+ keymaps/hewlett-packard-hdx9494nr \
|
|
keymaps/ibm-thinkpad-usb-keyboard-trackpoint \
|
|
keymaps/inventec-symphony_6.0_7.0 \
|
|
keymaps/lenovo-3000 \
|
|
Index: systemd-195/keymaps/hewlett-packard-hdx9494nr
|
|
===================================================================
|
|
--- /dev/null
|
|
+++ systemd-195/keymaps/hewlett-packard-hdx9494nr
|
|
@@ -0,0 +1,3 @@
|
|
+0xB2 www # FnF3
|
|
+0xD8 f23 # touchpad off
|
|
+0xD9 f22 # touchpad on
|
|
Index: systemd-195/keymaps/hewlett-packard_elitebook-8440p
|
|
===================================================================
|
|
--- /dev/null
|
|
+++ systemd-195/keymaps/hewlett-packard_elitebook-8440p
|
|
@@ -0,0 +1,5 @@
|
|
+0x88 www
|
|
+0xA0 mute
|
|
+0xAE volumedown
|
|
+0xB0 volumeup
|
|
+0xEC mail
|
|
Index: systemd-195/src/udev/keymap/95-keyboard-force-release.rules
|
|
===================================================================
|
|
--- systemd-195.orig/src/udev/keymap/95-keyboard-force-release.rules
|
|
+++ systemd-195/src/udev/keymap/95-keyboard-force-release.rules
|
|
@@ -42,7 +42,7 @@ ENV{DMI_VENDOR}=="Viooo Corporation", AT
|
|
# These are all the HP laptops that setup a touchpad toggle key
|
|
ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*[pP][aA][vV][iI][lL][iI][oO][nN]*", RUN+="keyboard-force-release.sh $devpath hp-other"
|
|
ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*[tT][xX]2*", RUN+="keyboard-force-release.sh $devpath hp-other"
|
|
-ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*2510p*|*2530p*|HP G60 Notebook PC", RUN+="keyboard-force-release.sh $devpath hp-other"
|
|
+ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*2510p*|*2530p*|HP G60 Notebook PC|HDX9494NR", RUN+="keyboard-force-release.sh $devpath hp-other"
|
|
|
|
ENV{DMI_VENDOR}=="Zepto", ATTR{[dmi/id]product_name}=="Znote 6615WD", RUN+="keyboard-force-release.sh $devpath common-volume-keys"
|
|
|
|
Index: systemd-195/src/udev/keymap/95-keymap.rules
|
|
===================================================================
|
|
--- systemd-195.orig/src/udev/keymap/95-keymap.rules
|
|
+++ systemd-195/src/udev/keymap/95-keymap.rules
|
|
@@ -96,7 +96,9 @@ ENV{DMI_VENDOR}=="Hewlett-Packard*", ATT
|
|
ENV{DMI_VENDOR}=="Hewlett-Packard*", ATTR{[dmi/id]product_name}=="*[tT][xX]2*", RUN+="keymap $name hewlett-packard-tx2"
|
|
ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="Presario 2100*", RUN+="keymap $name hewlett-packard-presario-2100"
|
|
ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HP G62 Notebook PC", RUN+="keymap $name 0xB2 www"
|
|
-ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HP ProBook*", RUN+="keymap $name 0xF8 rfkill"
|
|
+ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HP ProBook*", RUN+="keymap $name 0xF8 rfkill 0xB2 www"
|
|
+ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HP EliteBook 8440p", RUN+="keymap $name hewlett-packard_elitebook-8440p"
|
|
+ENV{DMI_VENDOR}=="Hewlett-Packard", ATTR{[dmi/id]product_name}=="HDX9494NR", RUN+="keymap $name hewlett-packard-hdx9494nr"
|
|
# HP Pavillion dv6315ea has empty DMI_VENDOR
|
|
ATTR{[dmi/id]board_vendor}=="Quanta", ATTR{[dmi/id]board_name}=="30B7", ATTR{[dmi/id]board_version}=="65.2B", RUN+="keymap $name 0x88 media" # "quick play
|
|
|