Fabio Venturi | 21 Feb 2009 14:02
Picon
Favicon

Compiling em28xx-new on Fedora 10

Greetings,
I'm trying to compile em28xx-new on Ferdora 10 with
kernel 2.6.27.15-170.2.24.fc10.i686
the following kernel related packages are installed:

   * kernel-headers-2.6.27.15-170.2.24.fc10.i386
   * kernel-devel-2.6.27.15-170.2.24.fc10.i686
   * kernel-2.6.27.15-170.2.24.fc10.i686

Running 'make' gives a lot of errors about missing headers,
so I did some changes to the em28xx-new sources to make them 
compile properly with this kernel.

download the kernel sources:
yumdownloader --source kernel

in my case i downloaded kernel-2.6.27.15-170.2.24.fc10.src.rpm

installed it with:
sudo rpm -ihv kernel-2.6.27.15-170.2.24.fc10.src.rpm
the sources are now in ~/rpmbuild/SOURCES

cd ~/rpmbuild/SOURCES
tar xjf linux-2.6.27.tar.bz2
cd linux-2.6.27
bzcat ../patch-2.6.27.15.bz2 | patch -p1

copied drivers/media/dvb/dvb-core in em28xx-new source directory
copied drivers/media/dvb/frontends in em28xx-new source directory
copied drivers/media/video/msp3400-driver.h in em28xx-new/video/
(Continue reading)

Markus Rechberger | 18 Feb 2009 23:47
Picon

Re: Cinergy HTC USB XS

On Wed, Feb 18, 2009 at 11:24 PM, Thomas E. Conway-Poulsen
<tconway <at> adpepper.com> wrote:
> Hi Markus,
>
> Also waiting for the driver, Cinergy HTC USB..
>
> Really looking forward to having some drivers that can provide a tv signal
> even in analog, that can be controlled normally wihtin the framework - so
> that mythtv can send it around.
>
> Here in DK, we are going to loose the analog signal within the next 6
> months... so why not use integrate the dvb in its total, maybe big changes ?
>

I added a screenshot of analogTV:
http://mcentral.de/wiki/index.php5/Terratec_HTC_XS#Screenshots

AnalogTV can also be used with old VCRs, game consoles, settopboxes or
cable providers it won't
be dead that fast.

Mythtv might have some problems when it comes to switching between DVB-C/DVB-T
I might put up some patches for it later.
The support package will provide extended support for that device, the
linuxtv API is not far
enough in order to support it properly at this time.
Beside that a MAC driver is also on the way for it.

A few things have to be cleared up before releasing the driver.

(Continue reading)

Németh Márton | 18 Feb 2009 19:33
Picon
Favicon

[PATCH][RESEND-2] clean up the functions which shall have the prototype of v4l2_kioctl

Hello Markus,

do you have any comments on this patch?

Regards,

	Márton Németh

-------- Original message --------
Subject: [Em28xx] [PATCH][RESEND] clean up the functions which shall have the prototype of v4l2_kioctl
Date: Sat, 31 Jan 2009 08:20:59 +0100
From: Németh Márton <nm127 <at> freemail.hu>
To: Markus Rechberger <mrechberger <at> gmail.com>
CC: em28xx <em28xx <at> mcentral.de>
References: <49796834.4040800 <at> freemail.hu> <497973EC.5010709 <at> freemail.hu>	<497C6E66.6050203 <at> freemail.hu>

The inode parameter of typedef v4l2_kioctl was removed at Linux 2.6.28.
Then the return value of typedef v4l2_kioctl was changed from int to long in 2.6.29-rc2 (or
earlier, but not before 2.6.29-rc1).

The function em28xx_v4l2_ioctl() should have the prototype of typedef v4l2_kioctl.
The function em28xx_video_do_ioctl() should have the prototype which match the last
parameter of video_usercopy().

I tested this patch with 2.6.27 and 2.6.28.

_______________________________________________
(Continue reading)

Mario Fetka | 18 Feb 2009 16:10
Picon

request for 2.6.28/29 patchset

Hallo,

one thing that always bothers me is the out of tree build of this driver.

