From: Florian Brandes <florian.brandes@gmx.de>
To: linux-media@vger.kernel.org
Subject: KWorld 355 U DVB-T support
Date: Thu, 06 Jan 2011 19:34:01 +0100 [thread overview]
Message-ID: <1294338841.3264.10.camel@ubuntu> (raw)
Hello,
I've been trying to get my USB-DVB-T stick to work and I've been
searching quite a bit, but now I think I need a little bit help.
I've bought a XTension XD 380 stick in Germany through Amazon, but the
USB-ID differs from the one in the wiki. The page shows "1ae7:0381" as a
USB-ID, but my sticks offers "1ae7:0380". This doesn't sound like to
much a difference, but it appears that my stick has an Empia 2870 USB
chip built in.
After some trial and error I got the "em28xx-new" driver working for my
Ubuntu installation, although I couldn't compile the driver myself. (I
guess the driver is too far outdated, as it complains about certain i2c
errors). The precompiled driver worked for me. dmesg should the
following:
usb 1-1: new high speed USB device using ehci_hcd and address 3
usb 1-1: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
em28xx v4l2 driver version 0.0.1 loaded
em28xx: new video device (1ae7:0380): interface 0, class 255
em28xx: device is attached to a USB 2.0 bus
em28xx #0: Alternate settings: 8
em28xx #0: Alternate setting 0, max size= 0
em28xx #0: Alternate setting 1, max size= 0
em28xx #0: Alternate setting 2, max size= 1448
em28xx #0: Alternate setting 3, max size= 2048
em28xx #0: Alternate setting 4, max size= 2304
em28xx #0: Alternate setting 5, max size= 2580
em28xx #0: Alternate setting 6, max size= 2892
em28xx #0: Alternate setting 7, max size= 3072
em28xx #0: Found Empia QT1010 - ZL10353
usbcore: registered new interface driver em28xx
em2880-dvb.c: DVB Init
Quantek QT1010 successfully identified.
DVB: registering new adapter (em2880 DVB-T)
DVB: registering adapter 0 frontend 0 (Zarlink ZL10353 DVB-T)...
Em28xx: Initialized (Em2880 DVB Extension) extension
The driver source offers me "EM2870_BOARD_KWORLD_355U" as the
corresponding board. It appears to me that the combination of Zarlink
ZL10353 frontend and Qantek QT1010 seems to be working, since I can
watch TV in quite a good quality through me-tv.
Now the knack:
The precompiled "em28xx-new" driver module is not available for the
kernel I'd like to use.
Therefore I turned to v4l and looked for the KWorld 355U DVB-T stick.
I found it in "em28xx-cards.c" and added the unique USB-ID to it.
After compiling and installing, the driver recognizes my stick:
dmesg:
usb 1-1: new high speed USB device using ehci_hcd and address 6
usb 1-1: configuration #1 chosen from 1 choice
em28xx: New device USB 2870 Device @ 480 Mbps (1ae7:0380, interface 0,
class 0)
em28xx #0: chip ID is em2870
(eeprom image)
em28xx #0: EEPROM ID= 0x9567eb1a, EEPROM hash = 0xb7dcaae2
em28xx #0: EEPROM info:
em28xx #0: No audio on board.
em28xx #0: 500mA max power
em28xx #0: Table at 0x04, strings=0x226a, 0x0000, 0x0000
em28xx #0: Identified as Kworld 355 U DVB-T (card=42)
em28xx #0:
em28xx #0: The support for this board weren't valid yet.
em28xx #0: Please send a report of having this working
em28xx #0: not to V4L mailing list (and/or to other addresses)
em28xx #0: v4l2 driver version 0.1.2
em28xx #0: V4L2 video device registered as video0
But I don't know how to add the tuner support.
I changed my em28xx-dvb.c file and added the following case (this is the
bachporting tree!):
case EM2870_BOARD_KWORLD_355U:
dvb->frontend = dvb_attach(zl10353_attach,
&em28xx_zl10353_with_xc3028,
&dev->i2c_adap);
if (dvb->frontend != NULL)
dvb_attach(qt1010_attach, dvb->frontend,
&dev->i2c_adap, &em2870_qt1010_config);
break;
as I've seen this at the gl861.c file, which uses Zarlink and Qantek for
the same device.
But how can I add support in the "em28xx-cards.c" file? The section
concerning the device is (which I already changed):
[EM2870_BOARD_KWORLD_355U] = {
.name = "Kworld 355 U DVB-T",
.valid = EM28XX_BOARD_NOT_VALIDATED,
.has_dvb = 1,
.tuner_type = (what to enter here?!),
/* .dvb_gpio = em2870_kworld_355u_digital,
.dvb_gpio = default_digital,*/
},
If someone could point me to the right direction, I'd very much
appreciate it.
Thanks in advance,
Florian Brandes
reply other threads:[~2011-01-06 18:34 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=1294338841.3264.10.camel@ubuntu \
--to=florian.brandes@gmx.de \
--cc=linux-media@vger.kernel.org \
/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