[cpia] 2.3.99-pre5 and EZCam USB

Joseph C. Kopec kopecjc@att.net
Mon, 17 Apr 2000 21:55:38 -0400


I swapped my Aiptek (which Peter Pregler informs me was wrongly thought
to be a CPiA-based camera) for a Ezonics EZCam USB (not a Pro or a
Plus), but I am still having a hard time getting it to work with
2.3.99-pre5 -- my dmesg file is attached.  First the good news -- its
Vendor:Product code is 0553:0002, which appears to be a good CPiA.  But
it still does not get recognized.  Note that I compiled everything into
the kernel -- Johannes Erdfelt stated in an earlier message:

"I bet you the CPiA USB support won't work statically since the USB core
doesn't know about the drivers outside of it's tree. I'm sure if you
compile everything dynamically (as modules) it will work."

I guess I will give modules a shot.  By "everything" did he mean
usb-uhci, cpia, video4linux, usb preliminary filesystem ... what else?

Any suggestions would be much appreciated.

***********************

Linux version 2.3.99-pre5 (root@jck0) (gcc version egcs-2.91.66
19990314/Linux (egcs-1.1.2 release)) #1 Sun Apr 16 21:00:02 EDT 2000
e820: 0009fc00 @ 00000000 (usable)
e820: 00000400 @ 0009fc00 (reserved)
e820: 00010000 @ 000f0000 (reserved)
e820: 05f00000 @ 00100000 (usable)
e820: 00020000 @ fffe0000 (reserved)
On node 0 totalpages: 24576
zone(0): 4096 pages.
zone(1): 20480 pages.
zone(2): 0 pages.
Initializing CPU#0
Detected 397333496 Hz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 792.99 BogoMIPS
Memory: 93764k/98304k available (1590k kernel code, 4152k reserved, 99k
data, 164k init, 0k highmem)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: Intel Pentium II (Deschutes) stepping 01
Checking 386/387 coupling... OK, FPU using exception 16 error reporting.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.36 (20000221) Richard Gooch (rgooch@atnf.csiro.au)
PCI: PCI BIOS revision 2.10 entry at 0xfa104, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Using IRQ router PIIX [8086/7000] at 00:14.0
Limiting direct PCI/PCI transfers.
isapnp: Scanning for Pnp cards...
isapnp: Card 'Creative Modem Blaster Flash56 DI5601-1'
isapnp: 1 Plug & Play card detected total
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.228 $ time 21:02:22 Apr 16 2000
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: Intel USB controller: setting latency timer to 0
usb-uhci.c: USB UHCI at I/O 0x2080, IRQ 11
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb.c: USB new device connect, assigned device number 1
usb.c: kmalloc IF c11ba8a0, numif 1
usb.c: new device strings: Mfr=0, Product=2, SerialNumber=1
usb.c: USB device number 1 default language ID 0x0
Product: USB UHCI Root Hub
SerialNumber: 2080
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: ganged power switching
hub.c: standalone hub
hub.c: global over-current protection
hub.c: power on to power good time: 2ms
hub.c: hub controller current requirement: 0mA
hub.c: port 1 is removable
hub.c: port 2 is removable
hub.c: local power source is good
hub.c: no over-current condition exists
hub.c: enabling power on all ports
usb.c: hub driver claimed interface c11ba8a0
Linux NET4.0 for Linux 2.3
Based upon Swansea University Computer Society NET3.039
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
Initializing RT netlink socket
Starting kswapd v1.6
parport0: PC-style at 0x378 [PCSPP]
pty: 256 Unix98 ptys configured
lp0: using parport0 (polling).
Linux video capture interface: v1.00
V4L-Driver for Vision CPiA based cameras v0.7.4
Uniform Multi-Platform E-IDE driver Revision: 6.30
ide: Assuming 40MHz system bus speed for PIO modes; override with
idebus=xx
PIIX4: IDE controller on PCI bus 00 dev a1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x20a0-0x20a7, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x20a8-0x20af, BIOS settings: hdc:DMA, hdd:pio
hda: QUANTUM Bigfoot TX8.0AT, ATA DISK drive
hdc: COMPAQ DVD-ROM GD-2000, ATAPI CDROM drive
hdd: IOMEGA ZIP 100, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: 15698592 sectors (8038 MB) w/69KiB Cache, CHS=1038/240/63
hdd: 196608 sectors (101 MB) w/16KiB Cache, CHS=512/12/32
hub.c: port 2 connection change
hdc: ATAPI 20X DVD-ROM drive, 512kB Cache
Uniform CD-ROM driver Revision: 3.07
Partition check:
 hda: hda1 hda2 < hda5 hda6 hda7 >
 hdd:<7>hub.c: portstatus 101, change 1, High Speed
 hdd4
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
scsi : 0 hosts.
scsi : detected total.
Serial driver version 4.93 (2000-03-20) with MANY_PORTS SHARE_IRQ
SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at port 0x02f8 (irq = 3) is a 16550A
PPP generic driver version 2.4.1
Linux Tulip driver version 0.9.4.2 (Mar 21, 2000)
eth0: Digital DS21143 Tulip rev 65 at 0x2000, 00:40:D0:00:C8:13, IRQ 11.
eth0:  EEPROM default media type Autosense.
eth0:  Index #0 - Media 10baseT (#0) described by a 21142 Serial PHY (2)
block.
eth0:  Index #1 - Media 10baseT-FD (#4) described by a 21142 Serial PHY
(2) block.
PPP Deflate Compression module registered
[drm] Initialized tdfx 0.0.1 19991009 on minor 63
kmem_create: Forcing size word alignment - nfs_fh
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 164k freed
hub.c: portstatus 103, change 0, High Speed
usb.c: USB new device connect, assigned device number 2
usb.c: kmalloc IF c5f9b060, numif 1
usb.c: new device strings: Mfr=0, Product=1, SerialNumber=0
usb.c: USB device number 2 default language ID 0x409
Product: USB Camera
usb.c: unhandled interfaces on device
usb.c: This device is not recognized by any installed USB driver.
  Length              = 18
  DescriptorType      = 01
  USB version         = 1.00
  Vendor:Product      = 0553:0002
  MaxPacketSize0      = 8
  NumConfigurations   = 1
  Device version      = 1.00
  Device Class:SubClass:Protocol = 00:00:00
    Per-interface classes
Configuration:
  bLength             =    9
  bDescriptorType     =   02
  wTotalLength        = 0049
  bNumInterfaces      =   01
  bConfigurationValue =   01
  iConfiguration      =   00
  bmAttributes        =   80
  MaxPower            =  250mA

  Interface: 0
  Alternate Setting:  0
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   00
    bNumEndpoints       =   01
    bInterface Class:SubClass:Protocol =   ff:00:ff
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 0000
      bInterval           =   01
  Alternate Setting:  1
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   01
    bNumEndpoints       =   01
    bInterface Class:SubClass:Protocol =   ff:00:ff
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 01c0
      bInterval           =   01
  Alternate Setting:  2
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   02
    bNumEndpoints       =   01
    bInterface Class:SubClass:Protocol =   ff:00:ff
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 02c0
      bInterval           =   01
  Alternate Setting:  3
    bLength             =    9
    bDescriptorType     =   04
    bInterfaceNumber    =   00
    bAlternateSetting   =   03
    bNumEndpoints       =   01
    bInterface Class:SubClass:Protocol =   ff:00:ff
    iInterface          =   00
    Endpoint:
      bLength             =    7
      bDescriptorType     =   05
      bEndpointAddress    =   81 (in)
      bmAttributes        =   01 (Isochronous)
      wMaxPacketSize      = 03c0
      bInterval           =   01
Adding Swap: 68000k swap-space (priority -1)