I've currently set up my own apt repository at
http://innercirclemedia.com/apt to use this repository run the
following commands from the terminal:
wget -q http://innercirclemedia.com/apt/E96E8AC2.gpg -O- | sudo apt-key add -
Hardy
sudo wget http://innercirclemedia.com/apt/hardy.list -O
/etc/apt/sources.list.d/sn9c20x.list
Gutsy
sudo wget http://innercirclemedia.com/apt/gutsy.list -O
/etc/apt/sources.list.d/sn9c20x.list
sudo aptitude update
To install the driver use the following where <kernel flavour> is the
flavour of your kernel usually this will be generic
Hardy
sudo aptitude install sn9c20x-module-2.6.24-17-<kernel flavour>
Gutsy
sudo aptitude install sn9c20x-module-2.6.22-14-<kernel flavour>
I currently only have 32bit versions since i'm not suing a 64bit os
but you should still be able to checkout the source and then run
dpkg-buildpackage to build 64bit versions of these. If you do that sen
me the generated files and i can add them into the repository.
GWater
Also i added a set of metapackages based on kernel flavour called
sn9c20x-module-<flavour>
so now to install the package you should install the proper
metapackage which is set to depend on the right kernel and
sn9c20x-module packages
Gwater the -17 part of the pacakges name specifies the ABI
(Application Binary Interface) version of the ubuntu kernel. when
those numbers change it implies a change in the kernel's ABI so
modules should only be used with the ABI they were compiled against
mplayer tv:// -tv driver=v4l2:width=640:height=480:outfmt=i420:fps=30
Rather than applying that patch, can we find out why Cheese doesn't
work with it?
the 624f is NOT a VGA cam, it supports 1280x1024.
Dave
ACK.
The patch was mine, but I didn't realize that there was no resolution
switching (so, are all of our supported cam models only doing VGA,
then)?
I suppose we could revert the commit while we try to figure out what
the resolution switching protocol is (though, I was under the
impression that somebody had worked that out a long time ago -- I'll
have to go digging in the archives to see why I thought that).
Dave
BTW, I did test the code before I committed it, but only in the master
branch, and only with camorama -- where it did work.
Dave
That is a bug, right? We should never calculate the frame size based
on the max resolution a cam can support, we should keep track of the
requested resolution, and set the frame size based on that. In the
absence of the ability to actually successfully request any resolution
other than 640x480 we can just make that the global default resolution
and init the "requested" resolution to that value.
That's a better fix than reverting the patch, IMO, since the latter
loses valuable information (in this case, the max resolution the cam
can actually support).
If that sounds reasonable I'll try to whip a patch up as soon as I get
the time; since I don't have much time these days, if someone wants to
beat me to it, feel free :-)
Dave
That's why I suggested hard-coding the "requested" value right now at
640x480 (sorry if I was unclear about that).
> We really need to figure out how to do the hardware resolution
> swithci in order to fix this stuff up right.
Agreed. But in the meantime, it would be nice to have accurate info
about the cam models AND have the driver work at least as well as the
best it has ever worked.
Dave
its the bit in parenthesis that tell it which kernel version to use
you should change the -17 to a -16 for both those lines