Go to advanced search

by algorithm
Wed Jul 01, 2020 8:43 am
Forum: General programming discussion
Topic: VS Code Remote doesn't work with arm_64bit=1
Replies: 0
Views: 126

VS Code Remote doesn't work with arm_64bit=1

Just a heads up, if you want to use the Remote extension in Visual Studio Code to connect to your Pi, it won't work (as of now) with the 64bit kernel enabled via arm_64bit=1 in config.txt. I guess it makes the program think it's on full aarch64, not unreasonably, and it loads a version of node that ...
by algorithm
Mon Jun 01, 2020 10:09 am
Forum: Raspberry Pi OS
Topic: Does wpa_supplicant.conf support CR+LF?
Replies: 4
Views: 230

Re: Does wpa_supplicant.conf support CR+LF?

Could be, but that seems unlikely to me. I also saw several troubleshooting pages "did you make sure it uses LF-only line endings?" etc.

I think I found the answer, though; it appears to be a MotioneyeOS customisation: https://github.com/ccrisan/motioneyeos/issues/1037
by algorithm
Mon Jun 01, 2020 9:41 am
Forum: Raspberry Pi OS
Topic: Does wpa_supplicant.conf support CR+LF?
Replies: 4
Views: 230

Re: Does wpa_supplicant.conf support CR+LF?

The reason I ask is that all of the google results I saw mentioned things like: "use notepad++, don't use notepad, make sure you have unix line endings" etc etc etc. That appeared to be some evidence that at least it did not work from the start. So either 1. It did work from the start with CR+LF and...
by algorithm
Mon Jun 01, 2020 9:10 am
Forum: Raspberry Pi OS
Topic: Does wpa_supplicant.conf support CR+LF?
Replies: 4
Views: 230

Does wpa_supplicant.conf support CR+LF?

... in the sense that, when the new file is copied from /boot to /etc/wpa_supplicant during boot, does that mechanism automatically translate CR+LF to LF? This has never been an issue for me because I always create the new conf file from MacOS or Linux, but I recently saw someone using Notepad on Wi...
by algorithm
Thu May 21, 2020 6:58 am
Forum: Raspberry Pi OS
Topic: Changing Default Shell to Fish Loses Login Screen
Replies: 1
Views: 146

Re: Changing Default Shell to Fish Loses Login Screen

That's unfortunate. I have no idea why, sorry. But to maybe narrow it down a little more, does it still boot up if you:
1. don't add a user but change to fish for user pi?
2. add user tom but leave his shell to bash? (is it auto-login to GUI?)
by algorithm
Thu Oct 24, 2019 12:21 pm
Forum: Advanced users
Topic: rpi-eeprom beta package - VL805 updates
Replies: 51
Views: 12346

Re: rpi-eeprom beta package - VL805 updates

Try running rpi-eeprom-update without stuffing any environment variables on the front, and invoke it using sudo - that *should* allow the VL805 parts of the script to run correctly: sudo rpi-eeprom-update "Stuffing"? This is an entirely common way of temporarily resetting a custom language install....
by algorithm
Wed Oct 23, 2019 11:33 pm
Forum: Advanced users
Topic: rpi-eeprom beta package - VL805 updates
Replies: 51
Views: 12346

Re: rpi-eeprom beta package - VL805 updates

I previously installed the VL805 update from the google drive package. Is it then expected that no VL805 version info is available in rpi-eeprom-update? Maybe until there is another update? But current version is also empty: $ LANG=C rpi-eeprom-update Bootloader EEPROM is up to date BOOTLOADER CURRE...
by algorithm
Mon Sep 30, 2019 1:18 pm
Forum: Raspberry Pi OS
Topic: Buster localisation - directory names
Replies: 1
Views: 283

Buster localisation - directory names

It seems as though the new Change Locale command via raspi-config doesn't ask whether to change homedir folder names to the new locale; it just does it. This didn't happen before Buster. I think it should at least ask! Don't ask and don't touch was the default before, and if it were me it would be a...
by algorithm
Sun Sep 22, 2019 6:06 am
Forum: Troubleshooting
Topic: VLI firmware v2.0 - powersaving features enabled
Replies: 117
Views: 31550

