I have been trying to help someone set up a USB CPiA webcam on a system
that has a Cyrix MediaGX and OHCI onboard. The webcam appears to be
detected properly by the driver, but when the driver is initially loaded
or /dev/video is accessed, the following messages appear in the kernel
debug log (over and over again, except the number in brackets keeps
changing):
Apr 23 12:45:14 axon kernel: cpia data error: [1] len=0, status=FFFFFFEE
Apr 23 12:45:14 axon kernel: cpia data error: [3] len=0, status=FFFFFFEE
...
I don't know the manufacturer of the camera or the system board, but I can
get that information if necessary. The system board is a PC/104
single-board computer with a Cyrix MediaGX CPU/chipset.
The kernel version is 2.3.99-pre5, and I also tried JE's CPiA deadlock
patch, to no effect. I also tried 2.3.51 with cpia-0.7.4 from
webcam.sourceforge.net, with the same results.
The client program I have been using is streamer from the xawtv package
(version 1.06, I think; the version in Debian frozen).
I suspect that this might have something to do with either OHCI or this
particular OHCI controller, since a Creative Webcam II USB (different
camera) works correctly with a VIA MVP3 UHCI controller under 2.3.99-pre5.
I think that the camera in question has been tested on another system, but
I'm not completely certain as to which kernel version and controller type.
Here are the module initialization messages:
Apr 23 12:39:59 axon kernel: Linux video capture interface: v1.00
Apr 23 12:39:59 axon kernel: V4L-Driver for Vision CPiA based cameras v0.7.4
Apr 23 12:39:59 axon kernel: usb.c: registered new driver usbdevfs
Apr 23 12:39:59 axon kernel: usb.c: registered new driver hub
Apr 23 12:39:59 axon kernel: usb.c: registered new driver cpia
Apr 23 12:40:09 axon kernel: usb-ohci.c: USB OHCI at membase 0xc282a000, IRQ 11
Apr 23 12:40:09 axon kernel: usb-ohci.c: PCI device 0e11:a0f8 (Compaq Computer
Corporation)
Apr 23 12:40:09 axon kernel: usb.c: new USB bus registered, assigned bus number 1
Apr 23 12:40:09 axon kernel: usb.c: USB new device connect, assigned device number 1
Apr 23 12:40:09 axon kernel: hub.c: USB hub found
Apr 23 12:40:09 axon kernel: hub.c: 2 ports detected
Apr 23 12:40:10 axon kernel: usb.c: USB new device connect, assigned device number 2
Apr 23 12:40:10 axon kernel: USB CPiA camera found
Apr 23 12:40:11 axon kernel: CPiA Version: 1.30 (2.10)
Apr 23 12:40:11 axon kernel: CPiA PnP-ID: 0553:0002:0100
Apr 23 12:40:11 axon kernel: VP-Version: 1.0 0141
Apr 23 12:41:17 axon kernel: cpia.c:parse_picture(1946):EOL not found giving up after
981/3476 bytes
Here is /proc/bus/usb/devices:
# cat /proc/bus/usb/devices
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.00 Cls=09(hub ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0000 ProdID=0000 Rev= 0.00
S: Product=USB OHCI Root Hub
S: SerialNumber=c282a000
C:* #Ifs= 1 Cfg#= 1 Atr=40 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= 8 Ivl=255ms
T: Bus=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=0553 ProdID=0002 Rev= 1.00
S: Product=USB Camera
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=250mA
I: If#= 0 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=ff Driver=cpia
E: Ad=81(I) Atr=01(Isoc) MxPS= 0 Ivl= 1ms
I: If#= 0 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=ff Driver=cpia
E: Ad=81(I) Atr=01(Isoc) MxPS= 448 Ivl= 1ms
I: If#= 0 Alt= 2 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=ff Driver=cpia
E: Ad=81(I) Atr=01(Isoc) MxPS= 704 Ivl= 1ms
I: If#= 0 Alt= 3 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=ff Driver=cpia
E: Ad=81(I) Atr=01(Isoc) MxPS= 960 Ivl= 1ms
Here is /proc/pci:
PCI devices found:
Bus 0, device 0, function 0:
Host bridge: Cyrix Corporation PCI Master (rev 0).
Bus 0, device 11, function 0:
Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139 (rev 16).
IRQ 10.
Master Capable. Latency=64. Min Gnt=32.Max Lat=64.
I/O at 0xe000 [0xe0ff].
Non-prefetchable 32 bit memory at 0xe0000000 [0xe00000ff].
Bus 0, device 18, function 0:
ISA bridge: Cyrix Corporation 5530 Legacy [Kahlua] (rev 0).
Bus 0, device 18, function 1:
Bridge: Cyrix Corporation 5530 SMI [Kahlua] (rev 0).
Non-prefetchable 32 bit memory at 0x40012000 [0x400120ff].
Bus 0, device 18, function 2:
IDE interface: Cyrix Corporation 5530 IDE [Kahlua] (rev 0).
I/O at 0xf000 [0xf00f].
Bus 0, device 18, function 3:
Multimedia audio controller: Cyrix Corporation 5530 Audio [Kahlua] (rev 0).
Non-prefetchable 32 bit memory at 0x40011000 [0x4001107f].
Bus 0, device 18, function 4:
VGA compatible controller: Cyrix Corporation 5530 Video [Kahlua] (rev 0).
Non-prefetchable 32 bit memory at 0x40800000 [0x40ffffff].
Bus 0, device 19, function 0:
USB Controller: PCI device 0e11:a0f8 (Compaq Computer Corporation) (rev 6).
IRQ 11.
Master Capable. Latency=64. Max Lat=80.
Non-prefetchable 32 bit memory at 0xe0004000 [0xe0004fff].
Brad
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]