Go to advanced search

by MikeDB
Sat Jan 04, 2020 9:38 pm
Forum: Gentoo
Topic: ALSA USB MIDI failing to initialise
Replies: 3
Views: 374

Re: ALSA USB MIDI failing to initialise

sakaki wrote:
Sat Jan 04, 2020 11:43 am
Hi MikeDB,

MIDI isn't something I've played with on the RPi3/4 unfortunately. I'd suggest posting your issue on the Gentoo forums, as someone there may be better able to assist.

Best, sakaki
A friend has it working on Gentoo on x86 - it seems to be a Pi4 thing
by MikeDB
Fri Jan 03, 2020 1:02 am
Forum: Gentoo
Topic: ALSA USB MIDI failing to initialise
Replies: 3
Views: 374

ALSA USB MIDI failing to initialise

I thought I'd give the latest Gentoo for Pi4 another try and it does seem more stable and works with my 4k Samsung monitor at last, although it first time boots in such a small font I had to guess what it was saying whilst trying to make it readable. Anyway whilst being more stable, I cannot get the...
by MikeDB
Fri Dec 27, 2019 1:35 am
Forum: General discussion
Topic: pi zero w in quantities of 10...50
Replies: 116
Views: 25182

Re: pi zero w in quantities of 10...50

I hadn't noticed this thread until now but can see it's a long runner. Wouldn't the solution be for the Pi organisation to scrap the PiZero as it currently is, release a PiZeroE for educational establishments at the £5 price for however many they need (even a whole classload), and sell a PiZeroC at ...
by MikeDB
Tue Dec 10, 2019 2:14 am
Forum: C/C++
Topic: From python to C/C++
Replies: 14
Views: 1105

Re: From python to C/C++

MikeDB, Actually although fine for Hello World, GCC is utter crap. Rarely on this forum do I read such total nonsense. And even here there is a lot of nonsense around. On the off chance you are right can you send me said ARM compiler so that I can compare for myself? Heater Whilst I normally respec...
by MikeDB
Tue Dec 10, 2019 2:06 am
Forum: C/C++
Topic: From python to C/C++
Replies: 14
Views: 1105

Re: From python to C/C++

MikeDB, Actually although fine for Hello World, GCC is utter crap. Rarely on this forum do I read such total nonsense. And even here there is a lot of nonsense around. On the off chance you are right can you send me said ARM compiler so that I can compare for myself? Heater Whilst I normally respec...
by MikeDB
Mon Dec 09, 2019 11:20 pm
Forum: General discussion
Topic: power supplies
Replies: 5
Views: 287

Re: power supplies

If you are willing to change the socket

https://uk.rs-online.com/web/p/desktop- ... s/1254240/


Or if not a bit overkill but there are smaller ones around
https://uk.rs-online.com/web/p/desktop- ... s/1242208/
by MikeDB
Mon Dec 09, 2019 11:13 pm
Forum: C/C++
Topic: From python to C/C++
Replies: 14
Views: 1105

Re: From python to C/C++

