Go to advanced search

by asavah
Wed Aug 11, 2021 7:23 pm
Forum: MicroPython
Topic: Plans for USB HID support?
Replies: 52
Views: 6141

Re: Plans for USB HID support?

One might expect the vendor to "champion" the efforts to bring software support for the hardware they are selling to an acceptable level. But sadly RPT/RPF/RPWHATEVER adopted "sell and run" tactics with pretty poor software support for the hardware they are peddling. I consider o...
by asavah
Fri May 14, 2021 7:02 pm
Forum: Python
Topic: Help with os.system with max7219 raspberry
Replies: 4
Views: 382

Re: Help with os.system with max7219 raspberry

Have you actually read and understood the error message? It tells you what to do. Python module luma.led_matrix.device is missing on your system. You will have to install it first. If you are starting to learn python one skill you absolutely need is to know how to install missing modules. As almost ...
by asavah
Sat Apr 10, 2021 12:24 am
Forum: Python
Topic: [SOLVED] use function variable from another file
Replies: 6
Views: 360

Re: use function variable from another file

if i import the function from another file it doesn't, A variable from another module is "namespaced" to that module. "a" in first script and "a" in the second one are different variables! mod1.py import mod2 a = "mod1" def func1(): global a a = "mod1_fu...
by asavah
Mon Feb 22, 2021 3:33 pm
Forum: General discussion
Topic: Microsoft GPG key suggestion
Replies: 477
Views: 45007

Re: Microsoft GPG key suggestion

But it boils down to: Why should you care? Note: As far as I know, no other Pi OS has this MS problem. Only RaspiOS does, so if you aren't running it, then none of this has any effect on you. Am I wrong about that? The fact that it currently does not affect me does not mean that I don't have an opi...
by asavah
Mon Feb 22, 2021 1:37 pm
Forum: General discussion
Topic: Microsoft GPG key suggestion
Replies: 477
Views: 45007

Re: Microsoft GPG key suggestion

Even if I said there wasn't (which there isn't) you'd not believe me anyway, since you're clearly just pushing conspiracy theories. Any further discussion on the matter and I'll lock this thread. ^^ This attitude won't help to calm down the folks and WILL provide a fertile ground for more conspirac...
by asavah
Sat Feb 06, 2021 7:39 pm
Forum: General discussion
Topic: Microsoft GPG key suggestion
Replies: 477
Views: 45007

Re: Microsoft GPG key suggestion

Personally I don't care about MS or vscode. I'm not even running raspbian/raspios on my pies. However given the controversy produced by the decision of _silently_ including ms repos I can advice the following: Make ms repos opt-in via raspi-config. It's an extra step for beginners, yes, but I think...
by asavah
Sat Feb 06, 2021 7:14 pm
Forum: General discussion
Topic: Microsoft GPG key suggestion
Replies: 477
Views: 45007

Re: Microsoft GPG key suggestion

Personally I don't care about MS or vscode. I'm not even running raspbian/raspios on my pies. However given the controversy produced by the decision of _silently_ including ms repos I can advice the following: Make ms repos opt-in via raspi-config. It's an extra step for beginners, yes, but I think ...
by asavah
Sun Jan 31, 2021 2:24 pm
Forum: General discussion
Topic: Turn off USB port
Replies: 5
Views: 768

Re: Turn off USB port

LTolledo wrote:
Sun Jan 31, 2021 11:31 am
am also intrigued.... why would anybody would want to do that? :shock:
One usecase might be dealing with buggy usb 3g/4g dongles which hang until powercycled.
by asavah
Sun Nov 22, 2020 2:29 pm
Forum: General discussion
Topic: Adafruit Python GPIO SSD1306 with Raspberrry Pi4
Replies: 3
Views: 1059

Re: Adafruit Python GPIO SSD1306 with Raspberrry Pi4

You may want to try luma.oled , that's what I use to drive my SSD1306 spi screen.
https://luma-oled.readthedocs.io/en/latest/
by asavah
Fri Sep 25, 2020 11:26 pm
Forum: General discussion
Topic: Why is using an RTC so complicated?
Replies: 17
Views: 1175

Re: Why is using an RTC so complicated?

I don't know. Almost no computers have hardware clocks. Unless they are tiny embedded systems. Everything is network connected and so knows what the time is. The Pi then has no hardware clock. There are so many ways to connect so many different hardware clocks. Of course one has to customize for it...
by asavah
Wed Jul 22, 2020 7:54 pm
Forum: General discussion
Topic: How many "5.4 broke..." threads before it is reverted?
Replies: 73
Views: 5525

Re: How many "5.4 broke..." threads before it is reverted?

And this is why "sane" folks that run production environments don't run ArchLinux (obviously IMHO). Bleeding edge equals broken edge. Totally agree. But even the "stable" kernels on ubuntu/debian can be released with bugs, eg recently an ubuntu kernel update made my home server ...
by asavah
Wed Jul 22, 2020 7:08 pm
Forum: General discussion
Topic: How many "5.4 broke..." threads before it is reverted?
Replies: 73
Views: 5525

Re: How many "5.4 broke..." threads before it is reverted?

My recollections (which might be faulty) is that over in x86 land most distros tended to run the same major version of the kernel for an entire distro release and bumped at distro release changes and restricted it to minor kernel bumps only within a release. This depends on the distro. Debian usual...
by asavah
Mon Apr 13, 2020 10:17 pm
Forum: Troubleshooting
Topic: RPi 4 Plex Server Transcoding Performance Issues
Replies: 1
Views: 3529

