[mythtv-users] af9015 usb dvb device, 0.23-fixes, uk. 'Stream handler died unexpectedly'

John Pilkington J.Pilk at tesco.net
Wed Oct 13 13:07:52 UTC 2010


I have a twin-tuner cheapo device bought from Maplin several months ago 
and identified in dmesg as 'TwinHan AzureWave AD-TU700(704J)'.  Sections 
of dmesg that seem to belong to it are given below.

I've found that it often gives good recordings, but can't be relied on 
to do so, so I have used it as my third dvb device.  Consequently it's 
usually scheduled only when several other recordings are also being made 
and the system is fairly busy.  When only one of its tuners is in use 
the recording is usually good, but I've recently had apparently good 
recordings from the second tuner that have just stopped.  Sample backend 
log below. I think that I inverted the 'natural' order of the tuners in 
mythtv-setup, so this is device 0.

Following a suggestion posted recently in a thread dealing with a 
related device (KWorld DVB-T PC160-2T) I've added 
/etc/modprobe.d/no-af9015-remote.conf containing 'options dvb-usb-af9015 
remote=-1'.  I think the recording quality may be better after that, but 
a good recording that suddenly stops isn't ideal.

Is any one successfully using this device?  I think Nick Morrott said he 
had one, but that was very soon after purchase.

TIA

John P
---------------
Backend log

2010-10-12 23:15:29.797 TVRec(10): ASK_RECORDING 10 29 0 0
2010-10-12 23:15:29.945 TVRec(9): ASK_RECORDING 9 29 0 0
2010-10-12 23:16:01.703 ProgramInfo(): Updated pathname '':'' -> 
'1002_20101012231600.mpg'
2010-10-12 23:16:01.766 TVRec(9): Changing from None to RecordingOnly
2010-10-12 23:16:01.768 TVRec(9): HW Tuner: 9->9
2010-10-12 23:16:02.643 AutoExpire: CalcParams(): Max required Free 
Space: 7.0 GB w/freq: 3 min
2010-10-12 23:16:02.643 Started recording: TOTP2 Wham Special: channel 
1002 on cardid 9, sourceid 1
2010-10-12 23:16:02.645 scheduler: Started recording: TOTP2 Wham 
Special: channel 1002 on cardid 9, sourceid 1
2010-10-12 23:16:02.898 ProgramInfo(1002_20101012231600.mpg), Error: 
GetPlaybackURL: '1002_20101012231600.mpg' should be local, but it can 
not be found.
2010-10-12 23:16:03.025 TVRec(9): rec->GetFileName(): 
'/mnt/sam1/recb/1002_20101012231600.mpg'
2010-10-12 23:16:03.866 Reschedule requested for id -1.


2010-10-12 23:37:23.394 DevRdB(/dev/dvb/adapter0/frontend0) Error: Poll 
giving up
2010-10-12 23:37:23.399 DVBSH(/dev/dvb/adapter0/frontend0) Error: Device 
error detected
2010-10-12 23:37:23.438 DVBRec(9:/dev/dvb/adapter0/frontend0) Error: 
Stream handler died unexpectedly.
2010-10-12 23:37:23.477 TVRec(9): Changing from RecordingOnly to None
2010-10-12 23:37:23.651 ProgramInfo(): Updated pathname '':'' -> 
'1002_20101012231600.mpg'
2010-10-12 23:37:23.679 ProgramInfo(1002_20101012231600.mpg), Error: 
Unknown type, recording width was 720
2010-10-12 23:37:23.691 ProgramInfo(): Updated pathname '':'' -> 
'1002_20101012231600.mpg'
2010-10-12 23:37:23.703 Reschedule requested for id 0.
2010-10-12 23:37:23.758 ProgramInfo(): Updated pathname '':'' -> 
'1002_20101012231600.mpg'
2010-10-12 23:37:24.361 mythbackend version: 
branches/release-0-23-fixes/mythtv/ [26723] www.mythtv.org

(in fact this is Yeechang's 'bijou' variant from ATrpms)

---------------
dmesg sections

Linux version 2.6.32.21-168.fc12.x86_64 
(mockbuild at x86-11.phx2.fedoraproject.org) (gcc version 4.4.4 20100630 
(Red Hat 4.4.4-10) (GCC) ) #1 SMP Wed Sep 15 16:12:07 UTC 2010
Command line: ro root=/dev/mapper/VolGroup-lv_root  LANG=en_US.UTF-8 
SYSFONT=latarcyrheb-sun16 KEYBOARDTYPE=pc KEYTABLE=uk rhgb quiet 
elevator=deadline

usb 2-2: new high speed USB device using ehci_hcd and address 3
usb 2-2: New USB device found, idVendor=13d3, idProduct=3237
usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-2: Product: DVB-T 2
usb 2-2: Manufacturer: Afatech
usb 2-2: SerialNumber: 010101010600001
usb 2-2: configuration #1 chosen from 1 choice
input: Afatech DVB-T 2 as 
/devices/pci0000:00/0000:00:1d.7/usb2/2-2/2-2:1.1/input/input4
generic-usb 0003:13D3:3237.0001: input,hidraw0: USB HID v1.01 Keyboard 
[Afatech DVB-T 2] on usb-0000:00:1d.7-2/input1
usb 2-5: new high speed USB device using ehci_hcd and address 4
usb 2-5: New USB device found, idVendor=058f, idProduct=6377
usb 2-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-5: Product: Mass Storage Device
usb 2-5: Manufacturer: Generic

dvb-usb: found a 'TwinHan AzureWave AD-TU700(704J)' in cold state, will 
try to load a firmware
usb 2-2: firmware: requesting dvb-usb-af9015.fw

dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
type=1400 audit(1286873312.988:3): avc:  denied  { mmap_zero } for 
pid=813 comm="vbetool" 
scontext=system_u:system_r:vbetool_t:s0-s0:c0.c1023 
tcontext=system_u:system_r:vbetool_t:s0-s0:c0.c1023 tclass=memprotect
dvb-usb: found a 'TwinHan AzureWave AD-TU700(704J)' in warm state.
dvb-usb: will pass the complete MPEG2 transport stream to the software 
demuxer.
DVB: registering new adapter (TwinHan AzureWave AD-TU700(704J))


af9013: firmware version:5.1.0
DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
MXL5005S: Attached at address 0xc6
dvb-usb: will pass the complete MPEG2 transport stream to the software 
demuxer.
DVB: registering new adapter (TwinHan AzureWave AD-TU700(704J))
af9013: found a 'Afatech AF9013 DVB-T' in warm state.
af9013: firmware version:5.1.0
DVB: registering adapter 1 frontend 0 (Afatech AF9013 DVB-T)...
MXL5005S: Attached at address 0xc6
dvb-usb: TwinHan AzureWave AD-TU700(704J) successfully initialized and 
connected.
af9013: firmware version:5.1.0
DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
MXL5005S: Attached at address 0xc6
dvb-usb: will pass the complete MPEG2 transport stream to the software 
demuxer.
DVB: registering new adapter (TwinHan AzureWave AD-TU700(704J))
af9013: found a 'Afatech AF9013 DVB-T' in warm state.
af9013: firmware version:5.1.0
DVB: registering adapter 1 frontend 0 (Afatech AF9013 DVB-T)...
MXL5005S: Attached at address 0xc6
dvb-usb: TwinHan AzureWave AD-TU700(704J) successfully initialized and 
connected.
usbcore: registered new interface driver dvb_usb_af9015

----------------------




More information about the mythtv-users mailing list