vine-users ML アーカイブ



[vine-users:055878] USB カメラ2個接続の使用方法

  • From: okui <okui@xxxxxxxxxxxx>
  • Subject: [vine-users:055878] USB カメラ2個接続の使用方法
  • Date: Mon, 18 Nov 2002 00:58:02 +0900
こんにちは
以前 [vine-users:055519] でUSB カメラについて質問した奥井です。
今度は2個接続して両方のカメラの画像を表示させたいと考えています。
USB カメラ2個は認識されているようですが1個のカメラの画像しかだせません。
ドライバov511のWebPageに以下のような記述がありました。
Q: I have two OV511 cameras connected to the same host controller, but when I try to use both at once, I get I/O, etc... errors.
A: By default, the driver is only configured for one camera and will use all of the USB bus bandwidth for it. A second camera will either stall the first one or stall itself if you try to stream from both at once. To fix this, you can reduce the bandwidth each cam takes by setting the "cams" module parameter to the number of cameras you intend to use simultaneously. For example, "insmod ov511.o cams=2". You may have to increase this parameter if you have other USB devices on the same bus. The max for this parameter is 4 for OV511 and 32 for OV511+, though I have not personally tested more than 3 cameras at once. NOTE: There are timing problems in some cameras that may result in minor image corruption, or possibly no image, when cams > 2. 

それで以下のコマンドを入れましたがかわりません。
$/sbin/insmod /lib/modules/2.4.18-0vl3/kernel/drivers/usb/ov511.o cams=2
insmod: a module named ov511 already exists
どのようにすればcam=2のオプションを有効にできるのでしょうか? 色々(modprobe,insmod,modules.conf)調べたのですがわかりません。
ご教授お願い致します。


dmesg|lessのUSB部分の抜粋
usb.c: registered new driver hiddev
usb.c: registered new driver hid
hid-core.c: v1.8 Andreas Gal, Vojtech Pavlik <vojtech@xxxxxxx>
hid-core.c: USB HID support drivers
uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 9 for device 00:1f.2
PCI: Setting latency timer of device 00:1f.2 to 64
uhci.c: USB UHCI at I/O 0x1820, IRQ 9
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
hub.c: USB new device connect on bus1/1, assigned device number 2
usb.c: USB device 2 (vend/prod 0x5a9/0x511) is not claimed by any active driver.hub.c: USB new device connect on bus1/2, assigned device number 3
usb.c: USB device 3 (vend/prod 0x5a9/0x511) is not claimed by any active driver.Linux video capture interface: v1.00
usb.c: registered new driver ov511
ov511.c: USB OV511 video device found
ov511.c: model: Generic Camera (no ID)
ov511.c: Sensor is an OV7610
ov511.c: Device 2 on bus 1 registered to minor 0
ov511.c: USB OV511 video device found
ov511.c: model: Generic Camera (no ID)
ov511.c: Sensor is an OV7610
ov511.c: Device 3 on bus 1 registered to minor 1
ov511.c: v1.63 : ov511 USB Camera Driver