em28xx: Add Terratec Cinergy HTC Stick
Hi folks,
just a few quetstions:
1. Why is the device named EM2884_BOARD_CINERGY_HTC_STICK and not EM2884_BOARD_TERRATEC_HTC_STICK like all the other devices from that vendor? Looks inconsistent to me.
2. I stumbled over http://linux.terratec.de/tv_en.html where they list a NXP TDA18271 as used tuner for H5 and HTC Stick devices. I dont have any experience in this kind of stuff but i am just asking.
Regads,
Jens
___________________________________________________________
SMS schreiben mit WEB.DE FreeMail - einfach, schnell und kostenguenstig. Jetzt gleich testen! http://f.web.de/?mc=021192
Hello
Quoted 4 lines · Jens Erdmann
just a few quetstions:
1. Why is the device namedEM2884_BOARD_CINERGY_HTC_STICKand notEM2884_BOARD_TERRATEC_HTC_STICKlike all the other devices from that vendor? Looks inconsistent to me.
Developer have just chosen some value. Maybe he have not looked so carefully about naming. Feel free to fix :) I think correct name is something chip version + "board" + vendor name + device name and model. If name goes something like very long it could be shortened.
Quoted 3 lines
2. I stumbled over http://linux.terratec.de/tv_en.html where they list a NXP TDA18271 as used tuner for H5 and HTC Stick devices. I dont have any experience in this kind of stuff but i am just asking.
DVB device contain logically three chips. Those are;
1. interface chip (USB, PCI)
2. demodulator
3. tuner
Those parts can be integrated even as one silicon (called 3-in-1). Very commonly it seen combination 1.+2. in one chip and 3. in other == total 2 chips.
EM2884 is interface chip. It is called usually DVB USB bridge since it transfers bits from demod to computer.
TDA18271 is tuner. On the other side of chip is antenna connected as signal input and output is IF (intermediate frequency). Tuner can be thought as chip that transfers signal from RF (radio frequency) to IF (intermediate frequency). Demodulator then takes that IF from tuner and encodes bits out from signal. Interface between demodulator and bridge is bit interface and it is called MPEG2 TS (transport stream) interface.
There is also second interface for controlling each chip. That interface is usually I2C bus. Each chip (demod and tuner) is connected to the I2C-bus-adapter which is part of bridge. All command to chips are send using that I2C interface.
regards
Antti
Signature · 1 line
http://palosaari.fi/
Hello Jens,
Quoted 6 lines · Jens Erdmann
Hi folks,
just a few quetstions:
1. Why is the device namedEM2884_BOARD_CINERGY_HTC_STICKand notEM2884_BOARD_TERRATEC_HTC_STICKlike all the other devices from that vendor? Looks inconsistent to me.
that's because it's the product name. Even though TERRATEC is the vendor, the TERRATEC series of devices is different from the Cinergy series (mostly due to software bundles, IMHO). See their homepage for details.
So, TERRATEC_HTC_STICK would be wrong. You could change it to TERRATEC_CINERGY_HTC_STICK, if it's important to you. However, following the same logic, the TERRATEC H5 should then be called TERRATEC_TERRATEC_H5, which seems rather odd.
Btw.: The em28xx driver wrongly lists the H5 as "Terratec Cinergy H5".
Quoted 3 lines
2. I stumbled over http://linux.terratec.de/tv_en.html where they list a NXP TDA18271 as used tuner for H5 and HTC Stick devices. I dont have any experience in this kind of stuff but i am just asking.
That's right.
Regards,
Andreas
Hi Andreas,
Quoted 16 lines · you
Hello Jens,
Quoted 7 lines · Jens Erdmann
Hi folks,
just a few quetstions:
1. Why is the device namedEM2884_BOARD_CINERGY_HTC_STICKand not
EM2884_BOARD_TERRATEC_HTC_STICKlike all the other devices from that vendor? Looks inconsistent to me.that's because it's the product name. Even though TERRATEC is the vendor, the TERRATEC series of devices is different from the Cinergy series (mostly due to software bundles, IMHO). See their homepage for details.
Quoted 7 lines
So,
TERRATEC_HTC_STICKwould be wrong. You could change it toTERRATEC_CINERGY_HTC_STICK, if it's important to you. However, following the same logic, the TERRATEC H5 should then be calledTERRATEC_TERRATEC_H5, which seems rather odd.Btw.: The em28xx driver wrongly lists the H5 as "Terratec Cinergy H5".
Don't get me wrong on this. I am just asking. You have made the desicion and if you are fine with it its ok.
Quoted 8 lines
Quoted 5 lines
2. I stumbled over http://linux.terratec.de/tv_en.html where they list a NXP TDA18271
as used tuner for H5 and HTC Stick devices. I dont have any experience in this kind of stuff but i am just asking.
That's right.
So this should be made like the other devices which are using the TDA18271? Or is there no driver for this tuner yet?
Regards,
Jens
PS: Thanks to Antti Palosaari for the detailed explanation.
Quoted 24 lines · Jens Erdmann
Hi Andreas,
Quoted 21 lines · you
Hello Jens,
Quoted 7 lines · Jens Erdmann
Hi folks,
just a few quetstions:
1. Why is the device namedEM2884_BOARD_CINERGY_HTC_STICKand not
EM2884_BOARD_TERRATEC_HTC_STICKlike all the other devices from that vendor? Looks inconsistent to me.that's because it's the product name. Even though TERRATEC is the vendor, the TERRATEC series of devices is different from the Cinergy series (mostly due to software bundles, IMHO). See their homepage for details.
So,
TERRATEC_HTC_STICKwould be wrong. You could change it toTERRATEC_CINERGY_HTC_STICK, if it's important to you. However, following the same logic, the TERRATEC H5 should then be calledTERRATEC_TERRATEC_H5, which seems rather odd.
Quoted 5 lines
Quoted 2 lines
Btw.: The em28xx driver wrongly lists the H5 as "Terratec Cinergy H5".
Don't get me wrong on this. I am just asking. You have made the desicion and if you are fine with it its ok.
No problem. I was just explaining the rationale. I don't really care whether the constant's name gets changed or not.
Quoted 11 lines
Quoted 8 lines
Quoted 5 lines
2. I stumbled over http://linux.terratec.de/tv_en.html where they list a NXP TDA18271
as used tuner for H5 and HTC Stick devices. I dont have any experience in this kind of stuff but i am just asking.
That's right.
So this should be made like the other devices which are using the TDA18271? Or is there no driver for this tuner yet?
I don't understand your question. Both TERRATEC H5 and Cinergy HTC Stick are already supported by Linux (at least for digital signals, the latter since the patch you're referring to), so a driver for every relevant chip, including TDA18271, is already involved.
Regards,
Andreas
Dear Andreas,
On Tuesday, November 29, 2011 01:56:35 PM you wrote:
<snip>
Quoted 9 lines
Quoted 9 lines
Quoted 8 lines
Quoted 6 lines
2. I stumbled over http://linux.terratec.de/tv_en.html where they list a NXP TDA18271
as used tuner for H5 and HTC Stick devices. I dont have any experience in this kind of stuff but i am just asking.
That's right.
Quoted 8 lines
Quoted 2 lines
So this should be made like the other devices which are using the TDA18271? Or is there no driver for this tuner yet?
I don't understand your question. Both TERRATEC H5 and Cinergy HTC Stick are already supported by Linux (at least for digital signals, the latter since the patch you're referring to), so a driver for every relevant chip, including TDA18271, is already involved.
If i remember correctly there was used another tuner driver in the out commended code. Is this just a coyp paste leftover?
Regards,
Jens
Quoted 16 lines · Jens Erdmann
Dear Andreas,
On Tuesday, November 29, 2011 01:56:35 PM you wrote:
<snip>Quoted 12 lines
Quoted 11 lines
Quoted 8 lines
Quoted 6 lines
2. I stumbled over http://linux.terratec.de/tv_en.html where they list a NXP TDA18271
as used tuner for H5 and HTC Stick devices. I dont have any experience in this kind of stuff but i am just asking.
That's right.
So this should be made like the other devices which are using the TDA18271? Or is there no driver for this tuner yet?
Quoted 8 lines
Quoted 5 lines
I don't understand your question. Both TERRATEC H5 and Cinergy HTC Stick are already supported by Linux (at least for digital signals, the latter since the patch you're referring to), so a driver for every relevant chip, including TDA18271, is already involved.
If i remember correctly there was used another tuner driver in the out commended code. Is this just a coyp paste leftover?
Hm. When Mauro committed the patch, the description got lost:
Quoted 2 lines
- Can receive DVB-C and DVB-T. No analogue television or radio yet.
- For now it's a copy of the Terratec H5 code with a different name.
So, to answer your question: The disabled code was copied from the H5 right above the new code, in the hope that if someone is going to fix analogue TV for the H5, he or she might just fix it for the HTC Stick as well, assuming that there's only little or no difference.
HTH,
Andreas
Quoted 23 lines · Andreas Oberritter
Quoted 22 lines · Jens Erdmann
Dear Andreas,
On Tuesday, November 29, 2011 01:56:35 PM you wrote:
<snip>Quoted 17 lines
Quoted 11 lines
Quoted 8 lines
Quoted 6 lines
2. I stumbled over http://linux.terratec.de/tv_en.html where they list a NXP TDA18271
as used tuner for H5 and HTC Stick devices. I dont have any experience in this kind of stuff but i am just asking.
That's right.
So this should be made like the other devices which are using the TDA18271? Or is there no driver for this tuner yet?
I don't understand your question. Both TERRATEC H5 and Cinergy HTC Stick are already supported by Linux (at least for digital signals, the latter since the patch you're referring to), so a driver for every relevant chip, including TDA18271, is already involved.
Quoted 7 lines
Quoted 2 lines
If i remember correctly there was used another tuner driver in the out commended code. Is this just a coyp paste leftover?
Hm. When Mauro committed the patch, the description got lost:
Quoted 2 lines
- Can receive DVB-C and DVB-T. No analogue television or radio yet.
- For now it's a copy of the Terratec H5 code with a different name.
Gah! sorry for that. Not sure what happened there. I'll try to remember about it when sending upstream, in order to recover the original comment.
Feel free to ping me closer to the next merge window, in order to remind me.
Quoted 5 lines
So, to answer your question: The disabled code was copied from the H5 right above the new code, in the hope that if someone is going to fix analogue TV for the H5, he or she might just fix it for the HTC Stick as well, assuming that there's only little or no difference.
Support for analog is not trivial, as it requires writing a driver for tvf4910b. Not sure if is there any publicly released driver with some code for it. Maybe this could be done via sniffing the USB traffic, but, if this device is as complicated as DRX, then I doubt people would try to do it.
Quoted 6 lines
HTH,
Andreas
--
To unsubscribe from this list: send the line "unsubscribe linux-media" in the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html