Support for Botic Linux driver - Page 2 - diyAudio
Go Back   Home > Forums > Commercial Sector > Manufacturers > Twisted Pear

Twisted Pear Superior quality electronic kits

Reply
 
Thread Tools Search this Thread
Old 26th June 2014, 06:46 PM   #11
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
No, audio chip at BBB is always configured to receive MCLK externaly.

If the cape is not present then the low-quality "external onboard BBB" 24.576MHz clock is used. This MCLK signal is in this case available on P9_25 pin.

If you enable external cape, then that "external onboard BBB" clock is automatically disabled by driver and the MCLK signal from "external cape" clock/s incoming via P9_25 pin will be used instead.

So the P9_25 pin is used as MCLK output when cape is not present, and as MCLK input if the cape is installed.

Last edited by miero; 26th June 2014 at 06:55 PM.
  Reply With Quote
Old 26th June 2014, 07:16 PM   #12
palmito is offline palmito  United States
diyAudio Member
 
palmito's Avatar
 
Join Date: Dec 2010
Location: Florida,US
Thanks again Miero, much clearer now!
  Reply With Quote
Old 28th June 2014, 04:07 AM   #13
diyAudio Member
 
Join Date: Jul 2005
Location: Aotearoa
Well I followed the instructions but getting no sound.

I had previously set up the BBB with connections to a 9023 DAC using the earlier Botic drivers on Debian using Squeezelite - that worked and continues to work after rebooting on that SD card (eMMC actually).

Tried the new .img using both MPD and squeezelite but no audio. Squeezelite clearly sees the BOTICAudio device and looks like it is playing but no sound. MPD seems happy enough playing one of the test files but still no sound.

Anybody else have this working? Could it be this is now 9018 specific?
  Reply With Quote
Old 28th June 2014, 05:58 AM   #14
twluke is offline twluke  Japan
diyAudio Member
 
Join Date: Nov 2012
Location: Tokyo
Default Thanks for the new botic driver

Hi miero,

Thank you for opening this thread for the botic driver support and also for providing us the latest SD image with the new drivers.

After spending some hours for auditioning with this 3.15.1-botic1 kernel system, I'd like to report my experience with it, referring to your instruction and comments on the page from http://bbb.ieero.com/.

> The distribution has integrated support for automatic shutdown of BBB

I enjoyed this. Thanks for this beautiful tweak. I also have my own history of damaging BBB a few month ago. ;-)

> By default the file is resampled if 44k1Hz frequency or multiples is being played. This might/will introduce hearable artifacts.

I confirmed it. After applying external clocks, playing the test_44k1_16b.flac file via MPD, that was heard with musicality under the built-in clock, became quite noisy and this was the case with all of my Red Book sources. Is there any way to avoid this problem?

> 1) using web MPC interface

The MPC interface is well designed and easy to use for a quick glance at the files.

> play FILENAME

The play command worked well and was more flexible in dealing with 44.1k sources than MPD in terms of noise-free play-back.

> 3) remotely form another linux machine by bbbplay

I enjoyed this hacking via a remote linux machine operating virtually on my Mac but how can I avoid entering my password requested by the BBB server before playing music?

> Notice: it does not support DSD

I hope this will be supported in the future.

> Installed clocks are configurable via:
- kernel option snd_soc_botic.ext_masterclk

For the temporary external clocks, I used either Amanero Combo384 DDC or I2SoverUSB DDC from jlsounds, both having MCLK outputs of 22.5792 and 24.5760 MHz, setting snd_soc_botic.ext_masterclk to 3. With this condition, I confirmed the sound files were played with its original SR.

> DSD format can be enabled via:
- kernel option snd_soc_botic.dsd_format_switch

First with this setting enabled, I failed to play the test DSD files provided under the /data, which caused severe signal drops, unable to complete the sequence.

However, to my surprise, the same setting went quite well with my personal collection of DSD sources, mostly DSD128 recorded from old vinyls, and, IMHO, the current botic driver appears quite well designed for this particular setting, that appears far superior to playing DSD by MPD with BBB connected to USB-DDC.

