Go to advanced search

by JovianPyx
Thu Dec 05, 2019 9:41 pm
Forum: Advanced users
Topic: Pi4 as Workstation or Server - My Experience
Replies: 0
Views: 157

Pi4 as Workstation or Server - My Experience

This is a summary of my experience with replacing two Pi3 machines as server and workstation with two Pi4 machines for the same purposes. I'd been using a Pi3 for a server and another Pi3 for a workstation since the Pi3 came out. Very solid machines. I used Toshiba USB portable disk drives and put t...
by JovianPyx
Tue Jul 30, 2019 3:58 pm
Forum: General discussion
Topic: Raspberry Pi-4 Heatsink Locations
Replies: 2
Views: 1574

Raspberry Pi-4 Heatsink Locations

I've just received two Raspberry Pi 4 B starter kits which contain a small bag with 3 heatsinks. The quick start guide has an image of an older version of the board which has one less IC on it. The quick start guide says to use the image for placement of the heatsinks, but the image does not represe...
by JovianPyx
Mon Mar 27, 2017 8:38 pm
Forum: Advanced users
Topic: Pi Zero W NFS Boot?
Replies: 2
Views: 947

Pi Zero W NFS Boot?

I have a new Pi 0 W which works great with the Raspbian Lite image I put on it. Wifi is working fine on it. My plans for the device require that it be left running 24x7, so I thought I'd try to get it to use an NFS root filesystem. I've done this with a Pi2 and a Pi3, so I understand the process. I ...
by JovianPyx
Sun Feb 12, 2017 4:59 pm
Forum: General discussion
Topic: How do I set non-standard baudrate in Raspberry Pi Uart
Replies: 1
Views: 888

Re: How do I set non-standard baudrate in Raspberry Pi Uart

I see that you have console=tty1. I don't have a pizero, but I use Rpi3 with the console UART set to 31250 baud for MIDI. Part of the setup for that is to _disable_ the console traffic to the UART. Normally, console=/dev/ttyAMA0 (that's the hardware port). I had to set console=tty1 to disable consol...
by JovianPyx
Wed Jan 11, 2017 8:50 pm
Forum: Arch
Topic: Using Sanatize Address
Replies: 5
Views: 3188

Re: Using Sanatize Address

Thanks - that caused me to try to install gcc-libs. When I do, pacman says: error: failed to prepare transaction (could not satisfy dependencies) :: gcc: installing gcc-libs (6.2.1-1) breaks dependency 'gcc-libs=6.1.1-1.1' So at this point, I can't tell if it's in the package. Oddly enough, when I t...
by JovianPyx
Wed Jan 04, 2017 10:17 pm
Forum: Arch
Topic: Using Sanatize Address
Replies: 5
Views: 3188

Re: Using Sanatize Address

I'm curious - what distro do you use? I found that my Raspbian compiles and executes correctly, but I can't get that to happen with Arch Linux.
by JovianPyx
Wed Jan 04, 2017 6:22 pm
Forum: Arch
Topic: Using Sanatize Address
Replies: 5
Views: 3188

Using Sanatize Address

I have a need to be able to use address sanitize with GCC. I have more than one Rpi3, two has Arch Linux, the other two have Raspbian. On the Arch system, gcc version is 6.1.1 20160501. On Raspbian, gcc version is 4.9.2. I have installed the clang package on both. The compile works without errors on...
by JovianPyx
Wed Aug 24, 2016 2:32 pm
Forum: Networking and servers
Topic: How To: IRC Server w/ No-IP
Replies: 10
Views: 17538

Re: How To: IRC Server w/ No-IP

I'm running Raspbian (Jessie) Kernel 4.4.11-v7+

Just in case others have this problem ...

I tried:

Code: Select all

curl ifconfig.me
as shown in posts above to get my external IP address and it did not work - just stalls. However, a little google showed me to try

Code: Select all

