You are not logged in.

#1 2015-07-05 07:50:30

arie_g
Member
Registered: 2015-07-05
Posts: 3

[SOLVED] hwclock: Cannot access the Hardware Clock

Hi,

I try to use the hwclock but I get this output:

[arkadi@arkadi-linux /home/arkadi $]hwclock 
hwclock: Cannot access the Hardware Clock via any known method.
hwclock: Use the --debug option to see the details of our search for an access method. 

When I use debug I got this message:

[arkadi@arkadi-linux /home/arkadi $]hwclock --debug 
hwclock from util-linux 2.26.2
hwclock: cannot open /dev/rtc: Permission denied
No usable clock interface found.
hwclock: Cannot access the Hardware Clock via any known method. 

I using :

[arkadi@arkadi-linux /home/arkadi $]uname -a
Linux arkadi-linux 4.0.7-2-ARCH #1 SMP PREEMPT Tue Jun 30 07:50:21 UTC 2015 x86_64 GNU/Linux 

how to fix it?

Last edited by arie_g (2015-07-05 11:41:31)

Offline

#2 2015-07-05 08:53:33

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [SOLVED] hwclock: Cannot access the Hardware Clock

You need to be root to run the hwclock command.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#3 2015-07-05 08:54:49

arie_g
Member
Registered: 2015-07-05
Posts: 3

Re: [SOLVED] hwclock: Cannot access the Hardware Clock

Yes, with root it works.
It's ok that without root I get this messages?

Offline

#4 2015-07-05 11:28:39

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] hwclock: Cannot access the Hardware Clock

Yes, 'Permission denied' is the standard message, I get them too if I run 'hwclock' w/o 'sudo'.

Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309

Offline

Board footer

Powered by FluxBB