Search found 88 matches

by kjkoster
17 Oct 2023, 09:14
Forum: Software
Topic: Inquiry about delay when received from RS485 port
Replies: 3
Views: 4228

Re: Inquiry about delay when received from RS485 port

Dear Nicolai, Great idea. You'd only need a way to make this setting survive full reset, for example if you move the code to another Revolution Pi instance. We actually have a check in the code that throws an error on startup when latency_timer has not been set to 1. Not ideal, but at least the syst...
by kjkoster
17 Oct 2023, 07:57
Forum: Software
Topic: Inquiry about delay when received from RS485 port
Replies: 3
Views: 4228

Re: Inquiry about delay when received from RS485 port

Dear Hydro, Not sure it is the same for you, but we have solved a similar issue reading from load cells via serial. We found we had to set /sys/bus/usb-serial/devices/ttyUSB0/latency_timer to 1 for better performance. This gets overwritten on boot, so you need some way to make that setting survive r...
by kjkoster
01 Sep 2023, 09:48
Forum: TeamViewer
Topic: Remove teamviewer
Replies: 1
Views: 11950

Re: Remove teamviewer

Dear Joris,

Yes, easy.

Code: Select all

$ sudo apt remove "teamview*"
$ sudo rm /etc/apt/sources.list.d/teamviewer-revpi.list
For older versions of the images, this fixes a periodic crash as Teamviewer was leaking memory, regardless of use.

Kees Jan
by kjkoster
31 Aug 2023, 08:43
Forum: Hardware
Topic: RevPi Connect SE Trouble using Wifi Modules
Replies: 7
Views: 3053

Re: RevPi Connect SE Trouble using Wifi Modules

Dear Fandi, Frankly, I would not bother with that device. If you have to download a driver from dropbox, you have no idea what nastiness is installed alongside with it. https://laurenthinoul.com/how-to-install-tp-link-tl-wn725n-on-raspberry-pi/ Instead, google for "raspberry pi USB wifi dongle&...
by kjkoster
26 Aug 2023, 11:29
Forum: Software
Topic: Can't set up WireGuard
Replies: 12
Views: 5099

Re: Can't set up WireGuard

Dear Jules. I think on Bullseye you don't need the kernel module. Can you please try the following: sudo apt install -y raspberrypi-kernel-headers wireguard You may probably even omit the raspberrypi-kernel-headers package, but not sure. Kees Jan See also: https://forums.debian.net/viewtopic.php?t=1...
by kjkoster
13 Aug 2023, 16:19
Forum: Software
Topic: Multiple high severity vulnerabilities in CODESYS V3 SDK could lead to RCE or DoS
Replies: 0
Views: 72914

Multiple high severity vulnerabilities in CODESYS V3 SDK could lead to RCE or DoS

Dear All,

Just quick reminder to stay updated. CVE links in the article.

https://www.microsoft.com/en-us/securit ... ce-or-dos/

Kees Jan

PS. And if *Microsoft* finds your code insecure... </bad-joke>
by kjkoster
11 Aug 2023, 13:16
Forum: Hardware
Topic: Counter synchronisation
Replies: 3
Views: 2705

Re: Counter synchronisation

Dear Alexsf,

That I do not know, though I am curious to learn. I guess we'll have to wait what one of the Kunbus experts has to say on the topic.

Kees Jan
by kjkoster
11 Aug 2023, 08:48
Forum: Hardware
Topic: Counter synchronisation
Replies: 3
Views: 2705

Re: Counter synchronisation

Dear Alexsf,

Is it not heaps easier to just do that in software? As you the system boots, you read both counters at the same time and store that as the offset. Then each cycle you read both counters at the same time, subtract the offset and you have clean, reliable counts since boot.

Kees Jan
by kjkoster
04 Aug 2023, 13:12
Forum: Hardware
Topic: Wifi drops when I connect through Ethernet
Replies: 1
Views: 2037

Re: Wifi drops when I connect through Ethernet

Dear Juan,

Don't double-post. viewtopic.php?t=4074

Kees Jan
by kjkoster
04 Aug 2023, 08:01
Forum: Software
Topic: Spammers galore
Replies: 5
Views: 5087

Re: Spammers galore

Guys,

I'd like to report memberlist.php?mode=viewprofile&u=4943 as spammer. His messages always include a link to an external service unrelated to the topic or even this board.

Kees Jan