Go Back   Home > Forums > > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Twisted Pear Superior quality electronic kits

Reply
 
Thread Tools Search this Thread
Old 1st December 2019, 06:37 PM   #2981
bern is offline bern  Poland
diyAudio Member
 
Join Date: Jul 2010
Quote:
Originally Posted by amigo1 View Post
1. What do you mean under lack of satelite mode?
2. How about using M.A.L.P. or MPDROID?
3. Somе MPD versions sound not good, isn't it?
1. User’s Manual — Music Player Daemon 0.22 documentation
2. AFIK M.A.L.P is a MPD controller under development; MPDROID isn't.
3. I don't know. I prefer the newest version (less bugs, more new features)
  Reply With Quote
Old 1st December 2019, 08:40 PM   #2982
coroner21 is offline coroner21
diyAudio Member
 
Join Date: Apr 2014
Support for Botic Linux driver
Quote:
Originally Posted by bern View Post
What to do to set 'serconfig' and 'dai_format'?
Hi bern,

Setting dai_format or serconfig is not supported since I dropped the related code (only playback of both I2S as well as DSD is supported, no SPDIF) with standard dai format setting as appropriate for a Cronus or similar configuration.

If you have such a standard configuration this should work regardless of the dai_format / serconfig parameters.

Regards,
Christian

Last edited by coroner21; 1st December 2019 at 08:51 PM.
  Reply With Quote
Old 1st December 2019, 08:51 PM   #2983
coroner21 is offline coroner21
diyAudio Member
 
Join Date: Apr 2014
Support for Botic Linux driver
Quote:
Originally Posted by bern View Post
Second issue with the build kernel.
I'm trying to build lirc-bbb module. I installed generated headers 'linux-headers-4.19.79+_4.19.79+-1_armhf.deb' but stuck at 'fatal error: classmap.h: No such file or directory'. See details.

Code:
debian@beaglebone:/opt/lirc-bbb$ sudo make prepare
make -C /lib/modules/`uname -r`/build scripts
make[1]: Entering directory '/usr/src/linux-headers-4.19.79+'
  HOSTCC  scripts/selinux/genheaders/genheaders
scripts/selinux/genheaders/genheaders.c:18:10: fatal error: classmap.h: No such file or directory
 #include "classmap.h"
          ^~~~~~~~~~~~
compilation terminated.
make[4]: *** [scripts/Makefile.host:90: scripts/selinux/genheaders/genheaders] Error 1
make[3]: *** [scripts/Makefile.build:544: scripts/selinux/genheaders] Error 2
make[2]: *** [scripts/Makefile.build:544: scripts/selinux] Error 2
make[1]: *** [Makefile:1061: scripts] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.79+'
make: *** [Makefile:35: scripts] Error 2
 debian@beaglebone:/opt/lirc-bbb$
Should I install something?
Sorry, cannot be of much assistance here... Are the headers indeed installed in '/usr/src/linux-headers-4.19.79+'? Could it be that lirc_bbb is not compatible with the 4.19 kernel for some reason? If you install the headers of the standard buster kernel, does it work?
  Reply With Quote
Old 1st December 2019, 10:14 PM   #2984
bern is offline bern  Poland
diyAudio Member
 
Join Date: Jul 2010
Quote:
Originally Posted by coroner21 View Post
Hi bern,

Setting dai_format or serconfig is not supported since I dropped the related code (only playback of both I2S as well as DSD is supported, no SPDIF) with standard dai format setting as appropriate for a Cronus or similar configuration.

If you have such a standard configuration this should work regardless of the dai_format / serconfig parameters.

Regards,
Christian
Thanks for replay.
That's a pity since some users (including me) use Cronus and Right Justified Data Format 'dai_format=16386' (instead of default 16385). Could you consider to restore this parameter as variable in one of the next releases?

