input-kbd crashes when used on an IR remote control device

Bug #74374 reported by Vesselin Kostadinov
4
Affects Status Importance Assigned to Milestone
input-utils (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

mythtv@media:~$ sudo input-kbd 3
/dev/input/event3
   bustype : (null)
   vendor : 0x0
   product : 0x0
   version : 0
   name : "IR-receiver inside an USB DVB re"
   phys : "/ir0"
   bits ev : EV_SYN EV_KEY

Segmentation fault
mythtv@media:~$
Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] Oops: 0000 [#9]

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] SMP

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] EIP is at evdev_ioctl+0x759/0x770 [evdev]

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] esi: c9819000 edi: 80084504 ebp: bfa4f194 esp: c88e9f10

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] eax: 00000001 ebx: f53929c0 ecx: f790a000 edx: 00000000

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] CPU: 0

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] Process input-kbd (pid: 11182, threadinfo=c88e8000 task=dc0e4030)

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] Stack: c12292cc c12eca60 f790a000 dce35c24 e61c9fb8 f67e9900 eb3718b4 c015b6f6

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] e61c9fac 0804c004 dce35c24 f67e9900 cfa9d080 c12292cc e61c9fac 0804c000

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] f67e9900 00000021 00000002 f89e0210 dc1f5800 bfa4f194 80084504 c017d5eb

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] Call Trace:

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] <c015b6f6> __vma_link+0x36/0x70 <f89e0210> evdev_ioctl+0x0/0x770 [evdev]

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] <c017d5eb> do_ioctl+0x2b/0x90 <c017d6ac> vfs_ioctl+0x5c/0x2b0

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] <c017d972> sys_ioctl+0x72/0x90 <c0102fbb> sysenter_past_esp+0x54/0x79

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] Code: 04 41 e9 ed fb ff ff 0f b6 04 01 e9 e4 fb ff ff 8d 04 12 8b 54 24 08 03 82 94 00 00 00 0f b7 00 e9 d5 fa ff ff 03 91 94 00 00 00 <0f> b6 02 e9 c7 fa ff ff eb 0d 90 90 90 90 90 90 90 90 90 90 90

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] EIP: [pg0+945047913/1068901376] evdev_ioctl+0x759/0x770 [evdev] SS:ESP 0068:c88e9f10

Message from syslogd@media at Mon Dec 4 22:52:14 2006 ...
media kernel: [17188254.356000] ds: 007b es: 007b ss: 0068

mythtv@media:~$

The device is DViCO FusionHDTV DVB-T Dual tv tunner. Here are the relevant parts of dmesg:

[17179591.492000] usb 1-5: configuration #1 chosen from 1 choice
[17179591.492000] dvb-usb: found a 'DViCO FusionHDTV DVB-T Dual USB' in warm state.
[17179591.492000] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[17179591.504000] DVB: registering new adapter (DViCO FusionHDTV DVB-T Dual USB).
[17179591.504000] DVB: registering frontend 1 (Zarlink MT352 DVB-T)...
[17179591.504000] input: IR-receiver inside an USB DVB receiver as /class/input/input3
[17179591.504000] dvb-usb: schedule remote query interval to 150 msecs.
[17179591.504000] dvb-usb: DViCO FusionHDTV DVB-T Dual USB successfully initialized and connected.

Revision history for this message
Vesselin Kostadinov (vesok) wrote : strace output

Created with:

sudo strace input-kbd 3 > trc1 2>&1

Revision history for this message
Vesselin Kostadinov (vesok) wrote : udevinfo output

udevinfo -a -p /class/input/event3
udevinfo starts with the device the node belongs to and then walks up the
device chain, to print for every device found, all possibly useful attributes
in the udev key format.
Only attributes within one device section may be used together in one rule,
to match the device for which the node will be created.

  looking at device '/class/input/input3/event3':
    KERNEL=="event3"
    SUBSYSTEM=="input"
    SYSFS{dev}=="13:67"

  looking at device '/class/input/input3':
    ID=="input3"
    BUS=="input"
    DRIVER==""
    SYSFS{uniq}==""
    SYSFS{phys}=="/ir0"
    SYSFS{name}=="IR-receiver inside an USB DVB receiver"

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. You reported this bug a while ago and there hasn't been any activity in it recently. We were wondering is this still an issue for you? Thanks in advance.

Changed in input-utils:
status: New → Incomplete
Revision history for this message
Vesselin Kostadinov (vesok) wrote : Not really an issue for me.

Right now I am running vanilla kernel 2.6.22.5, input-kbd works fine:

mythtv@media:~$ sudo input-kbd 2
/dev/input/event2
   bustype : BUS_USB
   vendor : 0xfe9
   product : 0xdb51
   version : 768
   name : "IR-receiver inside an USB DVB re"
   phys : "usb-0000:00:0b.1-5/ir0"
   bits ev : EV_SYN EV_KEY

bits: KEY_1
bits: KEY_2
bits: KEY_3
bits: KEY_4
bits: KEY_5
bits: KEY_6
bits: KEY_7
bits: KEY_8
bits: KEY_9
bits: KEY_0
bits: KEY_TAB
bits: KEY_ENTER
bits: KEY_UP
bits: KEY_LEFT
bits: KEY_RIGHT
bits: KEY_DOWN
bits: KEY_MUTE
bits: KEY_VOLUMEDOWN
bits: KEY_VOLUMEUP
bits: KEY_POWER
bits: KEY_STOP
bits: KEY_OPEN
bits: KEY_MENU
bits: KEY_SETUP
bits: KEY_BACK
bits: KEY_NEXTSONG
bits: KEY_PLAYPAUSE
bits: KEY_PREVIOUSSONG
bits: KEY_RECORD
bits: KEY_REWIND
bits: KEY_FASTFORWARD
bits: KEY_CAMERA
bits: KEY_OK
bits: KEY_POWER2
bits: KEY_INFO
bits: KEY_FAVORITES
bits: KEY_EPG
bits: KEY_ANGLE
bits: KEY_ZOOM
bits: KEY_TV
bits: KEY_TUNER
bits: KEY_DVD
bits: KEY_MP3
bits: KEY_CHANNELUP
bits: KEY_CHANNELDOWN
mythtv@media:~$ uname -a
Linux media 2.6.22.5 #1 SMP Sat Aug 25 11:46:45 CST 2007 i686 GNU/Linux

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Ok, thanks for the feedback.

Changed in input-utils:
status: Incomplete → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.