LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM
User Name
Password
Slackware - ARM This forum is for the discussion of Slackware ARM.

Notices


Reply
  Search this Thread
Old 01-02-2022, 01:38 PM   #1
dodoLQ
Member
 
Registered: Dec 2014
Location: France
Distribution: Slackware
Posts: 213

Rep: Reputation: Disabled
ChronoDot (2.0) Project done!


Hi! That's started with a pb's form factor for the battery The ChronoDot ordered (v2.0) needed an little small battery than the (v2.1)'s version, as in SARPi's mini-project page! Got an idea: (as i've a tons of CR2032 cells here ), just ordered a socket for a battery cell and i'm happy with that choice!

Happy New Year guys!

ps: you don't need to put an hwclock -s in rc.local, all is done in rc.S.
Attached Thumbnails
Click image for larger version

Name:	DSC_0364.JPG
Views:	51
Size:	131.6 KB
ID:	37965   Click image for larger version

Name:	DSC_0367.JPG
Views:	36
Size:	138.4 KB
ID:	37966   Click image for larger version

Name:	DSC_0368.JPG
Views:	30
Size:	138.6 KB
ID:	37967  
 
Old 01-02-2022, 11:57 PM   #2
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by dodoLQ View Post
Hi! That's started with a pb's form factor for the battery The ChronoDot ordered (v2.0) needed an little small battery than the (v2.1)'s version, as in SARPi's mini-project page! Got an idea: (as i've a tons of CR2032 cells here ), just ordered a socket for a battery cell and i'm happy with that choice!

Happy New Year guys!


Happy New Year.

I changed the CR1632 battery in my ChronoDot v2.1 about 11 months ago, which had lasted approx. 8 years from new. I consider this to be very good battery lifespan.

From looking at your images, what you've got is a "ChronoDor" which is a Chinese clone of the ChronoDot. Although I've never used the ChronoDor, it looks very similar to the ChronoDot and features a DS3231SN controller. I believe the ChronoDor uses a CR1220 battery and ChronoDot uses a CR1632 battery, which leads me to assume that the battery life on the ChronoDor may be somewhat similar to that on the ChronoPi. I doubt for most users the quality and accuracy of the ChronoDor will be of any concern. The important thing is that it's a RTC and does the job.

A good idea for a battery holder is a CR2032 breakout board which is also available with an on/off switch.

Quote:
Originally Posted by dodoLQ View Post
ps: you don't need to put an hwclock -s in rc.local, all is done in rc.S.
In '/etc/rc.d/rc.S' the hwclock if-then-else statements use 'hwclock --directisa' which is intended for ISA compatible machines such as x86, x86_64, and Alpha. For other machines it has no effect - see: 'man hwclock'. Users on the ARM platform may well find that they need to implement their own means and methods depending on their test-case parameters and hardware. Especially if (for example) a low quality or inaccurate RTC is being used that gains or loses several seconds per hour/day and the system has long uptimes and/or is not being (re)booted frequently. It's basically all down to each individual's requirements. Of course, '/etc/rc.d/rc.S' and '/etc/rc.d/rc.local' is only run at startup. The wonderful thing about Slackware is that it affords users the ability to do with it what they please and is ultimately configurable, and infinite in scope and possibilities.

Code:
Manual page hwclock(8) line 224

--directisa
           This option is meaningful for ISA compatible machines in the x86
           and x86_64 family. For other machines, it has no effect. This
           option tells hwclock to use explicit I/O instructions to access the
           Hardware Clock. Without this option, hwclock will use the rtc
           device file, which it assumes to be driven by the Linux RTC device
           driver. As of v2.26 it will no longer automatically use directisa
           when the rtc driver is unavailable; this was causing an unsafe
           condition that could allow two processes to access the Hardware
           Clock at the same time. Direct hardware access from userspace
           should only be used for testing, troubleshooting, and as a last
           resort when all other methods fail. See the --rtc option.

Last edited by Exaga; 01-02-2022 at 11:58 PM.
 
Old 01-03-2022, 01:14 PM   #3
dodoLQ
Member
 
Registered: Dec 2014
Location: France
Distribution: Slackware
Posts: 213

Original Poster
Rep: Reputation: Disabled
Thanks for replying Exaga I'm surprised, didn't know about the existence of a chinese version.. And had a pb with a soldering point! Will check accuracy in time. Talking about hwclock, for you i should use hwclock -s in my rc.local? I forgot to say that i'm using the "dto" version's project. Good night
 
Old 01-03-2022, 11:53 PM   #4
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by dodoLQ View Post
Thanks for replying Exaga I'm surprised, didn't know about the existence of a chinese version.. And had a pb with a soldering point! Will check accuracy in time. Talking about hwclock, for you i should use hwclock -s in my rc.local? I forgot to say that i'm using the "dto" version's project. Good night
I very much doubt that the accuracy of the ChronoDor will be notably different from the ChronoDot, unless it's a bad one. I have quite a few RTCs using a cloned DS3231 controller and they've kept good time when I've tested them.

It's up to you what you do with rc.local or any other file(s), if anything. It's always prudent to do some testing and verify that the RTC is working as expected on (re)boot and then no further 'hwclock -s' commands are necessary. The ChronoDot RTC guide you mentioned to is 9 years old, was written for Slackware ARM 13.37/14.0, and still refers to a "disabling device-tree method", which I think is no longer used these days. So, the information in the guide is in need of a general overhaul.

Basically, with the ChronoDot (or any other DS3231 based I2C RTC) all that's required is to make sure it's wired up correctly and add or uncomment 'dtoverlay=i2c-rtc,ds3231' in the /boot/config.txt file, then reboot the system. Obviously users will need to consider their own setups and configurations in order to suit their requirements.

Last edited by Exaga; 01-03-2022 at 11:57 PM. Reason: tyop
 
Old 01-04-2022, 12:37 PM   #5
dodoLQ
Member
 
Registered: Dec 2014
Location: France
Distribution: Slackware
Posts: 213

Original Poster
Rep: Reputation: Disabled
Ok Doc Exaga
hs: as you seen in my pics, i got the RBPi mouse but this one is not moving the cursor as expected under X.Org..
The move is not very reactive! I don't have this "pb" with a basic usb mouse (w/ my x86/x86_64 configs). Is the RBPi mouse a special device? Hope you understand
 
Old 01-04-2022, 01:44 PM   #6
Exaga
SARPi Maintainer
 
Registered: Nov 2012
Distribution: Slackware AArch64
Posts: 1,043

Rep: Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665Reputation: 665
Quote:
Originally Posted by dodoLQ View Post
hs: as you seen in my pics, i got the RBPi mouse but this one is not moving the cursor as expected under X.Org..
The move is not very reactive! I don't have this "pb" with a basic usb mouse (w/ my x86/x86_64 configs). Is the RBPi mouse a special device?
The Raspberry Pi mouse is nothing out of the ordinary or requires special drivers, as far as I am aware. Then again, I am not a desktop user on Slackware ARM, but on the few occasions when I have used Xfce a generic USB mouse has always worked as expected.
 
Old 01-04-2022, 03:27 PM   #7
mralk3
Slackware Contributor
 
Registered: May 2015
Distribution: Slackware
Posts: 1,904

Rep: Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053Reputation: 1053
Quote:
Originally Posted by dodoLQ View Post
Ok Doc Exaga
hs: as you seen in my pics, i got the RBPi mouse but this one is not moving the cursor as expected under X.Org..
The move is not very reactive! I don't have this "pb" with a basic usb mouse (w/ my x86/x86_64 configs). Is the RBPi mouse a special device? Hope you understand
It could be that you just need to raise the mouse sensitivity or acceleration. You can do this from the system settings in KDE and in Xfce. The last step would be to create /edit the xserver configuration and tell the driver to increase those properties.
 
Old 01-06-2022, 12:31 PM   #8
dodoLQ
Member
 
Registered: Dec 2014
Location: France
Distribution: Slackware
Posts: 213

Original Poster
Rep: Reputation: Disabled
Ok mralk3
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Spectre and Meltdown: Explanation, Info, What's being done, What can be done Zyblin Linux - Security 7 02-17-2018 09:48 PM
HOW TO Install a ChronoDot RTC on Slackware ARM Linux on a Raspberry Pi Penthux Slackware 0 10-16-2013 09:44 PM
get things done+ project management permalac Linux - Software 2 02-03-2009 05:49 AM
suse 10.0 => processes "sending kill signal": "done, done, missing"...!? ungua Linux - Newbie 2 01-18-2006 10:52 AM
Kiosk PC Project mostly done andguent Linux - Software 2 12-30-2004 08:01 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware > Slackware - ARM

All times are GMT -5. The time now is 09:14 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration