[MPlayer-dev-eng] /dev/rtc left open

Bill Trenker wtrenker at shaw.ca
Wed Jan 28 16:59:38 CET 2004


With /dev/rtc configured, I notice that if I stop MPlayer with ctrl-c the rtc file-descriptor (rtc_fd in mplayer.c) is left open.  If I try cat /dev/rtc I get this message:
cat: /dev/rtc: Device or resource busy

If I then try to run MPlayer again it can't open /dev/rtc so it has to use usleep().  This also happens if I stop MPlayer by clicking on the Exit button on the X11 window that the MPlayer video is running in.

Once I get /dev/rtc back again (by rebooting) then if I stop MPlayer by typing the "q" key on the keyboard, /dev/rtc seems to be closed and is available again.

This is for MPlayer 0.92-3.3.2 and 1.0pre3-3.3.2 on a Linux 2.6.1 system.

Regards,
Bill




More information about the MPlayer-dev-eng mailing list