* QuickCam on DEC Multia @ 1999-07-08 4:21 Brendan Miller 1999-07-08 5:42 ` Brendan Miller 0 siblings, 1 reply; 9+ messages in thread From: Brendan Miller @ 1999-07-08 4:21 UTC (permalink / raw) To: video4linux-list, axp-list A few days ago someone posted (to the V4L list) about whether anyone had successfully used a Color QuickCam on Linux/Alpha. I tried this several months ago, asked some questions, was unsuccessful, and moved on to other things. But I tried to do it again last night. This is how far I got. Using kernel 2.2.3, the parport_probe, videodev, and c-qcam modules, I am able to detect the camera on the parallel port. Using xawtv, I get the following output: Script started on Wed Jul 7 21:17:54 1999 [root /local/public/src/qcam-alpha/xawtv-2.40]# ./xawtv -x This is xawtv-2.40, running on Linux/alpha (2.2.3) Warning: Cannot convert string "-*-ledfixed-medium-r-semicondensed--39-*" to type FontStruct x11: 1280x1024, 8 bit/pixel, 0 byte/scanline /dev/video: no overlay support v4l-conf had some trouble, trying to continue anyway v4l: device is Quickcam ioctl VIDIOCGFBUF: Invalid argument ioctl VIDIOCGMBUF: Invalid argument mmap: Invalid argument v4l: 0x0, 0 bit/pixel, 0 byte/scanline WARNING: v4l and dga disagree about the screen size WARNING: Is v4l-conf installed correctly? WARNING: v4l and dga disagree about the color depth WARNING: Is v4l-conf installed correctly? 8 0 WARNING: overlay mode disabled can't open config file /root/.xawtv Floating point exception (core dumped) [root /local/public/src/qcam-alpha/xawtv-2.40]# exit Script done on Wed Jul 7 21:18:12 1999 I got a message before saying that I couldn't use 8bit color (PseudoColor?) mode--that using the 8-bit greyscale mode (whatever that's called) would work--so I have started my X server with startx -- -cc StaticGray That raises another question: Does V4L require a particular video card? Maybe one that supports overlays? I'm looking at the message in my output above that says "overlay mode disabled". I'm using the builtin TGA (DEC 21030) video in the Multia. Any help? Brendan Miller ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: QuickCam on DEC Multia 1999-07-08 4:21 QuickCam on DEC Multia Brendan Miller @ 1999-07-08 5:42 ` Brendan Miller [not found] ` <378445F7.FC3E8A5@xmission.com> 0 siblings, 1 reply; 9+ messages in thread From: Brendan Miller @ 1999-07-08 5:42 UTC (permalink / raw) To: video4linux-list, axp-list Well, I tried something else yet. I tried webcam which is part of the xawtv-2.40 package. With this I was met with fewer errors, but alas, I am unable to make anything work. It seems that webcam.c makes use of the VIDIOCMCAPTURE and VIDIOCSYNC ioctls which the c-qcam module does not support. So I ask again: What application should be used for a QuickCam using video4linux? As a bonus, will this program work on the Alpha? Brendan ^ permalink raw reply [flat|nested] 9+ messages in thread
[parent not found: <378445F7.FC3E8A5@xmission.com>]
* Re: QuickCam on DEC Multia [not found] ` <378445F7.FC3E8A5@xmission.com> @ 1999-07-12 3:56 ` Brendan Miller 1999-07-12 8:26 ` Dr. David Gilbert 0 siblings, 1 reply; 9+ messages in thread From: Brendan Miller @ 1999-07-12 3:56 UTC (permalink / raw) To: video4linux-list; +Cc: axp-list On Thu, Jul 08, 1999 at 12:32:23AM -0600, Eric Jorgensen wrote: > > You could, err, *cough* try cqcam -- > http://www.cs.virginia.edu/~patrick/cqcam/ > I could, except this requires inb, which apparently doesn't exist in Linux/Alpha. At least last time I asked, no one could tell me which library to link with to resolve the unresolved external 'inb(unsigned long)'. Brendan ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: QuickCam on DEC Multia 1999-07-12 3:56 ` Brendan Miller @ 1999-07-12 8:26 ` Dr. David Gilbert 1999-07-12 10:36 ` phil-lists 1999-07-13 4:04 ` Brendan Miller 0 siblings, 2 replies; 9+ messages in thread From: Dr. David Gilbert @ 1999-07-12 8:26 UTC (permalink / raw) To: Brendan Miller; +Cc: axp-list On Sun, 11 Jul 1999, Brendan Miller wrote: > On Thu, Jul 08, 1999 at 12:32:23AM -0600, Eric Jorgensen wrote: > > > > You could, err, *cough* try cqcam -- > > http://www.cs.virginia.edu/~patrick/cqcam/ > > > > I could, except this requires inb, which apparently doesn't exist in > Linux/Alpha. At least last time I asked, no one could tell me which > library to link with to resolve the unresolved external 'inb(unsigned long)'. Try editing the code for the appropriate routine and adding a #include <asm/io.h> (I think it is there). inb does exist. Dave /------------------------------------------------------------------\ | Dr. David Alan Gilbert | Work: dg@px.uk.com (+44-161-286-2000) | | -------- G7FHJ --------|---------------------------------------- | | Home: dave@treblig.org http://www.treblig.demon.co.uk | \------------------------------------------------------------------/ ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: QuickCam on DEC Multia 1999-07-12 8:26 ` Dr. David Gilbert @ 1999-07-12 10:36 ` phil-lists 1999-07-13 4:04 ` Brendan Miller 1 sibling, 0 replies; 9+ messages in thread From: phil-lists @ 1999-07-12 10:36 UTC (permalink / raw) To: axp-list >Try editing the code for the appropriate routine and adding a > >#include <asm/io.h> > >(I think it is there). inb does exist. It's <sys/io.h> you need. I don't think the asm headers will work on platforms like Alpha and ARM. p. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: QuickCam on DEC Multia 1999-07-12 8:26 ` Dr. David Gilbert 1999-07-12 10:36 ` phil-lists @ 1999-07-13 4:04 ` Brendan Miller 1999-07-13 5:04 ` Ed Hall 1999-07-13 8:50 ` phil-lists 1 sibling, 2 replies; 9+ messages in thread From: Brendan Miller @ 1999-07-13 4:04 UTC (permalink / raw) To: Dr. David Gilbert; +Cc: axp-list On Mon, Jul 12, 1999 at 09:26:21AM +0100, Dr. David Gilbert wrote: > On Sun, 11 Jul 1999, Brendan Miller wrote: > > > On Thu, Jul 08, 1999 at 12:32:23AM -0600, Eric Jorgensen wrote: > > > > > > You could, err, *cough* try cqcam -- > > > http://www.cs.virginia.edu/~patrick/cqcam/ > > > > > > > I could, except this requires inb, which apparently doesn't exist in > > Linux/Alpha. At least last time I asked, no one could tell me which > > library to link with to resolve the unresolved external 'inb(unsigned long)'. > > Try editing the code for the appropriate routine and adding a > > #include <asm/io.h> > > (I think it is there). inb does exist. > It's a linker thing--an unresolved external--so I don't think adding a header file is going to help... Brendan ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: QuickCam on DEC Multia 1999-07-13 4:04 ` Brendan Miller @ 1999-07-13 5:04 ` Ed Hall 1999-07-13 8:50 ` phil-lists 1 sibling, 0 replies; 9+ messages in thread From: Ed Hall @ 1999-07-13 5:04 UTC (permalink / raw) To: Brendan Miller; +Cc: Dr. David Gilbert, axp-list > It's a linker thing--an unresolved external--so I don't think adding > a header file is going to help... Of course, if inb() is a macro (which it is), leaving out the header file which contains it (<asm/io.h>, in this case) will result in an undefined external. When the file is included, the "call" to inb() is macro-processed into appropriate inline instructions and no function call is made--and so no undefined external. Just one example of why the C pre-processor is evil. :-) -Ed ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: QuickCam on DEC Multia 1999-07-13 4:04 ` Brendan Miller 1999-07-13 5:04 ` Ed Hall @ 1999-07-13 8:50 ` phil-lists 1 sibling, 0 replies; 9+ messages in thread From: phil-lists @ 1999-07-13 8:50 UTC (permalink / raw) To: Brendan Miller; +Cc: Dr. David Gilbert, axp-list >> Try editing the code for the appropriate routine and adding a >> >> #include <asm/io.h> >> >> (I think it is there). inb does exist. >> > >It's a linker thing--an unresolved external--so I don't think adding >a header file is going to help... <sys/io.h> contains some #defines to map these functions to symbols that do exist. p. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: QuickCam on DEC Multia
@ 1999-07-08 4:18 Norman W. Schaeffler
0 siblings, 0 replies; 9+ messages in thread
From: Norman W. Schaeffler @ 1999-07-08 4:18 UTC (permalink / raw)
To: axp-list
I don't know if this will help, but on a x86 machine in our lab, we run a color QuickCam using cqcam-0.90pre7. The docs claim that people have gotten it working with Alpha, but the author does not have an Alpha machine, so he doesn't know for sure. According to the docs, the author is Patrick Reynolds (patrickr@virginia.edu).
Good Luck,
Norm
At 10:42 PM 7/7/99 -0700, you wrote:
>
>Well, I tried something else yet. I tried webcam which is part of the
>xawtv-2.40 package. With this I was met with fewer errors, but alas,
>I am unable to make anything work. It seems that webcam.c makes use
>of the VIDIOCMCAPTURE and VIDIOCSYNC ioctls which the c-qcam module
>does not support.
>
>So I ask again: What application should be used for a QuickCam using
>video4linux?
>
>As a bonus, will this program work on the Alpha?
>
>Brendan
>
>--
>To unsubscribe: send e-mail to axp-list-request@redhat.com with
>'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>
^ permalink raw reply [flat|nested] 9+ messages in threadend of thread, other threads:[~1999-07-13 9:08 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-07-08 4:21 QuickCam on DEC Multia Brendan Miller
1999-07-08 5:42 ` Brendan Miller
[not found] ` <378445F7.FC3E8A5@xmission.com>
1999-07-12 3:56 ` Brendan Miller
1999-07-12 8:26 ` Dr. David Gilbert
1999-07-12 10:36 ` phil-lists
1999-07-13 4:04 ` Brendan Miller
1999-07-13 5:04 ` Ed Hall
1999-07-13 8:50 ` phil-lists
-- strict thread matches above, loose matches on Subject: below --
1999-07-08 4:18 Norman W. Schaeffler
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox