HELP Device or resource busy

Forum for questions and support relating to the 1.24.x releases only.
Locked
nemo
Posts: 5
Joined: Sun Mar 29, 2009 6:39 pm

HELP Device or resource busy

Post by nemo »

I don't understand why.

Code: Select all

Mar 29 20:27:43 nemoserver zmdc[24000]: INF ['zmc -d /dev/video0' started at 09/03/29 20:27:43]
Mar 29 20:27:43 nemoserver zmc_dvideo0[24000]: INF [Debug Level = 0, Debug Log = <none>]
Mar 29 20:27:43 nemoserver zmc_dvideo0[24000]: INF [Starting Capture]
Mar 29 20:27:43 nemoserver zmc_dvideo0[24000]: ERR [Capture failure for frame 0: Device or resource busy]
Mar 29 20:27:43 nemoserver zmc_dvideo0[24000]: ERR [Failed to prime capture of initial monitor]
Mar 29 20:27:43 nemoserver zmdc[23978]: INF [Can't find child with pid of '24000']
Mar 29 20:27:43 nemoserver zmdc[23978]: INF ['zmc -d /dev/video0' starting at 09/03/29 20:27:43, pid = 24000]

Code: Select all

 lspci | grep Bt878                                                                                                                                                                                   |qq(-dom,mar29-)qj
00:0c.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 02)
00:0c.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 02)

Code: Select all

xawtv -hwscan                                                                                                                                                                                        |qq(-dom,mar29-)qj
This is xawtv-3.95.dfsg.1, running on Linux/i686 (2.6.26-1-686)
looking for available devices
port 65-65
    type : Xvideo, image scaler
    name : ATI Radeon Video Overlay

/dev/video0: OK                         [ -device /dev/video0 ]
    type : v4l2
    name : BT878 video (Jetway TV/Capture 
    flags: overlay capture tuner 

Code: Select all

 zmu -d /dev/video0 -q -v
Video Capabilities
  Name: BT878 video (Jetway TV/Capture 
  Type: 47
    Can capture
    Can tune
    Does teletext
    Overlay onto frame buffer
    Can clip
  Video Channels: 4
  Audio Channels: 0
  Maximum Width: 924
  Maximum Height: 576
  Minimum Width: 48
  Minimum Height: 32
Window Attributes
  X Offset: 0
  Y Offset: 0
  Width: 320
  Height: 240
Picture Attributes
  Palette: 4 - 24bit RGB
  Colour Depth: 24
  Brightness: 32768
  Hue: 32768
  Colour :32768
  Contrast: 32768
  Whiteness: 0
Channel 0 Attributes
  Name: Television
  Channel: 0
  Flags: 1
    Channel has a tuner
  Type: 1 - TV
  Format: 0 - PAL
Channel 1 Attributes
  Name: Composite1
  Channel: 1
  Flags: 0
  Type: 2 - Camera
  Format: 0 - PAL
Channel 2 Attributes
  Name: S-Video
  Channel: 2
  Flags: 0
  Type: 2 - Camera
  Format: 0 - PAL
Channel 3 Attributes
  Name: Composite3
  Channel: 3
  Flags: 0
  Type: 2 - Camera
  Format: 0 - PAL

Code: Select all

 ipcs -l

------ Shared Memory Limits --------
max number of segments = 4096
max seg size (kbytes) = 4096000
max total shared memory (kbytes) = 8192000
min seg size (bytes) = 1

------ Semaphore Limits --------
max number of arrays = 128
max semaphores per array = 250
max semaphores system wide = 32000
max ops per semop call = 32
semaphore max value = 32767

------ Messages: Limits --------
max queues system wide = 1007
max size of message (bytes) = 8192
default max size of queue (bytes) = 16384
Have you idea why my resource is busy?
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Because something else is using it. What other video applications have you run?
nemo
Posts: 5
Joined: Sun Mar 29, 2009 6:39 pm

Post by nemo »

How can I view who use /dev/video0 ?
with "ps ax" there isn't nothing.
thanks
nemo
Posts: 5
Joined: Sun Mar 29, 2009 6:39 pm

Post by nemo »

I used this command:

fuser /dev/video0 -u

but don't returned nothing.

Do you have any idea?

Thanks
Locked