SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I just upgraded to Slackware 12.1. I am using the 2.6.24.5-smp generic kernel. Reading /var/log/messages has shown that my Hauppauge PVR 150 has been initialized by ivtv. Before, when I was using 12.0, I had to download the driver and firmware directly from ivtvdriver.org. Then, I had to make a custom kernel by compiling the kernel with: Conexant CX2584x,Conexant CX2341x, Wolfson Microelectronics WM8775 and BT848 Video For Linux among other things. With 12.1, I tried using the command cat /dev/video0 > my.mpg and output was: cat: /dev/video0: No such device or address. Info from ivtvdriver.org states that current kernels now have the ivtv driver which I can see that it has detected my Hauppauge PVR 150. However, I am stuck trying to figure out how to get to the card with the current ivtv driver. I also need some of the tools (ivtv-tune) that the driver 0.10.6 came with.
Note: My PVR is connected to only a vcr that I use to convert tapes to mpeg2. Am I going to have to download the old driver and compile a custom kernel to get things working? I really don't want to break anything.
There is no video0 listed as a module. I have googled around the net but I can't find information concerning the latest ivtv drivers that are in the current kernels. It seems strange to be forced to compile an older driver when there's a new one in it already. I tried cat /dev/videodev > my.mpg but that didn't work either.
ivtv: Start initialization, version 1.1.0
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 8 ports detected
ivtv0: Initializing card #0
ivtv0: Autodetected Hauppauge card (cx23416 based)
ACPI: PCI Interrupt Link [APC3] enabled at IRQ 18
ACPI: PCI Interrupt 0000:03:0a.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 23
ivtv0: Unreasonably low latency timer, setting to 64 (was 32)
tveeprom 2-0050: Hauppauge model 26552, rev F0A3, serial# 9856765
tveeprom 2-0050: tuner model is TCL MFNM05-4 (idx 103, type 43)
tveeprom 2-0050: TV standards NTSC(M) (eeprom 0x08)
tveeprom 2-0050: audio processor is CX25843 (idx 37)
tveeprom 2-0050: decoder processor is CX25843 (idx 30)
tveeprom 2-0050: has radio, has no IR receiver, has no IR transmitter
ivtv0: Autodetected Hauppauge WinTV PVR-150
tuner 2-0043: chip found @ 0x86 (ivtv i2c driver #0)
tda9887 2-0043: tda988[5/6/7] found @ 0x43 (tuner)
tuner 2-0043: type set to tda9887
tuner 2-0061: chip found @ 0xc2 (ivtv i2c driver #0)
cx25840 2-0044: cx25843-24 found @ 0x88 (ivtv i2c driver #0)
wm8775 2-001b: chip found @ 0x36 (ivtv i2c driver #0)
tuner-simple 2-0061: type set to 43 (Philips NTSC MK3 (FM1236MK3 or FM1236/F))
tuner 2-0061: type set to Philips NTSC MK3 (F
ivtv0: Registered device video0 for encoder MPG (4096 kB)
ivtv0: Registered device video32 for encoder YUV (2048 kB)
ivtv0: Registered device vbi0 for encoder VBI (1024 kB)
ivtv0: Registered device video24 for encoder PCM (320 kB)
ivtv0: Registered device radio0 for encoder radio
ivtv0: Initialized card #0: Hauppauge WinTV PVR-150
ivtv: End initialization
There is no video0 listed as a module. I have googled around the net but I can't find information concerning the latest ivtv drivers that are in the current kernels. It seems strange to be forced to compile an older driver when there's a new one in it already. I tried cat /dev/videodev > my.mpg but that didn't work either.
Best regards
It seems to me that the card is mapped to ivtv0 device node. Look around in the /dev directory if you see the ivtv0 device there and try to cat it. Although the initialization says that the video0 is mapped.
Unfortunately cannot help you more as I don't have TV tuner in my machine.
Okay. I tried cat /dev/ivtv0 > test.mpg <---It didn't work.
I looked around the /dev directory and found that video0 is symlinked to vfl/video0
I then tried cat /dev/v4l > test.mpg <----didn't work.
Tried cat /dev/v4l/video0 > test.mpg <----didn't work.
It looks like I may have to go back to using an older kernel.
Just want to let anyone interested in this thread to know, that I have it working. Thanks to Grogan from bitbender. He suggested that I download and install the firmware from ivtv.org and it did the trick!!! I just assumed that the firmware would be included with the ivtv driver. I am able to cat /dev/video0 > my.mpg with no problems. I am also able to use the ivtv utility that came with the driver.tar. The only glitch that I'm facing now is if I try viewing the actual recording with mplayer I get this:
I do have the win32 codecs-all package installed. I can view the mpg file after recording with mplayer, but not while it's actually converting to mpeg2 which was a tool for me to know when to stop recording. I reinstalled the win32 codecs package from slackbuilds.org but it's still giving me the same message.
I googled around a bit on this issue. It seems that the avisynth.dll message is a misleading error message that mplayer spits out when dealing with streaming errors. It is not required for mplayer use. I solved the problem by having mplayer check the status of the video by playing the actual "live" file being recorded (my.mpg). What I was doing wrong was issuing the command: "mplayer /dev/video" instead of "mplayer my.mpg". Mplayer /dev/video is good when you pop a cassette into the VCR and want to watch it but, if you are recording a video you have to open the file being recorded.
I just upgraded to Slackware 12.1. I am using the 2.6.24.5-smp generic kernel. Reading /var/log/messages has shown that my Hauppauge PVR 150 has been initialized by ivtv. Before, when I was using 12.0, I had to download the driver and firmware directly from ivtvdriver.org. Then, I had to make a custom kernel by compiling the kernel with: Conexant CX2584x,Conexant CX2341x, Wolfson Microelectronics WM8775 and BT848 Video For Linux among other things. With 12.1, I tried using the command cat /dev/video0 > my.mpg and output was: cat: /dev/video0: No such device or address. Info from ivtvdriver.org states that current kernels now have the ivtv driver which I can see that it has detected my Hauppauge PVR 150. However, I am stuck trying to figure out how to get to the card with the current ivtv driver. I also need some of the tools (ivtv-tune) that the driver 0.10.6 came with.
Note: My PVR is connected to only a vcr that I use to convert tapes to mpeg2. Am I going to have to download the old driver and compile a custom kernel to get things working? I really don't want to break anything.
Best regards
2.6.24 series kernels now include ivtv and ivtvfb (used for TV-out with PVR-350) modules. The current version of ivtv for kernel 2.6.22 and greater (version 1.0.3) only consists of ivtvfb and utilities you mentioned. However it won't compile on 2.6.24 series yet since there's a include file issue I experienced and posted on the list. The devs are working on ivtv version 1.1 which will include support for kernel 2.6.24 and up.
In the meanwhile, you can either go the last known kernel to work for you or if you want to use newer kernels, use kernel 2.6.23.x. This series is supported with ivtv version 1.0.3.
As for your problem, video0 is not a module, it is a device file created by that ivtv module. Make sure whichever user you are logged in is added to video group. Check the modules ivtv depends on.
2.6.24 series kernels now include ivtv and ivtvfb (used for TV-out with PVR-350) modules. The current version of ivtv for kernel 2.6.22 and greater (version 1.0.3) only consists of ivtvfb and utilities you mentioned. However it won't compile on 2.6.24 series yet since there's a include file issue I experienced and posted on the list. The devs are working on ivtv version 1.1 which will include support for kernel 2.6.24 and up.
In the meanwhile, you can either go the last known kernel to work for you or if you want to use newer kernels, use kernel 2.6.23.x. This series is supported with ivtv version 1.0.3.
As for your problem, video0 is not a module, it is a device file created by that ivtv module. Make sure whichever user you are logged in is added to video group. Check the modules ivtv depends on.
Code:
modprobe --show-depends ivtv
I believe I have it working in the 2.6.24 kernel. What I did was download the firmware and install the firmware in /lib/firmware. Then, I downloaded version 1.0.3 of ivtv. I then ran make in the utility/ivt-tune folder. Then I moved the ivtv-tune utility to the /user/bin directory. I have since tested my PVR-150 and the results have been great. I did not compile ivtvfb in the ivtv (version 1.0.3) folder. I only ran make in the utility/ivt-tune folder.
I believe I have it working in the 2.6.24 kernel. What I did was download the firmware and install the firmware in /lib/firmware. Then, I downloaded version 1.0.3 of ivtv. I then ran make in the utility/ivt-tune folder. Then I moved the ivtv-tune utility to the /user/bin directory. I have since tested my PVR-150 and the results have been great. I did not compile ivtvfb in the ivtv (version 1.0.3) folder. I only ran make in the utility/ivt-tune folder.
Best regards
Good to know it worked out for you. I primarily use ivtv with MythTV but I'm interested in what you do with it. I have some old VCR tapes that I would like to convert. Can you post a show how-to on how you do it. I have a spare card in my box I can put to use.
Good to know it worked out for you. I primarily use ivtv with MythTV but I'm interested in what you do with it. I have some old VCR tapes that I would like to convert. Can you post a show how-to on how you do it. I have a spare card in my box I can put to use.
Thanks,
How to convert VHS tapes to mpeg2 using a PVR-150 card.
Set your card to channel 3. On a terminal, type the command: ivtv-tune --channel=3
Put your tape in the VCR and press play.
To capture some video, on a terminal type the command:
cat /dev/vide0 > my.mpg
press ctrl-c to stop.
Open another terminal and type the command:
mplayer my.mpg
This will check the status of the video while it's being captured. This is how I know when the tape has ended and so forth.
How to convert VHS tapes to mpeg2 using a PVR-150 card.
Set your card to channel 3. On a terminal, type the command: ivtv-tune --channel=3
Put your tape in the VCR and press play.
To capture some video, on a terminal type the command:
cat /dev/vide0 > my.mpg
press ctrl-c to stop.
Open another terminal and type the command:
mplayer my.mpg
This will check the status of the video while it's being captured. This is how I know when the tape has ended and so forth.
Best regards
Thanks and appreciate for the info. I'll try that soon.
I believe I have it working in the 2.6.24 kernel. What I did was download the firmware and install the firmware in /lib/firmware. Then, I downloaded version 1.0.3 of ivtv. I then ran make in the utility/ivt-tune folder. Then I moved the ivtv-tune utility to the /user/bin directory. I have since tested my PVR-150 and the results have been great. I did not compile ivtvfb in the ivtv (version 1.0.3) folder. I only ran make in the utility/ivt-tune folder.
Best regards
Thank you! Thank you! Thank you!
I was beginning to give up on Slackware and Mythtv until i read your post.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.