Well, it's nearly a month later and although I've made a little progress towards getting my RasClock working on an archlinux arm raspberry pi, I'm still hitting problems!
Using the linux-raspberrypi-latest package I now have the module loaded ok. (Thanks to moonman)
lsmod shows :-
$this->bbcode_second_pass_code('', '
rtc_pcf2127 2642 0
i2c_bcm2708 3949 0
')
amongst many other modules.
When I then try to make a new i2c device, using :-
$this->bbcode_second_pass_code('', '
echo pcf2127a 0x51 > /sys/class/i2c-dev/i2c-1/device/new_device
')
I see this in dmesg:-
$this->bbcode_second_pass_code('', '
Oct 15 11:27:20 raspberrypi kernel: i2c i2c-1: new_device: Instantiated device pcf2127a at 0x51
')
but there is still no sign of /dev/rtc0 and entering hwclock I am still getting:-
$this->bbcode_second_pass_code('', '
# 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.
')
Reading another blog (
http://blog.remibergsma.com/2013/05/08/ ... pberry-pi/ )
about half way down the page is this:-
" It’s now time to boot the new kernel. When you reboot, the RasClock will be available as /dev/rtc0.
dmesg
The kernel ring buffer should list something like this:"
$this->bbcode_second_pass_code('', '
[ 32.737903] rtc-pcf2127a 1-0051: chip found
[ 32.739712] rtc-pcf2127a 1-0051: rtc core: registered rtc-pcf2127a as rtc0
[ 32.739775] i2c i2c-1: new_device: Instantiated device pcf2127a at 0x51
')
I'm obviously still missing something because I don't see the first two lines about the chip being found and then
"rtc core registered rtc-pcf2127a as rtc0"
Does anyone have any clues as to what that is telling me, please ??
Any thoughts/help would be greatly appreciated!
Cheers
Nigel