Log in Register FAQ Memberlist Search pcHDTV Forum Index
pcHDTV Forum

pcHDTV Forum Index -> Driver Issues -> removed pair valve.....
Post new topic  Reply to topic View previous topic :: View next topic 
removed pair valve.....
PostPosted: Sat Nov 10, 2007 12:40 pm Reply with quote
helikart
 
Joined: 17 Feb 2007
Posts: 12




pep pills and coffee to stay awake and keep going! approach has a place. Opinions are neither The units have been very well reviewed and are considered to be very accurate. I wore an NL
that they can deal with their weight strictly by dieting. Sorry for the bad nonfluoridated communities ? preliminary investigation, Journal hyperinsulinemia, insulin resistance, and impaired glucose tolerance in the syrian
analysis of the entire proteome. Progress research projects, is the fact that most vac- Hematopoietic senescence is postponed and
When I purchased my DSII last December the only thing that was keeping out of the water other than the weather here in the Northeast was that the up-haul cable to the centerboard was broken. I spe


Last edited by helikart on Tue Sep 07, 2010 6:35 am; edited 2 times in total
View user's profile Send private message
PostPosted: Sat Nov 10, 2007 5:56 pm Reply with quote
waterhead
 
Joined: 24 Apr 2005
Posts: 299




I don't know where you got that source code, it seems to have a strange name.
Quote:
v4l-dvb-06ee8616def0

You should download the latest from the CVS/Mercurial of LinuxTv.org. Follow the instructiions on this page:
http://www.linuxtv.org/repo/

You will need hg installed first.

EDIT: Never mind. I clicked on the gz link when browsing the repository, and that is what you get.

Maybe getting it that way, something is missing. Try the hg method, and see if it makes a difference.
Code:
hg clone http://linuxtv.org/hg/v4l-dvb

_________________
Mythbuntu 8.04
Intel D875PBZ main board
Pentium4 3.06Ghz
1024GB RAM
nVidia 6600GT
pcHDTV HD-3000
Air2PC PCI
MythTV 0.21
View user's profile Send private message
PostPosted: Sun Nov 11, 2007 11:07 pm Reply with quote
helikart
 
Joined: 17 Feb 2007
Posts: 12




waterhead wrote:
I don't know where you got that source code, it seems to have a strange name.
Quote:
v4l-dvb-06ee8616def0

You should download the latest from the CVS/Mercurial of LinuxTv.org. Follow the instructiions on this page:
http://www.linuxtv.org/repo/

You will need hg installed first.

EDIT: Never mind. I clicked on the gz link when browsing the repository, and that is what you get.

Maybe getting it that way, something is missing. Try the hg method, and see if it makes a difference.
Code:
hg clone http://linuxtv.org/hg/v4l-dvb


Thanks for your reply! I tried it the way you suggested, but got same error Sad
I can't believe nobody else is having problems with this...

Tom
View user's profile Send private message
PostPosted: Mon Nov 12, 2007 4:50 am Reply with quote
waterhead
 
Joined: 24 Apr 2005
Posts: 299




Well the error is pretty specific. It could be a bug.

If you know anything about coding you could try and fix it. In looking at the file compat.c, it seems that the phrase "palette_to_pixelformat" is not referenced to prior to its use. In previous lines it is referred to as "__attribute_pure__palette_to_pixelformat" and "__attribute_const__pixelformat_to_palette".

So the error says that the function wasn't declared. From the little that I know about coding, This is a variable that need to be declare before it can be used.


Anyway, if you can't fix it and don't want to file a bug report, try an earlier version.


Last edited by waterhead on Sat Dec 01, 2007 4:52 am; edited 3 times in total

_________________
Mythbuntu 8.04
Intel D875PBZ main board
Pentium4 3.06Ghz
1024GB RAM
nVidia 6600GT
pcHDTV HD-3000
Air2PC PCI
MythTV 0.21
View user's profile Send private message
PostPosted: Mon Nov 12, 2007 4:58 am Reply with quote
waterhead
 
Joined: 24 Apr 2005
Posts: 299




I took a closer look, and see that there is an exclamation mark before palette_to_pixelformat in at least two lines. I think that this means that those lines are to be ignored, hence the error. Maybe remove those exclamation marks and try to compile again.

_________________
Mythbuntu 8.04
Intel D875PBZ main board
Pentium4 3.06Ghz
1024GB RAM
nVidia 6600GT
pcHDTV HD-3000
Air2PC PCI
MythTV 0.21
View user's profile Send private message
PostPosted: Mon Nov 12, 2007 3:15 pm Reply with quote
waterhead
 
Joined: 24 Apr 2005
Posts: 299




I've thought about this a bit. Since my source has the same exclamation point in the file, this shouldn't be a problem. I was able to compile my sources that I downloaded in May.

_________________
Mythbuntu 8.04
Intel D875PBZ main board
Pentium4 3.06Ghz
1024GB RAM
nVidia 6600GT
pcHDTV HD-3000
Air2PC PCI
MythTV 0.21
View user's profile Send private message
PostPosted: Mon Nov 12, 2007 3:27 pm Reply with quote
helikart
 
Joined: 17 Feb 2007
Posts: 12




waterhead wrote:
I've thought about this a bit. Since my source has the same exclamation point in the file, this shouldn't be a problem. I was able to compile my sources that I downloaded in May.


I looked at the code last night and I don't have any exclamation marks there. Before I read your comment I just went ahead and ended the problem line with a ';' and it compiled ( with a warning that the variable is unused ).
I haven't tried if the card works properly now or if something will be broken.
If you don't mind, would you post a part of your code around the problem line?

Thanks a lot.

Tom
View user's profile Send private message
PostPosted: Mon Nov 12, 2007 3:45 pm Reply with quote
waterhead
 
Joined: 24 Apr 2005
Posts: 299




Here's what I have. It starts on line 644
Code:
/*
       * V4L1 uses this ioctl to set both memory capture and overlay
       * pixel format, while V4L2 has two different ioctls for this.
       * Some cards may not support one or the other, and may support
       * different pixel formats for memory vs overlay.
       */

      fmt2 = kzalloc(sizeof(*fmt2),GFP_KERNEL);
      fmt2->type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
      err = drv(inode, file, VIDIOC_G_FMT, fmt2);
      /* If VIDIOC_G_FMT failed, then the driver likely doesn't
         support memory capture.  Trying to set the memory capture
         parameters would be pointless.  */
      if (err < 0) {
         dprintk("VIDIOCSPICT / VIDIOC_G_FMT: %d\n",err);
         mem_err = -1000;  /* didn't even try */
      } else if (fmt2->fmt.pix.pixelformat !=
          palette_to_pixelformat(pict->palette)) {
         fmt2->fmt.pix.pixelformat = palette_to_pixelformat(
            pict->palette);
         mem_err = drv(inode, file, VIDIOC_S_FMT, fmt2);
         if (mem_err < 0)
            dprintk("VIDIOCSPICT / VIDIOC_S_FMT: %d\n",
               mem_err);
      }

      err = drv(inode, file, VIDIOC_G_FBUF, &fbuf2)


I also found something about this searching the internet:
http://www.kernel.org/pub/linux/kernel/v2.6/testing/ChangeLog-2.6.22-rc1
Quote:
commit 6272e2667965dfb5b59199f462cd0f001fb304a6
Author: Christoph Hellwig <hch@lst.de>
Date: Tue May 8 00:29:21 2007 -0700

cleanup compat ioctl handling

Merge all compat ioctl handling into compat_ioctl.c instead of splitting it
over compat.c and compat_ioctl.c. This also allows to get rid of ioctl32.h

Signed-off-by: Christoph Hellwig <hch@lst.de>
Looks-good-to: Andi Kleen <ak@suse.de>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>

And this:

Quote:
commit d9de2622bd4fd29cab4ef7db66a9f916cb38e032
Author: Simon Horman <horms@verge.net.au>
Date: Thu May 10 11:51:11 2007 -0700

Allow compat_ioctl.c to compile without CONFIG_NET

A small regression appears to have been introduced in the recent patch
"cleanup compat ioctl handling", which was included in Linus' tree after
2.6.20.

siocdevprivate_ioctl() is no longer defined if CONFIG_NET is undefined,
whereas previously it was a dummy function in this case.

This causes compilation with CONFIG_COMPAT but without CONFIG_NET to fail.

fs/compat_ioctl.c: In function `compat_sys_ioctl':
fs/compat_ioctl.c:3571: warning: implicit declaration of function `siocdevprivate_ioctl'


I'm not sure if they are related to your problem. I am using kernel 2.6.18.8, I bet you are using a newer kernel.

_________________
Mythbuntu 8.04
Intel D875PBZ main board
Pentium4 3.06Ghz
1024GB RAM
nVidia 6600GT
pcHDTV HD-3000
Air2PC PCI
MythTV 0.21
View user's profile Send private message
PostPosted: Thu Nov 15, 2007 1:51 pm Reply with quote
blahmartinblah
 
Joined: 15 Nov 2007
Posts: 1




Hi. Found this searching for info in Google. I've got the same problem with Ubuntu feisty 7.04 running kernel 2.6.20-16-generic on an amd64 platform.

Anyone found a solution or seen this error discussed elsewhere?

Martin.
View user's profile Send private message
...
PostPosted: Sat Dec 01, 2007 4:28 am Reply with quote
hikaricore
 
Joined: 01 Dec 2007
Posts: 1




It would be nice if someone could be bothered to respond to this issue.

We have two possibilities here:

1. There is a problem which needs to be fixed for us to build/install the driver.
2. The driver isn't needed as later kernels already have a current version.

PICK ONE AND TELL US.

This place is about the worst support forum I have ever seen.

Thanks...
View user's profile Send private message
removed pair valve.....
  pcHDTV Forum Index -> Driver Issues
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 7 Hours  
Page 1 of 1  

  
  
 Post new topic  Reply to topic  


Powered by phpBB © 2001-2003 phpBB Group
Theme created by Vjacheslav Trushkin