Go to advanced search

by scruss
Mon Sep 16, 2019 9:17 pm
Forum: General discussion
Topic: Looking for specific software
Replies: 5
Views: 284

Re: Looking for specific software

I've used many different PDF viewers, and I don't know of any that run on the Raspberry Pi that allow anything other than plain-text annotations.
by scruss
Sat Sep 14, 2019 3:59 pm
Forum: Beginners
Topic: Uninstall older versions of packages that still exist after newer versions have been installed?
Replies: 6
Views: 134

Re: Uninstall older versions of packages that still exist after newer versions have been installed?

I will definitely remove the 10.1 versions of mariadb, I've decided against apt judgement :D Well, good luck! Upgrading from one Raspbian release to another can leave some files around. If you wanted it absolutely clean, install from a new image (which is what the Foundation recommends anyway, espe...
by scruss
Sat Sep 14, 2019 1:36 pm
Forum: Beginners
Topic: Uninstall older versions of packages that still exist after newer versions have been installed?
Replies: 6
Views: 134

Re: Uninstall older versions of packages that still exist after newer versions have been installed?

You've probably got a lot of downloaded deb files in your cache. You can remove them with: sudo apt clean To remove packages that the system doesn't need any more: sudo apt --purge autoremove Manually removing packages you don't think you need? Probably not a good idea. The packages that remain afte...
by scruss
Fri Sep 13, 2019 1:18 pm
Forum: Beginners
Topic: Arduino IDE on Raspberry Pi Zero W
Replies: 40
Views: 820

Re: Arduino IDE on Raspberry Pi Zero W

Both are affected.
by scruss
Wed Sep 11, 2019 9:54 pm
Forum: Arch
Topic: Tutorial for updating R-Pi firmware in ARCH LINUX [obsolete]
Replies: 14
Views: 37893

Re: Tutorial for updating R-Pi firmware in ARCH LINUX

These instructions are more than five years out of date. They won't work with any of the new Raspberry Pis.
by scruss
Tue Sep 10, 2019 8:44 pm
Forum: Beginners
Topic: Arduino IDE on Raspberry Pi Zero W
Replies: 40
Views: 820

Re: Arduino IDE on Raspberry Pi Zero W

There's the reboot-the-Zero-when-unplugging-USB issue that there's not much you can do about Can the developers of Raspbian fix it, or even they can't? No it's a hardware problem — it affected the early Raspberry Pi Model 1s too, fixed in the 1B+. All my Zeroes reset when hot-plugging USB, and I'm ...
by scruss
Tue Sep 10, 2019 2:03 pm
Forum: Beginners
Topic: Arduino IDE on Raspberry Pi Zero W
Replies: 40
Views: 820

Re: Arduino IDE on Raspberry Pi Zero W

It seems it is possible to use the compiler from the command line without needing that - It absolutely can be. If you really wanted to, you could just install avrdude and gcc-avr (as long as you were sticking with old-style AVR-based Arduino boards). The solution I listed, though somewhat slow to s...
by scruss
Tue Sep 10, 2019 1:44 pm
Forum: Beginners
Topic: Creatief cron job
Replies: 5
Views: 82

Re: Creatief cron job

A crontab line starting with 5 * * * * runs five minutes after the hour (so 00:05, 01:05, 02:05, …). If you want it to be spun down every five minutes, use: */5 * * * * There may be a way of telling the drive (using sdparm/hdparm) to spin down after X minutes idle rather than forcing it off every fi...
by scruss
Tue Sep 10, 2019 2:13 am
Forum: Raspberry Pi Desktop for PC and Mac
Topic: workspaces, more than 1.
Replies: 1
Views: 60

Re: workspaces, more than 1.

Yes: right click in the menu bar, “Add/Remove panel items”, in Panel Preferences click “Add”, then select “Desktop Pager” and “Add”. This will give you a rather useless one-page pager, so right click on that and choose “Desktop Pager Settings”. You can choose and name as many as you want in the Desk...
by scruss
Mon Sep 09, 2019 7:04 pm
Forum: Beginners
Topic: Arduino IDE on Raspberry Pi Zero W
Replies: 40
Views: 820

Re: Arduino IDE on Raspberry Pi Zero W

If you want a lighter solution, there's the kinda bleeding-edge arduino-cli system: https://github.com/arduino/arduino-cli It seems a little rough and takes a while to set up, but each individual build shouldn't take too long once you've got board and core supported. A couple of notes from installin...
by scruss
Mon Sep 09, 2019 3:50 pm
Forum: Troubleshooting
Topic: Ye Old unknown-block(179,2)
Replies: 16
Views: 317

Re: Ye Old unknown-block(179,2)

Similar to H2testw, there's f3, which runs on a Raspberry Pi: sudo apt install f3 Its f3write/f3read command pair fill an SD with unpredictable data, then read it back. If the writes and reads don't match, you have a bad card. Note that with Amazon purchases, you've got no idea what you're going to ...
by scruss
Mon Sep 09, 2019 3:43 pm
Forum: Beginners
Topic: Arduino IDE on Raspberry Pi Zero W
Replies: 40
Views: 820

Re: Arduino IDE on Raspberry Pi Zero W

Do not tell me what to do, you are not a moderator ! Yes, but please don't jump in with a first recommending the Raspbian arduino package. It's many years out of date and almost useless. I know you're just trying to help, but if you were actively developing on Arduino you wouldn't wish that Raspbia...
by scruss
Sat Sep 07, 2019 9:55 pm
Forum: Advanced users
Topic: Trigger script on sunset and -rise
Replies: 18
Views: 991

Re: Trigger script on sunset and -rise

