-
Notifications
You must be signed in to change notification settings - Fork 74
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
default with RTC driver and hwclock...; #11
Comments
did you try this? tohax@2c0afb1 |
Hi tohax |
Yes. My cameras run on battery for a long time. And both hwclock --systohc and hwclock --hctosys work. |
Hi, i am using your master
bravo et merci But i can't connect to my AP dmesg say
if i start manually /etc/init.d/wifi.sh
what do you think about ? |
echo ds1307 0x68 > /sys/class/i2c-adapter/i2c-0/new_device it's my old firmware. Now i'm working on Gadget firmware. I commented it for testing purpose, but you need this 2 string for hwclock working. As for AP. I am currently not using AP mode. wifi.sh is for connecting to AP named Avtobus. My firmware is highly modified. I think you need to go back to source from Lamobo D1 github and edit files in init.d directory for your purpose. As for 8192cu driver ... this driver for my wifi adapter. Yours may be different. Maybe you need 8188.ko or other. What wifi adpter do you use? |
/mnt/setup.txt it is just for ip and hostname of camera. Also you need /etc/localtime file for your timezone. my for YEKT +5, as i am in Russia. |
Hi, USB: 0BDA:0179 Realtek Semiconductor Corp. RTL8188ETV Wireless LAN 802.11n Network Adapter Bonsoir |
everything should work fine with 8188ko driver. You can write me directly to [email protected] |
i have post an issue on http://www.bananapi.com/bbs/Show.aspx?tid=909&page=2
hwclock return bad date, confusing day and seconde.
I am testing with release tohax@bdf9584 , the same problem exist.
the rtc device is DS1337S in schematic bananapi-D1
datasheet of DS1337S https://datasheets.maximintegrated.com/en/ds/DS1337-DS1337C.pdf
with tool i2c-test i can read rtc device
decoding rtc registers say : [04]=Fri [01]=Jan [11]=13 [00]=2000 [02][21][05]=02:21:05
content register was set by ntpd -q -p pool.ntp.org (error on year ...?),
But when read register with hwclock more errors ( seem read register 00 as day and register 01 as month and register 02 as year ......)
Can you help me ?
The text was updated successfully, but these errors were encountered: