Go to advanced search

by thagrol
Tue Jun 18, 2019 12:44 am
Forum: Automation, sensing and robotics
Topic: Using Accelerometer to create a Wing control
Replies: 4
Views: 132

Re: Using Accelerometer to create a Wing control

Curious. OP seems to have editied thier post and replaced their question with garbage. To add to what I said above (this probably won't make sense in the light of the OP's edit): I was assuming a full size plane not a model as the OP didn't specify and model aircraft don't often have flaps. Flaps ar...
by thagrol
Mon Jun 17, 2019 6:34 pm
Forum: Automation, sensing and robotics
Topic: Using Accelerometer to create a Wing control
Replies: 4
Views: 132

Re: Using Accelerometer to create a Wing control

While I'm not a pilot, I'll give you the same advise I've given regarding several automotive projects: Don't If you must go ahead consider the following: Legal and regularoty requirements. Failure modes e.g. Hardware Software Sensor(s) Power Manual overrides Impact to your insurance How will the pi ...
by thagrol
Mon Jun 17, 2019 6:15 pm
Forum: Advanced users
Topic: Lan file/HD server
Replies: 18
Views: 730

Re: Lan file/HD server

Note that Raspberry automatically mounts new devices like hard disks, so I haven´t mounted them in the fstab. For a server, that's not ideal. Are you, as I suspect, running the desktop rather than booting your Pi into the command line? If so, consider the following: Using the desktop's auto mounter...
by thagrol
Mon Jun 17, 2019 11:43 am
Forum: Advanced users
Topic: Lan file/HD server
Replies: 18
Views: 730

Re: Lan file/HD server

Drives appearing under the wrong names could be a mount related issue. Post you fstab too please.
by thagrol
Thu Jun 13, 2019 11:12 am
Forum: Troubleshooting
Topic: USB Auto mount - Raspbian Stretch Lite [Solved]
Replies: 14
Views: 49344

Re: USB Auto mount - Raspbian Stretch Lite [Solved]

apt-get install 3g ntfs Was that an error in transcription or was that what you actually tried? As written, it would have failed as 1. it wasn't run as root, 2. you asked it to install the wrong things, and 3. there are no packages named "3g" or "ntfs" Try this instead: sudo apt-get install ntfs-3g
by thagrol
Tue Jun 11, 2019 10:35 pm
Forum: Advanced users
Topic: RPI Ethernet Gadget intermediary.
Replies: 4
Views: 231

Re: RPI Ethernet Gadget intermediary.

JohnsUPS wrote:
Tue Jun 11, 2019 9:31 pm
It may be more practical to insert a PC with dual Ethernet ports running Wireshark in the middle....
Wireshark is in the raspbian repositories so " a Pi 3 and a USB ethernet dongle" should work.
by thagrol
Tue Jun 11, 2019 11:04 am
Forum: General discussion
Topic: Raspberry Pi Zero W "USB device not recognized" after connecting ZERO4U
Replies: 4
Views: 137

Re: Raspberry Pi Zero W "USB device not recognized" after connecting ZERO4U

That's expected behaviour. There is only one USB port on the SoC. It can do either slave/device mode (e.g. ethernet gadget) or host mode (ZERO4U) at a time. If dwc2 is loaded and in dual role mode it can hot swap but be aware that using a USB hub in this configuration will kill performance on the ze...
by thagrol
Mon Jun 10, 2019 6:57 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Connecting Raspberry Pi Zero to Windows laptop with Virtual Machine Not Working
Replies: 3
Views: 142

Re: Connecting Raspberry Pi Zero to Windows laptop with Virtual Machine Not Working

I think the problem is that the USB device ID changes several times during the boot process when using rpiboot/usbbootgui and one or more of windows, the filter, or the virtual machine can't cope with that. However for the specific case of the gpio expander, I do have a workaround but I'm afraid the...
by thagrol
Mon Jun 10, 2019 3:33 pm
Forum: General discussion
Topic: Triple Monitor Support + Computer Replacement
Replies: 11
Views: 439

Re: Triple Monitor Support + Computer Replacement

Going by this https://members.symless.com/synergy/requirements Stretch is fully supported. Tempting to try under the ‘Our 100% Seamless Guarantee’ :D I'm not so sure given "Raspberry Pi (64-bit – armhf)". Not all Pi are capable of 64bit and even if they are isn't raspbian only 32bit? Edit: and the ...
by thagrol
Mon Jun 10, 2019 12:32 pm
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 550

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

if you only ever add new data you might get away with it what do you mean? I'll only ever add new data When you add new data you're doing two things: adding the data itself and updating the meta data that goes with it (filename, where it is on the disc, permissions, etc). While adding the contents ...
by thagrol
Mon Jun 10, 2019 10:28 am
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 550

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

my problem is that I already bought an ad-hoc 3d printed case and there's no space for a shutdown button. I'm afraid you may have to trash that case and find another one. I can't believe filesystems can't simply ignore incomplete writes and I think there must be a harware reason. If only it were th...
by thagrol
Sun Jun 09, 2019 12:50 pm
Forum: General discussion
Topic: Pi Zero as keyboard slave receiving data
Replies: 4
Views: 108

Re: Pi Zero as keyboard slave receiving data