In V0.8 a positive offset is shifts the time towards noon, is the opposite in V0.1? So what I tried to do is have it wait until 17:05 (20:21-03:16 ) hence a delay of only two minutes from 17:03 (it was 17:01 when I edited the crontab). A positive offset just adds a delay on top of the trigger time,...
by scruss
Sat Sep 07, 2019 7:33 pm
Forum: Advanced users
Topic: Trigger script on sunset and -rise
Replies: 18
Views: 991

Re: Trigger script on sunset and -rise

Thanks for your quick reply. No problems. I wonder what happened to it, though? Or is it just me who can't see my post with the link to http://risacher.org/sunwait/sunwait-20041208.tar.gz ? It has less options but I thought I have the syntax right when I for example put this in cron: 03 17 * * * /u...
by scruss
Sat Sep 07, 2019 6:51 pm
Forum: Troubleshooting
Topic: Help with 4-20mA and Raspberry Pi 3B+
Replies: 6
Views: 251

Re: Help with 4-20mA and Raspberry Pi 3B+

… After doing this, I was able to read 0V at 4mA and 3.3V at 20mA I know you're going for maximum ADC range here, but by having 0 V at 4 mA you're getting rid of current loop's one great advantage¹: if it ever outputs less than 4 mA, you know your sensor's broken. --- ¹: and 3–15 psi pneumatic cont...
by scruss
Sat Sep 07, 2019 1:38 pm
Forum: Off topic discussion
Topic: word games -- how many words from the letters.....
Replies: 8
Views: 2209

Re: word games -- how many words from the letters.....

Otherwise the answer is 841: That's an answer. The wbritish-insane list contains errors and many entries that can't reasonably be called words. And, being British, it won't even know how to spell "yogourt", which is Canada's delightfully unique way of spelling it. Mercifully, there's no yog[h|o]urt...
by scruss
Fri Sep 06, 2019 6:38 pm
Forum: Troubleshooting
Topic: Pi 4, Raspbian Buster and Wine 4.0
Replies: 8
Views: 1195

Re: Pi 4, Raspbian Buster and Wine 4.0

… not worth the hassle at this point because this version of wine doesn't even target Windows 10, so then what could it possibly be used for? Wine lets me run the control software for a very expensive piece of machine shop hardware. This software was never developed past 32-bit Windows XP. For this...
by scruss
Thu Sep 05, 2019 11:08 pm
Forum: General discussion
Topic: Lighter Open Office for Zero?
Replies: 13
Views: 479

Re: Lighter Open Office for Zero?

If you need to be able to read most DOCX or XLSX files, you need an absolutely colossal program to handle all the edge cases. To be honest, LibreOffice is fairly lightweight for this sort of application.
by scruss
Thu Sep 05, 2019 6:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial Console
Replies: 7
Views: 215

Re: Serial Console

Looks like there isn't a kernel driver for this Cypress USB-Serial device, not at least for Raspberry Pi. There's a small change that the serial port is at /dev/ttyACM0 (check for ttyACM in dmesg output) but you may be out of luck with this one. Though searching for the USB ID string in the forum tu...
by scruss
Thu Sep 05, 2019 1:41 pm
Forum: Troubleshooting
Topic: screen command not working completely
Replies: 3
Views: 71

Re: screen command not working completely

calleblyh wrote:
Thu Sep 05, 2019 10:48 am
…I have no idea how to benefit from two HDMI displays and which one is active.
I'd start a new thread, as the OP's question isn't about physical screens but a program called screen
by scruss
Thu Sep 05, 2019 1:37 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Serial Console
Replies: 7
Views: 215

Re: Serial Console

Before plugging the device in, enter lsusb in the terminal. Plug it in, and enter lsusb again. Check for differences. If it's a cheap USB serial device, it's likely to display as a QinHeng Electronics HL-340 USB-Serial adapter or similar. It won't need drivers. Check the end of the output of the dme...
by scruss
Thu Sep 05, 2019 1:32 pm
Forum: Advanced users
Topic: Autostart GUI and read serial data
Replies: 14
Views: 292

Re: Autostart GUI and read serial data

Is the serial GPS connected via USB? If you have other USB devices plugged in, maybe the serial GPS is coming up under a different device name under certain circumstances on the Raspberry Pi 4.
by scruss
Wed Sep 04, 2019 10:22 pm
Forum: Raspbian
Topic: Linux pipe command to copy
Replies: 2
Views: 143

Re: Linux pipe command to copy

Yeah, whatever MP4Box does, that is massively unlikely to work the way you'd want it to. If MP4Box only prints the file name to standard output and nothing else , you could use: MP4Box -add t.h264 t.mp4 | xargs -I '{}' cp '{}' ../share This will fail if there's a space in the file name. There are be...
by scruss
Wed Sep 04, 2019 10:12 pm
Forum: Off topic discussion
Topic: word games -- how many words from the letters.....
Replies: 8
Views: 2209

Re: word games -- how many words from the letters.....

$ sudo apt install an wcanadian # canadian word list because we have the best words ... $ an -m2 -w 'raspberrypi' | wc -l # including dubious [A-Z]'s possessive forms 363 $ an -m2 -w 'raspberrypi' | grep -v \' | wc -l # much better but still has dodgy ones like abbreviations 262 Fun fact : If you d...
by scruss
Tue Sep 03, 2019 11:08 pm
Forum: Beginners
Topic: Raspberry Pi ** Sold over 25million units **
Replies: 19
Views: 712

Re: Raspberry Pi ** Sold over 25million units **

Maximum C64 sales are 17M although that's debatable, could be as low as 11. We may actually have sold more Pi3 than even the high number. That's great news! Sadly, these facts won't help my Commodore-partisan friends. "It's not a home computer because it's not" seems to be the best argument. It's u...

Go to advanced search