Web lists-archives.org

Re: [Spca50x-devs] no accepting address and /dev/video0




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?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Spca50x-devs mailing list
Spca50x-devs@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/spca50x-devs