Go to advanced search

by hippy
Fri Dec 13, 2019 7:35 pm
Forum: Python
Topic: ALSA errors with PyAudio and SpeechRecognization
Replies: 2
Views: 47

Re: ALSA errors with PyAudio and SpeechRecognization

This seems to be a long-standing issue others have run into as a forum search should reveal. I am not sure if there is any 'official fix' as such but some members have indicated they had success with rolling back to an older kernel - https://www.raspberrypi.org/forums/viewtopic.php?f=28&t=242374#p14...
by hippy
Fri Dec 13, 2019 2:24 pm
Forum: Beginners
Topic: What kind of monitor can I use?
Replies: 7
Views: 147

Re: What kind of monitor can I use?

USB DisplayLink 2.0 to VGA used to also be an option though that seems to be broken under Buster.
by hippy
Fri Dec 13, 2019 2:13 pm
Forum: Troubleshooting
Topic: Followed this MagPi tutorial to make a smart flash drive: Having some trouble with mount/umount
Replies: 23
Views: 1623

Re: Followed this MagPi tutorial to make a smart flash drive: Having some trouble with mount/umount

It is odd that the frame appears to recognise the USB being connected but not find the photos. Of the 20 or so frames I have only a Kodak EasyShare SV710 has proved problematic, and that doesn't recognise the Pi as connected at all. All the rest have shown photos served up by the Pi. The main issue ...
by hippy
Thu Dec 12, 2019 6:36 pm
Forum: General discussion
Topic: New Pi 4B v1.2?
Replies: 172
Views: 11824

Re: New Pi 4B v1.2?

The Boot ROM would need to know if it were checking the size of the Boot Eeprom before flashing a Boot Eeprom Image from SD Card to Boot Eeprom. The boot ROM doesn't do the flashing. It loads recovery.bin from the SD card which then handles the flashing of the bootcode EEPROM and the VL805 firmware...
by hippy
Thu Dec 12, 2019 6:21 pm
Forum: Troubleshooting
Topic: Followed this MagPi tutorial to make a smart flash drive: Having some trouble with mount/umount
Replies: 23
Views: 1623

Re: Followed this MagPi tutorial to make a smart flash drive: Having some trouble with mount/umount

[*]Does it support the file types you're using? Good point. Nearly all of mine only recognise JPG files, not BMP, GIF or PNG. Also try with images which are small or moderatly sized to start with because not all will handle large megapixel sized files. Get something working then set about finding i...
by hippy
Thu Dec 12, 2019 6:16 pm
Forum: Troubleshooting
Topic: Followed this MagPi tutorial to make a smart flash drive: Having some trouble with mount/umount
Replies: 23
Views: 1623

Re: Followed this MagPi tutorial to make a smart flash drive: Having some trouble with mount/umount

Can anybody provide any explanation as to why the photo frame seems to be the only thing that doesn't see any files? Any suggestions on how to proceed if possible at all? Photo frames can be quite fickle. One problem can be that when they boot up, and they don't immediately see the Pi as an MSD dev...
by hippy
Thu Dec 12, 2019 5:42 pm
Forum: General discussion
Topic: New Pi 4B v1.2?
Replies: 172
Views: 11824

Re: New Pi 4B v1.2?

The bootrom code doesn't need to know how big the EEPROM is to execute the first bit of code in it. The Boot ROM would need to know if it were checking the size of the Boot Eeprom before flashing a Boot Eeprom Image from SD Card to Boot Eeprom. Though it wouldn't necessarily have to, could just wri...
by hippy
Thu Dec 12, 2019 5:10 pm
Forum: General discussion
Topic: [Solved] Annoying feature of 'apt-get uprgade'
Replies: 42
Views: 1122

Re: Annoying feature of 'apt-get uprgade'