so my request is some sort of snapshot release of this driver in the form of a 
patch / patchset for the actual stable kernel

is this possibel ?

Mario

Thomas Rabe | 17 Feb 2009 20:52

Cinergy HTC USB XS

Hello,

although the install instructions are listed as "upcoming" in wiki, I've
got a try on compile the em28xx-new mercurial. The code compiles with
success on an ubuntu intrepid amd-64 setup by using instructions from
Terratec Hybrid XS FM wiki page and dmesg shows loading as shown below.
However, I can't tune in any channels on dvb-c (kaffeine) and analogue tv
(scantv) on Kabel Deutschland network. For more debugging I would ask some
questions:
- do I need to extract firmware first? dmesg output shows lines:
[ 2280.326800] In order to use the device the em28xx support package is
required,
[ 2280.326802] which includes further drivers and firmwares
(btw, there is also a german translation of these lines in dmesg output,
but it misses notice about the name (em28xx) of the support package)
- is driver capable of analogue tv? (I'm not sure because there only
dvb-t/c pictures in wiki)
- are there some bullet-proof shell-commands for checking setup and tuning
channels?

8<=========================================================================
[ 2280.116451] em28xx: new video device (0ccd:008e): interface 0, class 255
[ 2280.116464] em28xx: device is attached to a USB 2.0 bus
[ 2280.116473] em28xx #0: Alternate settings: 8
[ 2280.116477] em28xx #0: Alternate setting 0, max size= 0
[ 2280.116481] em28xx #0: Alternate setting 1, max size= 0
[ 2280.116484] em28xx #0: Alternate setting 2, max size= 1440
[ 2280.116488] em28xx #0: Alternate setting 3, max size= 2048
[ 2280.116491] em28xx #0: Alternate setting 4, max size= 2304
[ 2280.116495] em28xx #0: Alternate setting 5, max size= 2688
(Continue reading)

acano | 17 Feb 2009 20:46

eeprom corruption?

Kworld 340U used to have usb id:  1b80:a340,  now has  eb1a:2870

old eeprom:

00: 1a eb 67 95 80 1b 40 a3 c0 13 6b 10 6a 22 00 00
10: 00 00 04 57 00 0d 00 00 00 00 00 00 00 00 00 00
20: 44 00 00 00 f0 10 01 00 00 00 00 00 5b 1c c0 00
30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
50: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
60: 00 00 00 00 00 00 00 00 00 00 22 03 55 00 53 00
70: 42 00 20 00 32 00 38 00 37 00 30 00 20 00 44 00
80: 65 00 76 00 69 00 63 00 65 00 00 00 00 00 00 00
90: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
a0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
b0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
c0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
d0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
e0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
f0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

new eeprom:

00: 00 00 00 00 00 00 00 00 c0 13 6b 10 6a 22 00 00
10: 00 00 04 57 00 0d 00 00 00 00 00 00 00 00 00 00
20: 44 00 00 00 f0 10 01 00 00 00 00 00 5b 1c c0 00
30: 00 00 20 40 20 80 02 20 01 01 00 00 00 00 00 00
40: 00 00 00 00 00 00 00 00 c0 13 6b 10 6a 22 00 00
50: 00 00 04 57 00 0d 00 00 00 00 00 00 00 00 00 00
60: 44 00 00 00 f0 10 01 00 00 00 00 00 5b 1c c0 00
(Continue reading)

rvf16 | 16 Feb 2009 23:04
Picon
Favicon

Terratec Cinergy Hybrid T USB XS FM radio problem

> I have finally managed to utilize the radio tuner under vlc.
> The command to listen to the radio via vlc in a terminal is :
> v4l2:// :v4l2-dev=/dev/radio0 :v4l2-adev=/dev/dsp1 :v4l2-standard=0 
> :v4l2-tuner-frequency=95500000
> /dev/radio0 is the radio device
> /dev/dsp1 is the audio device
> and v4l2-tuner-frequency is the radio station frequency in Hz so e.g 
> the 95.5MHz station is 95500000 Hz
> Change that frequency to whatever you like to get other stations.
>
> Another way ofcourse is to run vlc, open Media -> CaptureDevice, 
> choose Video 4 Linux 2 and set the above parameters there. You must 
> set the video device to /dev/radio0 which sounds a bit anorthodox but 
> that's how it worked for me.
> I prefer the command line as that way i can create a shell scripts 
> which can change the frequency with one click.