okay then cut the second question. That changes what exactly? I notice you didn't deny my interpretation of your questions. is it possible to send commands to the pi zero while it runs as a slave device? Not gonna answer that for reasons stated previously. might be a trivial question but i am new t...
by thagrol
Sun Jun 09, 2019 11:46 am
Forum: General discussion
Topic: Pi Zero as keyboard slave receiving data
Replies: 4
Views: 108

Re: Pi Zero as keyboard slave receiving data

It could be the right board but...

You're asking us to help you cheat in a, presumably, multiplayer online game (those are the only ones I know of with active cheat detection). I suspect help won't be forth coming.
by thagrol
Sun Jun 09, 2019 11:27 am
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 550

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

I'm not saying I can prevent storage damage using a certain device or filesystem, just trying to understand which are the best in my case. I'm not looking for a bulletproof solution, anyway I think I could have problems only when having sudden power loss while Pi is writing to the second storage. M...
by thagrol
Sat Jun 08, 2019 6:04 pm
Forum: Advanced users
Topic: Network interface names and cloning a master image to multiple RPi's
Replies: 8
Views: 264

Re: Network interface names and cloning a master image to multiple RPi's

The static IPs are on the RJ-45 interface. The trouble is, if I create my master image with predictable network names, then popping a cloned microSD card into a different board won't work due to it having a different ethernet MAC. I'm probably wrong about this but aren't predictable names derived f...
by thagrol
Sat Jun 08, 2019 3:30 pm
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 550

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

I'm asking if doing as described will break the storage compromising all the files, and which device is less prone to be damaged I think we're going around in circles here. No writeable storage can be insulated from damage by a sudden power loss just by the choice of file system. This applies regar...
by thagrol
Sat Jun 08, 2019 11:05 am
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 550

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

the OS is in a ready-only SD in the Pi slot, and I'd use a USB to SD adapter for the second storage. on Raspbian there is the ntfs-3g package that allora to write on NTFS filesystem but someone told me that is not journaled. This NTFS-3G supports partial NTFS journaling, so if an unexpected compute...
by thagrol
Sat Jun 08, 2019 6:45 am
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 550

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

I'll take a look, but answering my question what's better between SD cards and USB sticks? also I read that NTFS on Raspbian is not journaled , so what filesystem can I use to have Windows compatibility? I don't believe there is any significant difference between them in your use case. Except that ...
by thagrol
Sat Jun 08, 2019 6:36 am
Forum: Advanced users
Topic: Lan file/HD server
Replies: 18
Views: 730

Re: Lan file/HD server

The header name doesn't have to be [share] it can be [anything]. Well baring any existing share definitions and those used internally by samba. I'd add one section per drive though you could have just one section sharing the directory above the mount points but you'll see incorrect free/used space r...
by thagrol
Fri Jun 07, 2019 11:15 am
Forum: Networking and servers
Topic: Connecting Smart TV to internet with RPi1 Model B
Replies: 8
Views: 252

Re: Connecting Smart TV to internet with RPi1 Model B

So, in the instructions, under Ethernet Static IP, would I add <snip> You could but there is no need to use IP adresses in the same range as your router. The TV and the pi's ethernet are not on the same subnet as the router. I'd use a different address range for those as it'll save confusion down t...
by thagrol
Fri Jun 07, 2019 11:02 am
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 550

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

OK. Rather than use a button to control the 5V supply use that button to trigger a clean shutdown and the gpio-poweroff device tree overlay to fire a relay to disconnect power. Or better have the pi detect when the iognition is switched off and do this automaticaly. I posted something here (https://...
by thagrol
Fri Jun 07, 2019 12:04 am
Forum: General discussion
Topic: SD card vs USB stick: best secondary storage for sudden shutdowns projects
Replies: 19
Views: 550

Re: SD card vs USB stick: best secondary storage for sudden shutdowns projects

I have a Raspberry Pi with Raspbian Raspbian Stretch Lite on a read-only SD card which periodically saves files on the secondary storage. Since there will be sudden shutdowns I'm wondering which device is better as secondary storage, someone told me USB sticks are better for this purpose, but they ...
by thagrol
Thu Jun 06, 2019 11:55 pm
Forum: General discussion
Topic: Running x86_64 apps on Raspberry Pi
Replies: 5
Views: 263

Re: Running x86_64 apps on Raspberry Pi

If someone developed a version of WINE that was compatible with the RPI, the RPI would be able to run the Windows x86 programs No. No it wouldn't. WINE = W ine I s N ot an E mulator. (https://www.winehq.org/) There is already a raspbian port of WINE but you still need your windows programs to be co...
by thagrol
Thu Jun 06, 2019 2:34 pm
Forum: General programming discussion
Topic: I wants LOLcodes!
Replies: 38
Views: 770

Re: I wants LOLcodes!

Anyone who has been online for a while knows what "WTF", "OMG", "GTFO" etc mean. That is most kids today. Really? Only about 20% of the world's population speak english and roughly 75% of those do so as a second (or third, or forth, ...) language. Your assumption is clearly incorrect and by extensi...
by thagrol
Thu Jun 06, 2019 2:14 pm
Forum: Python
Topic: Running multiple while true loops
Replies: 5
Views: 207

Re: Running multiple while true loops

More complex answer: Use threads. One while loop per thread.

Hit the python docs and your preferred search engine for more info on threads in python.

Go to advanced search