[pvrusb2] pvrusb2: Attempted to execute control transfer when device not ok

Airbete airfullbete at hotmail.com
Fri Nov 6 14:37:14 CST 2015


Hi,

I've been using my HVR-1950 for several years now with almost no problem.

After booting, the device works perfectly. But whenever my system comes 
back from sleep (suspend to ram), the device is "rendered inoperable" 
and I have to reboot to get it working again.

There was no problem up to, and including, kernel-4.0.8-300.fc22.x86_64. 
Any kernel I have tried since then exhibits the aforementioned behavior.

Here is are 3 excerpts of dmesg (at boot time, at sleep time, when 
returning from sleep).

Thank you for your help.

AB

==== AT BOOT TIME ====

[    9.185106] pvrusb2: Hardware description: WinTV HVR-1950 Model 751xx
[    9.186298] usbcore: registered new interface driver pvrusb2
[    9.186301] pvrusb2: V4L in-tree version:Hauppauge WinTV-PVR-USB2 
MPEG2 Encoder/Tuner
[    9.186303] pvrusb2: Debug mask is 31 (0x1f)
[    9.216909] pvrusb2: Binding ir_rx_z8f0811_haup to i2c address 0x71.
[    9.216942] pvrusb2: Binding ir_tx_z8f0811_haup to i2c address 0x70.
[    9.230584] cx25840 1-0044: cx25843-24 found @ 0x88 (pvrusb2_a)
[    9.239643] pvrusb2: Attached sub-driver cx25840
[    9.252306] tuner 1-0042: Tuner -1 found with type(s) Radio TV.
[    9.252316] pvrusb2: Attached sub-driver tuner
[    9.417326] nct6775: Found NCT6791D or compatible chip at 0x2e:0x290
[    9.417336] ACPI Warning: SystemIO range 
0x0000000000000295-0x0000000000000296 conflicts with OpRegion 
0x0000000000000290-0x0000000000000299 (\_GPE.HWM_) (20150619/utaddress-254)
[    9.417343] ACPI: If an ACPI driver is available for this device, you 
should use it instead of the native driver
[    9.463925] nf_conntrack version 0.5.0 (65536 buckets, 262144 max)
[   11.382650] cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
[   11.472027] tveeprom 1-00a2: Hauppauge model 75111, rev D2F5, serial# 
4033814127
[   11.472031] tveeprom 1-00a2: MAC address is 00:0d:fe:6f:1e:6f
[   11.472033] tveeprom 1-00a2: tuner model is NXP 18271C2 (idx 155, 
type 54)
[   11.472035] tveeprom 1-00a2: TV standards NTSC(M) ATSC/DVB Digital 
(eeprom 0x88)
[   11.472036] tveeprom 1-00a2: audio processor is CX25843 (idx 37)
[   11.472038] tveeprom 1-00a2: decoder processor is CX25843 (idx 30)
[   11.472039] tveeprom 1-00a2: has radio, has IR receiver, has IR 
transmitter
[   11.472044] pvrusb2: Supported video standard(s) reported available 
in hardware: PAL-M/N/Nc;NTSC-M/Mj/Mk;ATSC-8VSB/16VSB
[   11.472045] pvrusb2: Initial video standard (determined by device 
type): NTSC-M
[   11.472071] pvrusb2: Device initialization completed successfully.
[   13.652398] cx25840 1-0044: loaded v4l-cx25840.fw firmware (16382 bytes)
[   13.756753] tda829x 1-0042: setting tuner address to 60
[   13.781050] tda18271 1-0060: creating new instance
[   13.811025] TDA18271HD/C2 detected @ 1-0060
[   14.090398] tda18271: performing RF tracking filter calibration
[   26.473237] tda18271: RF tracking filter calibration complete
[   26.508309] tda829x 1-0042: type set to tda8295+18271
[   30.002087] pvrusb2: firmware2 upload transfer failure
[   30.002244] pvrusb2: registered device video1 [mpeg]
[   30.002251] DVB: registering new adapter (pvrusb2-dvb)
[   30.002619] pvrusb2: Clearing driver error statuss
[   31.649937] cx25840 1-0044: 0x0000 is not a valid video input!
[   31.742200] usb 1-9: DVB: registering adapter 0 frontend 0 (Samsung 
S5H1411 QAM/8VSB Frontend)...
[   31.743430] tda829x 1-0042: type set to tda8295
[   31.774934] tda18271 1-0060: attaching existing instance

==== GOING TO SLEEP ====

