in search for the /boot/config-...... file
#1
running Ubuntu

In order to start working with midi signals, I follow this guide
http://tedfelix.com/linux/linux-midi.html

Under the title: Installing a Low Latency Kernel
I need to change the kernel config file:
Code:
$ grep ^CONFIG_HZ /boot/config-`uname -r`
CONFIG_HZ_1000=y
CONFIG_HZ=1000

in the /boot directory I can not find any config file.
Where can I do this ?
  Reply
#2
This is related to kernel build config, therefore you would need to compile your own kernel.
The current value in longsleep builds is CONFIG_HZ=100 and no define for CONFIG_HZ_1000.
  Reply
#3
does that mean I can't use my pine64 for midi recording ?
  Reply
#4
if kernel does not include PREEMPT try this,
$ sudo apt-get install linux-lowlatency
not sure if that will fix it in ubuntu, but your goal is to have a low latency kernel
also, you should start reading about kernels and this fellows guide. perhaps sending him emails will help.
but he did mention this,
Note: Ubuntu/Debian can set up a properly configured audio group for you when you install jackd2. If you'd like, you can do this before continuing:

$ sudo apt-get install jackd2

have you done that yet?
  Reply
#5
I have executed all until the lowlatency part, including the jackd2.

Since the kernel does include PREEMPT, I didn't install the linux-lowlatency package.
But you're right, I should give it a try, nothing to loose but time.

just tried:

unable to locate package linux-lowlatency.
  Reply
#6
if the kernel includes the PREEMPT then according to the guide it is a low latency. so no need for the package. also you should have a workable kernel. just carry on with next step.
also, this guy should host a forum or at least have a mail list but i did only see this,
http://tedfelix.com/email.html
probably best to contact him going forward. good luck and let us know how it works.
you might find current setting in /usr/src/linux-headers*/.config but to change a re-compile, as mentioned by martinayotte, would be needed
  Reply
#7
In longsleep kernel build the flag CONFIG_PREEMPT seems to be there :

CONFIG_TREE_PREEMPT_RCU=y
CONFIG_PREEMPT_RCU=y
CONFIG_PREEMPT_NOTIFIERS=y
# CONFIG_PREEMPT_NONE is not set
# CONFIG_PREEMPT_VOLUNTARY is not set
CONFIG_PREEMPT=y
CONFIG_PREEMPT_COUNT=y
CONFIG_DEBUG_PREEMPT=y
# CONFIG_PREEMPT_TRACER is not set
  Reply
#8
I'm indeed moving on now ignoring this setting,
trying to sort things out in another thread to load the snd_seq module in the kernel
  Reply
#9
# CONFIG_SND_SEQUENCER is not set

You need to build your own Kernel for that for now. Create a PR on GitHub if you want it to be enabled in my builds.
  Reply
#10
I just released Kernel 3.10.101-4-pine64-longsleep-51 which has the sound sequencer.
  Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Pine hangs up on boot if I add my exFAT USB drive to /etc/fstab pqueiro 0 337 06-10-2019, 12:07 PM
Last Post: pqueiro
  +LTS/SOPINE Compilation procedure for U-Boot and Linux for pineA64 LTS. [email protected] 1 161 06-05-2019, 11:50 PM
Last Post: igorp
  Pine Board using linux stuck during boot sequence ktaragorn 0 123 03-23-2019, 04:06 AM
Last Post: ktaragorn
  Resize /Boot mmcblk0p1 on SD? chadc 7 561 08-24-2018, 01:23 PM
Last Post: goathunter
  Ubuntu boot very slow with wifi driver remainder 9 2,145 08-03-2017, 07:23 AM
Last Post: victorssantos
  config error installing XML-RPC on longsleep Ubuntu tinkertom 2 1,105 02-22-2017, 06:50 AM
Last Post: MarkHaysHarris777
  Need help with boot options Gnx 1 450 01-22-2017, 09:27 PM
Last Post: MarkHaysHarris777
  straight boot into desktop Ola 2 568 08-01-2016, 11:12 PM
Last Post: Ola
  UBUNTU first boot Clouddead 6 1,059 06-29-2016, 12:40 PM
Last Post: pineacle
  systen type not detected (config.guess, config.sub, LMS 7.9 install mrpn900 2 492 05-18-2016, 03:56 AM
Last Post: mrpn900

Forum Jump:


Users browsing this thread: 1 Guest(s)