curl ifcfg.me
which did work.
by JovianPyx
Sun Aug 21, 2016 2:28 am
Forum: Advanced users
Topic: 2 HDD on Pi
Replies: 5
Views: 1328

Re: 2 HDD on Pi

Thank you all for your help. I just now got booting an HDD using it's UUID to work. The PDF referenced by epoch1970 had all of the information I needed. In my case, it didn't work at first because the drive didn't support GPT. I had to back up, recreate the partition and restore. After that, I could...
by JovianPyx
Sat Aug 20, 2016 11:56 pm
Forum: General programming discussion
Topic: Monitoring CPU/GPU Temp in real time
Replies: 16
Views: 31117

Re: Monitoring CPU/GPU Temp in real time

Does anyone know the precision of the temperature readings? I monitor the temperature on two RPi3 boards and under equal load the CPU temperature is 4 to 5 degrees C different. Is this difference to be expected? One reason I'd like to know is that most of my own programs (music synthesizer) pretty m...
by JovianPyx
Sun Jul 31, 2016 12:46 am
Forum: Advanced users
Topic: 2 HDD on Pi
Replies: 5
Views: 1328

Re: 2 HDD on Pi

epoch1970 - thanks for the link to that PDF No love yet, but I know why now. Other searching turned up that the partition needs to support GPT. gdisk showed me that mine does not since it was not created the way that the PDF shows to do it. Since turning on GPT will erase my data, at this point, I w...
by JovianPyx
Sat Jul 30, 2016 6:22 pm
Forum: Advanced users
Topic: 2 HDD on Pi
Replies: 5
Views: 1328

2 HDD on Pi

Hi all, I've been working on a Rpi3 server to replace an old Intel server that makes too much heat. The server itself is quite successful and fast enough for my needs. (FWIW, it's a Raspbian install because unlike Arch Linux which I prefer, all of the server software I needed was available as packag...
by JovianPyx
Tue Jun 14, 2016 12:00 am
Forum: Advanced users
Topic: ALSA Programming [esp. on Rpi2 / Rpi3]
Replies: 1
Views: 678

ALSA Programming [esp. on Rpi2 / Rpi3]

Hi all, I have both Rpi2 and Rpi3 and I am interested in ALSA programming and I'd like to hear from others who have the same interest and experiences. At this point in time, I've been able to write (in C) 2 MIDI synthesizers which use ALSA with a Cirrus/Element14 audio card to generate high quality ...
by JovianPyx
Thu Apr 21, 2016 1:14 pm
Forum: General discussion
Topic: Midi Baud Rate (31250)
Replies: 37
Views: 23610

Re: Midi Baud Rate (31250)

