Ubuntu 12.04.03 LTS , USB Video Capture Device busy ?
Posted: Thu Feb 20, 2014 9:04 am
Hello Group,
I have installed ZoneMinder 1.25.0 as described in ' janhellevik com / ?p=1045 ' on my Ubuntu 12.04.3 LTS Server.
Ubuntu running on VirtualBox.
My camera is an analogical surveillance camera.(no IP. no direct USB-WEB-Cam).
The camera is with Hauppauge USB adapter connected on my PC. And my PC have USB 3.0 and 2.0 ports.
I've tried both.
In the Virtaulbox I have USB enabled.
The following messages are on
lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0301 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 2040:c200 Hauppauge
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
if i start probe on zoneminder-device
/var/log/syslog
Feb 20 09:42:41 SB-Server2 kernel: [ 1258.260264] cx231xx #0: video_mux : 0
Feb 20 09:42:41 SB-Server2 kernel: [ 1258.260266] cx231xx #0: do_mode_ctrl_overrides : 0xff
Feb 20 09:42:41 SB-Server2 kernel: [ 1258.263219] cx231xx #0: do_mode_ctrl_overrides PAL
Feb 20 09:42:41 SB-Server2 zmc_dvideo0[2112]: FAT [Failed to set video standard 45056: Device or resource busy]
Feb 20 09:42:41 SB-Server2 kernel: [ 1258.305188] cx231xx #0: cx231xx_stop_stream():: ep_mask = 8
Feb 20 09:42:41 SB-Server2 zmdc[1298]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Feb 20 09:43:48 SB-Server2 kernel: [ 1325.287670] cx231xx #0: setPowerMode::mode = 48, No Change req.
Feb 20 09:43:48 SB-Server2 zmu[2132]: ERR [Failed to query crop: Inappropriate ioctl for device]
Feb 20 09:43:48 SB-Server2 kernel: [ 1325.309959] cx231xx #0: cx231xx_stop_stream():: ep_mask = 8
Feb 20 09:43:48 SB-Server2 web_php[1492]: FAT [Unable to probe local cameras, status is '255']
Feb 20 09:45:10 SB-Server2 kernel: [ 1407.283804] cx231xx #0: setPowerMode::mode = 48, No Change req.
Feb 20 09:45:10 SB-Server2 zmu[2154]: ERR [Failed to query crop: Inappropriate ioctl for device]
Feb 20 09:45:10 SB-Server2 kernel: [ 1407.300640] cx231xx #0: cx231xx_stop_stream():: ep_mask = 8
Feb 20 09:45:10 SB-Server2 web_php[1980]: FAT [Unable to probe local cameras, status is '255']
my host-system is win-7. (Ubuntu is Guest)
i don't believe USB-Port or the camera is busy.
No other Software use the camera.
what i can do?
best regards
Jürgen
my device settings in zoneminder
Name : Monitor-1
Source Type : Local
Function : Monitor
Enabled :X
Linked Monitors: empty
Maximum FPS :5.00
Alarm Maximum FPS: 25.00
Reference Image Blend %ge: 7
Triggers : None availabl
#####
Device Path : /dev/video0
Capture Method : Video for Linux 2
Device Channel : 0
Device Format : NTSC
Capture Palette : YUYV
Capture Width (pixels): 640
Capture Height (pixels) : 480
Preserve Aspect Ratio :
Orientation : normal
my camera is
Sensor 8,5 mm (1/3 ") CMOS
Resolution 648 x 512 pixels
Light sensitivity of 0.01 lux (IR on 0 lux)
Operating voltage 12 V / DC
Output 1.0 Vpp, 75 Ω, RCA jack
Current consumption Max 180mA (IR on)
Degree of protection IP65
Outside of use
Camera Type CCTV Camera
I have installed ZoneMinder 1.25.0 as described in ' janhellevik com / ?p=1045 ' on my Ubuntu 12.04.3 LTS Server.
Ubuntu running on VirtualBox.
My camera is an analogical surveillance camera.(no IP. no direct USB-WEB-Cam).
The camera is with Hauppauge USB adapter connected on my PC. And my PC have USB 3.0 and 2.0 ports.
I've tried both.
In the Virtaulbox I have USB enabled.
The following messages are on
lsusb:
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 002: ID 0bda:0301 Realtek Semiconductor Corp.
Bus 001 Device 003: ID 2040:c200 Hauppauge
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
if i start probe on zoneminder-device
/var/log/syslog
Feb 20 09:42:41 SB-Server2 kernel: [ 1258.260264] cx231xx #0: video_mux : 0
Feb 20 09:42:41 SB-Server2 kernel: [ 1258.260266] cx231xx #0: do_mode_ctrl_overrides : 0xff
Feb 20 09:42:41 SB-Server2 kernel: [ 1258.263219] cx231xx #0: do_mode_ctrl_overrides PAL
Feb 20 09:42:41 SB-Server2 zmc_dvideo0[2112]: FAT [Failed to set video standard 45056: Device or resource busy]
Feb 20 09:42:41 SB-Server2 kernel: [ 1258.305188] cx231xx #0: cx231xx_stop_stream():: ep_mask = 8
Feb 20 09:42:41 SB-Server2 zmdc[1298]: ERR ['zmc -d /dev/video0' exited abnormally, exit status 255]
Feb 20 09:43:48 SB-Server2 kernel: [ 1325.287670] cx231xx #0: setPowerMode::mode = 48, No Change req.
Feb 20 09:43:48 SB-Server2 zmu[2132]: ERR [Failed to query crop: Inappropriate ioctl for device]
Feb 20 09:43:48 SB-Server2 kernel: [ 1325.309959] cx231xx #0: cx231xx_stop_stream():: ep_mask = 8
Feb 20 09:43:48 SB-Server2 web_php[1492]: FAT [Unable to probe local cameras, status is '255']
Feb 20 09:45:10 SB-Server2 kernel: [ 1407.283804] cx231xx #0: setPowerMode::mode = 48, No Change req.
Feb 20 09:45:10 SB-Server2 zmu[2154]: ERR [Failed to query crop: Inappropriate ioctl for device]
Feb 20 09:45:10 SB-Server2 kernel: [ 1407.300640] cx231xx #0: cx231xx_stop_stream():: ep_mask = 8
Feb 20 09:45:10 SB-Server2 web_php[1980]: FAT [Unable to probe local cameras, status is '255']
my host-system is win-7. (Ubuntu is Guest)
i don't believe USB-Port or the camera is busy.
No other Software use the camera.
what i can do?
best regards
Jürgen
my device settings in zoneminder
Name : Monitor-1
Source Type : Local
Function : Monitor
Enabled :X
Linked Monitors: empty
Maximum FPS :5.00
Alarm Maximum FPS: 25.00
Reference Image Blend %ge: 7
Triggers : None availabl
#####
Device Path : /dev/video0
Capture Method : Video for Linux 2
Device Channel : 0
Device Format : NTSC
Capture Palette : YUYV
Capture Width (pixels): 640
Capture Height (pixels) : 480
Preserve Aspect Ratio :
Orientation : normal
my camera is
Sensor 8,5 mm (1/3 ") CMOS
Resolution 648 x 512 pixels
Light sensitivity of 0.01 lux (IR on 0 lux)
Operating voltage 12 V / DC
Output 1.0 Vpp, 75 Ω, RCA jack
Current consumption Max 180mA (IR on)
Degree of protection IP65
Outside of use
Camera Type CCTV Camera