Driver for KWorld UB435Q Version 3 (ATSC) USB id: 1b80:e34c
Last May I started writing a driver for a KWorld UB435Q Version 3 tuner. I was able to make the kernel recognize the device, light it's LED, and try to enable the decoder and tuner.
I was unable to locate any information for the tda18272 tuner chip until last week. I received an email at another address with a pointer to a GPL driver that used a tda18272 in a pcie based tuner. It appears that a bit of refactoring has been done to v4l2 since it was written. I want to try to incorporate it into the kernel tree properly while making the KWorld UB435Q Version 3 usable under linux.
Would the tda18271 be a good model?
The tda18271 organized with part in tuners and part in dvb-frontends. What is the dvb-frontends stuff used for?
The tda18271 files in kernel are:
./media/tuners/tda18271-maps.c./media/tuners/tda18271-fe.c./media/tuners/tda18271.h./media/tuners/tda18271-priv.h./media/tuners/tda18271-common.c./media/dvb-frontends/tda18271c2dd.c./media/dvb-frontends/tda18271c2dd.h./media/dvb-frontends/tda18271c2dd_maps.h
The tda18272 files I located are:
./media/dvb/frontends/tda18272_reg.h./media/dvb/frontends/tda18272.h./media/dvb/frontends/tda18272.c
The tuner is only used in digital mode with KWorld UB435Q Version 3. The tda18272 supports both digital and analog. Should I include the analog support in the tda18272 files without testing it?
Quoted 3 lines · The Bit Pit
Last May I started writing a driver for a KWorld UB435Q Version 3 tuner. I was able to make the kernel recognize the device, light it's LED, and try to enable the decoder and tuner.
Slightly related.... I added support for the KWorld UB445-U2 ATSC/Analog stick the other day. It uses the cx231xx bridge, LG3305 and TDA18272 tuner. It was fairly simple to get running. Analog and digital TV work OK, the baseband inputs and alsa are running. No great shakes.
Manu has a TDA18272 Linux tree if you google a little.
- Steve
Signature · 2 lines
Steven Toth - Kernel Labs http://www.kernellabs.com
Thanks steve,
Found it. Its the same files I found at a different place. I don't understand the way to do things.
Last time I simply edited the kernel tree and supplied patches to get my changes in. The source for tda18272 is not in the kernel tree I 'git' following the instructions at linuxtv.org. It is in Manu's tree, but the directory structure is slightly different.
I don't understand the current development process. Are the instructions at linuxtv.org out of date?
In which tree should I edit the following and supply patches against:usb/em28xx/em28xx-cards.cusb/em28xx/em28xx-dvb.cusb/em28xx/em28xx.h
Quoted 14 lines · Steven Toth
Quoted 3 lines · The Bit Pit
Last May I started writing a driver for a KWorld UB435Q Version 3 tuner. I was able to make the kernel recognize the device, light it's LED, and try to enable the decoder and tuner.
Slightly related.... I added support for the KWorld UB445-U2 ATSC/Analog stick the other day. It uses the cx231xx bridge, LG3305 and TDA18272 tuner. It was fairly simple to get running. Analog and digital TV work OK, the baseband inputs and alsa are running. No great shakes.
Manu has a TDA18272 Linux tree if you google a little.
- Steve
Quoted 1 line
Thanks steve,
You are very welcome.
Quoted 7 lines
Found it. Its the same files I found at a different place. I don't understand the way to do things.
Last time I simply edited the kernel tree and supplied patches to get my changes in. The source for tda18272 is not in the kernel tree I 'git' following the instructions at linuxtv.org. It is in Manu's tree, but the directory structure is slightly different.
That's ok. Anything that gets submitted for upstream merge (by manu for example) would be moved into the correct directories by the developer. It's not unusual to see personal development trees with odd file placements.
Quoted 3 lines
I don't understand the current development process. Are the instructions at linuxtv.org out of date?
No, last I checked they were correct.
Quoted 5 lines
In which tree should I edit the following and supply patches against:
usb/em28xx/em28xx-cards.cusb/em28xx/em28xx-dvb.cusb/em28xx/em28xx.h
http://git.linuxtv.org/media_tree.git
- Steve
Signature · 2 lines
Steven Toth - Kernel Labs http://www.kernellabs.com
Quoted 5 lines · Steven Toth
Quoted 3 lines · The Bit Pit
Last May I started writing a driver for a KWorld UB435Q Version 3 tuner. I was able to make the kernel recognize the device, light it's LED, and try to enable the decoder and tuner.
Quoted 7 lines
Slightly related.... I added support for the KWorld UB445-U2 ATSC/Analog stick the other day. It uses the cx231xx bridge, LG3305 and TDA18272 tuner. It was fairly simple to get running. Analog and digital TV work OK, the baseband inputs and alsa are running. No great shakes.
Manu has a TDA18272 Linux tree if you google a little.
If you need, I can push the 7231 tree up as well for upstream merge.
Quoted 1 line
If you need, I can push the 7231 tree up as well for upstream merge.
That would be great Manu! Yes please.
Signature · 2 lines
Steven Toth - Kernel Labs http://www.kernellabs.com
Em Fri, 07 Feb 2014 12:23:36 -0600
The Bit Pit <[email protected]> escreveu:
Quoted 29 lines
Last May I started writing a driver for a KWorld UB435Q Version 3 tuner. I was able to make the kernel recognize the device, light it's LED, and try to enable the decoder and tuner.
I was unable to locate any information for the tda18272 tuner chip until last week. I received an email at another address with a pointer to a GPL driver that used a tda18272 in a pcie based tuner. It appears that a bit of refactoring has been done to v4l2 since it was written. I want to try to incorporate it into the kernel tree properly while making the KWorld UB435Q Version 3 usable under linux.
Would the tda18271 be a good model?
The tda18271 organized with part in tuners and part in dvb-frontends. What is the dvb-frontends stuff used for?
The tda18271 files in kernel are:
./media/tuners/tda18271-maps.c./media/tuners/tda18271-fe.c./media/tuners/tda18271.h./media/tuners/tda18271-priv.h./media/tuners/tda18271-common.c./media/dvb-frontends/tda18271c2dd.c./media/dvb-frontends/tda18271c2dd.h./media/dvb-frontends/tda18271c2dd_maps.hThe tda18272 files I located are:
Quoted 7 lines
./media/dvb/frontends/tda18272_reg.h./media/dvb/frontends/tda18272.h./media/dvb/frontends/tda18272.cThe tuner is only used in digital mode with KWorld UB435Q Version 3. The tda18272 supports both digital and analog. Should I include the analog support in the tda18272 files without testing it?
tda18272 is a variant of tda18212. Adding support for ATSC there is as trivial as:
http://git.linuxtv.org/mchehab/experimental.git/commitdiff/14d276136221f98e2351841adb841cd420665090
Anyway, I just added support for ub435q v3 on my experimental tree:
http://git.linuxtv.org/mchehab/experimental.git/shortlog/refs/heads/ub435q_v3
For now, I tested only 8VSB modulation. I'll test later for ClearQAM.
Regards,
Mauro