Go Back   Home > Forums > > >

Twisted Pear Superior quality electronic kits

Reply
 
Thread Tools
Old 11th February 2018, 05:32 PM   #2431
yanpetr is offline yanpetr  Russian Federation
diyAudio Member
 
Join Date: May 2016
Quote:
Originally Posted by miero View Post
Have you tried the Volumio from Download |Get Started | Volumio ? It should work...
Miero,.its old version.
I try it
  Reply With Quote
Old 13th February 2018, 05:23 PM   #2432
Oystein is offline Oystein  Netherlands
diyAudio Member
 
Join Date: Jun 2009
Location: Zierikzee
Coming from and older Botic setup I upgraded to latest Volumio for BBB.

I can only play 48k (and multiple) files but with 44.1/88.2 I have no sound but no errors either.

Has it to do with differences between uEnv.txt and /sys/module/snd_soc_botic/parameters ?

/boot/uEnv.txt:
#Docs for Botic: http://bbb.ieero.com/
optargs=
snd_soc_botic.ext_masterclk=5
snd_soc_botic.dsd_format_switch=0
snd_soc_botic.serconfig=I---
snd_soc_botic.dai_format=16385

root@volumio:/home/volumio# for i in /sys/module/snd_soc_botic/parameters/*; do echo $i=$(cat $i); done
/sys/module/snd_soc_botic/parameters/blr_ratio=64
/sys/module/snd_soc_botic/parameters/clk_44k1=22579200
/sys/module/snd_soc_botic/parameters/clk_48k=24576000
/sys/module/snd_soc_botic/parameters/dai_format=16385
/sys/module/snd_soc_botic/parameters/dsd_format_switch=1
/sys/module/snd_soc_botic/parameters/ext_masterclk=3
/sys/module/snd_soc_botic/parameters/pinconfig=default
/sys/module/snd_soc_botic/parameters/serconfig=MMMM

I would expect this to be the same ??
I use fot 48k the internal clock and for 44.1 an external clock.
I suspect a problem here.

I do not have to mount uEnv.txt (mount /dev/mmcblk0p1 /boot/uboot --> nano /boot/uboot/uEnv.txt) as with the original Botic ?
  Reply With Quote
Old 13th February 2018, 05:52 PM   #2433
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
do you have snd_soc_botic=* options on a single line starting with optargs= ?
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote
Old 13th February 2018, 06:05 PM   #2434
Oystein is offline Oystein  Netherlands
diyAudio Member
 
Join Date: Jun 2009
Location: Zierikzee
No, should it ?

I know it was in my old Botic setup but this was easier to read ... guessing by your remark it should be one line with a space between the parameters ?

Have no possibility to test it now ...
  Reply With Quote
Old 13th February 2018, 07:24 PM   #2435
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
yes, they have to be on a single line ... the content after optargs= are options for the linux kernel
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote
Old 14th February 2018, 06:15 AM   #2436
Oystein is offline Oystein  Netherlands
diyAudio Member
 
Join Date: Jun 2009
Location: Zierikzee
Thanks, I will change it to a single line

Coming from MPad, gong to Soundirok due to iOs 11 (and finding it very unpolished compared to MPad) to have Volumio now is a big step forward again.
  Reply With Quote
Old 14th February 2018, 01:17 PM   #2437
Alex013 is offline Alex013
diyAudio Member
 
Join Date: May 2015
miero, thanks!
I use Volumio from the official website.
I added to uEnv.txt
snd_soc_davinci_mcasp.mute_pin=0
and have "mute" on pin P9_30
But I want to invert the "mute" signal on P9_30
I change to
snd_soc_davinci_mcasp.mute_pin=16777216
but no changes occur.
What am I doing wrong?

Last edited by Alex013; 14th February 2018 at 01:30 PM.
  Reply With Quote
Old 14th February 2018, 01:27 PM   #2438
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
P9_30 is data0, thus you need to set it to value 1+ 16777216, so try this:
snd_soc_davinci_mcasp.mute_pin = 16777217
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote
Old 15th February 2018, 09:08 PM   #2439
Alex013 is offline Alex013
diyAudio Member
 
Join Date: May 2015
My complete command line to the kernel is:
optargs=snd_soc_botic.ext_masterclk=7 snd_soc_botic.dsd_format_switch=3 snd_soc_botic.serconfig=--MM snd_soc_davinci_mcasp.mute_pin=0 snd_soc_botic.pinconfig=compat snd_soc_botic.clk_44k1=34662600 snd_soc_botic.clk_48k=36864000

If I set snd_soc_davinci_mcasp.mute_pin=1 then I get "mute" on pin P9_41
I suggested that we should addition new value to the default value "-1".
default value "-1"
data0 value "+1"
-1+(+1)=0
If I set = 0 and got "mute" on pin P9_30. So I addition "0 + 16777216 = 16777216" With this value, I also get "mute" on pin P9_30 without inversion.
If I set = 1 and also = 16777217 I get "mute" on pin P9_41. Always without inversion.

Does someone have the inverse of the "mute" signal?

Last edited by Alex013; 15th February 2018 at 09:12 PM.
  Reply With Quote
Old 16th February 2018, 02:34 PM   #2440
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
OK, I'm sorry. The documentation does not match the code. Pin level inversion is not supported. I'll try to provide updated version later...
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote

Reply


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

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 03:23 PM.


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