Quote:
Originally Posted by coroner21 View Post
Sorry, cannot be of much assistance here... Are the headers indeed installed in '/usr/src/linux-headers-4.19.79+'?
Code:
debian@beaglebone:/usr/src/linux-headers-4.19.79+$ ls
Documentation  Makefile        arch   certs   drivers   fs       init  kernel  mm   samples  security  tools  virt
Kconfig        Module.symvers  block  crypto  firmware  include  ipc   lib     net  scripts  sound     usr
Quote:
Originally Posted by coroner21 View Post
Could it be that lirc_bbb is not compatible with the 4.19 kernel for some reason?
I don't know. I tried to build GitHub - miero/lirc-bbb: LIRC driver for BeagleBone Black module several times with previous kernels add it worked.
Quote:
Originally Posted by coroner21 View Post
If you install the headers of the standard buster kernel, does it work?
I have to check. I'm sure it worked with 'Linux beaglebone 4.8.13-botic7-rc3 #1 PREEMPT Sat Dec 10 01:35:51 CET 2016 armv7l GNU/Linux'
  Reply With Quote
Old 3rd December 2019, 09:52 AM   #2985
coroner21 is offline coroner21
diyAudio Member
 
Join Date: Apr 2014
Support for Botic Linux driver
Quote:
Originally Posted by bern View Post
Thanks for replay.
That's a pity since some users (including me) use Cronus and Right Justified Data Format 'dai_format=16386' (instead of default 16385). Could you consider to restore this parameter as variable in one of the next releases?
I just updated the debian-buster branch and this parameter is again enabled. Please try whether right justified works fine for you now.
  Reply With Quote
Old 3rd December 2019, 10:15 AM   #2986
coroner21 is offline coroner21
diyAudio Member
 
Join Date: Apr 2014
Support for Botic Linux driver
Quote:
Originally Posted by bern View Post
I don't know. I tried to build GitHub - miero/lirc-bbb: LIRC driver for BeagleBone Black module several times with previous kernels add it worked.
I have to check. I'm sure it worked with 'Linux beaglebone 4.8.13-botic7-rc3 #1 PREEMPT Sat Dec 10 01:35:51 CET 2016 armv7l GNU/Linux'
Can you try to directly call
Code:
make build
and skip the prepare step?
  Reply With Quote
Old 3rd December 2019, 11:04 AM   #2987
bern is offline bern  Poland
diyAudio Member
 
Join Date: Jul 2010
Quote:
Originally Posted by coroner21 View Post
I just updated the debian-buster branch and this parameter is again enabled. Please try whether right justified works fine for you now.
Thank you!
I'm just checking out BBB debian kernel and going to build new one but this time I try to compile kernel directly on BBB machine (will take few hours). Last time I cross compiled BBB kernel on my home X64 Ubuntu server 19.10 machine.

Quote:
Can you try to directly call
Code:
make build
and skip the prepare step?
I will try when I have a new kernel. Let's keep our fingers crossed for successful kernel and module build
  Reply With Quote
Old 4th December 2019, 10:51 AM   #2988
bern is offline bern  Poland
diyAudio Member
 
Join Date: Jul 2010
It took 15h to bulid BBB kernal on BBB machine.
After installing new kernel dai_format paramater (in my case Right Justified data format) works properly.

One strange think I encounter is lack of automatic shutdown after plug out the mains when using battery attached to Hermes (about battery see the end of the first post of Hermes thread). Before installing new kernel when I plug out the mains Debian automatically switch off in few seconds . It currently doesn't work. System still running discharging batterry. How could I fix this?

Quote:
Can you try to directly call
Code:
make build
and skip the prepare step?
It doesn't help much. Still lack of some files in headers directory:
Code:
debian@beaglebone:/opt/lirc-bbb$ sudo make prepare
make -C /lib/modules/`uname -r`/build scripts
make[1]: Entering directory '/usr/src/linux-headers-4.19.79+'
  HOSTCC  scripts/basic/fixdep
scripts/basic/fixdep.c:97:10: fatal error: sys/types.h: No such file or directory
 #include <sys/types.h>
          ^~~~~~~~~~~~~
compilation terminated.
make[3]: *** [scripts/Makefile.host:90: scripts/basic/fixdep] Error 1
make[2]: *** [Makefile:467: scripts_basic] Error 2
make[1]: *** [Makefile:633: include/config/auto.conf.cmd] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.79+'
make: *** [Makefile:35: scripts] Error 2
debian@beaglebone:/opt/lirc-bbb$ sudo make build
make -C /lib/modules/`uname -r`/build M=$PWD
make[1]: Entering directory '/usr/src/linux-headers-4.19.79+'
  CC [M]  /opt/lirc-bbb/lirc_bbb.o
/opt/lirc-bbb/lirc_bbb.c:31:10: fatal error: media/lirc.h: No such file or directory
 #include <media/lirc.h>
          ^~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [scripts/Makefile.build:310: /opt/lirc-bbb/lirc_bbb.o] Error 1
make[1]: *** [Makefile:1519: _module_/opt/lirc-bbb] Error 2
make[1]: Leaving directory '/usr/src/linux-headers-4.19.79+'
make: *** [Makefile:12: build] Error 2
  Reply With Quote
Old 4th December 2019, 08:46 PM   #2989
ppy is offline ppy  Russian Federation
diyAudio Member
 
ppy's Avatar
 
Join Date: Aug 2015
Location: Russia
Functionality extension in micro audiorender (beta):
  1. New audio renders of the LMS and AirPlay protocols have been added.
  2. Added support for wpa WFi.
Linux kernel remains the same - 4.9.146-Botic7-rt
http://puredsd.ru/buildroot/sd_botic7_V2.img.gz
ssh root/root
Attached Images
File Type: jpg ezgif.com-optimize.jpg (41.2 KB, 31 views)
  Reply With Quote
Old 4th December 2019, 09:57 PM   #2990
coroner21 is offline coroner21
diyAudio Member
 
Join Date: Apr 2014
Support for Botic Linux driver
Quote:
Originally Posted by bern View Post
It took 15h to bulid BBB kernal on BBB machine.
After installing new kernel dai_format paramater (in my case Right Justified data format) works properly.

One strange think I encounter is lack of automatic shutdown after plug out the mains when using battery attached to Hermes (about battery see the end of the first post of Hermes thread). Before installing new kernel when I plug out the mains Debian automatically switch off in few seconds . It currently doesn't work. System still running discharging batterry. How could I fix this?
I abandoned the code for powering down on battery automatically. For my BBBW use case I found that simply hard power down (without taking care of proper shutdown) does not cause any issues so I do not have any battery and also I often do not shut down properly before removing power.
If you want to have this functionality on more recent kernels, you can have a look and port this patch yourself: linux-dev/0013-pm-shutdown-on-power-button-press-or-power-loss.patch at botic7-v48 * miero/linux-dev * GitHub

With regards to the module compilation: Maybe try with the default buster kernel. If this leads to the same problems, then probably the outdated code of the lirc-bbb module is to blame. If it works then we need to further investigate how the kernel headers are built for the boticized kernel.

Last edited by coroner21; 4th December 2019 at 10:00 PM.
  Reply With Quote

Reply


Support for Botic Linux driverHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Open baffle with fullrange driver and bass support Godzilla Full Range 5 22nd July 2011 02:32 PM
Low end support for single driver monitors strider75 Multi-Way 97 30th September 2009 04:02 PM
ASIO support (driver) for Labview Aoxomox Digital Line Level 0 3rd May 2009 06:29 PM
Linux/BruteFIR support coming in LspCAD tcpip Multi-Way 18 18th October 2005 04:08 AM
linux badgers Introductions 3 3rd April 2005 04:27 PM


New To Site? Need Help?

All times are GMT. The time now is 09:30 AM.


Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 14.29%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2019 DragonByte Technologies Ltd.
Copyright ©1999-2019 diyAudio
Wiki