[BusyBox 0001179]: [PATCH] hwclock must understand /dev/rtc0, /dev/rtc1, etc
bugs at busybox.net
bugs at busybox.net
Wed Mar 7 23:03:11 UTC 2007
The following issue has been CLOSED
======================================================================
http://busybox.net/bugs/view.php?id=1179
======================================================================
Reported By: db
Assigned To: BusyBox
======================================================================
Project: BusyBox
Issue ID: 1179
Category: New Features
Reproducibility: always
Severity: feature
Priority: normal
Status: closed
Resolution: open
Fixed in Version:
======================================================================
Date Submitted: 01-26-2007 12:00 PST
Last Modified: 03-07-2007 15:03 PST
======================================================================
Summary: [PATCH] hwclock must understand /dev/rtc0,
/dev/rtc1, etc
Description:
For the past year or more, Linux has had an RTC framework supporting
multiple RTCs, conventionally named /dev/rtcN (N starting at zero).
This is widely used on embedded Linuxes, since there are so many
different implementations of RTCs, and systems may need more than
one (e.g. the full featured integrated one may not be battery backed).
The /dev/rtc name is conventionally used only for the RTC on an x86_pc.
The busybox "hwclock" doesn't understand those names, and has no
way to access more than one RTC at a time, even if someone sets up
a symlink from e.g. rtc pointing at rtc0.
======================================================================
----------------------------------------------------------------------
bernhardf - 01-27-07 05:19
----------------------------------------------------------------------
wrong project. That's not a buildroot issue but a busybox one.
----------------------------------------------------------------------
bernhardf - 01-27-07 05:22
----------------------------------------------------------------------
I cannot change the project this was reported against, so it is unlikely
that Denis will ever see it, fwiw.
Not closing for now.
----------------------------------------------------------------------
vda - 01-27-07 05:42
----------------------------------------------------------------------
I saw it (bugs are auto-posted to ml)
----------------------------------------------------------------------
db - 01-27-07 08:31
----------------------------------------------------------------------
I have no idea why I couldn't set the project correctly when submitting
this bug ... there was no such option presented, and it was
**AUTOMAGICALLY** assigned to the wrong project (sigh).
----------------------------------------------------------------------
vda - 03-07-07 15:03
----------------------------------------------------------------------
bb_perror_msg_and_die("cannot access RTC");
return rtc;
huh? ;)
Apart from xopen_rtc being x2 bigger than it can be, patch is ok.
Applied in rev 18028, thanks.
Issue History
Date Modified Username Field Change
======================================================================
01-26-07 12:00 db New Issue
01-26-07 12:00 db Status new => assigned
01-26-07 12:00 db Assigned To => uClibc
01-26-07 12:00 db File Added: hwclock.patch
01-27-07 01:53 jocke Assigned To uClibc => BusyBox
01-27-07 05:19 bernhardf Note Added: 0002058
01-27-07 05:22 bernhardf Note Added: 0002059
01-27-07 05:42 vda Note Added: 0002060
01-27-07 08:31 db Note Added: 0002061
03-06-07 20:08 vapier Project buildroot => BusyBox
03-07-07 15:03 vda Status assigned => closed
03-07-07 15:03 vda Note Added: 0002218
======================================================================
More information about the busybox-cvs
mailing list