logo       
Bookmark and Share

[ tvtime-Bugs-926892 ] videoinput: Can't mute card.: msg#00055

video.tvtime.devel

Subject: [ tvtime-Bugs-926892 ] videoinput: Can't mute card.

Bugs item #926892, was opened at 2004-03-31 14:11
Message generated for change (Comment added) made by vektor
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=506987&aid=926892&group_id=64301

Category: Capture and tuner related
Group: Open bugs in CVS tvtime
>Status: Closed
>Resolution: Invalid
Priority: 9
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Billy Biggs (vektor)
Summary: videoinput: Can't mute card.

Initial Comment:
$ tvtime
Spou¹tí se tvtime 0.9.12.
Ätení konfigurece z /usr/local/etc/tvtime/tvtime.xml
Ätení konfigurece z /home/bartonj/.tvtime/tvtime.xml
videoinput: Can't mute card. Post a bug report with your
videoinput: driver info to http://tvtime.net/
videoinput: Include this error: 'Invalid argument'

on MDK 9.2, vanilla kernel 2.4.25, saa7134 driver v 0.2.10

----------------------------------------------------------------------

>Comment By: Billy Biggs (vektor)
Date: 2004-06-23 23:44

Message:
Logged In: YES
user_id=153320

Marking this closed.

----------------------------------------------------------------------

Comment By: DjAARA (djaara)
Date: 2004-04-13 05:31

Message:
Logged In: YES
user_id=1013639

but it with xawtv work ok. hlavne ze to uz jede. huraaa.
sorry for czech language, but i don't know how to wrote it in english and it is
not
important... thank you

----------------------------------------------------------------------

Comment By: DjAARA (djaara)
Date: 2004-04-13 05:26

Message:
Logged In: YES
user_id=1013639

i patch kernel with v4l2 and is ok now. thx to all (leeal)

----------------------------------------------------------------------

Comment By: A. Lee (leeal)
Date: 2004-04-12 01:42

Message:
Logged In: YES
user_id=510889

vektor:
oops... stupid me...

now I take another look, the problem is that I incorrectly
assume that the snapshot/bttv tarball already contains the
v4l code, but in fact it doesn't.

So I guess the solution is to patch the kernel in addition
to the video4linux snapshot.

djaara:
Please forget about changing VIDIOC_S_CTRL. If you have not
apply the kernel patches like I did, try it.

----------------------------------------------------------------------

Comment By: Billy Biggs (vektor)
Date: 2004-04-11 20:10

Message:
Logged In: YES
user_id=153320

leeal: What driver is this from?

>From what I remember, the entry for S_CTRL changed, but Gerd
Knorr also added a compatibility thing in the driver to
handle programs that are linked. The kernel API cannot
change once it is released.

Can you find out what version of the kernel made this
change, or what drivers may be broken?

----------------------------------------------------------------------

Comment By: A. Lee (leeal)
Date: 2004-04-11 14:14

Message:
Logged In: YES
user_id=510889

vektor: I think djaara is the original poster.

anyways, I had a similar problem (no sound when using v4l2)
and the cause seems to be that some macros in videodev2.h
(in the driver) has changed and does not match the one in
tvtime's version of the include file.
i.e.,
in tvtime's videodev2.h:
#define VIDIOC_S_CTRL _IOW ('V', 28, struct
v4l2_control)

in current v4l2's videodev2.h:
#define VIDIOC_S_CTRL _IOWR ('V', 28, struct
v4l2_control)

In my case, I got sound again after I change this macro so
that the one in tvtime matches the one in the driver.


----------------------------------------------------------------------

Comment By: Billy Biggs (vektor)
Date: 2004-04-11 09:38

Message:
Logged In: YES
user_id=153320

leeal: Where is that source code change from ??? What's
going on here?

If you can't mute your card I bet there is a bug in the
driver. I won't be able to look into this until next month
though. :(

----------------------------------------------------------------------

Comment By: DjAARA (djaara)
Date: 2004-04-04 15:32

Message:
Logged In: YES
user_id=1013639

i changed the source code but there is the same error

----------------------------------------------------------------------

Comment By: A. Lee (leeal)
Date: 2004-04-03 03:04

Message:
Logged In: YES
user_id=510889

Try edit src/videodev2.h and change VIDIOC_S_CTRL from:
#define VIDIOC_S_CTRL _IOW ('V', 28, struct
v4l2_control)
to:
#define VIDIOC_S_CTRL _IOWR ('V', 28, struct
v4l2_control)

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=506987&aid=926892&group_id=64301


-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | Mail Home | sitemap | FAQ | advertise