VectorLinux
November 01, 2014, 05:24:50 am *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience.
 
Now powered by KnowledgeDex.
   Home   Help Search Login Register  
Please support VectorLinux!
Pages: [1] 2
  Print  
Author Topic: [ SOLVED ] IVTV driver assistance please.  (Read 6411 times)
Locator
Vectorian
****
Posts: 708



« on: May 09, 2013, 11:25:49 am »

I recently purchased a Hauppauge - WinTV-PVR-150 PCI Video Capture Card [BTC] and I would like to know what firmware and/or drivers are needed to get it to work on my computer (the operating system that I use is Vector Linux 7.0)? I have downloaded what I think is the correct firmware for it (in the form of a .tar.gz file), but every time I try to extract the files using xarchiver, I get the following error message -
« Last Edit: June 29, 2013, 11:15:08 am by Locator » Logged
Locator
Vectorian
****
Posts: 708



« Reply #1 on: June 03, 2013, 11:56:55 am »

What I want to know is - Does anybody out there know where I can get an uncorrupted copy of the IVTV firmware and drivers?
Logged
hata_ph
Packager
Vectorian
****
Posts: 3258


-- Just being myself --


« Reply #2 on: June 03, 2013, 05:18:03 pm »

Do your VL recognize your TV card?
I do not have the hardware so I would recommend using mythubuntu since they are design for PVR system...

http://www.mythbuntu.org/
« Last Edit: June 03, 2013, 05:22:22 pm by hata_ph » Logged
Locator
Vectorian
****
Posts: 708



« Reply #3 on: June 03, 2013, 07:33:09 pm »

If I remember correctly, yes it does. So does anyone out there know where I can find uncorrupted ivtv driver and/or firmware files (I tried Googleing them which is how I found the ones I have, which, as I said, are all corrupted)?
« Last Edit: June 07, 2013, 10:45:15 am by Locator » Logged
Locator
Vectorian
****
Posts: 708



« Reply #4 on: June 08, 2013, 02:54:09 pm »

Do your VL recognize your TV card?
I do not have the hardware so I would recommend using mythubuntu since they are design for PVR system...

http://www.mythbuntu.org/

I'm sorry about this, but I have tried to watch TV channels using TVTime, and got the following display:
Logged
rokytnji
Vectorite
***
Posts: 101


Linux Friganeer


WWW
« Reply #5 on: June 08, 2013, 03:16:52 pm »

Got this from a Ubuntu thread.

If you know where your tv card is located (i.e. /dev/video*), the file to edit is:

/etc/tvtime/tvtime.xml

Is your tv card in /dev called video0 or video1? I ask because sometimes when a webcam is also plugged into a computer. It gets the video0 designation first.

to find out. cd first in terminal to /dev

Code:
cd /dev

then us ls to show what is in /dev

Code:
ls

to finish up in /etc/tvtime/tvtime.xml

Look for the line:

<option name="V4LDevice" value="/dev/video0"/>

and change accordingly.


I am flying blind here. I don't use a TV card because I use Hulu Desktop instead (the free version) to watch TV from my computer. I run it in everything from Puppy Linux to AntiX. Miro is another I use.

That is as good as it gets from me Locater.





Logged

rokytnji
Vectorite
***
Posts: 101


Linux Friganeer


WWW
« Reply #6 on: June 08, 2013, 03:22:33 pm »

As far as the archiver error goes. I make sure I have fille-roller, p7zip,and rar installed in my linux installs.

rar is for reading comic books and extracting rar and .cbt files. For comix or mcomix.

pzip for the kitchen sink extraction.

file-roller as a backup extractor for xarchiver.
Logged

Locator
Vectorian
****
Posts: 708



« Reply #7 on: June 09, 2013, 01:49:18 pm »

Could you please explain that in layman's terms (I installed p7zip to my system and STILL get that same error message)?
« Last Edit: June 09, 2013, 01:52:10 pm by Locator » Logged
rokytnji
Vectorite
***
Posts: 101


Linux Friganeer


WWW
« Reply #8 on: June 09, 2013, 08:44:49 pm »

Without posting the store archiver message. It is hard to say why you have a error yet.
Logged

roarde
Vectorian
****
Posts: 538


move the needle


« Reply #9 on: June 09, 2013, 09:48:14 pm »

First:
Start xarchiver, from the menu select   Action > Preferences > Archive  and check the "Store archiver output" box, then click OK.
If you try decompressing the file again, you'll see what "tar" has to say about it. And that won't help you, because ---

THE FILE HAS BEEN COMPRESSED TWICE!

No wonder you've been having trouble, and everyone's been scratching their heads. It's probably the result of gzipping a zip or zipping a tgz.

Copy the file to a fresh, empty directory. Open a terminal there. You'll have to decompress manually:

Code:
gzip -d ivtv-firmware,tar.gz
mv ivtv-firmware.tar ivtv-firmware.tar.gz
gzip -d ivtv-firmware.tar.gz
tar -xvpf ivtv-firmware.tar

