bmike1
11-03-2002, 05:36 PM
I have a Logitech QuickCAM Pro 3000 with a USB connection that isn't working. How can I make it do so?
I run Linux 2.4.18-17.7.x RedHat 7.3 under a KDE 3.0.0-10 GUI / machine # i586
alcacic
11-05-2002, 12:04 AM
I have a QuickCam too. It works over USB. I can't remember how, but search on http://www.google.ca/linux for the driver.
z0mbix
11-05-2002, 05:13 AM
This site got my USB Quickcam working very well:
http://qce-ga.sourceforge.net/
bmike1
11-06-2002, 01:01 AM
Originally posted by cheeky_zombie
This site got my USB Quickcam working very well:
http://qce-ga.sourceforge.net/
I hate sounding less than intelligent! That link tells me to download two kernerls from the download page but after going there I find no link to downloadable programs. If I am supposed to download a file which needs to be compiled please tell me which I need to get and how to compile it.
Thanks.
ScRapZ_1
11-06-2002, 08:08 AM
Hmm, that link looks familiar cheeky_zombie ;)
...however, that link states that the 'Logitech Quickcam 3000 Pro' is NOT supported by thier driver. They do supply a link elsewhere, and going through it you will need this (http://www.smcc.demon.nl/webcam/pwc-8.8.tar.gz) - BUT there is a disclaimer stating that there have been many cases of it failing to compile with Redhat and 2.4 kernels... worth a try though ;)
TTFN,
Scrapz :p
z0mbix
11-06-2002, 08:11 AM
Originally posted by ScRapZ_1
Hmm, that link looks familiar cheeky_zombie ;)
That's right, didn't I give it to you a few months ago? :p
busa_blade
11-06-2002, 08:23 AM
if you have to compile it, you should already everything at your disposal (well there may be libraries to install) GCC comes with most if not all major linux distributions. It's probably as simple as decompressing the archive (using your favorite decompression tool Ark/FileRoller/'tar commandline'). Once you have done that, you should get into the directory of the archive and type
./configure
make
make install (should be run as root)
and that is it. :)
Warning: These are generic instructions.
bmike1
11-06-2002, 05:41 PM
Originally posted by busa_blade
if you have to compile it, you should already everything at your disposal (well there may be libraries to install) GCC comes with most if not all major linux distributions. It's probably as simple as decompressing the archive (using your favorite decompression tool Ark/FileRoller/'tar commandline'). Once you have done that, you should get into the directory of the archive and type
./configure
make
make install (should be run as root)
and that is it. :)
You think so? Well your link leads ultmately to souce code.
Here is an excerpt of one of the files I would need to compile:
/************************************************** **************************/
#define SendControlMsg(request, value, buflen) \
usb_control_msg(pdev->udev, usb_sndctrlpipe(pdev->udev, 0), \
request, \
USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE, \
value, \
pdev->vcinterface, \
&buf, buflen, HZ / 2)
#define RecvControlMsg(request, value, buflen) \
usb_control_msg(pdev->udev, usb_rcvctrlpipe(pdev->udev, 0), \
request, \
USB_DIR_IN | USB_TYPE_VENDOR | USB_RECIP_DEVICE, \
value, \
pdev->vcinterface, \
&buf, buflen, HZ / 2)
#if PWC_DEBUG
void pwc_hexdump(void *p, int len)
{
int i;
unsigned char *s;
char buf[100], *d;
s = (unsigned char *)p;
d = buf;
*d = '\0';
Debug("Doing hexdump @ %p, %d bytes.\n", p, len);
for (i = 0; i < len; i++) {
d += sprintf(d, "%02X ", *s++);
if ((i & 0xF) == 0xF) {
Debug("%s\n", buf);
d = buf;
*d = '\0';
}
}
if ((i & 0xF) != 0)
Debug("%s\n", buf);
}
#endif
static inline int send_video_command(struct usb_device *udev, int index, void *buf, int buflen)
{
return usb_control_msg(udev,
usb_sndctrlpipe(udev, 0),
SET_EP_STREAM_CTL,
USB_DIR_OUT | USB_TYPE_VENDOR | USB_RECIP_DEVICE,
VIDEO_OUTPUT_CONTROL_FORMATTER,
index,
buf, buflen, HZ);
}
static inline int set_video_mode_Nala(struct pwc_device *pdev, int size, int frames)
{
unsigned char buf[3];
int ret, fps;
struct Nala_table_entry *pEntry;
int frames2frames[31] =
{ /* closest match of framerate */
0, 0, 0, 0, 4, /* 0-4 */
5, 5, 7, 7, 10, /* 5-9 */
10, 10, 12, 12, 15, /* 10-14 */
15, 15, 15, 20, 20, /* 15-19 */
20, 20, 20, 24, 24, /* 20-24 */
24, 24, 24, 24, 24, /* 25-29 */
24 /* 30 */
};
int frames2table[31] =
{ 0, 0, 0, 0, 0, /* 0-4 */
1, 1, 1, 2, 2, /* 5-9 */
3, 3, 4, 4, 4, /* 10-14 */
5, 5, 5, 5, 5, /* 15-19 */
6, 6, 6, 6, 7, /* 20-24 */
7, 7, 7, 7, 7, /* 25-29 */
7 /* 30 */
};
if (size < 0 || size > PSZ_CIF || frames < 4 || frames > 25)
return -EINVAL;
frames = frames2frames[frames];
fps = frames2table[frames];
pEntry = &Nala_table[size][fps];
if (pEntry->alternate == 0)
return -EINVAL;
if (pEntry->compressed && pdev->decompressor == NULL)
return -ENOENT; /* Not supported. */
memcpy(buf, pEntry->
How do I compile this? Is GCC a compiler?... I just did a search on this site and see that it is. I also searced my kpackage list of installed packages (search input "gcc" and see I do not have this program. Could it possibly be listed under another name or else what could I use?
My system is RedHat 7.3 kernel 2.4.18-17.7.x with a KDE 3.0.0-10 environment on machine i586
busa_blade
11-07-2002, 11:59 AM
There are two ways to go with this. One would be to download the apt package from freshrpms.net.
Once you have this,
run the command (as root) 'apt upgrade' and it will upgrade it's list of the latest packages.
Next execute, 'apt-get -f install gcc' and it will download and install the latest version of gcc for you.
The other way would be to find the package on your install CDs and install that way.
mrBen
11-07-2002, 12:19 PM
GCC _will_ be on your RedHat 7.3 disks. It's usually among the other 'development' packages.
bmike1
11-07-2002, 06:00 PM
Originally posted by mrBen
GCC _will_ be on your RedHat 7.3 disks. It's usually among the other 'development' packages. Nope. It taint there. Never fear though! I'll get off of the web!