Hi all, can someone help with the syntax and placement for configuring to use 2 external clocks (45/49) please?
I see I can add the kernel option to the uEnv.txt file on the sd card, so I tried for example adding this to the end of the file
But I'm still playing at double speed...
Also, is there some auto-detect on the mck input for the BBB? It seems that if I am connected to the external clocks via mck, that the Botic driver will always use these, regardless of what I type in the uEnv.txt for snd_soc_botic.ext_masterclk
Also, can someone explain the format for the options where there's a plus?
For example in snd_soc_botic.ext_masterclk where I want to invert the selection and use external clocks, do I write
snd_soc_botic.ext_masterclk=34
?
Thanks,
James
I see I can add the kernel option to the uEnv.txt file on the sd card, so I tried for example adding this to the end of the file
Code:
snd_soc_botic.clk_44k1=45158400
Also, is there some auto-detect on the mck input for the BBB? It seems that if I am connected to the external clocks via mck, that the Botic driver will always use these, regardless of what I type in the uEnv.txt for snd_soc_botic.ext_masterclk
Also, can someone explain the format for the options where there's a plus?
For example in snd_soc_botic.ext_masterclk where I want to invert the selection and use external clocks, do I write
snd_soc_botic.ext_masterclk=34
?
Thanks,
James
Regarding clock speed configuration, see post 319
http://www.diyaudio.com/forums/twisted-pear/258254-support-botic-linux-driver-32.html#post4166474
http://www.diyaudio.com/forums/twisted-pear/258254-support-botic-linux-driver-32.html#post4166474
dwjames: 3+4 is not 34 but 7 🙂
you can also verify your settings by printing following files
cat /sys/module/snd_soc_botic/parameters/clk_44k1
cat /sys/module/snd_soc_botic/parameters/clk_48k
cat /sys/module/snd_soc_botic/parameters/ext_masterclk
the last one should be 7 in your case
you can also verify your settings by printing following files
cat /sys/module/snd_soc_botic/parameters/clk_44k1
cat /sys/module/snd_soc_botic/parameters/clk_48k
cat /sys/module/snd_soc_botic/parameters/ext_masterclk
the last one should be 7 in your case
@dwjames
To follow up, if needed you can change the clk on the fly:
To follow up, if needed you can change the clk on the fly:
Code:
echo 45158400 | sudo tee /sys/module/snd_soc_botic/parameters/clk_44k1
thanks guys. 3+4 =7 🙄 and 'all the config on that 1 line' were the 2 bits of info I was missing.
I only have 1 external clock at the moment, but the 44khz test files play at the right speed now 🙂
Almost there....
🙂
I only have 1 external clock at the moment, but the 44khz test files play at the right speed now 🙂
Almost there....
🙂
woo and yay!
all sorted it seems 🙂
here's the line from my config uEnv.txt
all sorted it seems 🙂
here's the line from my config uEnv.txt
Code:
optargs=coherent_pool=1M snd_soc_botic.ext_masterclk=3 snd_soc_botic.clk_44k1=45158400 snd_soc_botic.clk_48k=49152000
I used that guide some time back - works well. With the Botic distro as a base the install is easier and there is no need for the script to get it to start automatically. This is my cheat-sheet.
Thanks Chris, worked a treat. The only problem is that I now want a high-end dac in every room of the house. 😉
Tell me where to get the signal to switch external generators, the desired frequency range of the external oscillator
There are two different oscillator frequencies as their switching. Where to get the signal
There are two different oscillator frequencies as their switching. Where to get the signal
(this depends on the kernel option in uEnv.txt)
snd_soc_botic.ext_masterclk=3
or
snd_soc_botic.ext_masterclk=7 ... for inverse clock switch
snd_soc_botic.ext_masterclk=3
or
snd_soc_botic.ext_masterclk=7 ... for inverse clock switch
Issue #3 shutdown problem
is there any progress fixing shutdown problem with unmounted network storage? Could you send me a pre-version for test?
Thanks in advance.
Hi Miero,Not yet, I'll try to find time for this during the weekend.
is there any progress fixing shutdown problem with unmounted network storage? Could you send me a pre-version for test?
Thanks in advance.
TinyMPD solve this problem as follows:
1. share volumes not thru fstab, but thru adding a script (e.g. "sharemount.sh") in bootlocal.sh file.
2. add shutdown script to unmount share before poweroff.
1. share volumes not thru fstab, but thru adding a script (e.g. "sharemount.sh") in bootlocal.sh file.
2. add shutdown script to unmount share before poweroff.
I noticed the problem of the Botic:
MPD does not see more than 124 folders in share disk.
Solving:
uncomment strings at usr/local/etc/mpd.conf file:
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
MPD does not see more than 124 folders in share disk.
Solving:
uncomment strings at usr/local/etc/mpd.conf file:
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
Issue #3
Hi Herznn,
thanks for quick help. But both lines are uncommented yet!? And I don't have 124 folders in share disk. Any other idea? This is an open forum, Russ got Mieros solution...? Open for commercial usage or open for DIY?
I noticed the problem of the Botic:
MPD does not see more than 124 folders in share disk.
Solving:
uncomment strings at usr/local/etc/mpd.conf file:
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
Hi Herznn,
thanks for quick help. But both lines are uncommented yet!? And I don't have 124 folders in share disk. Any other idea? This is an open forum, Russ got Mieros solution...? Open for commercial usage or open for DIY?
Herznn: are you mounting disk with symlinked files and directories? I do not understand why allowing symlinks would help otherwise...
Q181699: any news with testing beta?
Q181699: any news with testing beta?
MPD does work bad with DB when media files immersed structure more than 2-3 hierarchical directories.
I've MacOS jurnaled formatted disk which shared via NFS entirely and havemost hierarchical structure.
And MPD index DB for only 124 folders at summary. I looked as implemented in TynyMPD, that has no this problem. And it works.
Uncomment booth string.
I've MacOS jurnaled formatted disk which shared via NFS entirely and havemost hierarchical structure.
And MPD index DB for only 124 folders at summary. I looked as implemented in TynyMPD, that has no this problem. And it works.
Uncomment booth string.
- Home
- More Vendors...
- Twisted Pear
- Support for Botic Linux driver