[pvrusb2] Fedora Core 4 (probably a repost)

Mike Isely isely at isely.net
Mon Nov 14 08:52:10 CST 2005


On Mon, 14 Nov 2005, piero de salvia wrote:

> Hi all,
>
> I'm no sure if this already went through:
>
> I am running a fedora core 4 with a custom kernel
> (2.6.13.4 gotten form kernel.org, no patches).
>
> I managed to compile the driver but:
>
> I had to take out a few lines at top of fwfind.sh,
> since it  would incorrectly tell me I didn' t have cp,
> wget etc.

The fwfind script makes a lot of assumptions about your environment.  If 
you can't get that to work, you can always fall back to running 
fwextract.pl directly.  See the web driver page(s) for more info.


>
> It did get the firmware files.
>
> I compiled ivtv and the driver, installed everything,
> took out duplicates modules,  ran depmod -a, but the
> driver would not load:
>
> kernel: pvrusb2: Unknown symbol
> tveeprom_hauppauge_analog

Look for tveeprom.ko - the symbol is defined there.  See if you have it 
loaded, and if not make sure it gets loaded.  Without that module, the 
device's prom can't be read and without the prom data, the driver will be 
unable to select the proper tuner type, which will make the driver mostly 
useless.


>
> So i went into pvrusb2-eeprom.c and selected method 1.
>
> Everything worked, almost:
>
> kernel: pvrusb2 Failed to retrieve eeprom data
> stat=-22
> kernel: pvrusb2 eeprom unable to recognize a known
> video standard
>
> (maybe it's because I used method 1)

The indirect method does not directly call tveeprom_hauppauge_analog, but 
instead issues what basically amounts to an ioctl through the I2C code to 
indirectly ask the driver (tveeprom in this case) to do its job.  However 
if tveeprom isn't there (which the missing symbol would suggest), then 
there's no way this will work either.


>
> when launching a tv viewer I got:
>
> kernel: pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-22
> (0xffffffea)
> kernel: pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-515
> (0xfffffdfd)
> kernel: pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-515
> (0xfffffdfd)
> kernel: pvrusb2 pvr2_v4l2_do_ioctl failure, ret=-22
> (0xffffffea)

This is an unrelated issue.  The driver doesn't implement all the 
ioctl()'s it probably could.  However the missing ones are not fatal; the 
driver will still work correctly.  So don't worry about this.


>
>
> What could it be?

The root cause problem is tveeprom.ko.  Make sure you have that module 
loaded.  Either use the one that's already part of your kernel, or copy in 
the ivtv version.

   -Mike


-- 
                         |         Mike Isely          |     PGP fingerprint
      Spammers Die!!     |                             | 03 54 43 4D 75 E5 CC 92
                         |   isely @ pobox (dot) com   | 71 16 01 E2 B5 F5 C1 E8
                         |                             |


More information about the pvrusb2 mailing list