kkrekula Posted December 2, 2004 Report Share Posted December 2, 2004 (edited) I have tried following your advice, but there seems to one problem: The Mandrake 10.1 already seem to have the Ivtv driver (0.1.9) and installing a newer one (0.2.0 or 0.3.0) does not help, as the 0.1.9 driver seem to be the one used... What does you log show? My log shows that driver 0.1.9 is used... So how does one get the 0.2.0 or 0.3.0 driver to replace the built-in? /Kenneth Edited December 2, 2004 by kkrekula Quote Link to comment Share on other sites More sharing options...
devries Posted December 2, 2004 Author Report Share Posted December 2, 2004 http://mandrakeusers.org/index.php?showtopic=19409&st=15 You're the second one mentioning that. I doubt Mandrake has the ivtv module. It won't work without the firmware so why include it? And I've never heard of it. And 0.19 is old and unpatched only usable on 2.4 kernel. :) I guess it are the remnants of your earlier efforts. To uninstall type in the ivtv-0.19/driver folder (as root) modprobe -r ivtv && make uninstall. Then try again. Else remove it by hand. Good luck. Quote Link to comment Share on other sites More sharing options...
kkrekula Posted December 2, 2004 Report Share Posted December 2, 2004 http://mandrakeusers.org/index.php?showtopic=19409&st=15 You're the second one mentioning that. I doubt Mandrake has the ivtv module. It won't work without the firmware so why include it? And I've never heard of it. And 0.19 is old and unpatched only usable on 2.4 kernel. :) <{POST_SNAPBACK}> Well, have a look in the contents of kernel-source-2.6-2.6.8.1-12mdk and you will find: /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/Kconfig /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/Makefile /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/audiochip.h /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/compat.h /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/id.h /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/ivtv-api.c /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/ivtv-driver.c /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/ivtv-fb.c /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/ivtv-i2c.c /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/ivtv.h /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/msp3400.c /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/msp3400.h /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/saa7115.c /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/saa7127.c /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/saa7127.h /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/tuner.h /usr/src/linux-2.6.8.1-12mdk/3rdparty/ivtv/tveeprom.c /Kenneth Quote Link to comment Share on other sites More sharing options...
devries Posted December 2, 2004 Author Report Share Posted December 2, 2004 Well if you're sure you haven't installed it it must be from Mandrake :). Pity it doesn't work. Maybe you could file a bug report. Let me know what you find out so I can edit the HOWTO. Quote Link to comment Share on other sites More sharing options...
kkrekula Posted December 3, 2004 Report Share Posted December 3, 2004 Performed a clean install of Mandrake 10.1 (official) and yes I can confirm that the ivtv driver is already in and can be loaded with "modprobe ivtv". But in my case, the tuner in my PVR350 seems to be a recent model not supported by the IVTV 0.1.9 driver. So I have no choice but trying to install a newer driver version. Now to my problem: when I do the "make install" of the new driver (I am trying the 0.3.x series) it installs into a new directory "/lib/modules/2.6.8.1-12mdkcustom/extra/" [root@localhost /]# ls -l /lib/modules/2.6.8.1-12mdkcustom/extra/ totalt 340 -rw-r--r-- 1 root root 31846 dec 4 00:03 cx25840.ko -rw-r--r-- 1 root root 38008 dec 4 00:03 ivtv-fb.ko -rw-r--r-- 1 root root 178264 dec 4 00:03 ivtv.ko -rw-r--r-- 1 root root 31832 dec 4 00:03 msp3400.ko -rw-r--r-- 1 root root 14750 dec 4 00:03 saa7115.ko -rw-r--r-- 1 root root 15096 dec 4 00:03 saa7127.ko -rw-r--r-- 1 root root 14777 dec 4 00:03 tveeprom.ko -rw-r--r-- 1 root root 6774 dec 4 00:03 wm8775.ko How do I get this driver to load instead of the the older driver? When I "modprobe ivtv" I still get the message: ivtv: version 0.1.9 (0.1.10pre1) loading Regards, Kenneth Quote Link to comment Share on other sites More sharing options...
kkrekula Posted December 4, 2004 Report Share Posted December 4, 2004 I found this article about installing Mythtv on Mandrake 10.1: http://www.byopvr.com/Journal+index-jop-br...iew-id-112.html It suggests to delete the Mdk 10.1 Ivtv drivers and copy the new self-compiled drivers into the /lib/modules/2.6.8.1-12mdk/kernel/drivers/misc directory. However, when I do the "modprobe ivtv" it does not like that the new drivers are in ".ko" format... The Mdk drivers are in ".ko.gz" format. I tried to gzip the .ko drivers into .ko.gz format but modprobe still does not like them... What kind of trick do I need to do? Regards, Kenneth Quote Link to comment Share on other sites More sharing options...
devries Posted December 4, 2004 Author Report Share Posted December 4, 2004 Great work :). Try installing the drivers with the make install command instead of copying them by hand (in the /ivtv/drivers folder). That way you're sure everything gets correctly installed. Don't forget to run depmod -ae after you have deleted the folders and after you have given 'make install'. It tells the kernel what modules are available. Quote Link to comment Share on other sites More sharing options...
kkrekula Posted December 4, 2004 Report Share Posted December 4, 2004 Try installing the drivers with the make install command instead of copying them by hand (in the /ivtv/drivers folder). That way you're sure everything gets correctly installed. Don't forget to run depmod -ae after you have deleted the folders and after you have given 'make install'. It tells the kernel what modules are available. <{POST_SNAPBACK}> That's what I do. The problem is that "make install" puts the new drivers into the directory "/lib/modules/2.6.8.1-12mdkcustom/extra/" which the system doesn't seem to like as it doesn't find them. /Kenneth Quote Link to comment Share on other sites More sharing options...
devries Posted December 5, 2004 Author Report Share Posted December 5, 2004 Well better bite the bullet and build a new kernel :(. I'll be keeping my 2.6.8-10 for a while yet till this is sorted out. Quote Link to comment Share on other sites More sharing options...
kkrekula Posted December 5, 2004 Report Share Posted December 5, 2004 It seems like the problem was the kernel. On my PVR system (mini-itx Epia-M) Mandrake 10.1 installed a SMP kernel (kernel-i586-up-1GB-2.6.8.1.12mdk). When trying to load the compiled Ivtv drivers I got the error message FATAL: Error inserting ivtv (/lib/modules/2.6.8.1-12mdk-i586-up-1GB/kernel/drivers/misc/ivtv.ko): Invalid module format I tried to install the standard kernel, but it doesn't boot at all on my Epia-M. So I installed the PVR350 card into my desktop PC (uses the standard Mdk 10.1 Official kernel) and then the Ivtv installation procedure here http://www.byopvr.com/Journal+index-jop-br...iew-id-112.html worked perfectly! No problem with the module loading. I guess there are some compiling parameters to change, in order to get self-compiled modules working on my Mini-Itx system. However, I will first see if MythTV works on my desktop PC. /Kenneth Quote Link to comment Share on other sites More sharing options...
Guest mbrosius Posted December 23, 2004 Report Share Posted December 23, 2004 I have been trying to configure my Hauppague PVR-250 to work with Mandrake 10.0 on kernel 2.6.3-7mdk for a while now and I'm having problems. I have read all the posts in this thread and I still can't watch TV. I am as far as getting the garbage output on the screen while typing the command "cat /dev/video0". I also get snow on the screen with mplayer. When I start Freevo I am not given the option to watch TV. I thought about trying KDETV as suggested but the only video sources are for using NVIDIA Video Interface Port (which displays no pictures) or Vanilla iTVC15 card on device /dev/video (which freezes KDETV because I'm assuming it is looking for /dev/video and not /dev/video0). Can you please review my output from running freevo via the command line and let me know what I can do to fix this? Thank you. Mark Warning: freevo_config.py was changed, please check local_config.py You are using version 5.13, changes since then: Version 5.14: Add IMAGEVIEWER_DURATION for auto slideshows Error: TV_RECORD_DIR not set Please set TV_RECORD_DIR to the directory, where recordings should be stored or remove the tv plugin. Autoset variable to /home/mark/Documents/Videos. Error: VIDEO_SHOW_DATA_DIR not found ROM_DRIVES: Auto-detected and added "('/mnt/cdrom', '/dev/hdd', 'CD-1')" ROM_DRIVES: Auto-detected and added "('/mnt/cdrom2', '/dev/scd0', 'CD-2')" Please run 'freevo cache' freevo: could not connect to socket freevo: No such file or directory WARNING: Could not initialize PyLirc! WARNING: the idlebar.weather plugin downloads new weather information inside the main loop. This bug makes all menu actions _very_ slow. Consider not using this plugin for higher speed. To search for covers you need an Amazon.com Web Services license key. You can get yours from: https://associates.amazon.com/exec/panama/a...pplication.html plugin audio.coversearch deactivated, reason: no amazon key Warning: freevo_config.py was changed, please check local_config.py You are using version 5.13, changes since then: Version 5.14: Add IMAGEVIEWER_DURATION for auto slideshows Quote Link to comment Share on other sites More sharing options...
devries Posted December 23, 2004 Author Report Share Posted December 23, 2004 When you've got the snow that means everything is working. :) Now for the rest: you need to set the frequencies of the channels you want to watch. I use Freevo to watch and record tv shows. It works prefectly but it is a bit of a hassle to get working. To begin with read this thread: http://mandrakeusers.org/index.php?showtopic=14069 For Freevo to work you need to edit the local_conf.py file in the .freevo directory. Read the errors you get carefully. Error: TV_RECORD_DIR not set This one for example is easy. It means that you haven't set that directory. Open the local_conf.py file, hit ctr-f (for find) and look for tv_record_dir and set it to TV_RECORD_DIR = '/home/<whatever you want>'. The same goes for that other error. Please run freevo cache: This one asks for you to run the command (in a console) 'freevo cache'. It will build a database of all the movies, pictures etcect on your system. However it currently doesn't work on Mandrake. So leave it. WARNING: Could not initialize PyLirc!: Means you haven't setup lirc for your remote. It's not neccesary for Freevo to run so ignore it for the moment. (http://mandrakeusers.org/index.php?showtopic=19428) WARNING: the idlebar.weather plugin downloads new weather: means what it says. Put a # for that plugin in the local_conf.py (#plugin.activate('idlebar.weather', level=30, args=('LFPG',))) Amazon and new version can also be ignored. Now the important thing: You need channel information. Make sure you have that. Run/install xmltv and grabbers to get listings. I think xmltv is in contrib (else it's in thacs) so install it with urpmi xmltv. That will install the grabbers too. Get the listings for your country by using the grabber for your country. Open a console and type tv_grab and het <tab>. You will see all the grabbers listed and use the one appropiate (I'm in holland so tv_grab_nl_gert). Freevo expects the data in /tmp in a file called TV.xml so the complete command would be tv_grab_nl_gert --output /tmp/TV.xml. Now start Freevo and it should build/parse a list of channels with the frequencies that you can choose to watch TV. However it doesn't always work and then you have to do it by hand in the local_conf.py (look in the FAQs link for examples) Good luck. Quote Link to comment Share on other sites More sharing options...
Guest mbrosius Posted December 24, 2004 Report Share Posted December 24, 2004 Thanks for the help. I think I'm a step closer now since I've fixed the errors. Now when I try to watch TV, the channels I have to pick from are the default ones from French television 'TF1', 'TF1', '43' 'France2', 'France 2', '46' 'France3', 'France 3', '40' 'Canal+', 'Canal+', '53' 'France5', 'France5', '48' 'Arte', 'Arte', '48' 'M6', 'M6', '58' I edited my local_conf.py so that these lines are at the end. I only have one channel listed so I can verify my syntax is correct. I do not see this channel in my available channels but I do see it when I try to record a channel. I did notice that when I try to watch TV I get a message stating that the recordserver is down. XMLTV_GRABBER = 'tv_grab_na_dd' TV_CHANNELS = [('I11163.labs.zap2it.com', 'SPIKE TV', '68')] Do you have any more suggestions? Thanks again for your help. Mark Quote Link to comment Share on other sites More sharing options...
devries Posted December 27, 2004 Author Report Share Posted December 27, 2004 Sorry for the delay (Christmas and all that :) ) Your problem: If you have edited that part of the local_conf.py you need to (from the local_conf.py)This list also determines the order in which the channels are displayed!# N.B.: You must delete the XMLTV cache file (e.g. /var/cache/freevo/TV.xml.pickled) # if you make changes here and restart! delete that file for you to see the difference. The recordserver is down means that the recordeserver is down :). Open a console and type: freevo recordserver start (for it to start and freevo recordserver stop for it to stop). The service can also be start/stopped from the Mandrake Control Center, system, services. I never had much luck there so make sure it won't start at boot. Good luck. Quote Link to comment Share on other sites More sharing options...
Guest phace Posted December 27, 2004 Report Share Posted December 27, 2004 (edited) Hi all, I'm also new to linux and I'm having some problems with ivtv on my Mandrake 10.1. I've been using mythtv instead of freevo, but the problem appears to be with the ivtv. Everything was working perfectly about a week ago - tv capture, tv-out - everything except lirc. After finally getting lirc up and running, I realized I must have done something in the process that messed with my ivtv settings. looking at dmesg, i see now that the Tuner type is not setting - yet everything was fine before...? I read about a patch from chris kennedy for this type of error, http://205.209.168.201/~ckennedy/ivtv/new_tuners/ , but it talks about applying the patch and then recompiling the tuner module - i'm not sure how to do that and i can't find it anywhere. below is my modprobe.conf, and then the entire IVTV section of dmesg. Thanks for any help! modprobe.conf: # This file is autogenerated from /etc/modules.conf using generate-modprobe.conf command alias sound-slot-1 snd-emu10k1 alias eth0 3c59x remove snd-emu10k1 /sbin/modprobe -r snd-pcm-oss; /sbin/modprobe --first-time -r --ignore-remove snd-emu10k1 install snd-emu10k1 /sbin/modprobe --first-time --ignore-install snd-emu10k1 && { /sbin/modprobe snd-pcm-oss; /bin/true; } alias sound-slot-0 i810_audio install usb-interface /sbin/modprobe uhci-hcd; /bin/true #ivtv modules setup alias char-major-81 videodev alias char-major-81-0 ivtv options msp3400 once=1 simple=1 options ivtv tuner=47 install ivtv { /sbin/modprobe msp3400; /sbin/modprobe saa7115; /sbin/modprobe saa7127; /sbin/modprobe tuner; } ; Dec 26 23:12:13 localhost kernel: ivtv: ==================== START INIT IVTV ==================== Dec 26 23:12:13 localhost kernel: ivtv: version 0.2.0 (rc3b) loading Dec 26 23:12:13 localhost kernel: ivtv: Linux version: 2.6.8.1-10mdk 686 gcc-3.4 Dec 26 23:12:13 localhost kernel: ivtv: In case of problems please include the debug info Dec 26 23:12:13 localhost kernel: ivtv: between the START INIT IVTV and END INIT IVTV lines when Dec 26 23:12:13 localhost kernel: ivtv: mailing the ivtv-devel mailinglist. Dec 26 23:12:13 localhost kernel: ivtv: Autodetected WinTV PVR 350 card Dec 26 23:12:13 localhost kernel: ivtv: Found an iTVC15 based chip Dec 26 23:12:13 localhost kernel: PCI: Found IRQ 11 for device 0000:01:0a.0 Dec 26 23:12:13 localhost kernel: PCI: Sharing IRQ 11 with 0000:00:1f.2 Dec 26 23:12:13 localhost kernel: ivtv: XXX PCI device: 0x7124 vendor: 0x8086 Dec 26 23:12:13 localhost kernel: msp34xx: ivtv version Dec 26 23:12:13 localhost kernel: msp34xx: init: chip=MSP3448W-A2, has NICAM support, simple (D) mode, simpler (G) no-thread mode Dec 26 23:12:13 localhost kernel: msp34xx: $Id$ compiled on: Dec 14 2004 22:26:26 Dec 26 23:12:14 localhost kernel: ivtv: i2c attach [client=MSP3448W-A2,ok] Dec 26 23:12:14 localhost kernel: saa7115: starting probe for adapter ivtv i2c driver #0 (0x10005) Dec 26 23:12:14 localhost kernel: saa7115: detecting saa7115 client on address 0x42 Dec 26 23:12:14 localhost kernel: saa7115: writing init values Dec 26 23:12:14 localhost kernel: ivtv: i2c attach [client=saa7115[0],ok] Dec 26 23:12:14 localhost kernel: saa7115: status: (1E) 0x01, (1F) 0xc0 Dec 26 23:12:14 localhost kernel: saa7127: Selecting NTSC video Standard Dec 26 23:12:14 localhost kernel: saa7127: Selecting S-Video+Composite Dec 26 23:12:14 localhost kernel: saa7127: Turn WSS off Dec 26 23:12:14 localhost kernel: saa7127: Widescreen Mode 4:3 Full Format Dec 26 23:12:14 localhost kernel: saa7127: Selecting Normal Encoder Input Dec 26 23:12:14 localhost kernel: saa7127: Enable Video Output Dec 26 23:12:14 localhost kernel: ivtv: i2c attach [client=saa7127[0],ok] Dec 26 23:12:14 localhost kernel: tuner: chip found at addr 0xc2 i2c-bus ivtv i2c driver #0 Dec 26 23:12:14 localhost kernel: ivtv: i2c attach [client=(tuner unset),ok] Dec 26 23:12:14 localhost kernel: tveeprom: Ignoring new-style parameters in presence of obsolete ones Dec 26 23:12:14 localhost kernel: tveeprom: Hauppauge: model = 48132, rev = K268, serial# = 7683279 Dec 26 23:12:14 localhost kernel: tveeprom: tuner = LG TAPE H001F MK3 (idx = 68, type = 47) Dec 26 23:12:14 localhost kernel: tveeprom: tuner fmt = NTSC(M) (eeprom = 0x08, v4l2 = 0x00001000) Dec 26 23:12:14 localhost kernel: tveeprom: audio_processor = MSP3440 (type = 11) Dec 26 23:12:14 localhost kernel: ivtv: i2c attach [client=tveeprom[0],ok] Dec 26 23:12:14 localhost kernel: ivtv: Tuner Type 47, Tuner formats 0x00001000, Radio: yes, Model 0x00ad2598, Revision 0x00000001 Dec 26 23:12:14 localhost kernel: ivtv: NTSC tuner detected Dec 26 23:12:14 localhost kernel: ivtv: Radio detected Dec 26 23:12:15 localhost kernel: ivtv: Encoder revision: 0x02050032 Dec 26 23:12:15 localhost kernel: ivtv: Encoder Firmware is buggy, use version 0x02040011 Dec 26 23:12:15 localhost kernel: ivtv: Decoder revision: 0x02020023 Dec 26 23:12:15 localhost kernel: ivtv: Configuring WinTV PVR 350 card with 9 streams Dec 26 23:12:15 localhost kernel: ivtv: Create DMA stream 0 using 256 16384 byte buffers 4194304 kbytes total Dec 26 23:12:15 localhost kernel: ivtv: Registered v4l2 device, streamtype 0 minor 0 Dec 26 23:12:15 localhost kernel: ivtv: Create DMA stream 1 Dec 26 23:12:15 localhost kernel: ivtv: Registered v4l2 device, streamtype 1 minor 32 Dec 26 23:12:15 localhost kernel: ivtv: Create stream 2 using 40 52224 byte buffers 2097152 kbytes total Dec 26 23:12:15 localhost kernel: ivtv: Registered v4l2 device, streamtype 2 minor 224 Dec 26 23:12:15 localhost kernel: ivtv: Create DMA stream 3 using 455 4608 byte buffers 2097152 kbytes total Dec 26 23:12:15 localhost kernel: ivtv: Registered v4l2 device, streamtype 3 minor 24 Dec 26 23:12:15 localhost kernel: ivtv: Create stream 4 Dec 26 23:12:15 localhost kernel: ivtv: Registered v4l2 device, streamtype 4 minor 64 Dec 26 23:12:15 localhost kernel: ivtv: Create DMA stream 5 using 16 65536 byte buffers 1048576 kbytes total Dec 26 23:12:15 localhost kernel: ivtv: Registered v4l2 device, streamtype 5 minor 16 Dec 26 23:12:15 localhost kernel: ivtv: Create stream 6 using 1024 2048 byte buffers 262144 kbytes total Dec 26 23:12:15 localhost kernel: ivtv: Registered v4l2 device, streamtype 6 minor 228 Dec 26 23:12:15 localhost kernel: ivtv: Create stream 7 Dec 26 23:12:15 localhost kernel: ivtv: Registered v4l2 device, streamtype 7 minor 232 Dec 26 23:12:15 localhost kernel: ivtv: Create DMA stream 8 Dec 26 23:12:15 localhost kernel: ivtv: Registered v4l2 device, streamtype 8 minor 48 Dec 26 23:12:15 localhost kernel: ivtv: Setting Tuner 47 Dec 26 23:12:15 localhost kernel: tuner: tuner type not set Dec 26 23:12:15 localhost kernel: ivtv: Setting audio matrix to input 3, output 1 Dec 26 23:12:15 localhost kernel: ivtv: Switching standard to NTSC. Dec 26 23:12:15 localhost kernel: tuner: tuner type not set Dec 26 23:12:15 localhost kernel: ivtv: ivtv_enc_thread: pid = 4956, itv = 0xd0c9f4e0 Dec 26 23:12:15 localhost kernel: ivtv: ivtv_dec_thread: pid = 4957, itv = 0xd0c9f4e0 Dec 26 23:12:16 localhost kernel: spurious 8259A interrupt: IRQ7. Dec 26 23:12:16 localhost kernel: saa7115: decoder set norm NTSC Dec 26 23:12:16 localhost kernel: saa7115: set audio: 0x01 Dec 26 23:12:16 localhost kernel: saa7127: Setting Encoder Video Standard Dec 26 23:12:16 localhost kernel: saa7127: Set NTSC Video Mode Dec 26 23:12:16 localhost kernel: saa7127: Selecting NTSC video Standard Dec 26 23:12:16 localhost kernel: ivtv: Initialized WinTV PVR 350, card #0 Dec 26 23:12:16 localhost kernel: ivtv: ==================== END INIT IVTV ==================== Edited December 27, 2004 by phace Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.