I forgot to mention i am using the latest vlc-0.9.8a.

cl | 16 Feb 2009 18:40

HVR-950 stopped working after kernel upgrade -

I ran a suse update which included a kernel update (2.6.22.19). After all
was done, I rebooted and found that the HVR-950 no longer worked.

I went to the directory to which I had downloaded the v4l-dvb drivers a
few months ago, ran make clean and make distclean, followed by make and
make install. The error messages changed a bit but the device still does
not work. What do I need to do?

The following is the dmesg output on plugging the device in.

usb 3-7: new high speed USB device using ehci_hcd and address 20
usb 3-7: new device found, idVendor=2040, idProduct=6513
usb 3-7: new device strings: Mfr=0, Product=1, SerialNumber=2
usb 3-7: Product: WinTV HVR-980
usb 3-7: SerialNumber: xxx
usb 3-7: configuration #1 chosen from 1 choice
em28xx: Unknown symbol ir_codes_ati_tv_wonder_hd_600
em28xx: disagrees about version of symbol video_ioctl2
em28xx: Unknown symbol video_ioctl2
em28xx: disagrees about version of symbol v4l_compat_ioctl32
em28xx: Unknown symbol v4l_compat_ioctl32
em28xx: Unknown symbol ir_codes_pinnacle_pctv_hd
em28xx: disagrees about version of symbol v4l2_type_names
em28xx: Unknown symbol v4l2_type_names
em28xx: disagrees about version of symbol ir_input_init
em28xx: Unknown symbol ir_input_init
em28xx: disagrees about version of symbol video_unregister_device
em28xx: Unknown symbol video_unregister_device
em28xx: disagrees about version of symbol video_device_alloc
em28xx: Unknown symbol video_device_alloc
(Continue reading)

Tom Gorenc | 12 Feb 2009 08:33
Picon
Favicon

Re: lgdt3304 8vsb