On the Pi you have GCC pre-installed which is a superb compiler for both C and C++. (You can use g++ to compile C++ programs or just use the extension ".cpp" instead of ".c". See "man gcc" for all the details. Actually although fine for Hello World, GCC is utter crap. But the proper ARM compiler co...
by MikeDB
Mon Dec 09, 2019 11:04 pm
Forum: General discussion
Topic: Pi 4 a cautionary tale
Replies: 14
Views: 1009

Re: Pi 4 a cautionary tale

I think the lesson for the Pi4 is don't use a heatsink - GET A FAN !! Even the £1 ones on eBay are good enough. If too loud just put two diodes in series with the fan which lowers the fan voltage to 3.7v which is more than enough to keep the Pi4 temperature to around 42degC.
by MikeDB
Mon Dec 09, 2019 10:59 pm
Forum: General discussion
Topic: wordpress or html
Replies: 4
Views: 230

Re: wordpress or html

For real world connectivity is not an option, but you have several relatively easy options. 1. Use NodeJS. This makes the web-serving part easy but is a little more difficult to do the hardware interface. You are effectively writing Javascript at both ends. 2. Use C. This makes the hardware interfac...
by MikeDB
Sat Dec 07, 2019 9:41 pm
Forum: C/C++
Topic: Read Customer OTP bits from C
Replies: 2
Views: 313

Re: Read Customer OTP bits from C

You need to use the VC mailbox to do it. Look at https://github.com/raspberrypi/userland/blob/master/host_applications/linux/apps/vcmailbox/vcmailbox.c for source which uses /dev/vcio. The GET_CUSTOMER_OTP tag is 0x00030021. https://www.raspberrypi.org/documentation/hardware/industrial/README.md sh...
by MikeDB
Sat Dec 07, 2019 3:55 pm
Forum: C/C++
Topic: Raspi 4b reserve core for C++
Replies: 30
Views: 1542

Re: Raspi 4b reserve core for C++

not to forget: I have been asking before. You didn't answer my questions. And you are not MikeDB. No but I am. I didn't see all this followup as the forum doesn't email me about replies (why ?) Anyway I think my example code was more than enough for anybody to get working by adding a quick read of ...
by MikeDB
Sat Dec 07, 2019 3:51 pm
Forum: C/C++
Topic: Read Customer OTP bits from C
Replies: 2
Views: 313

Read Customer OTP bits from C

I can read most of the OTP bits by parsing files in /proc in my code but I can't find a file that has the customer OTP bits in. I also gather actual access to the OTP bits is behind some sort of Broadcom IP wall. I can write to the customer bits once using the Linux utilities but need to read them f...
by MikeDB
Fri Dec 06, 2019 8:22 pm
Forum: Advanced users
Topic: Pi 4 as a DAW? For recording instruments and vocals
Replies: 19
Views: 7510

Re: Pi 4 B as a DAW? Digital audio workstation?

How did it work out for you? I am currently setting one up for a friend. Pretty good. I'd post photos or sounds but seems not possible on this forum. Lots of hair-pulling and frustrating 'why didn't they do that ?' but getting there thanks to help from this forum. I'm using 64bit kernel and have se...
by MikeDB
Fri Dec 06, 2019 8:05 pm
Forum: Beginners
Topic: Pi4 power solutions needed
Replies: 9
Views: 755

Re: Pi4 power solutions needed

Why not just power the Pi4 from the official supply and then power everything else from the Pis USB ports ?

Ankor make some higher power USB supplies but they aren't USB ports. Conversely most powered USB ports are only 2 Amp.
by MikeDB
Fri Dec 06, 2019 12:44 am
Forum: General discussion
Topic: Best audio solution for Pi 4 desktop config
Replies: 19
Views: 2020

Re: Best audio solution for Pi 4 desktop config

.... or delaying the "connection" to the speakers. (for the Suptronics X400 v2.0) the latter method seemed to be the "industry standard".... (corrections welcome) :D Yes that is what those big killowatt PA amplifiers do. And they disconnect the speakers as soon as they sense the power going as well...
by MikeDB
Thu Dec 05, 2019 6:17 pm
Forum: Other
Topic: Looking for an Embedded Linux for the Pi4 with similar features to Nard
Replies: 11
Views: 866

Re: Looking for an Embedded Linux for the Pi4 with similar features to Nard

We are still waiting for the peripheral spec copy editing to be completed, but that doesn't cover some of the stuff you are requesting (MMU, Caching etc). I'll see if I can cobble something together, once I know what to cobble together. Out of interest how did you get a 20% improvement on something...
by MikeDB
Thu Dec 05, 2019 12:37 pm
Forum: Other
Topic: Looking for an Embedded Linux for the Pi4 with similar features to Nard
Replies: 11
Views: 866

Re: Looking for an Embedded Linux for the Pi4 with similar features to Nard

Strange, especially in Fedora's case. We do now use MESA libraries for display, but again, they are completely standard. And you can turn it off and return to legacy if you want (losing 3D acceleration though), USB stack is standard, ethernet stack is standard. It should really just be a matter of ...
by MikeDB
Thu Dec 05, 2019 10:21 am
Forum: HATs and other add-ons
Topic: Professional case for the Pi4
Replies: 2
Views: 415

Professional case for the Pi4

I've no association with this company other than 90% of my projects go in their cases, but I thought people here might like to see this new case for the Pi4 which is definitely a cut above the usual plastic jobs. It can also be rack mounted if needed. The acrylic end plates transfer Wifi well enough...
by MikeDB
Wed Dec 04, 2019 3:13 pm
Forum: General discussion
Topic: Best audio solution for Pi 4 desktop config
Replies: 19
Views: 2020

Re: Best audio solution for Pi 4 desktop config

I also second the idea of getting a I2S based on PCM5122 or equivalent. I got an IQaudio pi-dac+ like 5 years ago, connected it to a small lepai amp (has simple EQ and vol) and speakers that I already had. The sound is fantastic, even better than other some other audio hardware that I have had that...
by MikeDB
Wed Dec 04, 2019 2:54 pm
Forum: Other
Topic: Looking for an Embedded Linux for the Pi4 with similar features to Nard
Replies: 11
Views: 866

Re: Looking for an Embedded Linux for the Pi4 with similar features to Nard

I don't believe there is anything similar to NARD and what it offers. The best bet may be PiCore or Ultibo but I don't know if they support the 4B, 64-bits, or have the robustness and capabilities of NARD. Otherwise it's use what there is or go the DIY route. I looked at Ultibo a while back but it ...
by MikeDB
Wed Dec 04, 2019 2:39 pm
Forum: Other
Topic: Looking for an Embedded Linux for the Pi4 with similar features to Nard
Replies: 11
Views: 866

Re: Looking for an Embedded Linux for the Pi4 with similar features to Nard

I don't believe there is anything similar to NARD and what it offers. The best bet may be PiCore or Ultibo but I don't know if they support the 4B, 64-bits, or have the robustness and capabilities of NARD. Otherwise it's use what there is or go the DIY route. The Pi 3B/3B+ may end up marking the ze...
by MikeDB
Wed Dec 04, 2019 1:12 am
Forum: General discussion
Topic: Best audio solution for Pi 4 desktop config
Replies: 19
Views: 2020

Re: Best audio solution for Pi 4 desktop config

Any of the PCM5102 DAC based HATs should produce high quality line level audio to feed power speakers. These should be the easiest to set up because the 5102 generates its own master clock. As you say there are higher quality and more expensive DACs available but it doesn't sound like you need them.
by MikeDB
Wed Dec 04, 2019 1:00 am
Forum: General discussion
Topic: Raspberry Pi 4 Thread - general discussion
Replies: 945
Views: 127607

Re: Raspberry Pi 4 Thread - general discussion

With Intel-compatible software, we are also seeing situations where certain software tools no longer support 32-bit architectures. You mean almost anything written after about 2009. I know that is when I stopped producing 32 bit versions as being too much hassle. Let's be honest, virtually all PCs ...
by MikeDB
Tue Dec 03, 2019 6:10 pm
Forum: HATs and other add-ons
Topic: Schematic for the new Pi4 PSU
Replies: 3
Views: 309

Re: Schematic for the new Pi4 PSU

The schematic is not available, and won't be made available, so suggestion from our HW dude who deals with this stuff is to use couple of these, or similar. This means the design of the PS is irrelevant. http://www.ti.com/lit/ds/symlink/lm66100.pdf Thanks. TI don't say these can be paralleled so I'...
by MikeDB
Tue Dec 03, 2019 6:06 pm
Forum: General discussion
Topic: New Raspian Buster with 64 Bit...(arm64v8)
Replies: 70
Views: 4924

Re: New Raspian Buster with 64 Bit...(arm64v8)

6by9 wrote:
Tue Dec 03, 2019 2:32 pm
Go to https://github.com/Hexxeh/rpi-firmware. There's a "watch" button top and just to the right. Subscribe to get an email every time it gets updated.
Thanks - done. GitHub locations like this often get swamped with lots of conversations so I leave them but this one seems sensible.

Go to advanced search