> The BBB has 4 serializers and each one is capable to generate:
- one stereo I2S channel
- one mono DSD channel

Here is a problem for me. By default playing PCM requires the LRCK pin to P9_29 header and the same pin must be moved to P9_41 header for 2-channel playing of DSD. I may be wrong with this understanding, but, if not, is there any way to move back and forth on the fly between these formats?

Anyway, I'd like to thank you, miero, for your great work. Cheers.

twluke
  Reply With Quote
Old 28th June 2014, 04:11 PM   #15
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
ChrisMmm, with new driver you need to use different data pin (P9_30), or set kernel option snd_soc_davinci.sermask=4 ... or 12 if you want 2ch DSD too.

twluke, lrck position is fixed on BBB. The Botic cape will remap/route pins to correct positions. That's why there is I2S/DSD format switch pin.
  Reply With Quote
Old 28th June 2014, 04:14 PM   #16
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
twluke, for ssh without password you need to generate private key and install its public part on BBB ... Try Google for ssh-keygen and ssh-install-key (maybe).
  Reply With Quote
Old 28th June 2014, 08:55 PM   #17
diyAudio Member
 
Join Date: Jul 2005
Location: Aotearoa
Quote:
Originally Posted by miero View Post
ChrisMmm, with new driver you need to use different data pin (P9_30), or set kernel option snd_soc_davinci.sermask=4 ... or 12 if you want 2ch DSD too.

twluke, lrck position is fixed on BBB. The Botic cape will remap/route pins to correct positions. That's why there is I2S/DSD format switch pin.
OK, thanks, didn't read closely enough. Will try that.
  Reply With Quote
Old 28th June 2014, 10:53 PM   #18
diyAudio Member
 
Join Date: Jul 2005
Location: Aotearoa
Quote:
Originally Posted by miero View Post
ChrisMmm, with new driver you need to use different data pin (P9_30), or set kernel option snd_soc_davinci.sermask=4 ... or 12 if you want 2ch DSD too.
All good. Moved the pin on my I2S wiring harness. Tried MPD and test files first - all fine. Installed Squeezlite and tested - all fine. Haven't listened at length but my impression is I would be hard put to tell the difference between the BBB/Botic/I2S/ES9023 setup (with its re-sampling 44.1 to 48k) against my usual BBB/USB/ES9023 setup. This is great news, cant wait for the Cape!

Great work Miero.
  Reply With Quote
Old 29th June 2014, 02:14 PM   #19
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
Quote:
Originally Posted by miero View Post
twluke, for ssh without password you need to generate private key and install its public part on BBB ... Try Google for ssh-keygen and ssh-install-key (maybe).
Sorry, second command is ssh-copy-id
  Reply With Quote
Old 29th June 2014, 10:31 PM   #20
twluke is offline twluke  Japan
diyAudio Member
 
Join Date: Nov 2012
Location: Tokyo
miero:

> twluke, lrck position is fixed on BBB. The Botic cape will remap/route pins to correct positions. That's why there is I2S/DSD format switch pin.

Thanks for this info. As I'm not familiar with GPIO setting, I set up a 2-pole switch to alternate the connection from P9_29 and P9_41 to the main LRCK line toward the BIIISE via Teleporter. Things worked well for now.

However, here is one question. With the default channel configuration (-1), the sidedness of L-R channel on PCM is normal but is reversed on DSD play. Am I only one with this problem? I'll be happy if enlightened.

> Sorry, second command is ssh-copy-id

Thanks for this update. I'll try it later.

Regards,

twluke

Last edited by twluke; 29th June 2014 at 10:35 PM.
  Reply With Quote

Reply


Hide 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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


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 11:06 PM.


vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2014 DragonByte Technologies Ltd.
Copyright 1999-2014 diyAudio

Content Relevant URLs by vBSEO 3.3.2