[PATCH] em28xx: Reworked probe code to get rid of some hacks (was: Re: em28xx_isoc_dvb_max_packetsize for EM2884 (Terratec Cinergy HTC Stick))

2011-12-28 Thread Holger Nelson
Reworked device probing to get rid of hacks to guess the maximum size of dvb iso transfer packets. The new code also selects the first alternate config which supports the largest possible iso transfers for dvb. Signed-off-by: Holger Nelson diff --git a/drivers/media/video/em28xx/em28xx

Re: em28xx_isoc_dvb_max_packetsize for EM2884 (Terratec Cinergy HTC Stick)

2011-12-27 Thread Holger Nelson
On Mon, 26 Dec 2011, Mauro Carvalho Chehab wrote: I'm currently without time right now to work on a patch, but I think that several hacks inside the em28xx probe should be removed, including the one that detects the endpoint based on the packet size. As it is easier to code than to explain in

Re: em28xx_isoc_dvb_max_packetsize for EM2884 (Terratec Cinergy HTC Stick)

2011-12-25 Thread Holger Nelson
Hi! On Sun, 25 Dec 2011, Dennis Sperlich wrote: I just tried, replacing max_dvb_packet_size = em28xx_isoc_dvb_max_packetsize(dev); by max_dvb_packet_size = dev->alt_max_pkt_size[1]; but it did not work. Was this the correct replacement? printk(KERN_INFO "dev->alt_max_pkt_size[1] is

[PATCH] em28xx: Add Terratec Cinergy HTC USB XS to em28xx-cards.c

2011-12-23 Thread Holger Nelson
This adds support for the Terratec Cinergy HTC USB XS which is similar to the Terratec H5 by adding the USB-ids to the table. According to http://linux.terratec.de it uses the same ICs and DVB-C works for me using the firmware of the H5. Signed-off-by: Holger Nelson --- diff --git a/drivers

Some success with Terratec Cinergy HTC USB XS

2011-08-28 Thread Holger Nelson
Hi, I had some success with a Terratec Cinergy HTC USB XS: I added the usb id as a Terratec H5 to em28xx-cards.c and downloaded the firmware file for Terratec H5, because I saw on Terratecs linux-site that both devices use the same ICs. DVB-C works with this setup. Watching analog tv didn't work

[PATCH] tm6000: Add support for Terratec Grabster AV 150/250 MX

2011-02-02 Thread Holger Nelson
This patch adds support for Terratec Grabster AV 150/250 MX. For now it is only possible to use composite input as switching inputs does not work. Signed-off-by: Holger Nelson --- drivers/staging/tm6000/tm6000-cards.c | 17 + 1 files changed, 17 insertions(+), 0 deletions

Re: Add Terratec Grabster support to tm6000

2011-01-05 Thread Holger Nelson
On Tue, 4 Jan 2011, Stefan Ringel wrote: Am 04.01.2011 20:12, schrieb Holger Nelson: Hi, the following patch adds support for a Terratec Grabster AV MX150 (and maybe other devices in the Grabster series). This device is an analog frame grabber device using a tm5600. This device doesn't

Add Terratec Grabster support to tm6000

2011-01-04 Thread Holger Nelson
Hi, the following patch adds support for a Terratec Grabster AV MX150 (and maybe other devices in the Grabster series). This device is an analog frame grabber device using a tm5600. This device doesn't have a tuner, so I changed the code to skip the tuner reset if neither has_tuner nor has_dv