Go to advanced search

by hippy
Mon Mar 30, 2020 1:32 pm
Forum: Troubleshooting
Topic: Update breaks bluetooth
Replies: 19
Views: 355

Re: Update breaks bluetooth

The bluez-obexd package is not installed on any of my systems ... If you haven't installed it, then I wouldn't worry about it. You can check to see if it is installed using 'apt-cache policy bluez-obexd'. I don't recall explicitly installing it but assume it's installed or a dependency of something...
by hippy
Mon Mar 30, 2020 1:03 pm
Forum: General discussion
Topic: Please just ignore (some) 1st posts
Replies: 22
Views: 622

Re: Please just ignore (some) 1st posts

What is the purpose of applying an AI to generate questions? AFAICT the main purpose of AI or copying-and-pasting old posts is to slip a first post past the moderators which they can post-edit later to include their spam links. Once they are signed-in as legitimate members they have free-run to kee...
by hippy
Mon Mar 30, 2020 12:44 pm
Forum: General discussion
Topic: Sony UK factory to close until 20 April
Replies: 13
Views: 432

Re: Sony UK factory to close until 20 April

Sony's official statement is here -

https://www.sony.net/SonyInfo/News/Press/202003/20-023E
Sony has also shut down its manufacturing plant in the U.K. (Wales) for the period between March 26 and April 20 (planned) in accordance with a mandate from the local government.
by hippy
Mon Mar 30, 2020 12:36 pm
Forum: HATs and other add-ons
Topic: POE Hat work with Pi Zero
Replies: 2
Views: 46

Re: POE Hat work with Pi Zero

Reddoug wrote:
Mon Mar 30, 2020 12:26 pm
Will the POE Hat work with a Pi Zero?
Not easily. The Pi Zero doesn't have an ethernet jack (RJ45) nor the four-pin connection to feed the incoming voltages to the PoE HAT.
by hippy
Mon Mar 30, 2020 12:17 pm
Forum: Troubleshooting
Topic: Update breaks bluetooth
Replies: 19
Views: 355

Re: Update breaks bluetooth

Thanks for the warnings about breaking Bluetooth - I'm glad I spotted those before upgrading. I have put 'bluez', 'libbluetooth3' and 'libicu63' on hold. But wasn't sure about 'bluez-obexd'; whether that should also be put on hold ? I put it on hold anyway. [email protected]:~ $ sudo apt-get upgrade Reading p...
by hippy
Wed Mar 25, 2020 8:54 pm
Forum: Arch
Topic: Any success using WOL on a RPi
Replies: 30
Views: 163788

Re: Any success using WOL on a RPi

Could one build some very low power network thingy like a Raspberry Pi Zero that essentially sits idle and when it receives a WOL - kick the Raspberry Pi someway to wake up? Yes, that's exactly what I suggested earlier on this page. The WoL Detector can be a Pi or other networked device. A Zero isn...
by hippy
Tue Mar 24, 2020 11:33 am
Forum: General discussion
Topic: Brainstorming using the raspberry pi to make a generic respirator
Replies: 13
Views: 703

Re: Brainstorming using the raspberry pi to make a generic respirator

An alternative to replicating modern technology is to look to the past to see if there are things which may not be as good but can be more easily built and less dangerous to use.

In that respect an "iron lung" should be a lot easier to construct than a modern ventilator.
by hippy
Sun Mar 22, 2020 8:59 pm
Forum: Python
Topic: MFRC522 - python syntax error - Raspi 3 Model
Replies: 6
Views: 230

Re: MFRC522 - python syntax error - Raspi 3 Model

Seems the GitHub code is written for Python 2 and you are using Python 3.
by hippy
Sat Mar 21, 2020 5:36 pm
Forum: Python
Topic: Need help with random playing mp3 code
Replies: 7
Views: 215

Re: Need help with random playing mp3 code