I've got a Kworld 435Q (labeled internally as a ATSC_340U Ver:B, USB ID 1b80:a340), which has the lgdt3304
tuner in it.  After applying this patch, I am able to receive ATSC packets using the atscpackets utility (http://www.pchdtv.com/downloads/dvb-atsc-tools-1.0.7.tgz).

rvf16 | 10 Feb 2009 20:27
Picon
Favicon

Terratec Cinergy Hybrid T USB XS FM radio problem

Hi, On Tue, Feb 10, 2009 at 5:36 PM, rvf16 <rvf16 <at> yahoo.gr> wrote:
Hello to all. I have a laptop Dell Inspiron E1505 running fedora 6 with a 2.6.22 linux.org personally compiled kernel. The tuner i use is a Terratec Cinergy Hybrid T USB XS FM. It has been tested under Vista and all its features work fine. Under linux i installed the em28xx-new-b2e841c05e94 driver. Analog TV and DVB-T work great. I haven't tested VBI yet. FM Radio doesn't work at all. I have tried out several applications to start the fm radio. None of them works. Below lay the output errors : gqradio-3f5638e1383d #gqradio Error talking (ioctl) to /dev/radio, Wrong address Radio device control test failed Error, radio support missing, or failed to init radio device! gqradio: could not connect to socket gqradio: No such file or directory unable to connect to lirc daemon
wrong permissions? Markus
Hello.
Could you be more specific?
Which file's permissions should i change and how?
After trying everything i knew out i did everything as root with selinux disabled and still had the same issue.
Thanks.

<div>
<div class="moz-text-html" lang="el">
<div class="moz-text-html" lang="x-western">
<blockquote cite="mid:d9def9db0902100853i5a93583ev43a7a814d5d20a18 <at> mail.gmail.com" type="cite">
  Hi,

On Tue, Feb 10, 2009 at 5:36 PM, rvf16 <a class="moz-txt-link-rfc2396E" href="mailto:rvf16 <at> yahoo.gr">&lt;rvf16 <at> yahoo.gr&gt;</a> wrote:

  <blockquote type="cite">
    Hello to all.

I have a laptop Dell Inspiron E1505 running fedora 6 with a 2.6.22 linux.org
personally compiled kernel.
The tuner i use is a Terratec Cinergy Hybrid T USB XS FM. It has been tested
under Vista and all its features work fine.

Under linux i installed the em28xx-new-b2e841c05e94 driver.
Analog TV and DVB-T work great.
I haven't tested VBI  yet.
FM Radio doesn't work at all.
I have tried out several applications to start the fm radio. None of them
works.
Below lay the output errors :
 gqradio-3f5638e1383d
  #gqradio
    Error talking (ioctl) to /dev/radio, Wrong address
    Radio device control test failed
    Error, radio support missing, or failed to init radio device!
    gqradio: could not connect to socket
    gqradio: No such file or directory
    unable to connect to lirc daemon

  </blockquote>

wrong permissions?

Markus

  
</blockquote>
Hello.<br>
Could you be more specific?<br>
Which file's permissions should i change and how?<br>
After trying everything i knew out i did everything as root with
selinux disabled and still had the same issue.<br>
Thanks.<br><br>
</div>
</div>
</div>
rvf16 | 10 Feb 2009 20:20
Picon
Favicon

Terratec Cinergy Hybrid T USB XS FM radio problem

Hi, On Tue, Feb 10, 2009 at 5:36 PM, rvf16 <rvf16 <at> yahoo.gr> wrote:
Hello to all. I have a laptop Dell Inspiron E1505 running fedora 6 with a 2.6.22 linux.org personally compiled kernel. The tuner i use is a Terratec Cinergy Hybrid T USB XS FM. It has been tested under Vista and all its features work fine. Under linux i installed the em28xx-new-b2e841c05e94 driver. Analog TV and DVB-T work great. I haven't tested VBI yet. FM Radio doesn't work at all. I have tried out several applications to start the fm radio. None of them works. Below lay the output errors : gqradio-3f5638e1383d #gqradio Error talking (ioctl) to /dev/radio, Wrong address Radio device control test failed Error, radio support missing, or failed to init radio device! gqradio: could not connect to socket gqradio: No such file or directory unable to connect to lirc daemon
wrong permissions? Markus
Hello.
Could you be more specific?
Which file's permissions should i change and how?
After trying everything i knew out i did everything as root with selinux disabled and still had the same issue.
Thanks.

<div>
<div class="moz-text-html" lang="x-western">
<blockquote cite="mid:d9def9db0902100853i5a93583ev43a7a814d5d20a18 <at> mail.gmail.com" type="cite">
  Hi,

On Tue, Feb 10, 2009 at 5:36 PM, rvf16 <a class="moz-txt-link-rfc2396E" href="mailto:rvf16 <at> yahoo.gr">&lt;rvf16 <at> yahoo.gr&gt;</a> wrote:

  <blockquote type="cite">
    Hello to all.

I have a laptop Dell Inspiron E1505 running fedora 6 with a 2.6.22 linux.org
personally compiled kernel.
The tuner i use is a Terratec Cinergy Hybrid T USB XS FM. It has been tested
under Vista and all its features work fine.

Under linux i installed the em28xx-new-b2e841c05e94 driver.
Analog TV and DVB-T work great.
I haven't tested VBI  yet.
FM Radio doesn't work at all.
I have tried out several applications to start the fm radio. None of them
works.
Below lay the output errors :
 gqradio-3f5638e1383d
  #gqradio
    Error talking (ioctl) to /dev/radio, Wrong address
    Radio device control test failed
    Error, radio support missing, or failed to init radio device!
    gqradio: could not connect to socket
    gqradio: No such file or directory
    unable to connect to lirc daemon

  </blockquote>

wrong permissions?

Markus

  
</blockquote>
Hello.<br>
Could you be more specific?<br>
Which file's permissions should i change and how?<br>
After trying everything i knew out i did everything as root with
selinux disabled and still had the same issue.<br>
Thanks.<br><br>
</div>
</div>

Gmane