Re: VLI firmware v2.0 - powersaving features enabled

Dammit, I forgot to recheck my ssd speed before applying the patch... But it seems fine now, still(?) about 257 MB/s and the cpu reports 2 ~ 2.5 degrees lower. This is with a Pi4 4 GB and a Samsung T5 500 GB, tested with "sudo hdparm -t --direct /dev/sda2". Thanks for the work! Edit: no reboot failu...
by algorithm
Wed Aug 07, 2019 10:08 am
Forum: Raspberry Pi OS
Topic: STICKY: Buster bug report thread
Replies: 337
Views: 80939

Re: Buster bug report thread

1. "vcgencmd get_mem arm" reports 948 MB (plus 76 MB for gpu makes 1 GB) on a Pi 4 with 4 GB.
2. "vcgencmd get_config sdram_freq" is not implemented
by algorithm
Sat Aug 03, 2019 9:34 am
Forum: Troubleshooting
Topic: Pi4 Buster - VNC headless resolution stuck on 1024x768 [SOLVED by manual intervention]
Replies: 7
Views: 2662

Re: Pi4 Buster - VNC headless resolution stuck on 1024x768

Wow, huh. Yeah that worked, and fortunately it persists across reboots. Maddeningly, I did open the Screen Configuration tool earlier while trying to resolve this problem and discarded it because it seemed to offer no settings, nothing to interact with. (I had never used or indeed needed it before.)...
by algorithm
Sat Aug 03, 2019 8:38 am
Forum: Troubleshooting
Topic: Pi4 Buster - VNC headless resolution stuck on 1024x768 [SOLVED by manual intervention]
Replies: 7
Views: 2662

Pi4 Buster - VNC headless resolution stuck on 1024x768 [SOLVED by manual intervention]

I use all my Pis headless, mostly via ssh and sometimes VNC from my desktop. This always went well; hdmi_force_hotplug=1 in config.txt and set the required resolution with hdmi_group/hdmi_mode according to https://www.raspberrypi.org/documentation/configuration/config-txt/video.md Now I have a shiny...
by algorithm
Wed Jul 31, 2019 8:38 am
Forum: Raspberry Pi OS
Topic: STICKY: Buster bug report thread
Replies: 337
Views: 80939

Re: Buster bug report thread

Instead of that HDMI stuff, try framebuffer_width=1920 framebuffer_height=1080 #dtoverlay=vc4-fkms-v3d <--- May or may not need this. Alas, I tried all sorts of combinations with & without hdmi/framebuffer/overlay, but it either gives no window (VNC error "unable to connect to console" or s/t like ...
by algorithm
Tue Jul 30, 2019 11:46 am
Forum: Raspberry Pi OS
Topic: STICKY: Buster bug report thread
Replies: 337
Views: 80939

Re: Buster bug report thread

Not sure whether this is Buster or Pi 4. I am trying to use my Pi 4 headless via VNC at 1080p resolution but I get 1024x768. "tvservice -m CEA" does recognise the preferred mode I set in config.txt, but the driver apparently discards that info and invents a new mode that isn't even listed. How do I ...
by algorithm
Mon Jun 03, 2019 1:57 pm
Forum: Camera board
Topic: ENOSPC error but plenty space
Replies: 5
Views: 638

Re: ENOSPC error but plenty space

I bought it a fair while ago (some years), it has worked before, so I don't think it's that. I guess it could be fried by 24/7/365 use as a webcam..., but I thought the error was strange in combination with supported/detected=1, suggesting to me it wasn't the hardware. Haven't had a chance to swap w...
by algorithm
Mon Jun 03, 2019 8:07 am
Forum: Camera board
Topic: ENOSPC error but plenty space
Replies: 5
Views: 638

Re: ENOSPC error but plenty space

I tried to preempt an "rtfm" answer by providing all the info but apparently I failed :) I said I used raspi-config to set up the camera, so yeah, config.txt has gpu_mem=128. The only option the troubleshooting page leaves me is: your hardware is broken. Which is strange because, like I said, vcgenc...
by algorithm
Sat Jun 01, 2019 6:29 pm
Forum: Camera board
Topic: ENOSPC error but plenty space
Replies: 5
Views: 638

