osdir.com
mailing list archive

Subject: Flexcam 100 camera works with spcaview but not sane programs - msg#00005

List: linux.drivers.spca50x.devel

Date: Prev Next Index Thread: Prev Next Index
My wife sent away for a freebie PC camera that I've been trying to get
working in Fedora Core 4 (camera and environment details below).
Using spca5xx and spcaview I got everything working quite well (very
impressed with the whole thing, in fact). But my ultimate goal is to
access the camera through sane-enabled applications like scanimage and
xsane-gimp. This is possible, right?

Unfortunately, whenever I use any of the sane applications with this
camera I get a fatal error of "sane_start: Invalid argument". Looking
at /var/log/messages I see "VIDIOCMCAPTURE: invalid format (1)". In
short, I'm stuck -- I don't know where to go from here. Anyone have
any ideas?

Below is everything I know of that might be helpful. If you need
more, just say the word. Eternally grateful toward anyone who can
help...

Thanks,
Mike

Problem Details Follow:
## scanimage output ##
$ scanimage -L
device `v4l:/dev/video0' is a Noname Flexcam 100 Camera virtual device

$ scanimage -d v4l:/dev/video0
scanimage: sane_start: Invalid argument

## Camera ##
Description: Acuvue Advance (?) mail-in offer USB PC camera (my words)
Recognized as "Flexcam 100 Camera"

## My Environment ##
Kernel: 2.6.15-1.1833_FC4
OS: Fedora Core 4
CPU: Intel(R) Pentium(R) 4 Mobile CPU 2.00GHz
Driver version: spca5xx-20060402.tar.gz
Viewer version: spcaview-20051127.tar.gz
gcc version 4.0.2 20051125 (Red Hat 4.0.2-8)

## Modules ##
$ lsmod | grep spca
spca5xx 682384 0
videodev 9665 1 spca5xx

## Kernel Messages (after unsuccessful execution of "scanimage" command) ##
$ tail /var/log/messages
... snip ...
Apr 5 21:43:41 kernel:
/home/mike/Download/spca5xx-20060402/drivers/usb/spca561.h:
[spca561_init:469] Find spca561 USB Product ID 561
Apr 5 21:43:41 kernel:
/home/mike/Download/spca5xx-20060402/drivers/usb/spca561.h:
[spca561_init:469] Find spca561 USB Product ID 561
Apr 5 21:43:42 kernel:
/home/mike/Download/spca5xx-20060402/drivers/usb/spca5xx.c:
VIDIOCMCAPTURE: invalid format (1)

## Device Permissions ##
$ ls -la /dev | grep video
lrwxrwxrwx 1 root root 6 Apr 5 12:24 video -> video0
crw------- 1 mike root 81, 0 Apr 5 12:24 video0

## sane versions ##
$ rpm -qa | grep sane
libsane-hpaio-0.9.8-3.2
sane-backends-debuginfo-1.0.17-0.fc4.1
xsane-0.95-3
sane-frontends-1.0.13-2
xsane-gimp-0.95-3
sane-backends-1.0.17-0.fc4.1
sane-backends-devel-1.0.17-0.fc4.1

## USB Device Listing ##
$ cat /proc/bus/usb/devices
... snip ...
T: Bus=02 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.10 Cls=ff(vend.) Sub=ff Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=04fc ProdID=0561 Rev= 0.00
S: Manufacturer=Sunplus Technology Co., Ltd.
S: Product=Generic Digital camera
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=100mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 0 Ivl=1ms
I: If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 128 Ivl=1ms
I: If#= 0 Alt= 2 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 880 Ivl=1ms
I: If#= 0 Alt= 3 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 512 Ivl=1ms
I: If#= 0 Alt= 4 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 640 Ivl=1ms
I: If#= 0 Alt= 5 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 768 Ivl=1ms
I: If#= 0 Alt= 6 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 896 Ivl=1ms
I: If#= 0 Alt= 7 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS=1023 Ivl=1ms
I: If#= 0 Alt= 8 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 544 Ivl=1ms
I: If#= 0 Alt= 9 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 656 Ivl=1ms
I: If#= 0 Alt=10 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 704 Ivl=1ms
I: If#= 0 Alt=11 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 864 Ivl=1ms
I: If#= 0 Alt=12 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 960 Ivl=1ms
I: If#= 0 Alt=13 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=00 Driver=spca5xx
E: Ad=81(I) Atr=01(Isoc) MxPS= 845 Ivl=1ms
... snip ...

## Complete spcaview output ##
$ ./spcaview
Spcaview version: 1.1.4 date: 27:11:2005 (C) mxhaard@xxxxxxxx
Initializing SDL.
SDL initialized.
bpp 3 format 15
Using video device /dev/video0.
Initializing v4l.
**************** PROBING CAMERA *********************
Camera found: Flexcam 100 Camera
Bridge found: SPCA561
Bridge find SPCA561 number 9
StreamId: GBRG Camera
Bridge find SPCA561 number 9
Available Resolutions width 352 heigth 288 native
Available Resolutions width 320 heigth 240 native *
Available Resolutions width 176 heigth 144 native
Available Resolutions width 160 heigth 120 native
*****************************************************
grabbing method default MMAP asked
VIDIOCGMBUF size 2457616 frames 2 offets[0]=0 offsets[1]=1228808
VIDIOCGPICT
brightnes=1920 hue=54715 color=1 contrast=38464 whiteness=52988
depth=12 palette=15
VIDIOCSPICT
brightness=1920 hue=54715 color=1 contrast=38464 whiteness=52988
depth=24 palette=15


Used 165083ms for 1320 images => 125ms/image 7fps.
Quiting SDL.
Decoded frames:1320 Average decode time: 3.000000
unmapping
closing
closed
Destroy Picture thread ...
Quiting....


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642


Was this page helpful?
Yes No
Thread at a glance:

Previous Message by Date: click to view message preview

Re: no accepting address and /dev/video0

Thanks for your replies. Michel: I have basically tried everything I can think of by now. I have tried both USB sockets and there are no other USB devices connected (only my wireless card is connected). I tried to connect my USB external hard drive which works fine but the camera wont work. I created manually /dev/video* directories, with mknod /dev/video0 c 81 0 mknod /dev/video1 c 81 1 chmod a+rw /dev/video0 ln -s /dev/video0 /dev/video as root. But that did not help. When I google the error message kernel: usb 2-1: new full speed USB device using uhci_hcd and address usb 2-1: device not accepting address 58, error -71 it looks like a lot of people have had this error for many different reasons, but I have not found a working fix for this. I have tried to reinstall the spca5xx driver but that did not help. I have set the permissions I got this error when opening gnomemeeting (maybe this is relevant?): Error while starting the listener You will not be able to receive incoming calls. Please check that no other program is already running on the port used by GnomeMeeting. Might this (from linux-usb.org) be relevant: A:In the 2.6.10 kernel the method of enumerating devices was changed to follow a similar algorithm as Windows (while the standard allows both many devices require the Windows method). It seems some devices do not like this new method though. If you have started having a problem since this kernel with some of your devices you might want to use the option "old_scheme_first=y" with the usbcore module. Finally, I am not sure that my /proc/bus/usb/devices file is showing the correct info. It has three blocks of info even when no device is connected to the computer. Should I perhaps delete all contents in devices (but I am not sure how to do that, the file is probably critical for running processes). The contents of devices is: T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1d.2 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1d.1 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1d.0 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms Thomas: I am not sure that the camera is already broken, I just started using it, but I will test your thoery on Monday using Windows and see if the camera works there. Can you think of any more things to try. And can you recommend some debug methods so I can look into this in more detail... Thanks, Bjorn. - Show quoted text - On 01/04/06, michel Xhaard <mxhaard@xxxxxxx> wrote: > Le Samedi 1 Avril 2006 20:45, Bjorn A Hauksson a écrit: > > Dear webcam experts, > > > > First after I installed the spca driver it worked fine in > > gnomemeeting. Then two days later the camera stopped working. I get > > the error device not accepting address in the system log (see below). > > I have updated the kernel and tried changing the BIOS settings in line > > with recommendation on http://www.linux-usb.org/FAQ.html#ts6 but > > neither worked. I have tried to use modprobe spca5xx usbgrabber=1 as > > recommended on > > http://www.fedoraforum.org/forum/archive/index.php/t-54683.html, but it did > > not help. I have tried to disable acpi but that did not work. > > > > Many thanks, > > Bjorn. > > > > Kernel: 2.6.12.x > > Webcam: Quickcam Express Logitech > > OS: Fedora core 3 > > Driver: spca5xx-20060301 > > > > System log: > > Apr 1 15:37:33 localhost kernel: usb 2-1: new full speed USB device > > using uhci_hcd and address 6 > > Apr 1 15:37:34 localhost kernel: usb 2-1: device descriptor read/64, error > > -71 Apr 1 15:37:34 localhost kernel: usb 2-1: device descriptor read/64, > > error -71 Apr 1 15:37:34 localhost kernel: usb 2-1: new full speed USB > > device using uhci_hcd and address 7 > > Apr 1 15:37:34 localhost kernel: usb 2-1: device descriptor read/64, error > > -71 Apr 1 15:37:34 localhost kernel: usb 2-1: device descriptor read/64, > > error -71 Apr 1 15:37:34 localhost kernel: usb 2-1: new full speed USB > > device using uhci_hcd and address 8 > > Apr 1 15:37:35 localhost kernel: usb 2-1: device not accepting > > address 8, error -71 > > Apr 1 15:37:35 localhost kernel: usb 2-1: new full speed USB device > > using uhci_hcd and address 9 > > Apr 1 15:37:35 localhost kernel: usb 2-1: device not accepting > > address 9, error -71 > > > > ################################ > > > > When I tried using the spcaview I found out that /dev/video0 does not > > exist, $ ll /dev/video0 > > ls: /dev/video0: No such file or directory > > > > [root@localhost webcam]# spcaview > > Spcaview version: 1.1.5 date: 12:12:2005 (C) mxhaard@xxxxxxxx > > Initializing SDL. > > SDL initialized. > > bpp 3 format 15 > > Using video device /dev/video0. > > Initializing v4l. > > ERROR opening V4L interface > > > > : No such file or directory > > > > ################################ > > > > > > > > [root@localhost webcam]# /sbin/lsmod > > Module Size Used by > > spca5xx 679952 0 > > videodev 9537 1 spca5xx > > nls_utf8 2113 1 > > i915 18753 1 > > drm 68949 2 i915 > > parport_pc 28293 1 > > lp 12873 0 > > parport 40073 2 parport_pc,lp > > autofs4 28229 0 > > sunrpc 164229 1 > > orinoco_cs 10185 1 > > orinoco 54741 1 orinoco_cs > > hermes 7105 2 orinoco_cs,orinoco > > pcmcia 28897 3 orinoco_cs > > ipt_REJECT 5441 1 > > ipt_state 1857 1 > > ip_conntrack 41369 1 ipt_state > > iptable_filter 2881 1 > > ip_tables 19521 3 ipt_REJECT,ipt_state,iptable_filter > > dm_mod 57333 0 > > video 15685 0 > > button 4033 0 > > battery 9285 0 > > ac 4805 0 > > md5 4033 1 > > ipv6 262977 10 > > yenta_socket 21705 2 > > rsrc_nonstatic 12737 1 yenta_socket > > pcmcia_core 50013 4 > > orinoco_cs,pcmcia,yenta_socket,rsrc_nonstatic uhci_hcd 35025 > > 0 > > i2c_i801 8653 0 > > i2c_core 21313 1 i2c_i801 > > snd_intel8x0m 19333 2 > > snd_intel8x0 34177 2 > > snd_ac97_codec 74937 2 snd_intel8x0m,snd_intel8x0 > > snd_pcm_oss 50673 0 > > snd_mixer_oss 17729 3 snd_pcm_oss > > snd_pcm 98889 4 > > snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss > > snd_timer 32837 1 snd_pcm > > snd 57285 11 > > snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm > >,snd _timer > > soundcore 10785 3 snd > > snd_page_alloc 9669 3 snd_intel8x0m,snd_intel8x0,snd_pcm > > e100 48705 0 > > mii 5569 1 e100 > > floppy 64629 0 > > ext3 130633 3 > > jbd 83161 1 ext3 > > > > > > /proc/bus/usb/devices (when only the webcam connected to usb): > > T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > P: Vendor=0000 ProdID=0000 Rev= 2.06 > > S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd > > S: Product=UHCI Host Controller > > S: SerialNumber=0000:00:1d.2 > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > > > T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > P: Vendor=0000 ProdID=0000 Rev= 2.06 > > S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd > > S: Product=UHCI Host Controller > > S: SerialNumber=0000:00:1d.1 > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > > > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > P: Vendor=0000 ProdID=0000 Rev= 2.06 > > S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd > > S: Product=UHCI Host Controller > > S: SerialNumber=0000:00:1d.0 > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > ~ > > > > > > [root@localhost webcam]# vim /proc/bus/input/devices: > > > > I: Bus=0011 Vendor=0001 Product=0001 Version=ab41 > > N: Name="AT Translated Set 2 keyboard" > > P: Phys=isa0060/serio0/input0 > > H: Handlers=kbd event0 > > B: EV=120013 > > B: KEY=4 2000078 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe > > B: MSC=10 > > B: LED=7 > > > > I: Bus=0011 Vendor=0002 Product=0001 Version=0000 > > N: Name="PS/2 Generic Mouse" > > P: Phys=isa0060/serio4/input0 > > H: Handlers=mouse0 event1 > > B: EV=7 > > B: KEY=70000 0 0 0 0 0 0 0 0 > > B: REL=3 > > > > > > [root@localhost webcam]# /sbin/lspci -vn: > > 00:00.0 Class 0600: 8086:3575 (rev 04) > > Subsystem: 1014:1017 > > Flags: bus master, fast devsel, latency 0 > > Memory at <unassigned> (32-bit, prefetchable) > > Capabilities: [40] Vendor Specific Information > > > > 00:02.0 Class 0300: 8086:3577 (rev 04) > > Subsystem: 1014:0505 > > Flags: bus master, fast devsel, latency 0, IRQ 11 > > Memory at 98000000 (32-bit, prefetchable) [size=128M] > > Memory at 90100000 (32-bit, non-prefetchable) [size=512K] > > Capabilities: [d0] Power Management version 1 > > > > 00:02.1 Class 0380: 8086:3577 > > Subsystem: 1014:0505 > > Flags: bus master, fast devsel, latency 0 > > Memory at 88000000 (32-bit, prefetchable) [size=128M] > > Memory at 80200000 (32-bit, non-prefetchable) [size=512K] > > Capabilities: [d0] Power Management version 1 > > > > 00:1d.0 Class 0c03: 8086:2482 (rev 02) > > Subsystem: 1014:1017 > > Flags: bus master, medium devsel, latency 0, IRQ 11 > > I/O ports at a4a0 [size=32] > > > > 00:1d.1 Class 0c03: 8086:2484 (rev 02) > > Subsystem: 1014:1017 > > Flags: bus master, medium devsel, latency 0, IRQ 11 > > I/O ports at a4e0 [size=32] > > > > 00:1d.1 Class 0c03: 8086:2484 (rev 02) > > Subsystem: 1014:1017 > > Flags: bus master, medium devsel, latency 0, IRQ 11 > > I/O ports at a4e0 [size=32] > > > > > > 00:1d.2 Class 0c03: 8086:2487 (rev 02) > > Subsystem: 1014:1017 > > Flags: bus master, medium devsel, latency 0, IRQ 11 > > I/O ports at a800 [size=32] > > > > 00:1e.0 Class 0604: 8086:2448 (rev 42) > > Flags: bus master, fast devsel, latency 0 > > Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 > > I/O behind bridge: 00007000-00007fff > > Memory behind bridge: 80100000-801fffff > > > > 00:1f.0 Class 0601: 8086:248c (rev 02) > > Flags: bus master, medium devsel, latency 0 > > > > 00:1f.1 Class 0101: 8086:248a (rev 02) (prog-if 8a [Master SecP PriP]) > > Subsystem: 1014:1017 > > Flags: bus master, medium devsel, latency 0, IRQ 255 > > I/O ports at <ignored> > > I/O ports at <ignored> > > I/O ports at <ignored> > > I/O ports at <ignored> > > I/O ports at a890 [size=16] > > Memory at 10000000 (32-bit, non-prefetchable) [size=1K] > > > > > > > > > > > > 00:1f.3 Class 0c05: 8086:2483 (rev 02) > > Subsystem: 1014:1017 > > Flags: medium devsel, IRQ 11 > > I/O ports at 8000 [size=32] > > > > 00:1f.5 Class 0401: 8086:2485 (rev 02) > > Subsystem: 1014:0500 > > Flags: bus master, medium devsel, latency 0, IRQ 11 > > I/O ports at 9800 [size=256] > > I/O ports at 9c00 [size=64] > > > > 00:1f.6 Class 0703: 8086:2486 (rev 02) > > Subsystem: 1014:0503 > > Flags: bus master, medium devsel, latency 0, IRQ 11 > > I/O ports at a000 [size=256] > > I/O ports at a400 [size=128] > > > > 01:08.0 Class 0200: 8086:1031 (rev 42) > > Subsystem: 1014:1031 > > Flags: bus master, medium devsel, latency 66, IRQ 11 > > Memory at 80100000 (32-bit, non-prefetchable) [size=4K] > > I/O ports at 7000 [size=64] > > Capabilities: [dc] Power Management version 2 > > > > 01:09.0 Class 0607: 104c:ac50 (rev 02) > > Subsystem: 1014:1017 > > Flags: bus master, medium devsel, latency 168, IRQ 11 > > Memory at 10001000 (32-bit, non-prefetchable) [size=4K] > > Bus: primary=01, secondary=02, subordinate=05, sec-latency=176 > > Memory window 0: 10400000-107ff000 (prefetchable) > > Memory window 1: 10800000-10bff000 > > I/O window 0: 00004000-000040ff > > I/O window 1: 00004400-000044ff > > 16-bit legacy interface ports at 0001 > > > > > Bjorn, > usbgrabber=1 is only usefull if your webcam is a Intel one or you used a usb > to video adaptator . > the problem with error -71 (protocol error) seem to be a problem with the usb > layer. > have you try to change the usb socket ? > Is there some others usb devices connected ? try to remove all > have you try to used a usb key for example to see if your usb is working ? > regards > -- > Michel Xhaard > http://mxhaard.free.fr > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Spca50x-devs mailing list > Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/spca50x-devs > Reply Forward Bjorn A Hauksson to spca50x-devs More options 03:29 (9 hours ago) I got this error when opening gnomemeeting (maybe this is relevant?): Error while starting the listener You will not be able to receive incoming calls. Please check that no other program is already running on the port used by GnomeMeeting. Might this (from linux-usb.org) be relevant: A:In the 2.6.10 kernel the method of enumerating devices was changed to follow a similar algorithm as Windows (while the standard allows both many devices require the Windows method). It seems some devices do not like this new method though. If you have started having a problem since this kernel with some of your devices you might want to use the option "old_scheme_first=y" with the usbcore module. Finally, I am not sure that my /proc/bus/usb/devices file is showing the correct info. It has three blocks of info even when no device is connected to the computer. Should I perhaps delete all contents in devices (but I am not sure how to do that, the file is probably critical for running processes). The contents of devices is: - Show quoted text - T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1d.2 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1d.1 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1d.0 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms Thanks, Bjorn. On 01/04/06, michel Xhaard <mxhaard@xxxxxxx> wrote: > Le Samedi 1 Avril 2006 20:45, Bjorn A Hauksson a écrit: > > Dear webcam experts, > > > > First after I installed the spca driver it worked fine in > > gnomemeeting. Then two days later the camera stopped working. I get > > the error device not accepting address in the system log (see below). > > I have updated the kernel and tried changing the BIOS settings in line > > with recommendation on http://www.linux-usb.org/FAQ.html#ts6 but > > neither worked. I have tried to use modprobe spca5xx usbgrabber=1 as > > recommended on > > http://www.fedoraforum.org/forum/archive/index.php/t-54683.html, but it did > > not help. I have tried to disable acpi but that did not work. > > > > Many thanks, > > Bjorn. > > > > Kernel: 2.6.12.x > > Webcam: Quickcam Express Logitech > > OS: Fedora core 3 > > Driver: spca5xx-20060301 > > > > System log: > > Apr 1 15:37:33 localhost kernel: usb 2-1: new full speed USB device > > using uhci_hcd and address 6 > > Apr 1 15:37:34 localhost kernel: usb 2-1: device descriptor read/64, error > > -71 Apr 1 15:37:34 localhost kernel: usb 2-1: device descriptor read/64, > > error -71 Apr 1 15:37:34 localhost kernel: usb 2-1: new full speed USB > > device using uhci_hcd and address 7 > > Apr 1 15:37:34 localhost kernel: usb 2-1: device descriptor read/64, error > > -71 Apr 1 15:37:34 localhost kernel: usb 2-1: device descriptor read/64, > > error -71 Apr 1 15:37:34 localhost kernel: usb 2-1: new full speed USB > > device using uhci_hcd and address 8 > > Apr 1 15:37:35 localhost kernel: usb 2-1: device not accepting > > address 8, error -71 > > Apr 1 15:37:35 localhost kernel: usb 2-1: new full speed USB device > > using uhci_hcd and address 9 > > Apr 1 15:37:35 localhost kernel: usb 2-1: device not accepting > > address 9, error -71 > > > > ################################ > > > > When I tried using the spcaview I found out that /dev/video0 does not > > exist, $ ll /dev/video0 > > ls: /dev/video0: No such file or directory > > > > [root@localhost webcam]# spcaview > > Spcaview version: 1.1.5 date: 12:12:2005 (C) mxhaard@xxxxxxxx > > Initializing SDL. > > SDL initialized. > > bpp 3 format 15 > > Using video device /dev/video0. > > Initializing v4l. > > ERROR opening V4L interface > > > > : No such file or directory > > > > ################################ > > > > > > > > [root@localhost webcam]# /sbin/lsmod > > Module Size Used by > > spca5xx 679952 0 > > videodev 9537 1 spca5xx > > nls_utf8 2113 1 > > i915 18753 1 > > drm 68949 2 i915 > > parport_pc 28293 1 > > lp 12873 0 > > parport 40073 2 parport_pc,lp > > autofs4 28229 0 > > sunrpc 164229 1 > > orinoco_cs 10185 1 > > orinoco 54741 1 orinoco_cs > > hermes 7105 2 orinoco_cs,orinoco > > pcmcia 28897 3 orinoco_cs > > ipt_REJECT 5441 1 > > ipt_state 1857 1 > > ip_conntrack 41369 1 ipt_state > > iptable_filter 2881 1 > > ip_tables 19521 3 ipt_REJECT,ipt_state,iptable_filter > > dm_mod 57333 0 > > video 15685 0 > > button 4033 0 > > battery 9285 0 > > ac 4805 0 > > md5 4033 1 > > ipv6 262977 10 > > yenta_socket 21705 2 > > rsrc_nonstatic 12737 1 yenta_socket > > pcmcia_core 50013 4 > > orinoco_cs,pcmcia,yenta_socket,rsrc_nonstatic uhci_hcd 35025 > > 0 > > i2c_i801 8653 0 > > i2c_core 21313 1 i2c_i801 > > snd_intel8x0m 19333 2 > > snd_intel8x0 34177 2 > > snd_ac97_codec 74937 2 snd_intel8x0m,snd_intel8x0 > > snd_pcm_oss 50673 0 > > snd_mixer_oss 17729 3 snd_pcm_oss > > snd_pcm 98889 4 > > snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss > > snd_timer 32837 1 snd_pcm > > snd 57285 11 > > snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm > >,snd _timer > > soundcore 10785 3 snd > > snd_page_alloc 9669 3 snd_intel8x0m,snd_intel8x0,snd_pcm > > e100 48705 0 > > mii 5569 1 e100 > > floppy 64629 0 > > ext3 130633 3 > > jbd 83161 1 ext3 > > > > > > /proc/bus/usb/devices (when only the webcam connected to usb): > > T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > P: Vendor=0000 ProdID=0000 Rev= 2.06 > > S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd > > S: Product=UHCI Host Controller > > S: SerialNumber=0000:00:1d.2 > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > > > T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > P: Vendor=0000 ProdID=0000 Rev= 2.06 > > S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd > > S: Product=UHCI Host Controller > > S: SerialNumber=0000:00:1d.1 > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > > > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > > D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > > P: Vendor=0000 ProdID=0000 Rev= 2.06 > > S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd > > S: Product=UHCI Host Controller > > S: SerialNumber=0000:00:1d.0 > > C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA > > I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub > > E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms > > ~ > > > > > > [root@localhost webcam]# vim /proc/bus/input/devices: > > > > I: Bus=0011 Vendor=0001 Product=0001 Version=ab41 > > N: Name="AT Translated Set 2 keyboard" > > P: Phys=isa0060/serio0/input0 > > H: Handlers=kbd event0 > > B: EV=120013 > > B: KEY=4 2000078 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe > > B: MSC=10 > > B: LED=7 > > > > I: Bus=0011 Vendor=0002 Product=0001 Version=0000 > > N: Name="PS/2 Generic Mouse" > > P: Phys=isa0060/serio4/input0 > > H: Handlers=mouse0 event1 > > B: EV=7 > > B: KEY=70000 0 0 0 0 0 0 0 0 > > B: REL=3 > > > > > > [root@localhost webcam]# /sbin/lspci -vn: > > 00:00.0 Class 0600: 8086:3575 (rev 04) > > Subsystem: 1014:1017 > > Flags: bus master, fast devsel, latency 0 > > Memory at <unassigned> (32-bit, prefetchable) > > Capabilities: [40] Vendor Specific Information > > > > 00:02.0 Class 0300: 8086:3577 (rev 04) > > Subsystem: 1014:0505 > > Flags: bus master, fast devsel, latency 0, IRQ 11 > > Memory at 98000000 (32-bit, prefetchable) [size=128M] > > Memory at 90100000 (32-bit, non-prefetchable) [size=512K] > > Capabilities: [d0] Power Management version 1 > > > > 00:02.1 Class 0380: 8086:3577 > > Subsystem: 1014:0505 > > Flags: bus master, fast devsel, latency 0 > > Memory at 88000000 (32-bit, prefetchable) [size=128M] > > Memory at 80200000 (32-bit, non-prefetchable) [size=512K] > > Capabilities: [d0] Power Management version 1 > > > > 00:1d.0 Class 0c03: 8086:2482 (rev 02) > > Subsystem: 1014:1017 > > Flags: bus master, medium devsel, latency 0, IRQ 11 > > I/O ports at a4a0 [size=32] > > > > 00:1d.1 Class 0c03: 8086:2484 (rev 02) > > Subsystem: 1014:1017 > > Flags: bus master, medium devsel, latency 0, IRQ 11 > > I/O ports at a4e0 [size=32] > > > > 00:1d.1 Class 0c03: 8086:2484 (rev 02) > > Subsystem: 1014:1017 > > Flags: bus master, medium devsel, latency 0, IRQ 11 > > I/O ports at a4e0 [size=32] > > > > > > 00:1d.2 Class 0c03: 8086:2487 (rev 02) > > Subsystem: 1014:1017 > > Flags: bus master, medium devsel, latency 0, IRQ 11 > > I/O ports at a800 [size=32] > > > > 00:1e.0 Class 0604: 8086:2448 (rev 42) > > Flags: bus master, fast devsel, latency 0 > > Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 > > I/O behind bridge: 00007000-00007fff > > Memory behind bridge: 80100000-801fffff > > > > 00:1f.0 Class 0601: 8086:248c (rev 02) > > Flags: bus master, medium devsel, latency 0 > > > > 00:1f.1 Class 0101: 8086:248a (rev 02) (prog-if 8a [Master SecP PriP]) > > Subsystem: 1014:1017 > > Flags: bus master, medium devsel, latency 0, IRQ 255 > > I/O ports at <ignored> > > I/O ports at <ignored> > > I/O ports at <ignored> > > I/O ports at <ignored> > > I/O ports at a890 [size=16] > > Memory at 10000000 (32-bit, non-prefetchable) [size=1K] > > > > > > > > > > > > 00:1f.3 Class 0c05: 8086:2483 (rev 02) > > Subsystem: 1014:1017 > > Flags: medium devsel, IRQ 11 > > I/O ports at 8000 [size=32] > > > > 00:1f.5 Class 0401: 8086:2485 (rev 02) > > Subsystem: 1014:0500 > > Flags: bus master, medium devsel, latency 0, IRQ 11 > > I/O ports at 9800 [size=256] > > I/O ports at 9c00 [size=64] > > > > 00:1f.6 Class 0703: 8086:2486 (rev 02) > > Subsystem: 1014:0503 > > Flags: bus master, medium devsel, latency 0, IRQ 11 > > I/O ports at a000 [size=256] > > I/O ports at a400 [size=128] > > > > 01:08.0 Class 0200: 8086:1031 (rev 42) > > Subsystem: 1014:1031 > > Flags: bus master, medium devsel, latency 66, IRQ 11 > > Memory at 80100000 (32-bit, non-prefetchable) [size=4K] > > I/O ports at 7000 [size=64] > > Capabilities: [dc] Power Management version 2 > > > > 01:09.0 Class 0607: 104c:ac50 (rev 02) > > Subsystem: 1014:1017 > > Flags: bus master, medium devsel, latency 168, IRQ 11 > > Memory at 10001000 (32-bit, non-prefetchable) [size=4K] > > Bus: primary=01, secondary=02, subordinate=05, sec-latency=176 > > Memory window 0: 10400000-107ff000 (prefetchable) > > Memory window 1: 10800000-10bff000 > > I/O window 0: 00004000-000040ff > > I/O window 1: 00004400-000044ff > > 16-bit legacy interface ports at 0001 > > > > > Bjorn, > usbgrabber=1 is only usefull if your webcam is a Intel one or you used a usb > to video adaptator . > the problem with error -71 (protocol error) seem to be a problem with the usb > layer. > have you try to change the usb socket ? > Is there some others usb devices connected ? try to remove all > have you try to used a usb key for example to see if your usb is working ? > regards > -- > Michel Xhaard > http://mxhaard.free.fr > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting language > that extends applications into web and mobile media. Attend the live webcast > and join the prime developer group breaking into this new coding territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid0944&bid$1720&dat1642 > _______________________________________________ > Spca50x-devs mailing list > Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx > https://lists.sourceforge.net/lists/listinfo/spca50x-devs > ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642

Next Message by Date: click to view message preview

Re: Flexcam 100 camera works with spcaview but not sane programs

On Wed, 2006-04-05 at 22:59 -0500, Mike Laughton wrote: > My wife sent away for a freebie PC camera that I've been trying to get > working in Fedora Core 4 (camera and environment details below). > Using spca5xx and spcaview I got everything working quite well (very > impressed with the whole thing, in fact). But my ultimate goal is to > access the camera through sane-enabled applications like scanimage and > xsane-gimp. This is possible, right? > > Unfortunately, whenever I use any of the sane applications with this > camera I get a fatal error of "sane_start: Invalid argument". Looking > at /var/log/messages I see "VIDIOCMCAPTURE: invalid format (1)". In > short, I'm stuck -- I don't know where to go from here. Anyone have > any ideas? > > Below is everything I know of that might be helpful. If you need > more, just say the word. Eternally grateful toward anyone who can > help... > > Thanks, > Mike > <lines deleted> > Did you try xcam, also with scanimage you need to give some options like scanimage -B -d stv680:libusb:001:002 --batch=out.ppm --batch-count 5 --mode "Color RGB" For the v4l backend it will be different with --mode "Color RGB" you select the size of the image, check with scanimage -d v4l -h your -mode options. -- -------- m.vr.gr. Gerard Klaver ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642

Previous Message by Thread: click to view message preview

no accepting address and /dev/video0

Dear webcam experts, First after I installed the spca driver it worked fine in gnomemeeting. Then two days later the camera stopped working. I get the error device not accepting address in the system log (see below). I have updated the kernel and tried changing the BIOS settings in line with recommendation on http://www.linux-usb.org/FAQ.html#ts6 but neither worked. I have tried to use modprobe spca5xx usbgrabber=1 as recommended on http://www.fedoraforum.org/forum/archive/index.php/t-54683.html, but it did not help. I have tried to disable acpi but that did not work. Many thanks, Bjorn. Kernel: 2.6.12.x Webcam: Quickcam Express Logitech OS: Fedora core 3 Driver: spca5xx-20060301 System log: Apr 1 15:37:33 localhost kernel: usb 2-1: new full speed USB device using uhci_hcd and address 6 Apr 1 15:37:34 localhost kernel: usb 2-1: device descriptor read/64, error -71 Apr 1 15:37:34 localhost kernel: usb 2-1: device descriptor read/64, error -71 Apr 1 15:37:34 localhost kernel: usb 2-1: new full speed USB device using uhci_hcd and address 7 Apr 1 15:37:34 localhost kernel: usb 2-1: device descriptor read/64, error -71 Apr 1 15:37:34 localhost kernel: usb 2-1: device descriptor read/64, error -71 Apr 1 15:37:34 localhost kernel: usb 2-1: new full speed USB device using uhci_hcd and address 8 Apr 1 15:37:35 localhost kernel: usb 2-1: device not accepting address 8, error -71 Apr 1 15:37:35 localhost kernel: usb 2-1: new full speed USB device using uhci_hcd and address 9 Apr 1 15:37:35 localhost kernel: usb 2-1: device not accepting address 9, error -71 ################################ When I tried using the spcaview I found out that /dev/video0 does not exist, $ ll /dev/video0 ls: /dev/video0: No such file or directory [root@localhost webcam]# spcaview Spcaview version: 1.1.5 date: 12:12:2005 (C) mxhaard@xxxxxxxx Initializing SDL. SDL initialized. bpp 3 format 15 Using video device /dev/video0. Initializing v4l. ERROR opening V4L interface : No such file or directory ################################ [root@localhost webcam]# /sbin/lsmod Module Size Used by spca5xx 679952 0 videodev 9537 1 spca5xx nls_utf8 2113 1 i915 18753 1 drm 68949 2 i915 parport_pc 28293 1 lp 12873 0 parport 40073 2 parport_pc,lp autofs4 28229 0 sunrpc 164229 1 orinoco_cs 10185 1 orinoco 54741 1 orinoco_cs hermes 7105 2 orinoco_cs,orinoco pcmcia 28897 3 orinoco_cs ipt_REJECT 5441 1 ipt_state 1857 1 ip_conntrack 41369 1 ipt_state iptable_filter 2881 1 ip_tables 19521 3 ipt_REJECT,ipt_state,iptable_filter dm_mod 57333 0 video 15685 0 button 4033 0 battery 9285 0 ac 4805 0 md5 4033 1 ipv6 262977 10 yenta_socket 21705 2 rsrc_nonstatic 12737 1 yenta_socket pcmcia_core 50013 4 orinoco_cs,pcmcia,yenta_socket,rsrc_nonstatic uhci_hcd 35025 0 i2c_i801 8653 0 i2c_core 21313 1 i2c_i801 snd_intel8x0m 19333 2 snd_intel8x0 34177 2 snd_ac97_codec 74937 2 snd_intel8x0m,snd_intel8x0 snd_pcm_oss 50673 0 snd_mixer_oss 17729 3 snd_pcm_oss snd_pcm 98889 4 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_timer 32837 1 snd_pcm snd 57285 11 snd_intel8x0m,snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd _timer soundcore 10785 3 snd snd_page_alloc 9669 3 snd_intel8x0m,snd_intel8x0,snd_pcm e100 48705 0 mii 5569 1 e100 floppy 64629 0 ext3 130633 3 jbd 83161 1 ext3 /proc/bus/usb/devices (when only the webcam connected to usb): T: Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1d.2 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1d.1 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 1.10 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.12-1.1381_FC3 uhci_hcd S: Product=UHCI Host Controller S: SerialNumber=0000:00:1d.0 C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr= 0mA I: If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 2 Ivl=255ms ~ [root@localhost webcam]# vim /proc/bus/input/devices: I: Bus=0011 Vendor=0001 Product=0001 Version=ab41 N: Name="AT Translated Set 2 keyboard" P: Phys=isa0060/serio0/input0 H: Handlers=kbd event0 B: EV=120013 B: KEY=4 2000078 3802078 f840d001 f2ffffdf ffefffff ffffffff fffffffe B: MSC=10 B: LED=7 I: Bus=0011 Vendor=0002 Product=0001 Version=0000 N: Name="PS/2 Generic Mouse" P: Phys=isa0060/serio4/input0 H: Handlers=mouse0 event1 B: EV=7 B: KEY=70000 0 0 0 0 0 0 0 0 B: REL=3 [root@localhost webcam]# /sbin/lspci -vn: 00:00.0 Class 0600: 8086:3575 (rev 04) Subsystem: 1014:1017 Flags: bus master, fast devsel, latency 0 Memory at <unassigned> (32-bit, prefetchable) Capabilities: [40] Vendor Specific Information 00:02.0 Class 0300: 8086:3577 (rev 04) Subsystem: 1014:0505 Flags: bus master, fast devsel, latency 0, IRQ 11 Memory at 98000000 (32-bit, prefetchable) [size=128M] Memory at 90100000 (32-bit, non-prefetchable) [size=512K] Capabilities: [d0] Power Management version 1 00:02.1 Class 0380: 8086:3577 Subsystem: 1014:0505 Flags: bus master, fast devsel, latency 0 Memory at 88000000 (32-bit, prefetchable) [size=128M] Memory at 80200000 (32-bit, non-prefetchable) [size=512K] Capabilities: [d0] Power Management version 1 00:1d.0 Class 0c03: 8086:2482 (rev 02) Subsystem: 1014:1017 Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at a4a0 [size=32] 00:1d.1 Class 0c03: 8086:2484 (rev 02) Subsystem: 1014:1017 Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at a4e0 [size=32] 00:1d.1 Class 0c03: 8086:2484 (rev 02) Subsystem: 1014:1017 Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at a4e0 [size=32] 00:1d.2 Class 0c03: 8086:2487 (rev 02) Subsystem: 1014:1017 Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at a800 [size=32] 00:1e.0 Class 0604: 8086:2448 (rev 42) Flags: bus master, fast devsel, latency 0 Bus: primary=00, secondary=01, subordinate=01, sec-latency=0 I/O behind bridge: 00007000-00007fff Memory behind bridge: 80100000-801fffff 00:1f.0 Class 0601: 8086:248c (rev 02) Flags: bus master, medium devsel, latency 0 00:1f.1 Class 0101: 8086:248a (rev 02) (prog-if 8a [Master SecP PriP]) Subsystem: 1014:1017 Flags: bus master, medium devsel, latency 0, IRQ 255 I/O ports at <ignored> I/O ports at <ignored> I/O ports at <ignored> I/O ports at <ignored> I/O ports at a890 [size=16] Memory at 10000000 (32-bit, non-prefetchable) [size=1K] 00:1f.3 Class 0c05: 8086:2483 (rev 02) Subsystem: 1014:1017 Flags: medium devsel, IRQ 11 I/O ports at 8000 [size=32] 00:1f.5 Class 0401: 8086:2485 (rev 02) Subsystem: 1014:0500 Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at 9800 [size=256] I/O ports at 9c00 [size=64] 00:1f.6 Class 0703: 8086:2486 (rev 02) Subsystem: 1014:0503 Flags: bus master, medium devsel, latency 0, IRQ 11 I/O ports at a000 [size=256] I/O ports at a400 [size=128] 01:08.0 Class 0200: 8086:1031 (rev 42) Subsystem: 1014:1031 Flags: bus master, medium devsel, latency 66, IRQ 11 Memory at 80100000 (32-bit, non-prefetchable) [size=4K] I/O ports at 7000 [size=64] Capabilities: [dc] Power Management version 2 01:09.0 Class 0607: 104c:ac50 (rev 02) Subsystem: 1014:1017 Flags: bus master, medium devsel, latency 168, IRQ 11 Memory at 10001000 (32-bit, non-prefetchable) [size=4K] Bus: primary=01, secondary=02, subordinate=05, sec-latency=176 Memory window 0: 10400000-107ff000 (prefetchable) Memory window 1: 10800000-10bff000 I/O window 0: 00004000-000040ff I/O window 1: 00004400-000044ff 16-bit legacy interface ports at 0001 ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642

Next Message by Thread: click to view message preview

Re: Flexcam 100 camera works with spcaview but not sane programs

On Wed, 2006-04-05 at 22:59 -0500, Mike Laughton wrote: > My wife sent away for a freebie PC camera that I've been trying to get > working in Fedora Core 4 (camera and environment details below). > Using spca5xx and spcaview I got everything working quite well (very > impressed with the whole thing, in fact). But my ultimate goal is to > access the camera through sane-enabled applications like scanimage and > xsane-gimp. This is possible, right? > > Unfortunately, whenever I use any of the sane applications with this > camera I get a fatal error of "sane_start: Invalid argument". Looking > at /var/log/messages I see "VIDIOCMCAPTURE: invalid format (1)". In > short, I'm stuck -- I don't know where to go from here. Anyone have > any ideas? > > Below is everything I know of that might be helpful. If you need > more, just say the word. Eternally grateful toward anyone who can > help... > > Thanks, > Mike > <lines deleted> > Did you try xcam, also with scanimage you need to give some options like scanimage -B -d stv680:libusb:001:002 --batch=out.ppm --batch-count 5 --mode "Color RGB" For the v4l backend it will be different with --mode "Color RGB" you select the size of the image, check with scanimage -d v4l -h your -mode options. -- -------- m.vr.gr. Gerard Klaver ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
Loading Comments...
Home | News | Patents | Sitemap | FAQ | advertise

Advertising by