Go to advanced search

by hippy
Sun Mar 24, 2019 5:41 pm
Forum: General discussion
Topic: Using a raspberry pi monitor as a second monitor for windows
Replies: 8
Views: 240

Re: Using a raspberry pi monitor as a second monitor for windows

It seems Citrix have done it; full HDMI (1920x1080) at 60 fps over USB using a Pi Zero. Not sure if that's DisplayLink or something propriety - https://www.youtube.com/watch?v=1PXoknp_ouI One wouldn't even need an SD card in the Zero. One could push a suitable bootcode.bin and all the rest to boot i...
by hippy
Sun Mar 24, 2019 4:06 pm
Forum: General discussion
Topic: Using a raspberry pi monitor as a second monitor for windows
Replies: 8
Views: 240

Re: Using a raspberry pi monitor as a second monitor for windows

Zero's to add more HDMI screens and some more memory to any Win PC or Linux PC or Pi. :D Some sort of Displaylink client with memory? I would say this is one case where Unix Philosophy should apply; "Do One Thing and Do It Well". A gadget driver as a DisplayLink driver is all that is required, no m...
by hippy
Sun Mar 24, 2019 3:48 pm
Forum: General discussion
Topic: Prevent Tkinter window minimize
Replies: 11
Views: 201

Re: Prevent Tkinter window minimize

I have done it myself, but can't remember how, it was using Python 2.7, and it might have still been there but disabled, or maybe even just did nothing when clicked. I recall it was a little problematic. If no one else can provide the answer I'll see if I can dig out what I did. I'd sure appreciate...
by hippy
Sat Mar 23, 2019 10:54 pm
Forum: General discussion
Topic: Prevent Tkinter window minimize
Replies: 11
Views: 201

Re: Prevent Tkinter window minimize

What I described is a global setting and will remove the minimize [-] from all program app dialogs including tkinter programs. I have to side with the OP here; what they want is a way to not have the minimise button appear in one particular program and/or for one particular form or dialogue. Not tw...
by hippy
Sat Mar 23, 2019 10:40 pm
Forum: General discussion
Topic: Using a raspberry pi monitor as a second monitor for windows
Replies: 8
Views: 240

Re: Using a raspberry pi monitor as a second monitor for windows

Maybe it's something the Foundation might like to consider developing or funding as a means of using Pi's to provide multi-monitor support for other Pi's. the Pi will be able to drive dual-display hopefully soon, have a look here https://www.raspberrypi.org/forums/viewtopic.php?t=216399 The Pi alre...
by hippy
Sat Mar 23, 2019 10:17 pm
Forum: Troubleshooting
Topic: Chromium crashes when I go to Pandora login page
Replies: 3
Views: 71

Re: Chromium crashes when I go to Pandora login page

electronicman wrote:
Sat Mar 23, 2019 9:10 pm
I have started getting crashes on Chromium after the latest update.
It would probably help those looking into issues if you could say what crashes, when doing what and where, ideally how to replicate that.
by hippy
Sat Mar 23, 2019 10:03 pm
Forum: Python
Topic: Formatting an integer to be passed to Serial as a single char.
Replies: 7
Views: 109

Re: Formatting an integer to be passed to Serial as a single char.

Code similar to 'ser.write(chr(AK))' has always worked for me but I tend to use Python 2.7 I thought that also worked for Python 3 but cannot put hand on heart and say it does. Has what the PySerial library uses or what chr() produces changed in Python 3 or is it simply that your AK is out of the 0-...
by hippy
Sat Mar 23, 2019 9:55 pm
Forum: General discussion
Topic: Can the Pi 3B+ power a USB hard drive?
Replies: 5
Views: 129

Re: Can the Pi 3B+ power a USB hard drive?

So much depends on in-rush current and power supply that one can say it should work but one never really knows if it will until one tries it.
by hippy
Fri Mar 22, 2019 4:10 pm
Forum: General discussion
Topic: Sterilization of Pi
Replies: 12
Views: 402

Re: Sterilization of Pi

