View previous topic :: View next topic |
Author |
Message |
ShadowWizzard n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/22340261045f914f3e5079.gif)
Joined: 04 Mar 2006 Posts: 70
|
Posted: Wed Apr 12, 2006 2:55 pm Post subject: /dev/rtc - device or resource busy |
|
|
I discovered that mplayer is unable
to use /dev/rtc. It happened after recompile whole
system including kernel with GCC 4.1
The problem is that
Code: | cat /dev/rtc
cat: /dev/rtc: Device or resource busy |
Even root can't do it.
And here is result of cat /proc/driver/rtc
Code: | rtc_time : 14:53:11
rtc_date : 2006-04-12
rtc_epoch : 1900
alarm : 00:00:00
DST_enable : no
BCD : yes
24hr : yes
square_wave : no
alarm_IRQ : no
update_IRQ : no
periodic_IRQ : no
periodic_freq : 1024
batt_status : okay
|
Any ideas what is wrong ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ShadowWizzard n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/22340261045f914f3e5079.gif)
Joined: 04 Mar 2006 Posts: 70
|
Posted: Fri Apr 14, 2006 12:20 pm Post subject: Funny ... |
|
|
What is funny it seems related to startup scripts..
If break up the startup and go single user without newtwork etc.etc.
The works well ...
Any Ideas ?
How to check which process own device ? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
ShadowWizzard n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/22340261045f914f3e5079.gif)
Joined: 04 Mar 2006 Posts: 70
|
Posted: Sun Apr 16, 2006 7:47 pm Post subject: Funny thing ... |
|
|
Ok .. here we go again:
1) The didn't show nothing !!!
2) By intuition I tried to disable one by one startup scripts. And finally I found that it's :
deamon that's locks the /dev/rtc ... but why when unused (I mean no midi is playing ?)
the general question is why lsof didn't show the PID od process which own /dev/rtc ??????? !!!!!! ![Evil or Very Mad :evil:](images/smiles/icon_evil.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
PaulBredbury Watchman
![Watchman Watchman](/images/ranks/rank-G-2-watchman.gif)
![](images/avatars/15669254994381f44a81f83.jpg)
Joined: 14 Jul 2005 Posts: 7310
|
Posted: Thu May 25, 2006 2:56 am Post subject: |
|
|
I confirm that timidity++ hogs /dev/rtc. I haven't seen a solution. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
jmbsvicetto Moderator
![Moderator Moderator](/images/ranks/rank-mod.gif)
![](images/avatars/131796264c80fa19b97a2.png)
Joined: 27 Apr 2005 Posts: 4735 Location: Angra do Heroísmo (PT)
|
Posted: Tue Oct 17, 2006 2:40 am Post subject: |
|
|
Hi.
I was asked to post the following:
Branimir Amidić wrote: | Recompile kernel with RTC Timer Support module turned off.
Code: |
Device Drivers --->
Sound --->
<M> Sound Card Support -->
Advanced Linux Sound Architecture --->
< > RTC Timer Support
|
|
_________________ Jorge.
Your twisted, but hopefully friendly daemon.
AMD64 / x86 / Sparc Gentoo
Help answer || emwrap.sh
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|