public inbox for linux-media@vger.kernel.org
 help / color / mirror / Atom feed
From: Jelle de Jong <jelledejong@powercraft.nl>
To: Antti Palosaari <crope@iki.fi>
Cc: video4linux-list@redhat.com
Subject: Re: one dvb-t devices not working with mplayer the other is, what is going wrong?
Date: Sat, 25 Apr 2009 10:54:45 +0200	[thread overview]
Message-ID: <49F2CFD5.5070101@powercraft.nl> (raw)
In-Reply-To: <49F2C710.2000906@iki.fi>

[-- Attachment #1: Type: text/plain, Size: 4898 bytes --]

Antti Palosaari wrote:
> On 04/25/2009 11:00 AM, Jelle de Jong wrote:
>> Antti Palosaari wrote:
>>> On 04/24/2009 03:37 PM, Jelle de Jong wrote:
>>>> Jelle de Jong wrote:
>>>>> Jelle de Jong wrote:
>>>>>> Jelle de Jong wrote:
>>>>>>> Hello everybody,
>>>>>>>
>>>>>>> As you may read in my previous thread, i am trying to switch from my
>>>>>>> em28xx devices to a device that works with gpl compliant upstream kernel
>>>>>>> source code.
>>>>>>>
>>>>>>> My em28xx devices all played back video and audio only dvb-t channels:
>>>>>>> Pinnacle PCTV Hybrid Pro Stick 330e
>>>>>>> Terratec Cinergy Hybrid T USB XS
>>>>>>> Hauppauge WinTV HVR 900
>>>>>>>
>>>>>>> I build script for this to automate the process, however i now swiched to
>>>>>>> my dvb-t only usb device:
>>>>>>> Afatech AF9015 DVB-T USB2.0 stick
>>>>>>>
>>>>>>> And it with totem-xine it plays the same as the em28xx devices, so the
>>>>>>> devices does kind of works (see the totem-xine bug, please commit to this
>>>>>>> bug if you have the same behavior)
>>>>>>>
>>>>>>> # device info
>>>>>>> http://debian.pastebin.com/d3e942c02
>>>>>>>
>>>>>>> # totem-xine bug
>>>>>>> http://bugzilla.gnome.org/show_bug.cgi?id=554319
>>>>>>>
>>>>>>> # mplayer issue
>>>>>>> http://debian.pastebin.com/d34d92e64
>>>>>>> ^ anybody have any idea what the heck goes on why doesn't mplayer work
>>>>>>> with this device, nothing changed in the commands i used.
>>>>>>>
>>>>>>> using:
>>>>>>> mplayer
>>>>>>> Version: 1:1.0.rc2svn20090330-0.0
>>>>>>> linux-image-2.6.29-1-686
>>>>>>> Version: 2.6.29-1
>>>>>>>
>>>>>>> Thanks in advance, for any help.
>>>>>>>
>>>>>>> Best regards,
>>>>>>>
>>>>>>> Jelle de Jong
>>>>>> some more info:
>>>>>>
>>>>>> device0 (not working, Afatech AF9013 DVB-T)
>>>>>> http://filebin.ca/ypxkw/mplayer0.log
>>>>>>
>>>>>> device1 (working, Micronas DRX3973D DVB-T, em28xx, markus not gpl code)
>>>>>> http://filebin.ca/zecdjm/mplayer1.log
>>>>>>
>>>>>> device2 (working, Zarlink MT352 DVB-T, em28xx, markus not gpl code)
>>>>>> http://filebin.ca/fzxtcx/mplayer2.log
>>>>>>
>>>>>> All devices work with totem-xine but only the em28xx devices works with
>>>>>> mplayer, whats going on?
>>>>>>
>>>>> Anybody?
>>>>>
>>>>> Best regards,
>>>>>
>>>>> Jelle
>>>>>
>>>> Would somebody be willing to test this with there device, see the first
>>>> mail for the commands I used, they are in the attached files.
>>>>
>>>> Being able to use mplayer to listen to dvb-t radio is mandatory for me.
>>> I use tzap&  mplayer always when testing driver. Never seen troubles you
>>> have. And I have very many AF9015 devices. How did you launch mplayer?
>>>
>>> Antti
>>
>> I don't use tzap directly.
>>
>> This is what I do:
>>
>> # step 1: I use wscan to to make a channel list, there are some serious
>> issues under Linux that I cant solve but like to know what is being done
>> about is. The wscan tool cant get the signal strength of the channel it
>> found, so it may find duplicated channels on multiple frequencies with
>> different strengths. wscan should be able to eliminate all the duplicated
>> channels with inferiour quality. But there is no API in v4l to do this.
>>
>> ~/.wscan/wscan -t 3 -E 0 -O 0 -X tzap>  ~/.wscan/channels.conf
>> cp --verbose ~/.wscan/channels.conf ~/.mplayer/channels.conf
>>
>> # step 2: I run the mplayer command to play one of the stream
>> /usr/bin/mplayer -dvbin timeout=10 dvb://"3FM(Digitenne)"
> 
> Works just OK here.
> 
>> I automated this scanning and playing system with scripts, they are
>> attached together with the logs of the commands I run.
> 
> device0.log
> AF9015: you are using very old firmware. Otherwise it seems to be OK.
> 
> device3.log
> em28xx: crashes the Kernel => sure have problems. Are you mixing the 
> drivers from v4l-dvb and from mcentral.de?
> 
>> These systems work with the em28xx devices but not with the AF9015
> 
> 
> I think the reason is that you have tainted your Kernel with em28xx 
> drivers which makes it crashing. Please install clean v4l-dvb from 
> linuxtv.org, install new firmware reboot machine and test again.
> 
> regards
> Antti

Hmm, I used the latest Debian kernel available in unstable and
experimental, so I used the stock kernel. If this is to old I cant really
 help this and have to wait until Debian releases a new kernel. There is
no residue in my current kernel of any em28xx code its a complete clean
stock Debian kernel.

I don't know about the age of the firmware, but I believe its extracted
from the kernel code it tells me:
[ 4689.481452] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
[ 4689.975618] af9013: firmware version:4.65.0

Ignore the em28xx devices they have proprietary code, and is not
mainstream developed, no use wasting energy on that. Been there, done that.

What is your kernel and firmware version? Is there a way to easily add a
newer firmware file without recompilation?

Best regards,

Jelle

[-- Attachment #2: test0.txt --]
[-- Type: text/plain, Size: 2918 bytes --]

[ 2264.136350] usb 1-3.2: new full speed USB device using ehci_hcd and address 6
[ 2264.238323] usb 1-3.2: New USB device found, idVendor=04e6, idProduct=5115
[ 2264.238331] usb 1-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=5
[ 2264.238337] usb 1-3.2: Product: SCR33x USB Smart Card Reader
[ 2264.238341] usb 1-3.2: Manufacturer: SCM Microsystems Inc.
[ 2264.238345] usb 1-3.2: SerialNumber: 21120618201041
[ 2264.238546] usb 1-3.2: configuration #1 chosen from 1 choice
[ 4689.260061] usb 1-2: new high speed USB device using ehci_hcd and address 7
[ 4689.396005] usb 1-2: New USB device found, idVendor=15a4, idProduct=9016
[ 4689.396032] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 4689.396040] usb 1-2: Product: DVB-T
[ 4689.396044] usb 1-2: Manufacturer: Afatech
[ 4689.396250] usb 1-2: configuration #1 chosen from 1 choice
[ 4689.399867] Afatech DVB-T: Fixing fullspeed to highspeed interval: 16 -> 8
[ 4689.412913] input: Afatech DVB-T as /devices/pci0000:00/0000:00:1d.7/usb1/1-2/1-2:1.1/input/input12
[ 4689.449341] generic-usb 0003:15A4:9016.0004: input,hidraw3: USB HID v1.01 Keyboard [Afatech DVB-T] on usb-0000:00:1d.7-2/input1
[ 4689.466744] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in cold state, will try to load a firmware
[ 4689.466756] usb 1-2: firmware: requesting dvb-usb-af9015.fw
[ 4689.481452] dvb-usb: downloading firmware from file 'dvb-usb-af9015.fw'
[ 4689.535280] dvb-usb: found a 'Afatech AF9015 DVB-T USB2.0 stick' in warm state.
[ 4689.535371] dvb-usb: will pass the complete MPEG2 transport stream to the software demuxer.
[ 4689.535780] DVB: registering new adapter (Afatech AF9015 DVB-T USB2.0 stick)
[ 4689.975618] af9013: firmware version:4.65.0
[ 4689.980123] DVB: registering adapter 0 frontend 0 (Afatech AF9013 DVB-T)...
[ 4690.012128] MT2060: successfully identified (IF1 = 1220)
[ 4690.483877] dvb-usb: Afatech AF9015 DVB-T USB2.0 stick successfully initialized and connected.
[ 4690.492188] usbcore: registered new interface driver dvb_usb_af9015

$ uname -a
Linux debian-eeepc 2.6.29-1-686 #1 SMP Fri Apr 17 14:35:16 UTC 2009 i686 GNU/Linux

$ dpkg -l | grep 2.6.29
ii  linux-image-2.6.29-1-686    2.6.29-3    Linux 2.6.29 image on PPro/Celeron/PII/PIII/P4
ii  linux-libc-dev              2.6.29-3    Linux support headers for userspace development

$ /usr/bin/mplayer -dvbin timeout=10 dvb://"3FM(Digitenne)"
MPlayer dev-SVN-r29170Can't open joystick device /dev/input/js0: No such file or directory
Can't init input joystick
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing dvb://3FM(Digitenne).
dvb_tune Freq: 722000000
Not able to lock to the signal on the given frequency, timeout: 10
dvb_tune, TUNING FAILED
ERROR, COULDN'T SET CHANNEL  7: Failed to open dvb://3FM(Digitenne).


Exiting... (End of file)

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

--
video4linux-list mailing list
Unsubscribe mailto:video4linux-list-request@redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list

  reply	other threads:[~2009-04-25  8:55 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-03 17:18 one dvb-t devices not working with mplayer the other is, what is going wrong? Jelle de Jong
2009-04-03 17:58 ` Jelle de Jong
2009-04-08  7:20   ` Jelle de Jong
2009-04-24 12:37     ` Jelle de Jong
2009-04-24 18:18       ` Antti Palosaari
2009-04-25  8:00         ` Jelle de Jong
2009-04-25  8:17           ` Antti Palosaari
2009-04-25  8:54             ` Jelle de Jong [this message]
2009-04-25  9:05               ` Antti Palosaari
2009-04-25  9:43                 ` Jelle de Jong
2009-04-25  9:50                   ` Antti Palosaari

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49F2CFD5.5070101@powercraft.nl \
    --to=jelledejong@powercraft.nl \
    --cc=crope@iki.fi \
    --cc=video4linux-list@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox