[cpia] Terratec USB does nothing at all
Jan Kleinluetzum
cpia@heino.virtualave.net
Sun, 4 Mar 2001 16:36:47 +0100
Hi!
I'm trying to get a TerraCAM USB working with Linux Kernel 2.4.2. It seems
that both USB subsystem and camera were recognized just fine, but no data gets
through /dev/video
Some logs:
dmesg
uhci.c: USB UHCI at I/O 0x7f00, IRQ 11
uhci.c: detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
usb.c: kmalloc IF c38c68c0, 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-alt Root Hub
SerialNumber: 7f00
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: standalone hub
hub.c: ganged power switching
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 removable status: RR
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 c38c68c0
usb.c: kusbd: /sbin/hotplug add 1
uhci.c: root-hub INT complete: port1: 49b port2: 48a data: 6
hub.c: port 1 connection change
hub.c: port 1, portstatus 101, change 3, 12 Mb/s
hub.c: port 1, portstatus 103, change 0, 12 Mb/s
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: kmalloc IF c38c6920, 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 CPiA camera found
uhci.c: root-hub INT complete: port1: 495 port2: 48a data: 4
uhci.c: root-hub INT complete: port1: 495 port2: 48a data: 4
uhci.c: root-hub INT complete: port1: 495 port2: 48a data: 4
uhci.c: root-hub INT complete: port1: 495 port2: 48a data: 4
CPiA Version: 1.30 (2.10)
CPiA PnP-ID: 0553:0002:0100
VP-Version: 1.0 0141
usb.c: cpia driver claimed interface c38c6920
usb.c: kusbd: /sbin/hotplug add 2
hub.c: port 2 connection change
hub.c: port 2, portstatus 100, change 3, 12 Mb/s
uhci.c: root-hub INT complete: port1: 495 port2: 488 data: 4
hub.c: port 2 enable change, status 100
ls -l /dev/video*
lrwxrwxrwx 1 root root 6 Mar 1 01:48 /dev/video -> video0
crw-rw---- 1 root video 81, 0 Mar 1 01:48 /dev/video0
crw-rw---- 1 root video 81, 1 Mar 1 01:48 /dev/video1
[...]
lsmod
Module Size Used by
uhci 18640 0 (unused)
cpia_usb 4384 0 (autoclean) (unused)
usbcore 50864 1 (autoclean) [uhci cpia_usb]
cpia 44560 0 [cpia_usb]
videodev 4608 1 [cpia]
strace vidcat
[...]
open("/dev/video", O_RDWR) = 3
ioctl(3, 0x803c7601, 0xbffffa58) = 0
ioctl(3, 0x80887614, 0xbffff9d0) = 0
old_mmap(NULL, 811008, PROT_READ|PROT_WRITE, MAP_SHARED, 3, 0) = 0x401a4000
ioctl(3, 0x40107613
And that's it, nothing more happens, no errors, no warnings. But the computer does not get locked
up, it just works fine.
Any ideas?
--
ciao: Jan Kleinluetzum
_..._ _.._
.' `'._.' '. email:
/ __ .-' jan@kleinluetzum.de
| :]___.'__'./______________._I_I_I.
| :|========================I=_____( pgp signed mails preferred
| :]จ"'.__.;จจจจจจจ"ดI I I'
\ __ |
'._ _.-' `'._\
``