Problems/clarifications/software

Bill Broadley bill@math.ucdavis.edu
Thu, 14 Oct 1999 01:54:12 -0700


--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii


Hello all,

I purchased a USB zoomcam from www.outpost.com, was pleasantly surprised
to get it in under 24 hours with no shipping/handling etc.

I found and used:
http://home.eunet.no/~jtotland/vision/

Under the status bullet it says "2.3.3 up" I assume that means 2.3.3 and
up, so the newest would be fine.  So I installed 2.3.21.
bash# uname -a
Linux paladin 2.3.21 #5 SMP Wed Oct 13 23:32:46 PDT 1999 i686 unknown

I did the module loads:
/sbin/insmod /lib/modules/2.3.21/usb/usbcore.o
/sbin/insmod /lib/modules/2.3.21/usb/usb-uhci.o
/sbin/insmod /lib/modules/2.3.21/misc/videodev.o
/sbin/insmod /lib/modules/2.3.21/usb/cpia.o

I setup the devices:
bash# ls -al /dev/video*
lrwxrwxrwx   1 root     root           11 Oct 13 23:24 /dev/video -> /dev/video0crw-------   1 bill     root      81,   0 Oct 13 23:24 /dev/video0

I got all kinds of hopeful messages, I'll attach the 100+ lines of syslog 
messages.

The last 6 lines looked pretty promising:
Oct 14 00:55:20 paladin kernel: Linux video capture interface: v1.00 
Oct 14 00:55:25 paladin kernel: usbcore: Registering new driver cpia 
Oct 14 00:55:25 paladin kernel: USB CPiA camera found 
Oct 14 00:55:25 paladin kernel: cpia: Firmware v1.20, VC Hardware v2.0 
Oct 14 00:55:25 paladin kernel: cpia: VP v1 rev 0 
Oct 14 00:55:25 paladin kernel: cpia: Camera Head ID 0100 

Here's the /proc/bus/usb/devices:
T:  Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= -1 Spd=12  If#=  0 MxCh= 2 Driver=(root hub)
B:  Alloc=  0/900 us ( 0%), #Int=  0, #Iso=  0
T:  Lev=01 Prnt=00 Port=00 Cnt=01 Dev#=  1 Spd=12  If#=  1 MxCh= 0 Driver=cpia
D:  Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=0553 ProdID=0002 Rev= 1.00
C:* #Ifs= 1 Cfg#= 1 Atr=80 MxPwr=400mA
I:  If#= 1 Alt= 0 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=ff
E:  Ad=81(I) Atr=01(Isoc) MxPS=   0 Ivl=  1ms
I:  If#= 1 Alt= 1 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=ff
E:  Ad=81(I) Atr=01(Isoc) MxPS= 448 Ivl=  1ms
I:  If#= 1 Alt= 2 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=ff
E:  Ad=81(I) Atr=01(Isoc) MxPS= 704 Ivl=  1ms
I:  If#= 1 Alt= 3 #EPs= 1 Cls=ff(vend.) Sub=00 Prot=ff
E:  Ad=81(I) Atr=01(Isoc) MxPS= 960 Ivl=  1ms


So the problems:
 http://millenium.diads.com/bdirks is listed for apps19990*.tgz, but
millenium.diads.com is an unreachable server (claims netscape).

So I tried the second resource listed:
http://www.komm.hdk-berlin.de/~rasca/w3cam/ isn't available.
(netscape claims no route to host, and this machine has good
internet connectivity).

I looked elsewhere, found/compiled vidcat from w3cam-0.6.2, but the
nasty result is:
	/usr/local/bin/vidcat > /tmp/test.jpeg

Hangs the machine hard, even capslock doesn't work.

It's not a trivial interupt problem:
bash# uname -a
Linux paladin 2.3.21 #5 SMP Wed Oct 13 23:32:46 PDT 1999 i686 unknown

bash# cat /proc/interrupts 
           CPU0       
  0:     292416          XT-PIC  timer
  1:       7810          XT-PIC  keyboard
  2:          0          XT-PIC  cascade
  9:       8977          XT-PIC  eth0
 10:         22          XT-PIC  uhci
 12:      71060          XT-PIC  PS/2 Mouse
 13:          1          XT-PIC  fpu
 14:     594731          XT-PIC  ide0

(usb has irq 10 all to itself).

So, any suggestions?  I've tried everything I could find on the www pages,
I'm using an otherwise very reliable (1-3 month uptimes) abit motherboard 
with a celeron 300A.  I'm open for suggestions as to what to change/try.

Any help greatly appreciated.

--
Bill Broadley




--NzB8fVQJ5HfG6fxh
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=usb

Oct 14 00:55:06 paladin kernel: New USB bus registered 
Oct 14 00:55:06 paladin kernel: uhci_connect_change: called for 0 
Oct 14 00:55:07 paladin kernel:   Length              = 18 
Oct 14 00:55:07 paladin kernel:   DescriptorType      = 01 
Oct 14 00:55:07 paladin kernel:   USB version         = 1.00 
Oct 14 00:55:07 paladin kernel:   Vendor:Product      = 0553:0002 
Oct 14 00:55:07 paladin kernel:   MaxPacketSize0      = 8 
Oct 14 00:55:07 paladin kernel:   NumConfigurations   = 1 
Oct 14 00:55:07 paladin kernel:   Device version      = 1.00 
Oct 14 00:55:07 paladin kernel:   Device Class:SubClass:Protocol = 00:00:00 
Oct 14 00:55:07 paladin kernel:     Per-interface classes 
Oct 14 00:55:07 paladin kernel: Configuration: 
Oct 14 00:55:07 paladin kernel:   bLength             =    9 
Oct 14 00:55:07 paladin kernel:   bDescriptorType     =   02 
Oct 14 00:55:07 paladin kernel:   wTotalLength        = 0049 
Oct 14 00:55:07 paladin kernel:   bNumInterfaces      =   01 
Oct 14 00:55:07 paladin kernel:   bConfigurationValue =   01 
Oct 14 00:55:07 paladin kernel:   iConfiguration      =   00 
Oct 14 00:55:07 paladin kernel:   bmAttributes        =   80 
Oct 14 00:55:07 paladin kernel:   MaxPower            =  400mA 
Oct 14 00:55:07 paladin kernel:  
Oct 14 00:55:07 paladin kernel:   Interface: 0 
Oct 14 00:55:07 paladin kernel:   Alternate Setting:  0 
Oct 14 00:55:07 paladin kernel:     bLength             =    9 
Oct 14 00:55:07 paladin kernel:     bDescriptorType     =   04 
Oct 14 00:55:07 paladin kernel:     bInterfaceNumber    =   01 
Oct 14 00:55:07 paladin kernel:     bAlternateSetting   =   00 
Oct 14 00:55:07 paladin kernel:     bNumEndpoints       =   01 
Oct 14 00:55:07 paladin kernel:     bInterface Class:SubClass:Protocol =   ff:00:ff 
Oct 14 00:55:07 paladin kernel:     iInterface          =   00 
Oct 14 00:55:07 paladin kernel:     Endpoint: 
Oct 14 00:55:07 paladin kernel:       bLength             =    7 
Oct 14 00:55:07 paladin kernel:       bDescriptorType     =   05 
Oct 14 00:55:07 paladin kernel:       bEndpointAddress    =   81 (in) 
Oct 14 00:55:07 paladin kernel:       bmAttributes        =   01 (Isochronous) 
Oct 14 00:55:07 paladin kernel:       wMaxPacketSize      = 0000 
Oct 14 00:55:07 paladin kernel:       bInterval           =   01 
Oct 14 00:55:07 paladin kernel:   Alternate Setting:  1 
Oct 14 00:55:07 paladin kernel:     bLength             =    9 
Oct 14 00:55:07 paladin kernel:     bDescriptorType     =   04 
Oct 14 00:55:07 paladin kernel:     bInterfaceNumber    =   01 
Oct 14 00:55:07 paladin kernel:     bAlternateSetting   =   01 
Oct 14 00:55:07 paladin kernel:     bNumEndpoints       =   01 
Oct 14 00:55:07 paladin kernel:     bInterface Class:SubClass:Protocol =   ff:00:ff 
Oct 14 00:55:07 paladin kernel:     iInterface          =   00 
Oct 14 00:55:07 paladin kernel:     Endpoint: 
Oct 14 00:55:07 paladin kernel:       bLength             =    7 
Oct 14 00:55:07 paladin kernel:       bDescriptorType     =   05 
Oct 14 00:55:07 paladin kernel:       bEndpointAddress    =   81 (in) 
Oct 14 00:55:07 paladin kernel:       bmAttributes        =   01 (Isochronous) 
Oct 14 00:55:07 paladin kernel:       wMaxPacketSize      = 01c0 
Oct 14 00:55:07 paladin kernel:       bInterval           =   01 
Oct 14 00:55:07 paladin kernel:   Alternate Setting:  2 
Oct 14 00:55:07 paladin kernel:     bLength             =    9 
Oct 14 00:55:07 paladin kernel:     bDescriptorType     =   04 
Oct 14 00:55:07 paladin kernel:     bInterfaceNumber    =   01 
Oct 14 00:55:07 paladin kernel:     bAlternateSetting   =   02 
Oct 14 00:55:07 paladin kernel:     bNumEndpoints       =   01 
Oct 14 00:55:07 paladin kernel:     bInterface Class:SubClass:Protocol =   ff:00:ff 
Oct 14 00:55:07 paladin kernel:     iInterface          =   00 
Oct 14 00:55:07 paladin kernel:     Endpoint: 
Oct 14 00:55:07 paladin kernel:       bLength             =    7 
Oct 14 00:55:07 paladin kernel:       bDescriptorType     =   05 
Oct 14 00:55:07 paladin kernel:       bEndpointAddress    =   81 (in) 
Oct 14 00:55:07 paladin kernel:       bmAttributes        =   01 (Isochronous) 
Oct 14 00:55:07 paladin kernel:       wMaxPacketSize      = 02c0 
Oct 14 00:55:07 paladin kernel:       bInterval           =   01 
Oct 14 00:55:07 paladin kernel:   Alternate Setting:  3 
Oct 14 00:55:07 paladin kernel:     bLength             =    9 
Oct 14 00:55:07 paladin kernel:     bDescriptorType     =   04 
Oct 14 00:55:07 paladin kernel:     bInterfaceNumber    =   01 
Oct 14 00:55:07 paladin kernel:     bAlternateSetting   =   03 
Oct 14 00:55:07 paladin kernel:     bNumEndpoints       =   01 
Oct 14 00:55:07 paladin kernel:     bInterface Class:SubClass:Protocol =   ff:00:ff 
Oct 14 00:55:07 paladin kernel:     iInterface          =   00 
Oct 14 00:55:07 paladin kernel:     Endpoint: 
Oct 14 00:55:07 paladin kernel:       bLength             =    7 
Oct 14 00:55:07 paladin kernel:       bDescriptorType     =   05 
Oct 14 00:55:07 paladin kernel:       bEndpointAddress    =   81 (in) 
Oct 14 00:55:07 paladin kernel:       bmAttributes        =   01 (Isochronous) 
Oct 14 00:55:07 paladin kernel:       wMaxPacketSize      = 03c0 
Oct 14 00:55:07 paladin kernel:       bInterval           =   01 
Oct 14 00:55:20 paladin kernel: Linux video capture interface: v1.00 
Oct 14 00:55:25 paladin kernel: usbcore: Registering new driver cpia 
Oct 14 00:55:25 paladin kernel: USB CPiA camera found 
Oct 14 00:55:25 paladin kernel: cpia: Firmware v1.20, VC Hardware v2.0 
Oct 14 00:55:25 paladin kernel: cpia: VP v1 rev 0 
Oct 14 00:55:25 paladin kernel: cpia: Camera Head ID 0100 


--NzB8fVQJ5HfG6fxh--
-----------------------------------------------------------------------------
To unsubscribe from this mailinglist, send the line "unsubscribe vision-webcam" in the
body of a message to "majordomo@errors.no".