Go to advanced search

by erg
Tue Sep 17, 2019 5:58 pm
Forum: Automation, sensing and robotics
Topic: pigpiod processor usage
Replies: 3
Views: 91

Re: pigpiod processor usage

Thanks.

I was preoccupied there may be something wrong with my setup.
by erg
Mon Sep 16, 2019 4:58 pm
Forum: Automation, sensing and robotics
Topic: pigpiod processor usage
Replies: 3
Views: 91

pigpiod processor usage

Hello there, I've been looking at the top output and noticed that pigpio consumes significant amount of processor power. It hovers from around 4.6% to 7% but spikes at around 15%. I'm running it on raspberry pi 3B+ with 64bit kernel. Gentoo. Is that normal? Could someone take a peak so that I could ...
by erg
Wed Aug 14, 2019 2:25 pm
Forum: Troubleshooting
Topic: rpigpio Rpi 3B+ 64 bit pigpiod not starting
Replies: 4
Views: 195

Re: rpigpio Rpi 3B+ 64 bit pigpiod not starting

Sorted with the new, post v70 patch
by erg
Wed Aug 14, 2019 2:23 pm
Forum: Gentoo
Topic: Can't connect to pigpio at localhost(8888)
Replies: 10
Views: 2085

Re: Can't connect to pigpio at localhost(8888)

Thanks for detailed explanation. I've learned something about portage and wget today. I had a patch in that folder in a zip file... Looks like that sorted it out. Daemon starts, python module loads, so far things seem to work!: import pigpio >>> pi = pigpio.pi('pi', 8889) >>> Thanks a ton to all, so...
by erg
Wed Aug 14, 2019 12:38 pm
Forum: Gentoo
Topic: Can't connect to pigpio at localhost(8888)
Replies: 10
Views: 2085

Re: Can't connect to pigpio at localhost(8888)

sakaki, The thing is: I haven't had a pigpio.c file on my system at all. I did copy/paste it into /usr/lib64/python3.6/site-packages/pigpio.c Is that the correct place for it? Didn't make no difference though, I'm still getting the same error while running pigpio in python interpreter. Why that file...
by erg
Tue Aug 13, 2019 11:37 pm
Forum: Gentoo
Topic: Can't connect to pigpio at localhost(8888)
Replies: 10
Views: 2085

Re: Can't connect to pigpio at localhost(8888)

hi sakaki, netstat -tulpn tcp 0 0 127.0.0.1:8889 0.0.0.0:* LISTEN 30107/pigpiod Does that seem sane? Local address seems fine to me, I've set it in /etc/conf.d/pigpiod to: PIGPIOD_OPTS="-l -n 127.0.0.1 -p 8889" pi = pigpio.pi('localhost', 8889) %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%...
by erg
Tue Aug 13, 2019 10:38 pm
Forum: Gentoo
Topic: Can't connect to pigpio at localhost(8888)
Replies: 10
Views: 2085

Re: Can't connect to pigpio at localhost(8888)

Well, find / -name pigpio.c returns nothing, find / -name pigpio* /usr/lib64/python2.7/site-packages/pigpio.py /usr/lib64/python2.7/site-packages/pigpio.pyc /usr/lib64/python2.7/site-packages/pigpio-1.44-py2.7.egg-info /usr/lib64/python2.7/site-packages/pigpio.pyo /usr/lib64/python3.6/site-packages/...
by erg
Tue Aug 13, 2019 9:52 pm
Forum: Gentoo
Topic: Can't connect to pigpio at localhost(8888)
Replies: 10
Views: 2085

Re: Can't connect to pigpio at localhost(8888)

I have: eix pigpio [I] dev-libs/pigpio Available versions: ~*67 (~*)68 (~*)70 {python PYTHON_TARGETS="python2_7 python3_5 python3_6 python3_7"} Installed versions: 70(12:10:24 13/08/19)(python PYTHON_TARGETS="python2_7 python3_6 -python3_5 -python3_7") Homepage: http://abyz.me.uk/rpi/pigpio/index.ht...
by erg
Tue Aug 13, 2019 8:57 pm
Forum: Gentoo
Topic: Can't connect to pigpio at localhost(8888)
Replies: 10
Views: 2085

