help compiling RTC module [rtc-pcf2127a]

This forum is for topics specific to the Raspberry Pi and Arch Linux ARM

Re: help compiling RTC module [rtc-pcf2127a]

Postby sinuz » Tue Dec 17, 2013 9:54 am

I can confirm this works now on 3.10.24-1-ARCH (the main branch). The location of the new_device file has changed, i got it working by using the following command:
$this->bbcode_second_pass_code('', 'echo pcf2127 0x51 > /sys/class/i2c-adapter/i2c-1/new_device')

Which produces:
$this->bbcode_second_pass_code('', '
Dec 17 09:50:25 rpi0 kernel: rtc-pcf2127 1-0051: chip found, driver version 0.0.1
Dec 17 09:50:25 rpi0 kernel: rtc-pcf2127 1-0051: rtc core: registered rtc-pcf2127 as rtc0
Dec 17 09:50:25 rpi0 kernel: i2c i2c-1: new_device: Instantiated device pcf2127 at 0x51
')
sinuz
 
Posts: 2
Joined: Wed Dec 11, 2013 10:28 am

Previous

Return to Raspberry Pi

Who is online

Users browsing this forum: No registered users and 8 guests