Re: RPi 4 Plex Server Transcoding Performance Issues

Even Pi4 hasn't got enough CPU horsepower to do realtime transcoding, it may be possible to use hw encoder for h264/h265, if your software knows how to deal with this (see below). Plex is a closed source proprietary product which has nothing to do with this forums. Your best bet is to ask Plex devel...
by asavah
Mon Mar 30, 2020 11:18 pm
Forum: Python
Topic: Error trying to load psycopg2
Replies: 4
Views: 4029

Re: Error trying to load psycopg2

Full postgresql server install is a massive overkill if you are just going to access a remote psql server. sudo apt install libpq5 should be enough. If you install psycopg2 via apt (which you should unless you really need bleeding edge features) it should pull in the required dependencies. sudo apt ...
by asavah
Thu Mar 26, 2020 3:45 pm
Forum: General discussion
Topic: How many would be interested in a "real" App Store?
Replies: 87
Views: 7881

Re: How many would be interested in a "real" App Store?

Heh, review bombing anyone? Let's get vi vs emacs vs nano war started on this hypothetical review-appstore. Now seriously - IMO this is a really bad idea that's not going to work. I would like to read a review of sed, grep, aww, iproute2 or gcc from a random kid who just got their pi for Christmas/b...
by asavah
Thu Mar 12, 2020 8:47 pm
Forum: Troubleshooting
Topic: [SOLVED] calling ffmpeg located in ramdisk = command not found
Replies: 4
Views: 586

Re: calling ffmpeg located in ramdisk = command not found

That's a correct and expected behavior, tmpfs is mounted noexec by default.

How did you create your tmpfs?

using something like this should work

Code: Select all

sudo mount -t tmpfs -o exec,size=512m tmpfs /usr/ramDisk
by asavah
Sun Jan 19, 2020 6:45 pm
Forum: Advanced users
Topic: Max resolution for stereo?
Replies: 12
Views: 1173

Re: Max resolution for stereo?

AFAIK ARM don't sell a video encode IP block, so you can't easily buy one off the shelf and plug it to your chip. I believe they do as part of their Mali video blocks, and AIUI they're available as IP cores for integration. 10b 8Kp30 HEVC / H.264 / VP[89] at the top end, apparently. 8K seems ambiti...
by asavah
Mon Jan 06, 2020 12:58 am
Forum: General discussion
Topic: 64bit and hardware accelerated video?
Replies: 31
Views: 8996

Re: 64bit and hardware accelerated video?

- I have 4 GB memory and the 32 bit environment only supports 3 GB (don't want to throw away 1 GB memory) - Now days 32 bit environments are legacy environments. Ubuntu offers only 64 bit installer, Arch dropped support for 32 bit and others are to follow. Your reasons are wrong because of your ign...
by asavah
Sun Dec 08, 2019 4:43 pm
Forum: General discussion
Topic: Asterisk on a Raspberry Pi
Replies: 7
Views: 1185

Re: Asterisk on a Raspberry Pi

Short answer: you can not.
by asavah
Thu Oct 17, 2019 10:46 pm
Forum: Troubleshooting
Topic: USB WiFi adapter discrepancy
Replies: 11
Views: 1436

Re: USB WiFi adapter discrepancy

This adapter apparently is the Realtek rt3070, which actually works with the rPi using the mt7601u modules /drivers. Try to get your stuff straight first. If it's using mt7601 drivers it can't be realtek. "mt" stands for MediaTek. Don't let "rt" fool yourself, "rt" sta...
by asavah
Mon Sep 23, 2019 4:01 pm
Forum: General discussion
Topic: RPI4: Why is everything still 32-bit?
Replies: 183
Views: 42124

Re: RPI4: Why is everything still 32-bit?

So, to all those people this idiot is trying to talk to, please consider he is just one person (albeit one with an over exaggerated sense of self importance), and we have sold over a million Pi4, and over 28M Pi's in total. And we continue to sell at a very high rate. So, think to yourself, is this...
by asavah
Thu Sep 19, 2019 6:56 pm
Forum: General discussion
Topic: ARMv8 32-bit mode and 64-bit division
Replies: 11
Views: 2583

Re: ARMv8 32-bit mode and 64-bit division

Just out of curiosity I tried this test on my own aarch64 OS running on rpi4 4GB glibc-2.30 gcc-9.2.0 gcc -mcpu=cortex-a72+crc+fp+simd -O3 -DINT=uint64_t prime.c -lm -o prime64 strip prime64 time ./prime64 Found a total of 664579 primes (64-bit) real 0m1.842s user 0m1.826s sys 0m0.011s -march=native...
by asavah
Wed Sep 18, 2019 12:55 am
Forum: General discussion
Topic: Installing Visual Studio Code
Replies: 13
Views: 26474

Re: Installing Visual Studio Code

W. H. Heydt wrote:
Tue Sep 17, 2019 11:23 pm
If I'm not mistaken, Visual Studio is a Microsoft product for MS Windows. As such, it is written for a different operating system that run on a different--and incompatible--hardware architecture.

Visual Studio Code != Visual Studio
by asavah
Mon Sep 16, 2019 11:03 am
Forum: General discussion
Topic: speedtest difference Windows-RPi4
Replies: 12
Views: 3330

Re: speedtest difference Windows-RPi4

Now resolved, even though one might like the raspbian repository maintainers to update apt to get a newer version of speedtest-cli.... That's not as easy as you might think. Raspbian is just debian rebuilt for armv6 (pi1 + pizero) plus additional repo provided by RPT with raspberry pi specific stuf...

Go to advanced search