[mythtv-users] Re: mythtv-users Digest, Vol 18, Issue 23
brian weatherill
bweatherill at earthlink.net
Wed Jul 7 11:14:42 EDT 2004
the new modprobe.conf is a lot more restrictive than the old modules.conf, the add above and add below directives are no longer supported.. I've included a working modprobe.conf from my Fedora 2 with generic 2.6.7 kernel below
----------------------Cut-----------------------------
alias eth0 3c59x
# Soundcard 1 (Audigy)
#
alias snd-card-0 snd-emu10k1
alias sound-slot-0 snd-emu10k1
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-8 snd-seq-oss
## Virtual Midi card
#alias sound-slot-2 snd-card-2
#alias snd-card-2 snd-virmidi
#Save settings on exit
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && /usr/sbin/alsactl restore 0 >/dev/null 2>&1 || : && /usr/local/bin/asfxload /etc/midi/8MBGMGS.SF2
remove snd-emu10k1 { /usr/sbin/alsactl store 0 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-emu10k1
# soundcard #2 (Intel)
#
alias snd-card-1 snd-intel8x0
install snd-intel8x0 /sbin/modprobe --ignore-install snd-intel8x0 && /usr/sbin/alsactl restore 1 >/dev/null 2>&1 || :
remove snd-intel8x0 { /usr/sbin/alsactl store 1 >/dev/null 2>&1 || : ; }; /sbin/modprobe -r --ignore-remove snd-intel8x0
alias usb-controller uhci-hcd
# Video driver/media options
#
alias char-major-81 videodev
alias char-major-81-0 ivtv
alias char-major-61 lirc_i2c
options tuner type=2
options msp3400 once=1 simple=1
options ivtv ivtv_debug=1
# Install command replaces "add below" and "add above"
install ivtv /sbin/modprobe msp3400 && /sbin/modprobe saa7115 && /sbin/modprobe tuner && /sbin/modprobe --ignore-install ivtv && /sbin/modprobe lirc_dev && /sbin/modprobe lirc_i2c
alias char-major-195* nvidia
----------------Cut-------------
>Date: Tue, 6 Jul 2004 23:11:26 -0400
>From: Joshua Schramm <josh.schramm at gmail.com>
>Subject: [mythtv-users] Fedora 2, Failed to Allocate Memory Error
>To: mythtv-users at mythtv.org
>Message-ID: <695182c4040706201113ba49c7 at mail.gmail.com>
>Content-Type: text/plain; charset=US-ASCII
>
>Hey everyone,
>
>Im trying to set up Myth on a machine running Fedora 2 using Jarods
>guide as much as possible and using bleeding sources, testing sources,
>etc.
>
>Anyway ive gotten to the point where im configuring Video Capturing
>and the modprobe.conf file which differs from the guide.
>
>As mentioned in the archives the add line in jarods guide now throws
>an error and there is no more path line.
>
>First question did anyone find out what you have to do to replace
>this? I found a guide that mentioned modprobing a bunch of stuff by
>using a script and i did that and put the script in /etc/init.d/ but i
>dont think it ran. I gave it execute permissions and changed ownership
>to root. This is probably a linux issue more than a myth issue and im
>probably missing something simple.
>
>Next when i run those modprobes manually i still get an error to the effect of
>
>Failed to open /dev/video0: Cannot allocate memory
>
>This happens when i try and do a cat /dev/video0 > /tmp/sample.mpg or
>when i try and run ivtvctl -p 0
>
>Has anyone seen this?
More information about the mythtv-users
mailing list