Go to advanced search

by skypi
Sat Sep 29, 2018 3:29 am
Forum: General discussion
Topic: can you boot raspbian with pins default output on?
Replies: 2
Views: 322

can you boot raspbian with pins default output on?

can you boot raspbian with pins default output on? seems to default pins are input, which with rgb leds hooked up to sink to pins does have a nice low level all leds on type effect, but want them to perhaps start like that but then instantaneous all off... or individually from low-light effect to ea...
by skypi
Sat Aug 25, 2018 6:51 pm
Forum: General discussion
Topic: For me using the octopi distro wasted time, not real-time enough?
Replies: 15
Views: 1806

Re: For me using the octopi distro wasted time, not real-time enough?

well, serial still needs to be real time enough to have data available to send when required, (i.e. not cpu blocking waiting for something else at that point in time) I guess it's mainly dependent on the gcode command types i.e. a 200mm line single command requires a lot less serial port throughput ...
by skypi
Wed Aug 15, 2018 8:55 pm
Forum: General discussion
Topic: For me using the octopi distro wasted time, not real-time enough?
Replies: 15
Views: 1806

Re: For me using the octopi distro wasted time, not real-time enough?

realtime accelerated graphics? thru a browser????? I disabled the gcode viewer as a potential real-time blockage (just in case) what I would say, from feel, is that the distro is slower in loading the web link than just installing octoprint on stretch lite, now it is possible that a slow browser int...
by skypi
Fri Aug 10, 2018 10:27 pm
Forum: General discussion
Topic: For me using the octopi distro wasted time, not real-time enough?
Replies: 15
Views: 1806

Re: For me using the octopi distro wasted time, not real-time enough?

OK, so I will concede maybe better to post on octoprint forum, but... just noticed running just octoprint on just stretch lite octoprint using a pc that is slow enough that you see the urls the app is loading over firefox in the status line, it is doing that stupid lookup of something online thing, ...
by skypi
Thu Aug 09, 2018 9:52 pm
Forum: General discussion
Topic: For me using the octopi distro wasted time, not real-time enough?
Replies: 15
Views: 1806

Re: For me using the octopi distro wasted time, not real-time enough?

whatever works for you eh! lets say, octopi can print a simple box OK I do a bit more than that … OctoPi is currently handling a vase mode/spiral contour print no problem. I've fed it 12+ hour print jobs. For me, it just works. Best to complain on the OctoPi/OctoPrint support forum. There's no-one ...
by skypi
Thu Aug 09, 2018 12:50 am
Forum: General discussion
Topic: For me using the octopi distro wasted time, not real-time enough?
Replies: 15
Views: 1806

Re: For me using the octopi distro wasted time, not real-time enough?

just observing this first print of a complex (multiple big gap and big overhang) object using manual installed octoprint and it's like, I do not think octopi was even sending the cura 2.x minimum layer time speed travel commands, first I have observed them. whizzing around like a mad thing, like thi...
by skypi
Wed Aug 08, 2018 10:53 pm
Forum: General discussion
Topic: For me using the octopi distro wasted time, not real-time enough?
Replies: 15
Views: 1806

For me using the octopi distro wasted time, not real-time enough?

For me using the octopi distro wasted time, not real-time enough? I was suspecting it was the distro that was the problem, could see in temp graphs that it was dropping way below target temps such that the firmware stopped extruding! and bed temp dropped so much that object warped off the plate... h...
by skypi
Sat Jun 16, 2018 7:26 pm
Forum: C/C++
Topic: GPIO: should I learn sysfs or direct register access?
Replies: 12
Views: 8885

Re: GPIO: should I learn sysfs or direct register access?

seems quite simple to use the gpio file heirarchy, some delays required, and it's portable between say beaglebone and raspberry pi I think. https://github.com/halherta/RaspberryPi-GPIOClass-v2/archive/master.zip see the notes on "issues" following my testing needs some delays. depending what you wan...
by skypi
Thu Jun 14, 2018 3:38 pm
Forum: Graphics, sound and multimedia
Topic: Newbie on audio: How do I get a mini usb mic to record audio
Replies: 4
Views: 4048

