Mailinglist Archive: opensuse (878 mails)

< Previous Next >
Re: [opensuse] Can't exclude/prevent udev/xorg auto-recognition of an IR/Remote as a KEYBOARD device; bug or a config issue?
simplifying ...

I removed all lirc* pkgs, and all lirc/streamzap-related configs, rules,
etc. The only pkg remaining is "liblirc_client0", required by my
MPLayer install.

rpm -e liblirc_client0-0.9.0-5.1.1.x86_64
error: Failed dependencies:
liblirc_client.so.0()(64bit) is needed by
(installed) MPlayer-1.1+35127-3.1.x86_64

I.e., there's NO config on my part ... what follows here appears to be
built-in to OOTB Opensuse.

Leaving the IR receiver plugged in, @ reboot, I see the device installed
as per configs' returns below.

With this setup, if I press the "Power" button on the Streamzap, it
forces an immediate, complete system Power Off! Not the behavior I want
at all!

So, before introducing lircd and XBMC, I need to understand how to
DISABLE this behavior as Keyboard/Mouse, and prevent any interaction
with the system.

Here's the after-boot auto-config, without any config of my own:

lsmod | egrep -i "lirc|streamzap"
ir_lirc_codec 13022 0
lirc_dev 19981 1 ir_lirc_codec
rc_streamzap 12509 0
streamzap 13251 0
rc_core 31851 12

ir_lirc_codec,ir_mce_kbd_decoder,ir_sanyo_decoder,ir_sony_decoder,ir_jvc_decoder,ir_rc6_decoder,ir_rc5_decoder,ir_nec_decoder,ir_rc5_sz_decoder,rc_streamzap,streamzap


lsusb | grep -i streamzap
Bus 001 Device 004: ID 0e9c:0000 Streamzap, Inc.
Streamzap Remote Control
lsusb -v -s 001:004
Bus 001 Device 009: ID 0e9c:0000 Streamzap, Inc.
Streamzap Remote Control
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 (Defined at Interface level)
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 8
idVendor 0x0e9c Streamzap, Inc.
idProduct 0x0000 Streamzap Remote Control
bcdDevice 1.00
iManufacturer 1 Streamzap, Inc.
iProduct 2 Streamzap Remote Control
iSerial 0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 25
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3 Receive Infrared
bmAttributes 0x80
(Bus Powered)
MaxPower 50mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 255 Vendor Specific Class
bInterfaceSubClass 255 Vendor Specific Subclass
bInterfaceProtocol 255 Vendor Specific Protocol
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0008 1x 8 bytes
bInterval 10
Device Status: 0x0000
(Bus Powered)

hwinfo
...
>> pci.1: sysfs drivers
----- sysfs driver list (id 0x8b56b235e4da9cb9) -----
...
streamzap:
/devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.0
streamzap: module = streamzap
>> pci.2: get sysfs pci data
...
streamzap:
/devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.0
streamzap: module = streamzap
...
>> block.2: sysfs drivers
...
streamzap:
/devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.0
streamzap: module = streamzap
...
usb device: name = 1-3.1:1.0
path =
/devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1/1-3.1:1.0
modalias =
"usb:v0E9Cp0000d0100dc00dsc00dp00icFFiscFFipFFin00"
bInterfaceNumber = 0
bInterfaceClass = 255
bInterfaceSubClass = 255
bInterfaceProtocol = 255
if: 1-3.1:1.0 @
/devices/pci0000:00/0000:00:12.2/usb1/1-3/1-3.1
bDeviceClass = 0
bDeviceSubClass = 0
bDeviceProtocol = 0
idVendor = 0x0e9c
idProduct = 0x0000
manufacturer = "Streamzap, Inc."
product = "Streamzap Remote Control"
bcdDevice = 0100
speed = "1.5"
...

and

grep stream /var/log/Xorg.0.log
[ 42.748] (II) config/udev: Adding input device MCE
IR Keyboard/Mouse (streamzap) (/dev/input/event9)
[ 42.748] (**) MCE IR Keyboard/Mouse (streamzap):
Applying InputClass "evdev pointer catchall"
[ 42.748] (**) MCE IR Keyboard/Mouse (streamzap):
Applying InputClass "evdev keyboard catchall"
[ 42.748] (**) MCE IR Keyboard/Mouse (streamzap):
Applying InputClass "evdev pointer catchall"
[ 42.748] (**) MCE IR Keyboard/Mouse (streamzap):
Applying InputClass "evdev keyboard catchall"
[ 42.748] (**) MCE IR Keyboard/Mouse (streamzap):
Applying InputClass "LocalKeyboard"
[ 42.748] (II) Using input driver 'evdev' for 'MCE IR
Keyboard/Mouse (streamzap)'
[ 42.748] (**) MCE IR Keyboard/Mouse (streamzap):
always reports core events
[ 42.748] (**) evdev: MCE IR Keyboard/Mouse
(streamzap): Device: "/dev/input/event9"
[ 42.748] (--) evdev: MCE IR Keyboard/Mouse
(streamzap): Vendor 0 Product 0
[ 42.748] (--) evdev: MCE IR Keyboard/Mouse
(streamzap): Found 3 mouse buttons
[ 42.748] (--) evdev: MCE IR Keyboard/Mouse
(streamzap): Found relative axes
[ 42.748] (--) evdev: MCE IR Keyboard/Mouse
(streamzap): Found x and y relative axes
[ 42.748] (--) evdev: MCE IR Keyboard/Mouse
(streamzap): Found keys
[ 42.748] (II) evdev: MCE IR Keyboard/Mouse
(streamzap): Configuring as mouse
[ 42.748] (II) evdev: MCE IR Keyboard/Mouse
(streamzap): Configuring as keyboard
[ 42.748] (**) evdev: MCE IR Keyboard/Mouse
(streamzap): YAxisMapping: buttons 4 and 5
[ 42.748] (**) evdev: MCE IR Keyboard/Mouse
(streamzap): EmulateWheelButton: 4, EmulateWheelInertia:
10, EmulateWheelTimeout: 200
[ 42.748] (II) XINPUT: Adding extended input device
"MCE IR Keyboard/Mouse (streamzap)" (type: KEYBOARD, id
14)
[ 42.748] (II) evdev: MCE IR Keyboard/Mouse
(streamzap): initialized for relative axes.
[ 42.748] (**) MCE IR Keyboard/Mouse (streamzap):
(accel) keeping acceleration scheme 1
[ 42.748] (**) MCE IR Keyboard/Mouse (streamzap):
(accel) acceleration profile 0
[ 42.748] (**) MCE IR Keyboard/Mouse (streamzap):
(accel) acceleration factor: 2.000
[ 42.748] (**) MCE IR Keyboard/Mouse (streamzap):
(accel) acceleration threshold: 4
[ 42.749] (II) config/udev: Adding input device MCE
IR Keyboard/Mouse (streamzap) (/dev/input/mouse2)
[ 42.749] (**) MCE IR Keyboard/Mouse (streamzap):
Applying InputClass "LocalKeyboard"
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
References