#1 2008-09-06 16:21:16
實現WL-500gP成功同時安裝4台WEBCAM,並用Palantir2.7啟動.
WL-500gP要接4台WEBCAM,USB埠一定會不夠用,所以要先擴充USB埠,要擴充USB埠可以參考這篇https://digiland.tw/viewtopic.php?id=352,USB HUB一定要外加電源,才推的動4台WEBCAM.
先用lsusb及ls /proc/video/dev檢查裝置是否正常.
lsusb
Bus 003 Device 001: ID 0000:0000
Bus 003 Device 002: ID 058f:6254 Alcor Micro Corp.
Bus 003 Device 003: ID 1687:0163
Bus 003 Device 004: ID 04fc:0c15 Sunplus Technology Co., Ltd
Bus 002 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 001 Device 002: ID 0451:2046 Texas Instruments, Inc. TUSB2046 Hub
Bus 001 Device 003: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
Bus 001 Device 004: ID 046d:08b5 Logitech, Inc. QuickCam Sphere
Bus 001 Device 005: ID 046d:08b3 Logitech, Inc. QuickCam Zoom
Bus 001 Device 006: ID 046d:08b2 Logitech, Inc. QuickCam Pro 4000
ls /proc/video/dev
video0 video1 video2 video3
安裝Palantir2.7請參考https://digiland.tw/viewtopic.php?id=290及https://digiland.tw/viewtopic.php?id=306
執行4次palantir,用4行指令,指令如下:
/opt/bin/palantir -C /opt/etc/palantir.conf &
/opt/bin/palantir -d /dev/v4l/video1 -p 3002,3003 -C /opt/etc/palantir.conf &
/opt/bin/palantir -d /dev/v4l/video2 -p 3004,3005 -C /opt/etc/palantir.conf &
/opt/bin/palantir -d /dev/v4l/video3 -p 3006,3007 -C /opt/etc/palantir.conf &
順帶一提羅技瞭望台QuickCam Sphere用Palantir可以控制鏡頭上下左右,將palantir.conf的參數打開即可.
Device {
Carrier Internal 5
Direction readwrite
Name "Pan"
Hint "Camera pan"
Range -7000 7000
Notifier client
Visual Slider_X
}
Device {
Carrier Internal 6
Direction readwrite
Name "Tilt"
Hint "Camera tilt"
Range -3000 2500
Notifier client
Visual Slider_Y
}
離線