[mythtv-users] /dev/video0 - Device or ressource busy
Matthias Meyer
Matthias.Meyer at gmx.li
Sun May 23 10:44:29 EDT 2004
Am Sonntag, 23. Mai 2004 06:24 schrieb Matthias Meyer:
> Hello,
>
> I running debian, have installed MythTV 0.14-6 and use a PVR350.
> Within some hard weeks I have load channels (the right one?) and
> television-program with tv_grab_de_tvtoday from xmltv 0.5.33-1.
>
> I try "cat /dev/video0 > test.mpg" and see it will work without error
> message.
> So I abort it and start mythfrontend to try watch TV. But see the
> /var/log/mythtv/mythbackend.log:
> QSettings: error creating /.qt
> Starting up as the master server.
> 2004-05-22 22:41:50 mythbackend version: 0.14.20040123-1 www.mythtv.org
> 2004-05-22 22:41:50 Enabled verbose msgs : important general
> 2004-05-22 22:41:53 Found changes in the todo list.
> 2004-05-22 22:43:25 MainServer::HandleAnnounce Playback
> 2004-05-22 22:43:25 adding: vdr.PrivateLAN.at as a client (events: 0)
> 2004-05-22 22:43:25 MainServer::HandleAnnounce Playback
> 2004-05-22 22:43:25 adding: vdr.PrivateLAN.at as a client (events: 1)
> 2004-05-22 22:43:25 MainServer::HandleAnnounce Playback
> 2004-05-22 22:43:25 adding: vdr.PrivateLAN.at as a client (events: 0)
> 2004-05-22 22:43:25 MainServer::HandleAnnounce Playback
> 2004-05-22 22:43:25 adding: vdr.PrivateLAN.at as a client (events: 0)
> 2004-05-22 22:43:25 adding: vdr.PrivateLAN.at as a remote ringbuffer
> 2004-05-22 22:43:25 Changing from None to WatchingLiveTV
> error reading from: /dev/video0
> read: Device or resource busy
> error reading from: /dev/video0
> read: Device or resource busy
> error reading from: /dev/video0
> read: Device or resource busy
> error reading from: /dev/video0
> read: Device or resource busy
> error reading from: /dev/video0
> read: Device or resource busy
> error reading from: /dev/video0
> read: Device or resource busy
> error reading from: /dev/video0
>
> ...and I only can see a black screen.
I have tried xawtv -c /dev/video:
mythtv at vdr:/$ xawtv -c /dev/video
This is xawtv-3.91, running on Linux/i686 (2.4.24-ctvdr-2)
/dev/video [v4l2]: no overlay support
v4l-conf had some trouble, trying to continue anyway
ioctl: VIDIOC_ENUM_FMT(index=0;type=VIDEO_CAPTURE;flags=0;description="";pixelformat=0x00000000 [....]): Inappropriate ioctl for device
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
config: invalid value for input: Television
valid choices for "input": "Composite 0", "Composite 1", "Composite 2", "Composite 3", "Tuner 0", "Composite 4", "S-Video 0", "S-Video 1", "S-Video 2", "S-Video 3"
Xlib: extension "XFree86-DRI" missing on display ":0.0".
v412: read: rc=8128/size=442368
v412: read: rc=342016/size=442368
<<<snipp>>>
With xawtv there is no "ressource busy". But also only black screen or snow (but no moving snow).
While I try watch tv with mythfrontend I take a look in my system:
vdr:/root$ fuser /dev/video
/dev/video: 406 468 469 470 471 472 473 474 475 476 477 730 731
vdr:/root$ ps ax | grep myth
406 ? Ss 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
468 ? S 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
469 ? S 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
470 ? S 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
471 ? S 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
472 ? S 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
473 ? S 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
474 ? S 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
475 ? S 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
476 ? S 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
477 ? S 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
711 pts/2 S+ 0:01 mythfrontend
714 pts/2 S+ 0:00 mythfrontend
729 pts/2 S+ 0:00 mythfrontend
730 ? S 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
731 ? S 0:00 /usr/bin/mythbackend --daemon --logfile /var/log/mythtv/mythbackend.log --pidfile /var/run/mythtv/mythbackend.pid
733 pts/2 S+ 0:00 mythfrontend
Is it right that there are so many mythbackend processes?
--
no panic
More information about the mythtv-users
mailing list