Closed
Description
I cant make the following device, RTC Pi Plus work on FreeBSD 11 using RBPI2. I compiled your ds1307.c on my FreeBSD 11 arm and tried to run it:
root@rpi2:/usr/home/raspberry # ./ds -s -f /dev/iic0
I2CRDWR: Input/output error
I2CRDWR: Input/output error
I2CRDWR: Input/output error
I2CRDWR: Input/output error
I2CRDWR: Input/output error
I2CRDWR: Input/output error
I2CRDWR: Input/output error
root@rpi2:/usr/home/raspberry # ./ds -s -f /dev/iic1
root@rpi2:/usr/home/raspberry #
Here more info from my system:
FreeBSD rpi2 11.0-CURRENT FreeBSD 11.0-CURRENT #0 r288098: Thu Aug 20 04:00:38 UTC 2015 root@rpi2:/usr/obj/usr/src/sys/KPI2 arm
root@rpi2:/usr/home/raspberry # dmesg | grep iic
iichb0: <BCM2708/2835 BSC controller> mem 0x205000-0x20501f irq 61 on simplebus0
iicbus0: <OFW I2C bus> on iichb0
iic0: <I2C generic I/O> on iicbus0
iichb1: <BCM2708/2835 BSC controller> mem 0x804000-0x80401f irq 61 on simplebus0
iicbus1: <OFW I2C bus> on iichb1
iic1: <I2C generic I/O> on iicbus1
Any ideas how can I make this device work with FreeBSD 11 ?
https://www.abelectronics.co.uk/products/17/Raspberry-Pi--Raspberry-Pi-2-Model-B/52/RTC-Pi-Plus
Metadata
Metadata
Assignees
Labels
No labels