This is what I use for choosing random mp3 files from a single directory - import os import random def GetRandomMp3(path=None): try: list = GetRandomMp3.list except: list = [] for file in os.listdir(path): if file.lower().endswith(".mp3"): list.append(os.path.join(path, file)) GetRandomMp3.list = li...
by hippy
Sat Mar 21, 2020 2:49 pm
Forum: Python
Topic: MFRC522 - python syntax error - Raspi 3 Model
Replies: 6
Views: 230

Re: MFRC522 - python syntax error - Raspi 3 Model

if (status == self.MI_OK): ^ SyntaxError: invalid syntax That cap points to the colon. With Python it is well worth checking the line before the one it reports the Syntax Error on. This is because the error can be in that line but not detected or reported until the line after. The most common mista...
by hippy
Fri Mar 20, 2020 7:55 pm
Forum: Graphics, sound and multimedia
Topic: How can I adjust the volume with the software ?
Replies: 5
Views: 197

Re: How can I adjust the volume with the software ?

Off-hand I don't know. I'd hit Google and see what it turned it for "amixer cset" or type "man amixer" at the Pi's command line.
by hippy
Fri Mar 20, 2020 7:36 pm
Forum: General discussion
Topic: How many would be interested in a "real" App Store?
Replies: 36
Views: 1236

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

I'm thinking about creating a Raspberry Pi app store. All deb packages will be listed, and members of the community will contribute to provide screenshots. Something which allows users to see what's available for a particular task or purpose in one place and what it looks like, how well recommended...
by hippy
Fri Mar 20, 2020 12:55 pm
Forum: Graphics, sound and multimedia
Topic: How can I adjust the volume with the software ?
Replies: 5
Views: 197

Re: How can I adjust the volume with the software ?

You should be able to control the audio volume from the command line with -

amixer cset numid=N value

You can execute that and similar commands from with a program or script.
by hippy
Fri Mar 20, 2020 11:40 am
Forum: Other projects
Topic: Photo Booth Help
Replies: 139
Views: 17253

Re: Photo Booth Help

RottieGirl wrote:
Thu Mar 19, 2020 3:29 pm
I have no idea what this means. Image being used is a jpg file
You posted the exact same here -

viewtopic.php?f=32&t=264024#p1628480

What were the results of doing what was suggested there ?
by hippy
Fri Mar 20, 2020 11:27 am
Forum: General discussion
Topic: Cheap raspberry pi 4b with 4gb of ram everywhere
Replies: 22
Views: 1320

Re: Cheap raspberry pi 4b with 4gb of ram everywhere

It's a picking error. Someone mispicked the 4GB rather than the 2GB and you got lucky (and they got a dent in their profits). I dont quite understand what you mean but on the box it had green sticker with 4 on it they were marketed as 4gb on ebay Dougie means someone ordered 2GB units but a mistake...
by hippy
Fri Mar 20, 2020 11:15 am
Forum: General discussion
Topic: Raspberry Pi Diagnostics feedback
Replies: 26
Views: 1305

Re: Raspberry Pi Diagnostics feedback

Your cards are not bad, nor are they failing. It is a horrible term to use, it should be 'not as good as it could be' and then possible for really slow cards 'not suitable for the Desktop' It just means they are not as quick as others available that make using the Desktop nicer. A percentage result...
by hippy
Thu Mar 19, 2020 1:12 pm
Forum: General discussion
Topic: Cheap raspberry pi 4b with 4gb of ram everywhere
Replies: 22
Views: 1320

Re: Cheap raspberry pi 4b with 4gb of ram everywhere

they have been selling in the uk for as little as £32 brand new That does seem an incredibly low price so it is intriguing where they are getting them from. Even Farnell charge £43.38 for a 150-off bulk purchase of Pi 4B 4GB. There's obviously still some mark-up profit in that but I can't imagine i...
by hippy
Wed Mar 18, 2020 7:09 pm
Forum: Python
Topic: Photo Booth Help
Replies: 26
Views: 1221

