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 16th February 2018, 02:37 PM   #2441
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
Current kernel in Volumio support mute_pin values -1,0,1,2,3 and 4 (pins 2 and 3 together). No support for level inversion.
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote
Old 16th February 2018, 02:39 PM   #2442
Alex013 is offline Alex013
diyAudio Member
 
Join Date: May 2015
Good luck in working out!
  Reply With Quote
Old 16th March 2018, 11:13 PM   #2443
cu6apum is offline cu6apum  Russian Federation
diyAudio Member
 
Join Date: Nov 2013
Miero, hi!
Just downloaded your 4.8 kernel and it FINALLY understands where's mmcblk0 and where's 1, thank you. The older 4.5 always took the default one as 0 and that scrambled the bootloader heavily.

Now some questions. Is cpu freq set to maximum? I cannot find the governor.

Can powersave blob be loaded? I'd love to put bone into mem mode when unused. Guess I'm not the only one, so it's a nice idea to have a deb for everyone. Linux Core Power Management User's Guide (v4.1) - Texas Instruments Wiki

Thank you for your GREAT job!!!

Last edited by cu6apum; 16th March 2018 at 11:25 PM.
  Reply With Quote
Old 18th March 2018, 08:54 PM   #2444
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
try this: "modprobe governor_powersave"
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote
Old 18th March 2018, 11:41 PM   #2445
cu6apum is offline cu6apum  Russian Federation
diyAudio Member
 
Join Date: Nov 2013
Quote:
Originally Posted by miero View Post
try this: "modprobe governor_powersave"
I will, thank you, but I suspect that I was understood incorrectly. I meant that I need only 2 modes: max freq (for roon daemon, it hallucinates with ondemand government) and total sleep (save to ram with most clocks stopped).

Thank you!
  Reply With Quote
Old 20th March 2018, 08:32 PM   #2446
cu6apum is offline cu6apum  Russian Federation
diyAudio Member
 
Join Date: Nov 2013
No luck, that's not what I want. OK, will build the kernel myself, no prob.

One more piece of pain is volume control. Whilst I can invoke some hooks from, say upmpdcli, player daemon to tell the value to the DAC and read it back, I am not sure that the same can be done from within your driver. As I saw somewhere in the topic, there is i2c iface to the Sabre chip, but it cannot change the volume from outside, right? Or can it?

Sorry for being that annoying; it's enough just to poke me around the nearest page where it's been discussed. Cuz it must have been.
  Reply With Quote
Old 20th March 2018, 09:20 PM   #2447
francolargo is offline francolargo  United States
diyAudio Member
 
Join Date: Mar 2007
Location: Twin Cities, MN
Are there ANY BBB players that will refer it's volume setting only to the DAC via i2c rather than invoking it's own lower-resolution computations within the i2s stream? I don't know of any, hence I have a separate DAC control setup on the same peripheral device that controls the player software.
  Reply With Quote
Old 20th March 2018, 09:36 PM   #2448
cu6apum is offline cu6apum  Russian Federation
diyAudio Member
 
Join Date: Nov 2013
Quote:
Originally Posted by francolargo View Post
Are there ANY BBB players that will refer it's volume setting only to the DAC via i2c rather than invoking it's own lower-resolution computations within the i2s stream? I don't know of any, hence I have a separate DAC control setup on the same peripheral device that controls the player software.
If this comment is addressed to me, let me clarify.
I'm building a rather universal renderer for my DAC. Currently the DAC core can be controlled from the front panel MCU only (knob, buttons, IR), as the renderer is an option. And the MCU can communicate with the Bone, I dedicated an UART for this.
The upmpdcli daemon, as I stated above, can execute some script/binary on volume change, AND on volume request (it checks the value periodically), so I wrote a simple program that stores the value in shared memory and updates it after the volume in the MCU (knob, IR) was modified, or after it's been modified in the daemon (using a slider in the control point app). This is quite simple and usable approach.
But.
But There is roon now... Afaik it communicates with the sound driver ONLY, no external hooks.
This is pain in terms of programming (I suspect I would need to learn writing snd_soc_xx modules) yet must be more universal of course.
Still I'm looking for a more simple way - miracles happen sometimes...
  Reply With Quote
Old 20th March 2018, 09:42 PM   #2449
wealas is offline wealas
diyAudio Member
 
Join Date: Apr 2017
Roon talks to ALSA, not the driver directly. Look at GitHub - therealmuffin/synchronator: Synchronator brings bit perfect volume control to Hi-Fi systems with Linux as source. and the Roon configuration section. You can do something similar or just use the synchronator to sync the alsa volume.
I use it to control my preamp.
  Reply With Quote
Old 21st March 2018, 12:01 AM   #2450
francolargo is offline francolargo  United States
diyAudio Member
 
Join Date: Mar 2007
Location: Twin Cities, MN
My question/comment was motivated by this experience. With es9018 DAC chips, I could hear a reproducible quality difference between a) level attenuation (at 40 bits) by the DAC on a full-volume I2S feed versus b) any level attenuation incorporated into I2S by the BBB (via player controls or in ALSA directly). Especially at lower outputs, the DAC did a better job at volume control providing more clarity and natural detail. Thus, for me, the small inconvenience of having a direct-to-DAC I2C control screen that is separate from the player's I2S-mediated volume control was more than compensated by improved fidelity and enjoyment. I have not tested this with Roon's built-in volume control - maybe it is better than the MPD variants I've tried.

I'm in the process of getting the new generation ESS DAC chips up and running. With them I expect the same (or greater?) sound benefit via I2C control of DAC volume on a full-volume I2S input signal.
  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 01:32 PM
Low end support for single driver monitors strider75 Multi-Way 97 30th September 2009 03:02 PM
ASIO support (driver) for Labview Aoxomox Digital Line Level 0 3rd May 2009 05:29 PM
Linux/BruteFIR support coming in LspCAD tcpip Multi-Way 18 18th October 2005 03:08 AM
linux badgers Introductions 3 3rd April 2005 03:27 PM


New To Site? Need Help?

All times are GMT. The time now is 05:25 AM.


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