ENOSPC error but plenty space

I just did a fresh install of Raspbian Lite on a 8 GB card, updated, installed some stuff (ffmpeg and imagemagick from the repo, some utilities of my own) and now I have still 5.3 GB free (checked via df -h). I also tried "dd if=/dev/urandom of=test.bin bs=1M count=1000" and broke it off when I beca...
by algorithm
Tue Mar 12, 2019 7:33 am
Forum: General discussion
Topic: 64-bit operating system
Replies: 356
Views: 135856

Re: 64-bit operating system

My guess is the change might be driven not by speed/addressing requirements (going forward) or backwards hardware compatibility, but software availability. E.g. I see VS Code and Electron are eol-ing their 32-bit support.
by algorithm
Tue Mar 12, 2019 7:19 am
Forum: General discussion
Topic: 64-bit operating system
Replies: 356
Views: 135856

Re: 64-bit operating system

- Trig functions are almost always painfully slow. What precision do you need on those, and you may be better using a quick lookup table instead of computing it every time. Symmetry on sine and cosine save you 75% on the lookup table, and implementing one implements the other. In C, per degree: sta...
by algorithm
Wed Mar 06, 2019 7:42 pm
Forum: Raspberry Pi OS
Topic: wpasupplicant update?
Replies: 10
Views: 12412

Re: wpasupplicant update?

That was my interpretation, too, yes. However, make sure to try it first with a non-headless Pi (screen and keyboard/mouse connected) because for some reason these changes after reboot left my Pi3+ unable to connect to my home network... Very strange, because my router is less than a year old and I'...
by algorithm
Tue Mar 05, 2019 7:17 pm
Forum: Raspberry Pi OS
Topic: wpasupplicant update?
Replies: 10
Views: 12412

Re: wpasupplicant update?

Thanks. What a mess. I'll have to check if the eduroam network I use sometimes does indeed require tlsv1.0 and level=1.
by algorithm
Tue Mar 05, 2019 6:41 pm
Forum: Raspberry Pi OS
Topic: wpasupplicant update?
Replies: 10
Views: 12412

wpasupplicant update?

What sort of update is this that downgrades the cypher & security level? wpasupplicant (2:2.6-19) unstable; urgency=medium With this release, wpasupplicant no longer respects the system default minimum TLS version, defaulting to TLSv1.0, not TLSv1.2. If you're sure you will never connect to EAP netw...
by algorithm
Sat Nov 17, 2018 6:53 am
Forum: Raspberry Pi OS
Topic: Hash mismatch of ps2eps, update fails
Replies: 8
Views: 1896

Re: Hash mismatch of ps2eps, update fails

Thanks very much! Do you know why I always got to that particular mirror, or at least every time I tried? Is the top pick always the shortest path? Would something like "pick a random mirror for the session from the 5 shortest paths" be more robust, for instance? I found it strange that one faulty m...
by algorithm
Fri Nov 16, 2018 5:53 pm
Forum: Raspberry Pi OS
Topic: Hash mismatch of ps2eps, update fails
Replies: 8
Views: 1896

Re: Hash mismatch of ps2eps, update fails

having a working system is more important. Unless you absolutely need the update, being delayed a short time is not a serious issue. Sure. That's why I waited a week to begin with. Problem is not this single package being slightly (or very) outdated, but the whole "apt upgrade" failing every time b...
by algorithm
Fri Nov 16, 2018 2:43 pm
Forum: Raspberry Pi OS
Topic: Hash mismatch of ps2eps, update fails
Replies: 8
Views: 1896

Re: Hash mismatch of ps2eps, update fails

I used a temporary workaround: looked at https://www.raspbian.org/RaspbianMirrors and picked another mirror, edited /etc/apt/source.list where I commented out the main mirror redirector and replaced it with my new single mirror address. That worked, so I guess it's a local problem with serverius.net...

Go to advanced search