Your backspace key should be sending ASCII DEL (^?), not BS (^H). Are you using a terminal emulator connected to the serial console? Backspace being anything other than 'BS', 0x08, Ctrl-H, is a new one for me and I've been doing serial comms for decades, but that's how it is if that's what Linux ha...
by hippy
Thu Dec 12, 2019 4:33 pm
Forum: General discussion
Topic: [Solved] Annoying feature of 'apt-get uprgade'
Replies: 42
Views: 1122

Re: Annoying feature of 'apt-get uprgade'

What research should I have done ? I merely highlighted an annoyance with apt-get in my opening post. I mean I'd spent about an hour looking at manual pages, apt source code, web pages, trying to find any evidence to support your concerrn trolling about apt overwriting config files without warning,...
by hippy
Thu Dec 12, 2019 4:25 pm
Forum: General discussion
Topic: [Solved] Annoying feature of 'apt-get uprgade'
Replies: 42
Views: 1122

Re: Annoying feature of 'apt-get uprgade'

LOL pi@Pi3B:~ $ sudo apt upgrade Reading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages will be upgraded: git git-man raspi-config 3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. Need to get 5,846 kB...
by hippy
Thu Dec 12, 2019 4:01 pm
Forum: General discussion
Topic: [Solved] Annoying feature of 'apt-get uprgade'
Replies: 42
Views: 1122

Re: Annoying feature of 'apt-get uprgade'

Did you follow the link that fruity gave ? It's to a page about upgrading using the "-y" switch which automatically answers all questions as "yes", that's why you don't see the prompts. PeterO (beginning to wonder why he's doing all the research that hippy should have done.....) Don't be so insulti...
by hippy
Thu Dec 12, 2019 2:36 pm
Forum: Troubleshooting
Topic: Unable to boot and unable to flash EEPROM
Replies: 8
Views: 296

Re: Unable to boot and unable to flash EEPROM

It's usually a simple case of having not power-cycled a device when programming it. They wasted their time and energy trying to fix things which weren't broken, ... As mentioned in the original post, I measured very stable 5.17vdc. I tried two different power supplies (3A and 4A). Are you suggestin...
by hippy
Thu Dec 12, 2019 2:29 pm
Forum: Bare metal, Assembly language
Topic: BX LR Seg Fault
Replies: 5
Views: 154

Re: BX LR Seg Fault

If you "push {lr}" at the start of your "print_r2:" routine you can probably replace your "bx lr" with "pop {pc}". That saves an instruction over 'pop {lr} / bx lr'.
by hippy
Thu Dec 12, 2019 2:17 pm
Forum: General discussion
Topic: New Pi 4B v1.2?
Replies: 172
Views: 11824

Re: New Pi 4B v1.2?

You don't need the revision for that. You query the manufacturer ID and device ID from the chip itself. True, and I did say "Using the revision number to indicate what size Eeprom the board has would be one way to do that, may be easier than using other means of determining size". If the revision c...
by hippy
Thu Dec 12, 2019 2:00 pm
Forum: General discussion
Topic: [Solved] Annoying feature of 'apt-get uprgade'
Replies: 42
Views: 1122

Re: Annoying feature of 'apt-get uprgade'

Which I think is why the current advice is to use "apt" instead. But if 'apt' simply overwrites user modified configuration files, or if it doesn't, doesn't offer a choice, that's potentially more problematic than the issue with 'apt-get', arguably even less fit for purpose. Do you have any evidenc...
by hippy
Thu Dec 12, 2019 12:58 pm
Forum: General discussion
Topic: New Pi 4B v1.2?
Replies: 172
Views: 11824

Re: New Pi 4B v1.2?

They said when the Pi 4 was launched that they weren't committing to staying with the same size of EEPROM, although I'm not sure that would require a new board rev. It's not a good idea to flash something larger than what it's going into so it would be desirable to know the size of Eeprom to avoid ...
by hippy
Thu Dec 12, 2019 12:38 pm
Forum: Troubleshooting
Topic: Unable to boot and unable to flash EEPROM
Replies: 8
Views: 296

Re: Unable to boot and unable to flash EEPROM