Re: Newbie on audio: How do I get a mini usb mic to record audio

alsamixer works in a terminal OK and allows increasing gain (on a pi with sound enabled it will be card 1 so) alsamixer -c 1 allows settting gain to 23.81 but they are very quiet even at max gain seems there is a way to use a softvol in .asoundrc, not got it working yet however sox seems to work OK ...
by skypi
Sat Apr 07, 2018 8:39 pm
Forum: General discussion
Topic: Ah! So the problem with adding a real-time-clock to the board would be need for a battery.....
Replies: 1
Views: 324

Ah! So the problem with adding a real-time-clock to the board would be need for a battery.....

Ah! So the problem with adding a real-time-clock to the board would be need for a battery..... so got that space problem anyway so those Chinese 3231? boards with small battery not far off as small as can feasibly get... without a miniature steam engine on board LOL (haven't IBM already made nano te...
by skypi
Fri Feb 16, 2018 1:51 am
Forum: General discussion
Topic: octoprint exceeding cpu power of old pi B ?
Replies: 7
Views: 2185

Re: octoprint exceeding cpu power of old pi B ?

[MOD EDIT - not sure of the purpose of this rant so I've removed it, not just because of it's negative nature, but also due to hyphenated profanity, which isn't tolerated on these forums]
Texy
by skypi
Fri Feb 02, 2018 8:01 pm
Forum: General discussion
Topic: octoprint exceeding cpu power of old pi B ?
Replies: 7
Views: 2185

Re: octoprint exceeding cpu power of old pi B ?

An upgrade to Pi3 did not fix it. Combination of a few factors, so difficult to pin fix upgrade set up ffmpeg again, blank out those fields in config automatic firmware recognition, disabled that manual connect at 250k could be that it is improvements in octopi have accentuated the overfeed by runni...
by skypi
Thu Feb 01, 2018 9:16 pm
Forum: General discussion
Topic: octoprint exceeding cpu power of old pi B ?
Replies: 7
Views: 2185

octoprint exceeding cpu power of old pi B ?

octoprint exceeding cpu power of old pi B ? big missing gaps in print (but yet actually can see some improvements!!!) upgrading a dangerous thing eh! suddenly you are kung fu expert and everyone wants to challenge you LOL! yeah, python pops up taking 49+% of cpu when octoprint using/requiring 50+ % ...
by skypi
Tue Jan 30, 2018 6:08 pm
Forum: General discussion
Topic: why is hardware random number generator not set up by default?
Replies: 42
Views: 7285

Re: why is hardware random number generator not set up by default?

I was testing using arch, and that was where I first discovered needed to set up the hwrng, but came to the conclusion using arch was a lot of work where raspbian just works, which when trying to concentrate on a few levels higher scada/node stuff makes a big difference not having to deal with the i...
by skypi
Tue Jan 30, 2018 1:02 pm
Forum: General discussion
Topic: why is hardware random number generator not set up by default?
Replies: 42
Views: 7285

Re: why is hardware random number generator not set up by default?

in conclusion, /dev/urandom on pi without rng-tools is about same rngtest error rate as /dev/random or /dev/hwrng on pi with rng-tools installed. except the possible area close to boot time. anyway, to regen your ssh keys (without a passphrase) #rsa and dsa keys sudo ssh-keygen -N "" -h -t rsa -b 40...
by skypi
Tue Jan 30, 2018 12:36 pm
Forum: General discussion
Topic: why is hardware random number generator not set up by default?
Replies: 42
Views: 7285

Re: why is hardware random number generator not set up by default?

Also you might want to add the "bs=10" argument to dd, otherwise you are taking lots of entropy for just a few bytes of output, and you can then skip the head bit. Good point! I'm quite partial to this circuit for generating random bits: Cool! Isn't /dev/random deprecated now? https://unix.stackexc...
by skypi
Tue Jan 30, 2018 11:35 am
Forum: General discussion
Topic: why is hardware random number generator not set up by default?
Replies: 42
Views: 7285

Re: why is hardware random number generator not set up by default?

So, seems contrary to advice on here the hwrng is not set up to feed /dev/random unless you install rng-tools. (and /dev/urandom is a pseudo number generator once entropy pool is exhausted) the arch article on rng-tools suggests testing it is working by this command, and if hwrng is set up it will b...
by skypi
Mon Jan 29, 2018 11:22 pm
Forum: General discussion
Topic: why is hardware random number generator not set up by default?
Replies: 42
Views: 7285

Re: why is hardware random number generator not set up by default?

yeah, thanks, I had already gathered that, more the precise nature of the thing is what I am investigating! well, at the logical level, not the bit level LOL spread spectrum eh! an arduino with a load of sensors randomly ranked by another source as another source.... reflections on trusting trust eh!
by skypi
Mon Jan 29, 2018 8:55 pm
Forum: General discussion
Topic: why is hardware random number generator not set up by default?
Replies: 42
Views: 7285

Re: why is hardware random number generator not set up by default?

could be that it is old advice that it was not at some stage in the past set up, but that has changed as it evolves, stm one major problem with internet, you need to look for latest dated article on a subject. and the entropy_avail not the same as using the hwrng directly then, maybe a mix of using ...
by skypi
Sun Jan 28, 2018 9:13 pm
Forum: General discussion
Topic: why is hardware random number generator not set up by default?
Replies: 42
Views: 7285

Re: why is hardware random number generator not set up by default?

so? does entropy_avail reflect getting a number direct from hwrng? if not what is relative entropy using same scale from hwrng???? but is rdrand same from arm as from intel? (gchq infiltration?), I mean if they can infiltrate the cpu manufacturers cryptography, sure as heck they got plenty of infilt...
by skypi
Sun Jan 28, 2018 9:06 pm
Forum: General discussion
Topic: why is hardware random number generator not set up by default?
Replies: 42
Views: 7285

Re: why is hardware random number generator not set up by default?

right!, thanks, so that's why this did not work

dd if=/dev/hwrng count=1 2>/dev/null | base64 | head -1 | cut -c4-15

should be

sudo dd if=/dev/hwrng count=1 2>/dev/null | base64 | head -1 | cut -c4-15
by skypi
Sun Jan 28, 2018 7:57 pm
Forum: General discussion
Topic: why is hardware random number generator not set up by default?
Replies: 42
Views: 7285

Re: why is hardware random number generator not set up by default?

strange, just installed a stretch installation and checked and rng-tools.service is not running without manually installing, and after reboot....... let me just do that now to check... two pi zeros, one with rng installed one without without rng tools: uptime 20:27:17 up 0 min, 1 user, load average:...
by skypi
Sun Jan 28, 2018 7:29 pm
Forum: General discussion
Topic: why is hardware random number generator not set up by default?
Replies: 42
Views: 7285

why is hardware random number generator not set up by default?

why is hardware random number generator not set up by default? seems to me, it makes entropy at boot time like 2000 whatevers better than a standard installation... The standard installation eventually reaches similar 3300 whatevers entropy after a while, as the hwrng enabled configuration, but is t...
by skypi
Fri Jan 26, 2018 10:59 pm
Forum: Beginners
Topic: HDMI Sleep
Replies: 18
Views: 22439

Re: HDMI Sleep

so the $1 per watt per year is still cheap wherever they are eh!

about 17p /unit here! (inc. standing charge)

so... (1w * 24 * 365)/1000 = 8.76

8.76 * 0.17 = £1.49

= $2.11 per watt per year
by skypi
Fri Jan 26, 2018 10:06 pm
Forum: Beginners
Topic: HDMI Sleep
Replies: 18
Views: 22439

Re: HDMI Sleep

yeah that works! cool!

where is the delay time setting?

and, yeah, that measurement of 1w 24/7/365 at $1 per year is very interesting measure!

Go to advanced search