Re: btaudio (MM205)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi there,
	yes and enjoying very good usage out of it -- with the aid of "vcr" I
have Neighbours crontab'd ;o)  I'll try to be thorough, but it has been
such a very long time since I've played around with anything on this
box, so apologies if I miss out some useful info.


My machine setup:
	Kernel: 2.4.4 (with V4L option compiled in)
	BTTV:   0.7.65 (I compiled straight from source on Gerd's site)
	X:      4.0.3 (default Mandrake installation)

	Linux Mandrake: 8.0 / Athlon T'Bird 800 / Matrox G400


Firstly to kick off TV I use the following script for convenience:

runTv: (aumix is used to change enable the correct audio channel, there
should be 3 channels on the mixer -- might need to experiment here)

#!/bin/bash
aumix -d/dev/mixer1 -1R
sox -w -r 32000 -t ossdsp /dev/dsp2 -t ossdsp /dev/dsp&
xawtv -bpp 24
killall sox


/etc/modules: (not really needed, but a boot convenience, note my main
soundcard driver is loaded first, this affect which DSP / Mixer numbers
correspond to BTAUDIO generated one)
...
videodev
emu10k1
i2c-core
i2c-algo-bit
bttv # card=23 pll=1
btaudio # analog=2 dsp=2
...


/etc/modules.conf: (note, rely upon bttv to load btaudio)
...
alias char-major-81	videodev
alias char-major-81-0	bttv
options	bttv card=23 pll=1
...


/etc/X11/XF86Config-4: (you should only really need v4l, but never been
sure of how to configure X11

Section "Module"
	Load	"dbe"
	Load	"v4l"
	Load	"glx"
	Load	"dri"


	SubSection	"extmod"
		#Option	"omit xfree86-dga"
	EndSubSection

	Load	"type1"
	Load	"freetype"
EndSection



I think that should be it.  And now to the important bit, how to
configure your box to record neighbours ;o)  From my crontab:

34	17	*	*	1-5	/home/hashaday/bin/tvrecord
/behemoth/shared/tvrecordings/neighbours/`date +neighbours.\%a.avi` bbc1
26

I maintain a directory of the last 5 episodes of the form of: 
	neighbours.<Day>.avi


tvrecord is merely a script that shuts off setiathome for duration of
recording:

#!/bin/bash

FILM=$1
CHANNEL=$2
DURATION=$3

rm -f /tmp/safetorun
killall setiathome
/usr/local/bin/vcr $FILM -t $DURATION  -source Television -p $CHANNEL -c
"DivX ;-) Low-Motion" 2> /behemoth/shared/tvrecordings/vcr.stderr.log 1>
/behemoth/shared/tvrecordings/vcr.stdin.log
cd /home/hashaday/.setiathome/
./run_seti&


I hope this is of some help :o)  Feel free to quiz although I'm not sure
I'll have worthwhile answers :o(

	'tish.


ck wrote:
> 
> I hope you don't mind me emailing you like this, but I just
> saw you post on the BTTV mailing archive re: Modular Technologies MM205
> PCTV card btaudio. Did you ever get the audio to work, since I have the
> same card and have tried all I can to get it to work and am now out of
> ideas...
> 
> If you did, can you remember how you did it and if you can, do you mind
> telling me how?!
> 
> TIA Chris

-- 
############################################################
# _       _                                                #
# \`-"'"-'/  "greet everyday with open eyes and open arms" #
#  } 6 6 {                                                 #
# =\  Y  /=     pgp: 0x78A3A068                            #
#   / ^ \  .                                               #
#  /     \  ) email: gomi@xxxxxxxxxxxxxxxxxxxxxxxxxxx      #
# (  )-(  )/    web: http://thor.prohosting.com/~hashaday/ #
#  ""   ""                                                 #
############################################################





[Index of Archives]     [Linux DVB]     [Video Disk Recorder]     [Asterisk]     [Photo]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Free Photo Albums]     [Fedora Users]     [Fedora Women]     [ALSA Users]     [ALSA Devel]     [Linux USB]

Powered by Linux