From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] Inappropriate ioctl - hwclock
Date: Fri, 14 Jan 2011 09:42:45 +0100 [thread overview]
Message-ID: <20110114094245.78bf04ff@surf> (raw)
In-Reply-To: <SNT119-W1972A4A3A479929AD85F7882F00@phx.gbl>
On Thu, 13 Jan 2011 09:55:41 +0000
Johnny Beardsmore <jny0@hotmail.com> wrote:
> I've copied the hwclock and rtc files onto my architecture, but when I call hwclock, I get the following message:
>
> RTC_RD_TIME: Inappropriate ioctl for device
> ioctl() to /dev/misc/rtc to read the time failed.
>
> Any ideas what I've done wrong?
This is not really Buildroot related, but anyway.
Are you sure that /dev/misc/rtc is a really a RTC device ? The
RTC_RD_TIME ioctl() is implemented in the core RTC infrastructure of
the kernel, so it looks like you're not talking to the right device, or
using a really really old version of the kernel that didn't support
this ioctl(). Or that your kernel lacks RTC support completely.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
next prev parent reply other threads:[~2011-01-14 8:42 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-13 9:55 [Buildroot] Inappropriate ioctl - hwclock Johnny Beardsmore
2011-01-14 8:42 ` Thomas Petazzoni [this message]
2011-01-14 8:53 ` Yegor Yefremov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110114094245.78bf04ff@surf \
--to=thomas.petazzoni@free-electrons.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox