Bug 31792

Summary: udev (/lib64/udev/v4l_id) hangs on /dev/.tmp-char-81:3 with hauppauge HVR 1300
Product: v4l-dvb Reporter: marlon
Component: cx88Assignee: v4l-dvb_cx88
Status: RESOLVED CODE_FIX    
Severity: normal CC: alan, jrnieder
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 2.6.37 and higher Subsystem:
Regression: No Bisected commit-id:
Attachments: patch from http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/31187

Description marlon 2011-03-24 10:20:39 UTC
arch: x86_64 Intel(R) Atom(TM) CPU 330 @ 1.60GHz GenuineIntel GNU/Linux

udev version: 151-r4

lspci:

04:00.1 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (rev 05)
04:00.2 Multimedia controller: Conexant CX23880/1/2/3 PCI Video and Audio Decoder [MPEG Port] (rev 05)

relevant dmesg part:

cx2388x alsa driver version 0.0.8 loaded
cx88_audio 0000:04:00.1: PCI INT A -> GSI 16 (level, low) -> IRQ 16
cx88[0]: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56,autodetected], frontend(s): 1
cx88[0]: TV tuner type 63, Radio tuner type -1
cx88/0: cx2388x v4l2 driver version 0.0.8 loaded
cx88/2: cx2388x MPEG-TS Driver Manager version 0.0.8 loaded
cx88[0]: i2c init: enabling analog demod on HVR1300/3000/4000 tuner
i2c-core: driver [tuner] using legacy suspend method
i2c-core: driver [tuner] using legacy resume method
tuner 1-0043: chip found @ 0x86 (cx88[0])
tda9887 1-0043: creating new instance
tda9887 1-0043: tda988[5/6/7] found
tuner 1-0061: chip found @ 0xc2 (cx88[0])
tveeprom 1-0050: Hauppauge model 96019, rev D6D3, serial# 6219702
tveeprom 1-0050: MAC address is 00:0d:fe:5e:e7:b6
tveeprom 1-0050: tuner model is Philips FMD1216MEX (idx 133, type 78)
tveeprom 1-0050: TV standards PAL(B/G) PAL(I) SECAM(L/L') PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xf4)
tveeprom 1-0050: audio processor is CX882 (idx 33)
tveeprom 1-0050: decoder processor is CX882 (idx 25)
tveeprom 1-0050: has radio, has IR receiver, has IR transmitter
cx88[0]: hauppauge eeprom: model=96019
tuner-simple 1-0061: creating new instance
tuner-simple 1-0061: type set to 78 (Philips FMD1216MEX MK3 Hybrid Tuner)
cx88[0]/1: CX88x/0: ALSA support for cx2388x boards
cx8800 0000:04:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
cx88[0]/0: found at 0000:04:00.0, rev: 5, irq: 16, latency: 32, mmio: 0xce000000
cx88[0]/0: registered device video0 [v4l2]
cx88[0]/0: registered device vbi0
cx88[0]/0: registered device radio0
cx88[0]/2: cx2388x 8802 Driver Manager
cx88-mpeg driver manager 0000:04:00.2: PCI INT A -> GSI 16 (level, low) -> IRQ 16
cx88[0]/2: found at 0000:04:00.2, rev: 5, irq: 16, latency: 32, mmio: 0xcc000000
cx2388x blackbird driver version 0.0.8 loaded
cx88/2: registering cx8802 driver, type: blackbird access: shared
cx88[0]/2: subsystem: 0070:9601, board: Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder [card=56]
cx88[0]/2: cx23416 based mpeg encoder (blackbird reference design)
cx88[0]/2-bb: Firmware and/or mailbox pointer not initialized or corrupted
cx88[0]/2-bb: Firmware upload successful.
cx88[0]/2-bb: Firmware version is 0x02060039
cx88[0]/2: registered device video1 [mpeg]

udev created vbi0 and video0, there's no radio0 and video1. /lib64/udev/v4l_id /dev/.tmp-char-81:3 hangs in status D (uninterruptible sleep). I did not upgrade udev while upgrading kernels.
Comment 1 Jonathan Nieder 2011-04-05 18:41:15 UTC
Hi, could you try the patches at <http://thread.gmane.org/gmane.linux.drivers.video-input-infrastructure/31187>?

I'll attach a single combined patch for convenience in testing. If that fixes it, then this is probably a duplicate of <https://bugzilla.kernel.org/show_bug.cgi?id=31962>.
Comment 3 marlon 2011-04-06 08:45:27 UTC
Hi Jonathan. Works on 2.6.38! thanks
Comment 4 Jonathan Nieder 2011-04-06 09:05:08 UTC
Marlon de Boer wrote:

> Hi Jonathan. Works on 2.6.38! thanks

Thanks for testing; that's great to hear.

To the bugzilla people: this is a dup of bug 31962.

Regards,
Jonathan