From e8f04b65f38cafe34af1dbbe4150b87b2771f1f9 Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Sun, 11 Oct 2009 18:18:43 +0200 Subject: [PATCH] keymap: fix usb_id invocation For deciding whether to call usb_id, test the property which we are actually querying further down. https://launchpad.net/215035 --- extras/keymap/95-keymap.rules | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extras/keymap/95-keymap.rules b/extras/keymap/95-keymap.rules index 967bb4be..4ce84bce 100644 --- a/extras/keymap/95-keymap.rules +++ b/extras/keymap/95-keymap.rules @@ -9,7 +9,7 @@ ACTION!="add", GOTO="keyboard_end" SUBSYSTEM!="input", GOTO="keyboard_end" KERNEL!="event*", GOTO="keyboard_end" -SUBSYSTEMS=="usb", ENV{ID_MODEL}=="", IMPORT{program}="usb_id --export %p", GOTO="keyboard_usbcheck" +SUBSYSTEMS=="usb", ENV{ID_VENDOR}=="", IMPORT{program}="usb_id --export %p", GOTO="keyboard_usbcheck" GOTO="keyboard_modulecheck" # -- 2.39.5