[   61.182854] PM: Syncing filesystems ... done.
[   61.424683] PM: Preparing system for sleep (mem)
[   61.425094] Freezing user space processes ... (elapsed 0.001 seconds) 
done.
[   61.426517] Freezing remaining freezable tasks ... (elapsed 0.001 
seconds) done.
[   61.427632] PM: Suspending system (mem)
[   61.427643] Suspending console(s) (use no_console_suspend to debug)
[   61.430004] pvrusb2: Device being rendered inoperable
[   61.430027] BUG: unable to handle kernel NULL pointer dereference at 
00000000000003b0
[   61.430033] IP: [<ffffffffa0d692e4>] 
pvr2_v4l2_internal_check+0x54/0x70 [pvrusb2]
[   61.430034] PGD 0
[   61.430035] Oops: 0000 [#1] SMP
[   61.430054] Modules linked in: s5h1411 tda18271 ppdev parport_pc 
parport fuse vmw_vsock_vmci_transport vsock vmw_vmci xt_conntrack xt_nat 
iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 nf_nat 
nf_conntrack nct6775 hwmon_vid tda8290 tuner cx25840 pvrusb2 tveeprom 
cx2341x dvb_core v4l2_common snd_usb_audio snd_usbmidi_lib snd_rawmidi 
snd_hda_codec_hdmi intel_rapl iosf_mbi eeepc_wmi asus_wmi 
x86_pkg_temp_thermal sparse_keymap iTCO_wdt rfkill snd_hda_codec_realtek 
iTCO_vendor_support video coretemp snd_hda_codec_generic nvidia(POE) 
kvm_intel snd_hda_intel kvm snd_hda_codec snd_hda_core gspca_zc3xx 
gspca_main snd_hwdep snd_seq videodev snd_seq_device crct10dif_pclmul 
crc32_pclmul crc32c_intel vfat fat joydev media snd_pcm drm 
ghash_clmulni_intel sb_edac snd_timer edac_core snd soundcore mei_me
[   61.430061]  i2c_i801 mei shpchp lpc_ich tpm_infineon tpm_tis tpm 
nfsd auth_rpcgss nfs_acl lockd grace sunrpc binfmt_misc uas usb_storage 
8021q garp stp llc mrp mxm_wmi e1000e serio_raw ptp pps_core wmi wacom loop
[   61.430063] CPU: 4 PID: 946 Comm: pvrusb2-context Tainted: 
P           OE   4.2.3-200.fc22.x86_64 #1
[   61.430063] Hardware name: ASUS All Series/X99-A/USB 3.1, BIOS 0401 
02/11/2015
[   61.430064] task: ffff8800a8758000 ti: ffff88081908c000 task.ti: 
ffff88081908c000
[   61.430067] RIP: 0010:[<ffffffffa0d692e4>] [<ffffffffa0d692e4>] 
pvr2_v4l2_internal_check+0x54/0x70 [pvrusb2]
[   61.430068] RSP: 0000:ffff88081908fe48  EFLAGS: 00010246
[   61.430068] RAX: 0000000000000000 RBX: ffff88003f400120 RCX: 
dead000000200200
[   61.430068] RDX: 00000000000003b0 RSI: 0000000000000000 RDI: 
0000000000000000
[   61.430069] RBP: ffff88081908fe58 R08: ffff88081908fe80 R09: 
0000000000000001
[   61.430069] R10: 0000000000000001 R11: 000000000000047e R12: 
ffff880817294180
[   61.430070] R13: ffff88081908fe80 R14: 0000000000000000 R15: 
0000000000000000
[   61.430070] FS:  0000000000000000(0000) GS:ffff88081f300000(0000) 
knlGS:0000000000000000
[   61.430071] CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
[   61.430071] CR2: 00000000000003b0 CR3: 0000000001c0b000 CR4: 
00000000001406e0
[   61.430071] Stack:
[   61.430072]  0000000000000000 ffff8808086ed000 ffff88081908feb8 
ffffffffa0d6b92c
[   61.430073]  0000000000000000 ffff8800a8758000 ffffffff810df960 
ffff88081908fe80
[   61.430074]  ffff88081908fe80 00000000f314287a ffff88081908feb8 
ffff88003f822380
[   61.430074] Call Trace:
[   61.430078]  [<ffffffffa0d6b92c>] pvr2_context_thread_func+0xcc/0x330 
[pvrusb2]
[   61.430081]  [<ffffffff810df960>] ? wake_atomic_t_function+0x70/0x70
[   61.430083]  [<ffffffffa0d6b860>] ? pvr2_context_destroy+0xd0/0xd0 
[pvrusb2]
[   61.430085]  [<ffffffff810bc8a8>] kthread+0xd8/0xf0
[   61.430087]  [<ffffffff810bc7d0>] ? kthread_worker_fn+0x160/0x160
[   61.430090]  [<ffffffff81778fdf>] ret_from_fork+0x3f/0x70
[   61.430091]  [<ffffffff810bc7d0>] ? kthread_worker_fn+0x160/0x160
[   61.430100] Code: e8 82 e3 ff ff 48 8b 43 38 48 8d 90 b0 03 00 00 48 
39 90 b0 03 00 00 74 07 48 83 c4 08 5b 5d c3 48 8b 43 40 48 8d 90 b0 03 
00 00 <48> 39 90 b0 03 00 00 75 e5 48 89 df e8 0b fa ff ff eb db 66 0f
[   61.430102] RIP  [<ffffffffa0d692e4>] 
pvr2_v4l2_internal_check+0x54/0x70 [pvrusb2]
[   61.430102]  RSP <ffff88081908fe48>
[   61.430102] CR2: 00000000000003b0
[   61.430103] ---[ end trace ea4b8d6511ba9140 ]---

==== RETURNING FROM SLEEP ====

[   66.876303] usb 5-1: reset high-speed USB device number 2 using ehci-pci
[   66.876303] usb 6-1: reset high-speed USB device number 2 using ehci-pci
[   66.876303] usb 1-14: reset low-speed USB device number 8 using xhci_hcd
[   66.876303] usb 1-14: ep 0x81 - rounding interval to 64 microframes, 
ep desc says 80 microframes
[   66.876303] usb 1-6: reset low-speed USB device number 2 using xhci_hcd
[   66.876303] usb 1-6: ep 0x81 - rounding interval to 64 microframes, 
ep desc says 80 microframes
[   66.876303] wacom 0003:056A:0016.0001: wacom_set_report: ran out of 
retries (last error = -32)
[   66.876303] usb 1-13: reset low-speed USB device number 7 using xhci_hcd
[   66.876303] usb 1-13: ep 0x81 - rounding interval to 64 microframes, 
ep desc says 80 microframes
[   66.876303] usb 1-13: ep 0x82 - rounding interval to 64 microframes, 
ep desc says 80 microframes
[   66.876303] usb 1-11: reset high-speed USB device number 5 using xhci_hcd
[   67.019147] usb 1-9: reset high-speed USB device number 3 using xhci_hcd
[   67.338092] usb 1-10: reset high-speed USB device number 4 using xhci_hcd
[   67.811118] usb 1-10.4: reset full-speed USB device number 6 using 
xhci_hcd
[   67.904502] usb 1-10.4: ep 0x82 - rounding interval to 64 
microframes, ep desc says 80 microframes
[   68.751819] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.751820] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.751821] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.751822] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.751823] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.751824] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.751824] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.751825] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.772053] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.772055] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.772056] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.793059] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.814059] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.835056] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.835058] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.835059] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.841054] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.841056] __tda18271_write_regs: [1-0060|M] ERROR: idx = 0x5, len = 
1, i2c_transfer returned: -5
[   68.841059] tda18271_init: [1-0060|M] error -5 on line 832
[   68.841059] tda18271_tune: [1-0060|M] error -5 on line 910
[   68.841060] tda18271_set_analog_params: [1-0060|M] error -5 on line 1041
[   68.841061] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.841061] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.841062] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.847056] pvrusb2: Attempted to execute control transfer when 
device not ok
[   68.847070] PM: resume of devices complete after 4056.758 msecs
[   68.847130] pvrusb2: Hardware description: WinTV HVR-1950 Model 751xx
[   68.848936] PM: Finishing wakeup.
[   68.848938] Restarting tasks ... done.
[   92.044617] pvrusb2: Attempted to execute control transfer when 
device not ok
[   92.045276] s5h1411_writereg: writereg error 0x19 0xf4 0x0000, ret == -5)
[   92.045895] pvrusb2: Attempted to execute control transfer when 
device not ok
[   92.046607] s5h1411_writereg: writereg error 0x19 0xf7 0x0000, ret == -5)
[   92.047336] pvrusb2: Attempted to execute control transfer when 
device not ok
[   92.048085] s5h1411_writereg: writereg error 0x19 0xf7 0x0001, ret == -5)
[   92.048840] pvrusb2: Attempted to execute control transfer when 
device not ok
[   92.049616] s5h1411_writereg: writereg error 0x19 0xf3 0x0000, ret == -5)
[   92.050420] pvrusb2: Attempted to execute control transfer when 
device not ok
[   92.051244] s5h1411_writereg: writereg error 0x19 0x00 0x0071, ret == -5)
[   92.052045] pvrusb2: Attempted to execute control transfer when 
device not ok
[   92.052841] s5h1411_writereg: writereg error 0x19 0x08 0x0047, ret == -5)
......... repeated hundred of times ..........
[   92.198846] __tda18271_write_regs: [1-0060|M] ERROR: idx = 0x5, len = 
1, i2c_transfer returned: -5
[   92.199871] tda18271_init: [1-0060|M] error -5 on line 832
[   92.200890] pvrusb2: Attempted to execute control transfer when 
device not ok
[   92.201919] s5h1411_writereg: writereg error 0x19 0xf5 0x0000, ret == -5)
[   92.203549] pvrusb2: Attempted to execute control transfer when 
device not ok
[   92.203549] s5h1411_writereg: writereg error 0x19 0xf5 0x0001, ret == -5)
[   92.203551] pvrusb2: Attempted to execute control transfer when 
device not ok
[   92.203551] pvrusb2: Attempted to execute control transfer when 
device not ok
[   92.203552] pvrusb2: Attempted to execute control transfer when 
device not ok
[   92.232797] __tda18271_write_regs: [1-0060|M] ERROR: idx = 0x5, len = 
1, i2c_transfer returned: -5
[   92.233581] tda18271_init: [1-0060|M] error -5 on line 832
[   92.234381] tda18271_tune: [1-0060|M] error -5 on line 910
[   92.235138] tda18271_set_params: [1-0060|M] error -5 on line 985
......... and so on .........





More information about the pvrusb2 mailing list