I have no idea how to use the files in the archive, but at least you should have them now.

Found this by running "file" at each step.

If you want to check the file before starting to see if it's the one I grabbed, here's the md5sum:
599233e6c62cc2f0d38d538171e96505  ivtv-firmware.tar.gz

Best of luck
Logged

Robert
VL STD 7.1 RC2.2.2, icewmvmods
Locator
Vectorian
****
Posts: 708



« Reply #10 on: June 11, 2013, 09:28:06 am »

Thank you for that information, I think I can probably figure out what to do from this point.
Logged
Locator
Vectorian
****
Posts: 708



« Reply #11 on: June 17, 2013, 07:14:01 am »

Well, According to the instructions, I have to do the following:

CONFIG needed:

 1. unpack the tarball
 2. cd ivtv
 3. make
 4. make install (as root)
 5. unload any old drivers
 6. depmod
 7. modprobe ivtv

I followed through to step 3 and got ther following result:

root:# make
make -C i2c-drivers all
make[1]: Entering directory `/home/doctor/ivtv/i2c-drivers'
make -C /lib/modules/3.0.8/build M=/home/doctor/ivtv/i2c-drivers modules
make[2]: Entering directory `/usr/src/linux-3.0.8'
  CC [M]  /home/doctor/ivtv/i2c-drivers/saa717x.o
/home/doctor/ivtv/i2c-drivers/saa717x.c:60:28: fatal error: linux/videodev.h: No such file or directory
compilation terminated.
make[3]: *** [/home/doctor/ivtv/i2c-drivers/saa717x.o] Error 1
make[2]: *** [_module_/home/doctor/ivtv/i2c-drivers] Error 2
make[2]: Leaving directory `/usr/src/linux-3.0.8'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/doctor/ivtv/i2c-drivers'
make: *** [all] Error 2

The question I have is: Where do I find (or get) the file"videodev.h" (the closest file that I could find was "libv4l1-videodev.h" in /usr/include)?
« Last Edit: June 17, 2013, 07:20:33 am by Locator » Logged
roarde
Vectorian
****
Posts: 538


move the needle


« Reply #12 on: June 17, 2013, 11:00:56 pm »

I have a hunch. What's the output of the following commands? (just as machine is now, with the card but without the new drivers)

lsmod | grep ivtv
ls /dev/video* /dev/vbi*
grep "dev/video\|dev/vbi" /etc/tvtime/tvtime.xml $HOME/.tvtime/tvtime.xml


As to the question you actually asked, see if /usr/src/linux-3.0.8/include/linux/videodev2.h is there. A search on "ivtv videodev2" turns up lots of answers on how to deal with this if you still want to go ahead and build. I like exactly 0 of those answers.
« Last Edit: June 17, 2013, 11:02:31 pm by roarde » Logged

Robert
VL STD 7.1 RC2.2.2, icewmvmods
Locator
Vectorian
****
Posts: 708



« Reply #13 on: June 18, 2013, 09:49:19 am »

And the output is as follows:

doctor:$ lsmod | grep ivtv
ivtv                  110852  0
cx2341x                11958  1 ivtv
i2c_algo_bit            3718  2 nouveau,ivtv
v4l2_common             3782  5 m52790,tuner,cx25840,ivtv,cx2341x
videodev               55338  6 m52790,tuner,cx25840,ivtv,cx2341x,v4l2_common
tveeprom               10005  1 ivtv
i2c_core               13898  15 nouveau,drm_kms_helper,drm,tuner_simple,m52790,tea5767,tda9887,tda8290,tuner,cx25840,ivtv,i2c_algo_bit,v4l2_common,videodev,tveeprom
vector:/~
doctor:$ ls /dev/video* /dev/vbi*
/dev/vbi0  /dev/video0  /dev/video24  /dev/video32
vector:/~
doctor:$ grep "dev/video\|dev/vbi" /etc/tvtime/tvtime.xml $HOME/.tvtime/tvtime.xml
/etc/tvtime/tvtime.xml:  <option name="V4LDevice" value="/dev/video0"/>
/etc/tvtime/tvtime.xml:  <option name="VBIDevice" value="/dev/vbi0"/>
Logged
roarde
Vectorian
****
Posts: 538


move the needle


« Reply #14 on: June 19, 2013, 05:40:48 pm »

I'm pretty sure that you should not compile and install the drivers. If you have the ones I think you do, they are older than what's already in the kernel.

Not sure about the firmware: info on that disappeared in the transition from the ivtv site to the videoforlinux site.

First, you should use something besides TVTime to try viewing. A few people have gotten just a few Hauppauge cards to work with it, but the majority won't. You might try VLC as a test for the basic operation of the card. Simple searches should turn up instructions. I'd try first without installing the firmware to /lib/firmware/ .
If you do copy the firmware over to there, use 'cp -vn' to avoid overwriting presumably newer files and note what's actually copied so you can remove it if it interferes.
Logged

Robert
VL STD 7.1 RC2.2.2, icewmvmods
Pages: [1] 2
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!