Re: Photo Booth Help

You can put a print(file) command before line 80 to confirm which file it is trying to show, and then you can use the 'file' command at the command line to provide some information about that file, for example - [email protected]:~ $ file agent.jpg agent.jpg: JPEG image data, JFIF standard 1.01, aspect ratio,...
by hippy
Wed Mar 18, 2020 5:10 pm
Forum: Raspbian
Topic: Buster bug report thread
Replies: 304
Views: 66169

Re: Buster bug report thread

Upgrade demolishes VNC If you haven't fixed things; try - sudo apt-get purge vnc sudo apt-get autoremove sudo reboot sudo apt-get update sudo apt-get full-upgrade sudo apt-get install vnc That worked for me when I ran into the issue. If it doesn't then have a search of the forums for other solution...
by hippy
Wed Mar 18, 2020 4:57 pm
Forum: Troubleshooting
Topic: How do I know I've burned my raspberry PI if it looks ok.
Replies: 3
Views: 149

Re: How do I know I've burned my raspberry PI if it looks ok.

So my question: If i don't observe distinct functionality failures , burn signs and smell, have I got away with it? Or maybe my PI has some accumulated damage of some sort that only showed itself in some minor hard to notice misbehaviors? Fact is no one can know. Your PI may have escaped unharmed. ...
by hippy
Wed Mar 18, 2020 4:27 pm
Forum: General discussion
Topic: Raspberry Native C and Speed Tests
Replies: 55
Views: 5464

Re: Raspberry Native C and Speed Tests

jahboater wrote:
Wed Mar 18, 2020 4:23 pm
hippy wrote:
Wed Mar 18, 2020 4:15 pm
Or, by using C as the Ultimate Macro Assembler, can be written as -

Code: Select all

      do { } while PIR1.RCIF == 0;
That's not C by the way!
Because I inadvertently missed some brackets out, because I'm not a frequent C user, or for some other reason ?
by hippy
Wed Mar 18, 2020 4:15 pm
Forum: General discussion
Topic: Raspberry Native C and Speed Tests
Replies: 55
Views: 5464

Re: Raspberry Native C and Speed Tests

Anyone who says it's just a glorified assembler is simply wrong. Absolutely, and if that is directed at me I am not claiming that. All I am saying is that, assembly language like - .L1 : MOVFW PIR ANDLW RCIF BTFSS STATUS,C GOTO .L1 Can be written in a Macro Assembler as - WAITFOR PIR, RCIF, 1 Or, b...
by hippy
Wed Mar 18, 2020 3:40 pm
Forum: General discussion
Topic: Raspberry Native C and Speed Tests
Replies: 55
Views: 5464

Re: Raspberry Native C and Speed Tests

That still requires you to understand the ABI and only hides register allocation. It's not a replacement for proper C and it only does exactly what you tell it to do unlike a compiler which can do some optimizations ... Well yes; that's exactly how it's used when used as the Ultimate Macro Assemble...
by hippy
Wed Mar 18, 2020 3:28 pm
Forum: General discussion
Topic: Raspberry Native C and Speed Tests
Replies: 55
Views: 5464

Re: Raspberry Native C and Speed Tests

hippy, It also offers some degree of portability; change the #include files for register and bit definitions, and the same C-style code will often compile and run on other CPU's in the same family, even others. Only some degree? That is ignoring the countless architectures that Linux and other oper...
by hippy
Wed Mar 18, 2020 11:45 am
Forum: General discussion
Topic: Raspberry Native C and Speed Tests
Replies: 55
Views: 5464

Re: Raspberry Native C and Speed Tests

With assembly you have to write every single instruction yourself and keep the registers in mind. A professional Assembly programmer will soon create macros and the like to save themselves from having to write every instruction by hand and move from Assembly to Macro Assembly and, in that respect, ...

Go to advanced search