Rasberry Pi 3 B Arch Linux 4.4.7 I've been able to use UART0 for MIDI (31250 baud) on a pi3. There are a few configuration changes that need to be made. 1) I don't use bluetooth, so I disabled it. (There is supposed to be a method to put bluetooth on the mini-uart - search left to those that desire ...
by JovianPyx
Fri Mar 25, 2016 2:03 pm
Forum: General discussion
Topic: Migrating from Pi 2 B to Pi 3
Replies: 8
Views: 10232

Re: Migrating from Pi 2 B to Pi 3

I am watching this thread with great interest because I recently received my new Rpi3. I also have an Rpi2. I run the Rpi2 with Arch Linux with a kernel (4.1.13) patched to include the Cirrus Logic - Element14 audio card driver. I have another card on the way for the Rpi3. Because of the patched ker...
by JovianPyx
Wed Mar 16, 2016 4:35 pm
Forum: Graphics, sound and multimedia
Topic: RPi and real-time, low-latency audio
Replies: 189
Views: 78096

Re: RPi and real-time, low-latency audio

Further experimentation showed that a 6 period buffer with 8 frame period size yields MIDI note-on to sound start latency of 2 milliseconds.
by JovianPyx
Sat Mar 12, 2016 11:36 pm
Forum: Graphics, sound and multimedia
Topic: RPi and real-time, low-latency audio
Replies: 189
Views: 78096

Re: RPi and real-time, low-latency audio

I found the problem - ALSA's buffer size determines this latency. By reducing the size of the buffer, I was able to get latency down to an acceptable 7 milliseconds.
by JovianPyx
Sat Mar 12, 2016 3:42 pm
Forum: Graphics, sound and multimedia
Topic: RPi and real-time, low-latency audio
Replies: 189
Views: 78096

Re: RPi and real-time, low-latency audio

Hello all, I have: Raspberry Pi 2 B with Cirrus Logic/Element14 audio board. Audio works fine using Arch Linux kernel 4.1.13 (has audio board driver compiled in) I have developed a MIDI synthesizer that works and sounds great, but I'd like to reduce the latency (measured from receipt of MIDI note-on...
by JovianPyx
Wed Mar 09, 2016 5:33 pm
Forum: HATs and other add-ons
Topic: Raspberry Pi 2 with Cirrus/Element14 Audio Card Question
Replies: 3
Views: 846

Re: Raspberry Pi 2 with Cirrus/Element14 Audio Card Question

Shame that. Oh well... I shall try to build the kernel myself with the instructions you linked.

Thank you.
by JovianPyx
Wed Mar 09, 2016 4:38 pm
Forum: HATs and other add-ons
Topic: Raspberry Pi 2 with Cirrus/Element14 Audio Card Question
Replies: 3
Views: 846

Raspberry Pi 2 with Cirrus/Element14 Audio Card Question

Raspberry Pi 2 B Arch Linux 4.1.13 I am currently using a Raspberry Pi 2 B with the Cirrus/Element14 audio board. It works wonderfully well, however, the driver came as part of a patch kernel 4.1.13. I downloaded the kernel pre-patched. My question: Will there be a driver that does not require a pat...
by JovianPyx
Mon Feb 29, 2016 12:36 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi2 UART Baud Rate
Replies: 28
Views: 9831

Re: RPi2 UART Baud Rate

Yeah, I tried the Python code and it did not work as you say because ttymidi just over-writes the settings. Please see the PM I sent you.
by JovianPyx
Mon Feb 29, 2016 11:51 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi2 UART Baud Rate
Replies: 28
Views: 9831

Re: RPi2 UART Baud Rate

The information about mmap() provided here works for Arch Linux kernel 4.1.13. I've not updated my kernel because I have the Cirrus/Element14 sound board and the driver comes as part of a pre-patched kernel. I currently have it running with the console UART port at 31250 baud. The "hack" uses the mm...
by JovianPyx
Sat Feb 27, 2016 2:00 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Polled UART for MIDI Input
Replies: 1
Views: 538

Re: Polled UART for MIDI Input

In case others need this information, I'll post the solution I implemented. To allow a polled UART driver to run, mmap mapping can be used to directly control the UART. The main problem I had to solve was how to disable the kernel UART driver. This is the amba-pl011 driver which is an internal modul...
by JovianPyx
Fri Feb 26, 2016 12:02 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Polled UART for MIDI Input
Replies: 1
Views: 538

Polled UART for MIDI Input

Raspberry Pi 2 B Arch Linux 4.1.13 I've been able to use the console UART (/dev/ttyAMA0) for a MIDI input by setting the baud rate to 31250 and adding an optoisolator. I'm having problems with the way the kernel buffers the incoming data and blurts it out in little spurts instead of each byte being ...
by JovianPyx
Thu Feb 25, 2016 5:17 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: RPi2 UART Baud Rate
Replies: 28
Views: 9831

Re: RPi2 UART Baud Rate

Raspberry Pi 2 B, Arch Linux kernel 4.1.13 Now that I have the console UART running at 31250 baud, I've been able to develop a MIDI polysynth that works - almost. The problem is that I had expected the MIDI data bytes to come to the read() function no quicker than one every 320 uSec. Given a period ...

Go to advanced search