mariomata wrote:
Fri Mar 22, 2019 3:12 pm
The main question I have is if the Raspberry Pi Zero W holds a charge (has a capacitor or something similar).
The Pi has lots of capacitors, all of which can potentially hold some charge. As to whether enough to be a problem with your 'explosive gas sterilisation process' I have no idea.
by hippy
Fri Mar 22, 2019 1:46 pm
Forum: General discussion
Topic: Using a raspberry pi monitor as a second monitor for windows
Replies: 8
Views: 240

Re: Using a raspberry pi monitor as a second monitor for windows

Not so easy with the SPI/GPIO based models. If anyone does ever create a USB gadget mode driver which turns a Zero, A, A+ or 3A+ into a DisplayLink client, we'll be able to use anything a Pi can handle as a Windows, Mac or Linux monitor. That shouldn't be too hard. The gadget framework exists, the ...
by hippy
Thu Mar 21, 2019 8:50 pm
Forum: Beginners
Topic: Chess engine communication with arduino
Replies: 2
Views: 57

Re: Chess engine communication with arduino

If the Arduino exposes itself to the Pi over USB as a serial port, eg /dev/ttyUSB0, it should be easy enough to send and receive information and have both sides handle that. I don't know anything about the PiChess app either, so don't know whether you'd have to mod that to allow serial input and out...
by hippy
Thu Mar 21, 2019 3:00 pm
Forum: General discussion
Topic: Missing INS key
Replies: 6
Views: 150

Re: Missing INS key

Mapping ctrl-V to INS is a possibility, but how would you then mimic ctrl-INS? And a bit of a PITA as Ctrl-V is commonly also "Paste". "Insert" is also the zero key on the numeric keypad if that's any help. Also worth checking if some combination with 'Print Scrn', or one of the other often ignored...
by hippy
Wed Mar 20, 2019 12:30 pm
Forum: General discussion
Topic: Pi password pwned...
Replies: 7
Views: 238

Re: Pi password pwned...

I was intrigued as to how many were using the common 1-3-4-2 firing sequence of a four-cylinder engine - 165,594

It seems no one has used 16 zeroes. I would suggest that's what everyone uses from now on ;)
by hippy
Tue Mar 19, 2019 11:09 am
Forum: Other projects
Topic: Using an RPi to reduce Power Usage, Off Grid.
Replies: 8
Views: 213

Re: Using an RPi to reduce Power Usage, Off Grid.

Losing the Pi and using a microcontroller instead would minimise the consumption used for monitoring and control. Debatable. The ability to easily have a display, that can be turned on only when needed, and a combined power consumption of about 1.3W at maximum draw is hard to beat with an MCU. Even...
by hippy
Tue Mar 19, 2019 10:41 am
Forum: Other projects
Topic: Using an RPi to reduce Power Usage, Off Grid.
Replies: 8
Views: 213

Re: Using an RPi to reduce Power Usage, Off Grid.

If anyone has any suggestions on things that can be done to improve on what I am doing, please give them. As I understand it, an original B+ will draw about half the current of an original B, so might be worth moving to one of those. Losing the Pi and using a microcontroller instead would minimise ...
by hippy
Mon Mar 18, 2019 6:09 pm
Forum: General discussion
Topic: 3A+ usbboot/rpiboot - already possible?
Replies: 2
Views: 115

Re: 3A+ usbboot/rpiboot - already possible?

Is there any bootcode.bin which could be burned onto an SD card which, when booted, would turn a 3A+ into something with the prerequisite VID/PID which would then allow 'rpiboot' to upload a bootload.bin into the Pi 3A+'s RAM and have that execute ? Or ... If one sets "program_gpio_bootmode=1" in co...
by hippy
Mon Mar 18, 2019 5:51 pm
Forum: General discussion
Topic: Smallest NTSC/PAL display?
Replies: 5
Views: 143

Re: Smallest NTSC/PAL display?