Why change the EEPROM if you are not sure that a serious error has occurred? It took me a while to figure this kind of behaviour out. What drives doing such things is the understanding that, when something isn't working, the first thing to do is to make sure things are how they are meant to be, ens...
by hippy
Thu Dec 12, 2019 12:05 pm
Forum: Staffroom, classroom and projects
Topic: [solved*] PiServer and Arduino
Replies: 7
Views: 196

Re: PiServer and Arduino

I chrooted into the Shell of the Buster image and ran the following: ... I get the following error: /bin/chown: invalid user: 'pi' That does seem to be an issue with how you are doing the install or what you have as it works when installed under Raspbian as the "pi" user. I know nothing of PiServer...
by hippy
Thu Dec 12, 2019 11:39 am
Forum: General discussion
Topic: [Solved] Annoying feature of 'apt-get uprgade'
Replies: 42
Views: 1122

Re: Annoying feature of 'apt-get uprgade'

That makes sense but rather makes apt-get not fit for purpose when it is used interactively. Which I think is why the current advice is to use "apt" instead. But if 'apt' simply overwrites user modified configuration files, or if it doesn't, doesn't offer a choice, that's potentially more problemat...
by hippy
Thu Dec 12, 2019 11:32 am
Forum: Python
Topic: Program code protection.
Replies: 3
Views: 139

Re: Program code protection.

And, being posted in the Python section of the forum, if your program is written in Python there are only limited options to protect that from prying eyes and circumventions. Even if you are only shipping .pyc files they can easily be turned into readable, editable, source code.
by hippy
Thu Dec 12, 2019 11:22 am
Forum: Advanced users
Topic: Raspberry Pi 4 ROM bootloader
Replies: 25
Views: 751

Re: Raspberry Pi 4 ROM bootloader

It would be nice to know if the ROM bootloader has an EEPROM size limit? Could bigger ones be used? Such questions are why it would be nice to have the ROM bootloader source to provide definitive answers but that's not going to happen. I don't have my notes to hand but paraphrased; the pre-4B chips...
by hippy
Thu Dec 12, 2019 10:33 am
Forum: Troubleshooting
Topic: Pi4 solid red and green led
Replies: 34
Views: 1889

Re: Pi4 solid red and green led

2 of the Pi 4's were DOA with this issue (feint, solid green LED & solid bright red LED) A couple of posters have stated having a feint green LED rather than bright green LED. That's interesting because the LED is wired across 3V3 and 0V switched by a FET controlled by the ACT_CLK line. The most li...
by hippy
Thu Dec 12, 2019 9:15 am
Forum: General discussion
Topic: New Pi 4B v1.2?
Replies: 172
Views: 11824

Re: New Pi 4B v1.2?

Anything is possible. The fact that nobody has said what has changed in 1.2 would certainly lead one to suspect it is related to a future, as yet unannounced, feature. Has anyone checked to see what make/size of Boot Eeprom is fitted to the 1.2 boards ? It might be the same as 1.1 but I can see rea...
by hippy
Thu Dec 12, 2019 9:00 am
Forum: Advanced users
Topic: Raspberry Pi 4 ROM bootloader
Replies: 25
Views: 751

Re: Raspberry Pi 4 ROM bootloader

This all argues that he hasn't looked at the Pi very closely and *really* doesn't know what he's talking about. Not only would he have to figure out how to do enough VC6 programming, but he'd have to work out how to flash the EEPROM as well. Then there is the problem of convincing the ARM CPUs to l...
by hippy
Thu Dec 12, 2019 1:17 am
Forum: Advanced users
Topic: Raspberry Pi 4 ROM bootloader
Replies: 25
Views: 751

Re: Raspberry Pi 4 ROM bootloader

My main interest in VideoCore is in turning a Pi 4B into a quite powerful, self-contained, standalone Arduino-style board. Bootloader, program loader, and user program all held in Boot Eeprom; no SD Card, no USB or network booting required.

Go to advanced search