Device or resource busy error using bttv-0.9.11

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



Hi hermann,
Thanks. Now "bttv-0.9.11" compiles without any error and the new
bttv driver is loaded sucessfully.
"bttv: driver version 0.7.106 loaded". Line from dmesg.

I updated bttv driver to avoid Device or resource busy error. What I want is, I want to run "XAWTV" in parallel with "FFMPEG". "streamer" from "xawtv" records video streams in ".avi" extensions. I want to record video streams directly into "mpeg" form. So I recorded video streams in "mpeg" form using "ffmpeg". When I execute "ffmpeg" in parallel with "xawtv", "Device or resource busy" error occurs. I want to watch TV using xawtv and side by side record video streams using ffmpeg. "xawtv" uses "/dev/video0" to grab video streams. "ffmpeg" also uses /dev/video0" to record video streams. One of our user in our mailing list adviced me to upgrade "bttv" driver to overcome this
error. Still the problem persists. How to avoid this ?

With Regards,
S.Suriya Mohan.

On Thu, 07 Aug 2003 hermann pitton wrote :
Es schrieb suriya mohan:
>
> Hi,
> Thanks. Suggest me which kernel patch will help "bttv-0.9.11"
> driver
> to compile without any error.Provide me the link for the exact
> patch.
>

Hi Suriyah,

you can do some --dry-run on the 2.4.20 you already have and then
patch
you up comfortably to latest -pre using "patch-kernel" in scripts
folder.

For 2.4.20 the link is
http://bytesex.org/patches/2.4.20/patch-2.4.20-kraxel.gz

If you like to see it first on 2.4.20, save your .config if you want
to
use it again, make clean and mrproper. To follow the new 2.6.0
conventions put the patch into your 2.4.20 sources on top level path. You can edit the main Makefile there and set an extraversion. I use
-Xv4l2.

Unpack the patch there and spend some time to read what is written
there
in an editor :)

Then you can do (man patch? - Kernel Howto?) "patch --verbose
--dry-run
-p1 < patch-2.4.20-kraxel" or whatever. (man diff is another
intresting
subject.)

If you are satisfied with the results, remove the --dry-run and do
it.

Put your .config in there again, do what needs to be done, adjust
your
bootloader and boot into the new kernel.

If up, cd in your bttv-0.9.11, do a make and a make install.

Greetings

Hermann

--


--
video4linux-list mailing list
Unsubscribe
mailto:video4linux-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/video4linux-list
___________________________________________________
Download the hottest & happening ringtones here!
OR SMS: Top tone to 7333
Click here now: http://sms.rediff.com/cgi-bin/ringtone/ringhome.pl





[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