I'm running Opensuse 12.3/64. I'm installing a StreamzapIR LIRC remote for exclusive use with XBMC; I want it otherwise ignored by the system/KDE/etc. Part of the process is, 1st, getting the remote prpoerly IGNORED as a "KEYBOARD" device. Atm, I'm unsuccessfuly at excluding the StreamzapIR from being recognized as a KYBD dev either by: xorg udev My question is: How/where do I properly exclude the Streamzap <--> Keyboard mapping? Here's what I have so far: Following http://wiki.xbmc.org/index.php?title=HOW-TO:Setup_Streamzap_PC_Remote_for_Li... I add cat /etc/X11/xorg.conf.d/90-streamzap.conf Section "InputClass" Identifier "Ignore Streamzap IR as KYBD" MatchProduct "Streamzap" MatchIsKeyboard "true" Option "Ignore" "true" EndSection But after boot, I still have hwinfo ... 38: PS/2 00.0: 10800 Keyboard <=========================================== [Created at input.226] Unique ID: 2jvT.MnZK4QjxeC0 Hardware Class: keyboard Model: "MCE IR Keyboard/Mouse (streamzap)" Device: "MCE IR Keyboard/Mouse (streamzap)" Compatible to: int 0x0211 0x0001 Device File: /dev/input/event17 Device Files: /dev/input/event17, /dev/input/ir Device Number: char 13:81 Driver Info #0: XkbRules: xfree86 XkbModel: pc104 Config Status: cfg=new, avail=yes, need=no, active=unknown ... 65: USB 00.0: 0000 Unclassified device [Created at usb.122] Unique ID: vt3A.WSZ9GAy9ji4 Parent ID: 2UT6.MK3XiDwLleA SysFS ID: /devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.0 SysFS BusID: 1-3.1:1.0 Hardware Class: unknown Model: "Streamzap Remote Control" Hotplug: USB Vendor: usb 0x0e9c "Streamzap, Inc." Device: usb 0x0000 "Streamzap Remote Control" Revision: "1.00" Driver: "streamzap" Driver Modules: "streamzap" Speed: 1.5 Mbps Module Alias: "usb:v0E9Cp0000d0100dc00dsc00dp00icFFiscFFipFFin00" Driver Info #0: Driver Status: streamzap is active Driver Activation Cmd: "modprobe streamzap" Config Status: cfg=no, avail=yes, need=no, active=unknown Attached to: #81 (Hub) ... which Xorg picks up on apparently due to the /etc/X11/xorg evdev catchall in cat /etc/X11/xorg.conf.d/10-evdev.conf ... Section "InputClass" Identifier "evdev keyboard catchall" MatchIsKeyboard "on" MatchDevicePath "/dev/input/event*" Driver "evdev" EndSection ... checking, that's the case grep -i zap /var/log/Xorg.0.log [ 42.683] (II) config/udev: Adding input device Streamzap PC Remote Infrared Receiver (0e9c:0000) (/dev/input/event8) [ 42.683] (**) Streamzap PC Remote Infrared Receiver (0e9c:0000): Ignoring device from InputClass "Ignore Streamzap IR" [ 42.688] (II) config/udev: Adding input device MCE IR Keyboard/Mouse (streamzap) (/dev/input/event17) [ 42.688] (**) MCE IR Keyboard/Mouse (streamzap): Applying InputClass "evdev pointer catchall" [ 42.688] (**) MCE IR Keyboard/Mouse (streamzap): Applying InputClass "evdev keyboard catchall" [ 42.688] (**) MCE IR Keyboard/Mouse (streamzap): Applying InputClass "evdev pointer catchall" [ 42.688] (**) MCE IR Keyboard/Mouse (streamzap): Applying InputClass "evdev keyboard catchall" [ 42.688] (**) MCE IR Keyboard/Mouse (streamzap): Applying InputClass "LocalKeyboard" ==> [ 42.688] (II) Using input driver 'evdev' for 'MCE IR Keyboard/Mouse (streamzap)' [ 42.688] (**) MCE IR Keyboard/Mouse (streamzap): always reports core events [ 42.689] (**) evdev: MCE IR Keyboard/Mouse (streamzap): Device: "/dev/input/event17" [ 42.689] (--) evdev: MCE IR Keyboard/Mouse (streamzap): Vendor 0 Product 0 [ 42.689] (--) evdev: MCE IR Keyboard/Mouse (streamzap): Found 3 mouse buttons [ 42.689] (--) evdev: MCE IR Keyboard/Mouse (streamzap): Found relative axes [ 42.689] (--) evdev: MCE IR Keyboard/Mouse (streamzap): Found x and y relative axes [ 42.689] (--) evdev: MCE IR Keyboard/Mouse (streamzap): Found keys [ 42.689] (II) evdev: MCE IR Keyboard/Mouse (streamzap): Configuring as mouse [ 42.689] (II) evdev: MCE IR Keyboard/Mouse (streamzap): Configuring as keyboard [ 42.689] (**) evdev: MCE IR Keyboard/Mouse (streamzap): YAxisMapping: buttons 4 and 5 [ 42.689] (**) evdev: MCE IR Keyboard/Mouse (streamzap): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 42.689] (II) XINPUT: Adding extended input device "MCE IR Keyboard/Mouse (streamzap)" (type: KEYBOARD, id 13) [ 42.689] (II) evdev: MCE IR Keyboard/Mouse (streamzap): initialized for relative axes. [ 42.689] (**) MCE IR Keyboard/Mouse (streamzap): (accel) keeping acceleration scheme 1 [ 42.689] (**) MCE IR Keyboard/Mouse (streamzap): (accel) acceleration profile 0 [ 42.689] (**) MCE IR Keyboard/Mouse (streamzap): (accel) acceleration factor: 2.000 [ 42.689] (**) MCE IR Keyboard/Mouse (streamzap): (accel) acceleration threshold: 4 [ 42.689] (II) config/udev: Adding input device MCE IR Keyboard/Mouse (streamzap) (/dev/input/mouse2) [ 42.689] (**) MCE IR Keyboard/Mouse (streamzap): Applying InputClass "LocalKeyboard" My 1st guess at a problem is there's no proper/correct match for MatchProduct "Streamzap" as there's no "Product" info in the hwinfo db for the "38: PS/2 00.0: 10800 Keyboard" device. Looking at the hwinfo output, I'm not sure WHAT to match on there ... SO, the right solution seems to me to be a udev rule disabling the device recognition as a KYBD. e.g., cat /etc/udev/rules.d/10-local.rules ... SUBSYSTEM=="zzzz" ATTRS{xxxx}=="THIS" ATTRS{yyyy}=="THAT" ... OPTIONS==”ignore_device” ... To get the right match params for I UNIQUE match, I check udevadm for the device from hwinfo, "Device File: /dev/input/event17", udevadm info --query=all --path=$(udevadm info --query=path --name=/dev/input/event17) P: /devices/virtual/input/input17/event17 N: input/event17 S: input/ir E: DEVLINKS=/dev/input/ir E: DEVNAME=/dev/input/event17 E: DEVPATH=/devices/virtual/input/input17/event17 E: DMI_VENDOR=System manufacturer E: ID_INPUT=1 E: ID_INPUT_KEY=1 E: ID_INPUT_KEYBOARD=1 E: ID_INPUT_MOUSE=1 E: ID_SERIAL=noserial E: MAJOR=13 E: MINOR=81 E: SUBSYSTEM=input E: USEC_INITIALIZED=477263 SUBSYSTEM is easy. Unfortunately, there's not a definitely completly unique set of ATTR's to match -- no VENDOR/PRODUCT info, for example. Still, I thought this *should* do it, cat /etc/udev/rules.d/10-local.rules SUBSYSTEM=="input" ATTRS{ID_INPUT_KEYBOARD}=="1" ATTRS{DEVLINKS}=="/dev/input/ir" OPTIONS==”ignore_device” But, after reboot, hwinfo --keyboard STILL returns, ... 38: PS/2 00.0: 10800 Keyboard [Created at input.226] Unique ID: 2jvT.MnZK4QjxeC0 Hardware Class: keyboard Model: "MCE IR Keyboard/Mouse (streamzap)" Device: "MCE IR Keyboard/Mouse (streamzap)" Compatible to: int 0x0211 0x0001 Device File: /dev/input/event17 Device Files: /dev/input/event17, /dev/input/ir Device Number: char 13:81 Driver Info #0: XkbRules: xfree86 XkbModel: pc104 Config Status: cfg=new, avail=yes, need=no, active=unknown ... and, of course, Xorg sees/grabs it, grep -i zap /var/log/Xorg.0.log [ 39.796] (II) config/udev: Adding input device Streamzap PC Remote Infrared Receiver (0e9c:0000) (/dev/input/event8) [ 39.796] (**) Streamzap PC Remote Infrared Receiver (0e9c:0000): Ignoring device from InputClass "Ignore Streamzap IR keyboard dev" [ 39.806] (II) config/udev: Adding input device MCE IR Keyboard/Mouse (streamzap) (/dev/input/event17) [ 39.806] (**) MCE IR Keyboard/Mouse (streamzap): Applying InputClass "evdev pointer catchall" [ 39.806] (**) MCE IR Keyboard/Mouse (streamzap): Applying InputClass "evdev keyboard catchall" [ 39.806] (**) MCE IR Keyboard/Mouse (streamzap): Applying InputClass "evdev pointer catchall" [ 39.806] (**) MCE IR Keyboard/Mouse (streamzap): Applying InputClass "evdev keyboard catchall" [ 39.806] (**) MCE IR Keyboard/Mouse (streamzap): Applying InputClass "LocalKeyboard" [ 39.806] (II) Using input driver 'evdev' for 'MCE IR Keyboard/Mouse (streamzap)' [ 39.806] (**) MCE IR Keyboard/Mouse (streamzap): always reports core events [ 39.806] (**) evdev: MCE IR Keyboard/Mouse (streamzap): Device: "/dev/input/event17" [ 39.807] (--) evdev: MCE IR Keyboard/Mouse (streamzap): Vendor 0 Product 0 [ 39.807] (--) evdev: MCE IR Keyboard/Mouse (streamzap): Found 3 mouse buttons [ 39.807] (--) evdev: MCE IR Keyboard/Mouse (streamzap): Found relative axes [ 39.807] (--) evdev: MCE IR Keyboard/Mouse (streamzap): Found x and y relative axes [ 39.807] (--) evdev: MCE IR Keyboard/Mouse (streamzap): Found keys [ 39.807] (II) evdev: MCE IR Keyboard/Mouse (streamzap): Configuring as mouse [ 39.807] (II) evdev: MCE IR Keyboard/Mouse (streamzap): Configuring as keyboard [ 39.807] (**) evdev: MCE IR Keyboard/Mouse (streamzap): YAxisMapping: buttons 4 and 5 [ 39.807] (**) evdev: MCE IR Keyboard/Mouse (streamzap): EmulateWheelButton: 4, EmulateWheelInertia: 10, EmulateWheelTimeout: 200 [ 39.807] (II) XINPUT: Adding extended input device "MCE IR Keyboard/Mouse (streamzap)" (type: KEYBOARD, id 13) [ 39.807] (II) evdev: MCE IR Keyboard/Mouse (streamzap): initialized for relative axes. [ 39.807] (**) MCE IR Keyboard/Mouse (streamzap): (accel) keeping acceleration scheme 1 [ 39.807] (**) MCE IR Keyboard/Mouse (streamzap): (accel) acceleration profile 0 [ 39.807] (**) MCE IR Keyboard/Mouse (streamzap): (accel) acceleration factor: 2.000 [ 39.807] (**) MCE IR Keyboard/Mouse (streamzap): (accel) acceleration threshold: 4 [ 39.807] (II) config/udev: Adding input device MCE IR Keyboard/Mouse (streamzap) (/dev/input/mouse2) [ 39.807] (**) MCE IR Keyboard/Mouse (streamzap): Applying InputClass "LocalKeyboard" I.e., it's still "there" as a keyboard. How/where do I properly 'exclude' this Streamzap <--> Keyboard mapping? Is my config off, or is there a bug in the way? Thanks. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org