Can't connect to pigpio at localhost(8888)

Hi, not sure if this is the right place on the forum as it's python3 related. Running 64 bit Gentoo on Rpi 3B+ managed to get pigpiod started with version 70 but: python Python 3.6.9 (default, Aug 6 2019, 18:42:28) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more inform...
by erg
Tue Aug 13, 2019 11:28 am
Forum: Troubleshooting
Topic: rpigpio Rpi 3B+ 64 bit pigpiod not starting
Replies: 4
Views: 195

Re: rpigpio Rpi 3B+ 64 bit pigpiod not starting

Hi, I have now pigpio installed, daemon starts without complaining, python module also. But: python Python 3.6.9 (default, Aug 6 2019, 18:42:28) [GCC 8.3.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import pigpio >>> pi = pigpio.pi() %%%%%%%%%%%%%%%%%%%%%%%%...
by erg
Tue Aug 13, 2019 7:37 am
Forum: Troubleshooting
Topic: rpigpio Rpi 3B+ 64 bit pigpiod not starting
Replies: 4
Views: 195

Re: rpigpio Rpi 3B+ 64 bit pigpiod not starting

Thanks for a prompt reply. Waiting on Gentoo update of pigpio package then to test it.
by erg
Fri Aug 09, 2019 1:43 pm
Forum: Troubleshooting
Topic: rpigpio Rpi 3B+ 64 bit pigpiod not starting
Replies: 4
Views: 195

rpigpio Rpi 3B+ 64 bit pigpiod not starting

Hi, I'm running Gentoo 64 bit on Rpi 3B+, trying to get pigpio working. I installed pigpio successfully through system package manager with python support (3.6 and 2.7 as fallback) with this patch for 64 bit kernel https://github.com/joan2937/pigpio/issues/266 following joan2937 ( https://github.com...
by erg
Fri Dec 07, 2018 8:14 am
Forum: Raspbian
Topic: invert screen colors?
Replies: 9
Views: 4223

Re: invert screen colors?

jamesh:
Is there any progress on that? Are we going to see this feature anytime soon? Could you be so kind and let know on this forum if and when this is released and how to use it?
Regards,
erg
by erg
Fri Nov 23, 2018 4:30 pm
Forum: Troubleshooting
Topic: read only sd card after a mishap
Replies: 6
Views: 502

Re: read only sd card after a mishap

Thanks for that explanation. Tough luck.
by erg
Fri Nov 23, 2018 4:02 pm
Forum: Troubleshooting
Topic: read only sd card after a mishap
Replies: 6
Views: 502

Re: read only sd card after a mishap

ok then. I see. Only, why would that happen? It's less than a year that I was using it....
by erg
Fri Nov 23, 2018 1:27 pm
Forum: Troubleshooting
Topic: read only sd card after a mishap
Replies: 6
Views: 502

Re: read only sd card after a mishap

Right, could you elaborate, please?
I'm not an expert on those things so it puzzles me how come I can see the partitions, even open one of them and see the files and the card is broken?
I can see the /boot partition (vfat I guess)
by erg
Fri Nov 23, 2018 1:11 pm
Forum: Troubleshooting
Topic: read only sd card after a mishap
Replies: 6
Views: 502

read only sd card after a mishap

Hi all, situation as follows: raspberry pi broke in half (no comment), now trying to fsck or reformat the card and it's read-only: fdisk: cannot open /dev/mmcblk0: Read-only file system device notifier shows three partitions, /root, /boot, and /SETTINGS trying to check /boot partition on the card - ...
by erg
Thu Oct 25, 2018 8:11 pm
Forum: Raspbian
Topic: invert screen colors?
Replies: 9
Views: 4223

Re: invert screen colors?

Awesome. Can't wait. It does come handy, I'm keeping fingers crossed, I guess, that much I can do to help ...
by erg
Thu Oct 25, 2018 5:48 pm
Forum: Raspbian
Topic: invert screen colors?
Replies: 9
Views: 4223

invert screen colors?

Hi all,

Is it possible to invert screen colors in Raspbian at all?

I've tried 'xcalib -i -a' but no joy. I've the libxxf86vm-dev package which seems necessary for xcalib to work installed, btw

Is there a way?

Go to advanced search