JasMich.de wrote:
Mon Mar 18, 2019 3:24 pm
Does anyone know about a display with 0.5" or less?
You can find small 0.5" CRT displays which take composite video in older camcorder eyepiece modules. Most are however monochrome rather than colour and, despite having a small screen area, they aren't exactly compact due to the length of the CRT.
by hippy
Mon Mar 18, 2019 1:13 pm
Forum: Networking and servers
Topic: Hidden information about manufacturer.
Replies: 9
Views: 360

Re: Hidden information about manufacturer.

Setting one I believe should be as simple as - A little more complicated than that but it worked for me - [email protected]:~$ ifconfig eth0 eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 inet 192.168.0.130 netmask 255.255.255.0 broadcast 192.168.0.255 inet6 fe80::b222:dd1a:c722:cffb prefixlen 64 ...
by hippy
Mon Mar 18, 2019 12:38 pm
Forum: Troubleshooting
Topic: [Solved] Cannot ifdown eth0
Replies: 1
Views: 47

[Solved] Cannot ifdown eth0

Pi 3B (non-plus), Full Raspbian Stretch non-NOOBS install. I can't take down the eth0 interface. What am I doing wrong ... ? [email protected]:~$ uname -a Linux Pi3B 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l GNU/Linux [email protected]:~ [email protected]:~$ ifconfig eth0 eth0: flags=4163<UP,BROADCAST,RUNNING,MUL...
by hippy
Mon Mar 18, 2019 1:23 am
Forum: Networking and servers
Topic: Hidden information about manufacturer.
Replies: 9
Views: 360

Re: Hidden information about manufacturer.

It is possible to use 'private MAC addresses' ( locally administered ) which won't be identified as belonging to a particular manufacturer.

Setting one I believe should be as simple as -

ifconfig eth0 hw ether x2:xx:xx:xx:xx:xx

Where that 2 could be 2, 6, A or E.
by hippy
Sat Mar 16, 2019 7:10 pm
Forum: General discussion
Topic: design of a generic raspberry pi 3 form factor open source notebook cabinet?
Replies: 18
Views: 537

Re: design of a generic raspberry pi 3 form factor open source notebook cabinet?

Has the raspberry pi company considered designing an universal notebook cabinet able to accept various arm soc computers? Either being a 7" or 10" notebook. Possibly. It has been suggested that virtually anything a member of the community can think of will have almost certainly been considered by t...
by hippy
Sat Mar 16, 2019 2:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPI 3 A+ USB Peripheral Mode Power
Replies: 2
Views: 100

Re: RPI 3 A+ USB Peripheral Mode Power

It's generally not a good idea to have two power supplies fighting each other. +1 : In fact a very bad idea IMO. I have a set of USB cables which have had the internal ( normally red, but not always ) Vusb wire cut which can connect a PC to a Pi when a Pi is using its own power supply. Any cheap US...
by hippy
Fri Mar 15, 2019 7:58 pm
Forum: Python
Topic: Pyserial read second to last line and save to variable Tkinter
Replies: 4
Views: 211

Re: Pyserial read second to last line and save to variable

What MrYsLab says. In pseudo code -

Code: Select all

last = None
while True:
  this = read()
  if last != None:
    difference = this - last
  last = this
by hippy
Thu Mar 14, 2019 9:59 pm
Forum: General discussion
Topic: raspi-copies-and-fills
Replies: 9
Views: 570

Re: raspi-copies-and-fills

ShiftPlusOne wrote:
Thu Mar 14, 2019 7:35 pm
Rushing something out is how the trainwreck happened in the first place.
We've all been there and those who haven't have likely got that joy to come !

Thanks for getting things sorted. 0.11 arrived with an update/upgrade, so that should be the end of it.
by hippy
Thu Mar 14, 2019 7:26 pm
Forum: General discussion
Topic: raspi-copies-and-fills
Replies: 9
Views: 570

Re: raspi-copies-and-fills

It can also be disabled by removing the relevant line in /etc/ld.so.preload ... For now, I would disable it and wait until 0.11. The only line I can see in ld.so.preload is /usr/lib/arm-linux-gnueabihf/libarmmem-${PLATFORM}.so 1) Not sure if that's the relevant line or not ? 2) By "removing" it; do...

Go to advanced search