Sony playTV driver issues [SOLVED]
#1
Hi All,

I have recently installed a playTV dual tuner USB to my XBMC media center and although it works just fine with tvheadend, the DiB0700 driver crashes after awhile with
the following in the log file ...

Quote:""""
[37588.693474] DiB0070 I2C write failed
[37708.469459] DiB0070 I2C read failed
[37728.545481] DiB0070 I2C write failed
[38001.241489] DiB0070 I2C read failed
[39028.465503] DiB0070 I2C read failed
[39237.817501] DiB0070 I2C read failed
[39648.715000] DiB0070 I2C write failed
[40324.499602] divide error: 0000 [#1] SMP
[40324.499637] Modules linked in: udf ctr ccm bnep rfcomm bluetooth parport_pc ppdev arc4 snd_hda_codec_hdmi snd_hda_codec_realtek rt2800usb rt2800lib crc_ccitt rt2x00usb rt2x00lib dvb_usb_dib0700 dib7000p dib0090 dib7000m dib0070 mac80211 snd_hda_intel dvb_usb snd_hda_codec dib8000 rc_imon_mce dvb_core cfg80211 snd_hwdep dib3000mc snd_pcm dibx000_common snd_seq_midi snd_rawmidi imon snd_seq_midi_event rc_core snd_seq snd_timer snd_seq_device hid_appleir joydev snd soundcore snd_page_alloc serio_raw asus_atk0110 lpc_ich mac_hid lp parport hid_generic usbhid hid pata_acpi radeon ttm drm_kms_helper firewire_ohci drm r8169 firewire_core crc_itu_t mii pata_marvell i2c_algo_bit
[40324.500094] CPU: 1 PID: 2605 Comm: kdvb-ad-0-fe-0 Not tainted 3.13.0-35-generic #62~precise1-Ubuntu
[40324.500144] Hardware name: System manufacturer P5Q-EM/P5Q-EM, BIOS 2203 07/08/2009
[40324.500189] task: ffff880079efb000 ti: ffff88007995a000 task.ti: ffff88007995a000
[40324.500231] RIP: 0010:[<ffffffffa0480b6a>] [<ffffffffa0480b6a>] dib7000p_set_dds+0x3a/0x140 [dib7000p]
[40324.500292] RSP: 0018:ffff88007995b928 EFLAGS: 00010246
[40324.500323] RAX: 0000000004000000 RBX: ffff880034fb6000 RCX: 0000000010624dd3
[40324.500363] RDX: 0000000000000000 RSI: 0000000000000001 RDI: ffff880034fb79a0
[40324.500403] RBP: ffff88007995b968 R08: ffff88007995a000 R09: ffffea0001e16c00
[40324.500444] R10: ffffffff8156b26a R11: 0000000000000000 R12: 0000000000000000
[40324.500484] R13: 0000000000000000 R14: ffff880034fb6000 R15: 0000000004000000
[40324.500524] FS: 0000000000000000(0000) GS:ffff88007fc80000(0000) knlGS:0000000000000000
[40324.500570] CS: 0010 DS: 0000 ES: 0000 CR0: 000000008005003b
[40324.500603] CR2: 00007f1fe9d293d0 CR3: 0000000077c69000 CR4: 00000000000007e0
[40324.500643] Stack:
[40324.500656] 0000000000000040 0000000000000384 ffff88007995b968 ffff880034fb6000
[40324.500704] ffff880034fb6000 ffff880034fb6000 0000000000000002 0000000022739480
[40324.500750] ffff88007995b9b8 ffffffffa0480e9e ffff880078d3a8f0 0000000000000441
[40324.500797] Call Trace:
[40324.500818] [<ffffffffa0480e9e>] dib7000p_agc_startup+0x22e/0x480 [dib7000p]
[40324.500862] [<ffffffffa0483382>] dib7000p_set_frontend+0x72/0x1f0 [dib7000p]
[40324.500911] [<ffffffffa040e78e>] dvb_frontend_swzigzag_autotune+0x13e/0x350 [dvb_core]
[40324.500961] [<ffffffff8156b26a>] ? usb_control_msg+0xea/0x110
[40324.501002] [<ffffffffa040f8aa>] dvb_frontend_swzigzag+0x29a/0x3c0 [dvb_core]
[40324.501048] [<ffffffff810135da>] ? __switch_to+0x12a/0x4d0
[40324.501083] [<ffffffff810a5d2d>] ? set_next_entity+0xad/0xd0
[40324.501118] [<ffffffff810789ff>] ? try_to_del_timer_sync+0x4f/0x70
[40324.501155] [<ffffffff81078a72>] ? del_timer_sync+0x52/0x60
[40324.501191] [<ffffffff8175d345>] ? schedule_timeout+0x135/0x250
[40324.501228] [<ffffffff81078620>] ? call_timer_fn+0x160/0x160
[40324.501268] [<ffffffffa0412a64>] dvb_frontend_thread+0x454/0x7c0 [dvb_core]
[40324.501311] [<ffffffff810affd0>] ? __wake_up_sync+0x20/0x20
[40324.501351] [<ffffffffa0412610>] ? dvb_frontend_ioctl+0x160/0x160 [dvb_core]
[40324.501393] [<ffffffff8108fb59>] kthread+0xc9/0xe0
[40324.501423] [<ffffffff8108fa90>] ? flush_kthread_worker+0xb0/0xb0
[40324.501460] [<ffffffff8176ab7c>] ret_from_fork+0x7c/0xb0
[40324.501493] [<ffffffff8108fa90>] ? flush_kthread_worker+0xb0/0xb0
[40324.501528] Code: 7d f8 41 bf 00 00 00 04 48 89 5d d8 4c 89 65 e0 4c 89 6d e8 41 89 f5 4c 89 75 f0 49 89 fe e8 6e ff ff ff 31 d2 41 89 c4 44 89 f8 <41> f7 f4 8b 0d ad 67 00 00 41 89 c7 44 89 e8 c1 f8 1f 89 c3 44
[40324.501731] RIP [<ffffffffa0480b6a>] dib7000p_set_dds+0x3a/0x140 [dib7000p]
[40324.501776] RSP <ffff88007995b928>
[40324.516014] ---[ end trace 6a9fad8fe9eb61e2 ]---

I have tried all the things I have found on the web about this issue, like adding the following module parameters:

Quote:options dvb_usb disable_rc_polling=1
options dvb_usb_dib0700 force_lna_activation=1
options dvb_core dvb_powerdown_on_sleep=0

.. but to no avail. It happens about every 3 hours. The only way out is to stop dvheadend, unload the dvb_usb_dib0700 module, then resart tvheadend. .. or reboot.

Anyone have any suggestions?

Thanks.
Reply
#2
Anyone please :-)
Reply
#3
What os? I've noticed the driver is a bit flaky with Ubuntu 14.04 and ctashes after suspend/resume, needing to be reloaded. You can try building the most recent v4l driver.
Reply
#4
Hi, I am using elementaryOS which is based on Ubuntu 12.04, however I have upgraded the kernel/xorg/mesa with the entightlment pack(14.04) so my kernel
is now 3.13 ..

I have tried compiling the latest v4l drivers, but it still has the problem .. although, it does take longer to crash now >5hrs

Cheers,
B.
Reply
#5
Try disabling EIT scanning for one of the tuners.
Reply
#6
Hi, I am running TVHeadend, not Mythtv, so not sure how to do that. I have EPG turned off (off air) and instead get EPG's by web scraping ..

Thanks,
B.
Reply
#7
I'm aware you're using Tvheadend. The option you want disabled (if it isn't already) is called Idle scanning. I got the tip from a post on the Ubuntu forums (comment #8). The user in that post has a different device but it uses the same firmware (dvb-usb-dib0700-1.20.fw) as the PlayTV. It helped me with my PlayTV and I no longer get any i2c read/write errors.

Update
Further information regarding the dib0700 driver (which the PlayTV uses) and i2c errors can be found on the LinuxTV wiki.
Reply
#8
amak79: Thanks. I was reluctant to turn off "idle scanning" ..even on one tuner as I believe doing that no longer allows recordings off that tuner ... don't ask me why ..
I had seen the LinuxTV wiki, that was where I got the module parameters to change from ... did not seem to any other useful info for this issue though ..

EDIT: Ok, I turned off idle scanning and also did below, now I havn't seen any more I2C errors. Not sure which one fixed it.

Code:
echo -n -1 > /sys/module/usbcore/parameters/autosuspend
Reply

Logout Mark Read Team Forum Stats Members Help
Sony playTV driver issues [SOLVED]0