• Disclaimer: This Vendor's Forum is a paid-for commercial area. Unlike the rest of diyAudio, the Vendor has complete control of what may or may not be posted in this forum. If you wish to discuss technical matters outside the bounds of what is permitted by the Vendor, please use the non-commercial areas of diyAudio to do so.

Support for Botic Linux driver

I think I'll change the hostname to Lazarus - it's now decided to boot up. I did nothing other than remove power for a few hours. I'll keep an eye on it.

Ray

Hi miero, I've tried various ways to get it to boot but none worked. I don't have serial access.

It was fine yesterday, when it was shutdown cleanly with command line instruction, but today just the power LED. I guess these things happen.

Ray
 
Member
Joined 2007
Paid Member
I think I'll change the hostname to Lazarus

:D :D :D

http://www.diyaudio.com/forums/twis...bbb-based-audio-appliances-3.html#post4525643

Above is a link to a post where you will find a great tip that I have used in cases where some change to boot-specific files caused the boot sequence to hang... You can boot either from on-board memory or from the uSD card and then mount the other as a data 'drive'. This allows you to access and edit files to reverse an unintended result.

I'm not saying it would have helped here - but this one is worth bookmarking because it can save a great deal of time!

Frank
 
All seems well with my BBB now?

Stijn, is you Botic NAA still working?

I spent some time trying to do a ground up install last evening but encountered dependency errors in section 8 of your notes and I couldn't get it to boot afterwards. Starting over feels like a tedious exercise...

The nearest I've got to success was with your image. You produced another image that worked with your BBB - any chance you could produce and upload a new image for me to download and try again? Would prefer 4Gb max. so, if successful, I could flash the BBB. Or perhaps if I send you a 4Gb SD card for you to image and test on you BBB?

Ray
 
Hi Ray, still working flawless. The image I tested was the same I already shared. Not a new one.

Before step 8, try the following. Also what are the erros your getting, can you copy/past them?

edit: etc/apt/sources.list

Code:
## Botic
#deb [URL]http://repo.ieero.com/[/URL] wheezy main
deb-src [URL]http://repo.ieero.com/[/URL] wheezy main

> apt-get update
> apt-get upgrade
> depmod -a
 
Last edited:
Hi Ray, still working flawless. The image I tested was the same I already shared. Not a new one.

Before step 8, try the following. Also what are the erros your getting, can you copy/past them?

edit: etc/apt/sources.list

Code:
## Botic
#deb [url=http://repo.ieero.com/]Index of /[/url] wheezy main
deb-src [url=http://repo.ieero.com/]Index of /[/url] wheezy main
> apt-get update
> apt-get upgrade
> depmod -a

Just to remove some variables from the equation, how about I pay you for a 4Gb microSD card and the postage to send it to me with an image from your BBB?

Ray
 
So tonight I reloaded Stijn's Botic NAA image and I'm glad to report a partial success; I've just been listening to very nice PCM replay through my headphones (44.1KHz upsampled to 176.4KHz via HQPlayer.

The negative is that DSD refuses to play ball, it just errors immediately. I've attached the HQPlayer log file as an attachment. I'll post on the NAA thread over at CA as well.

Ray
 

Attachments

  • HQPlayer_DSD_log.txt
    7.4 KB · Views: 46
I've posted HQPlayer and NAA log files over on Computer Audiophile so hopefully Jussi will be able to help with the DSD problem.

In the meantime, this evening I've been listening with headphones to PCM via my BBB/Botic/SO3/Buffalo3/Legato project. I've been experimenting with different filter and upampling options in HQPlayer and have successfully played material at upto 384KHz. Very pleasing results too.

Ray
 
Hi,

I've successfully installed botic driver + volumio at my BBB and the sound is really stunning. External clock had been connected and everything is fine except DSD play back. No matter I connecting DATA (DSD1) on P9_41 and LRCK (DSD2) on P9_30 on DATA on P9_30 and LRCK on P9_29, my DAC will display the input is PCM. If I set dsd_native_type "3" at mpd.conf will display PCM 352.8K at my DAC. If I set dsd_native_type "1" at mpd.conf will display PCM 88.2K.

Following is my config:

1/ root@volumio:~# cat /etc/mpd.conf
###################################
# Auto generated mpd.conf file
# please DO NOT edit it manually!
# Use player-UI MPD config section
###################################

follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
db_file "/var/lib/mpd/tag_cache"
sticker_file "/var/lib/mpd/sticker.sql"
log_file "/var/log/mpd/mpd.log"
pid_file "/var/run/mpd/pid"
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
state_file "/var/lib/mpd/state"
user "mpd"
bind_to_address "any"
port "6600"
zeroconf_enabled "yes"
zeroconf_name "volumio"
samplerate_converter "Best Sinc Interpolator"
volume_normalization "no"
audio_buffer_size "2048"
buffer_before_play "20%"
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
gapless_mp3_playback "yes"
auto_update "no"
mixer_type "disabled"
group "audio"
max_connections "20"

decoder {
plugin "ffmpeg"
enabled "yes"
}

input {
plugin "curl"
}

audio_output {

type "alsa"
name "Botic"
device "hw:0,0"
dsd_usb "no"
dsd_native "yes"
dsd_native_type "3"
priority "FIFO:32"
period_time "1"
mixer_type "software"
}

2. root@volumio:~# cat /proc/asound/Botic/pcm0p/sub0/hw_params
access: RW_INTERLEAVED
format: DSD_U32_LE
subformat: STD
channels: 2
rate: 88200 (88200/1)
period_size: 128
buffer_size: 16384

3. ALSA version
root@volumio:~# aplay --version
aplay: version 1.0.27.2 by Jaroslav Kysela <perex@perex.cz>

4. Kernel Parameters
root@volumio:/sys/module/snd_soc_botic/parameters# ls -l
total 0
-rw-r--r-- 1 root root 4096 Feb 23 12:19 blr_ratio
-rw-r--r-- 1 root root 4096 Feb 23 12:19 clk_44k1
-rw-r--r-- 1 root root 4096 Feb 23 12:19 clk_48k
-rw-r--r-- 1 root root 4096 Feb 23 12:19 dai_format
-r--r--r-- 1 root root 4096 Feb 23 12:19 dsd_format_switch
-r--r--r-- 1 root root 4096 Feb 23 12:19 ext_masterclk
-rw-r--r-- 1 root root 4096 Feb 23 12:19 helper_cmd
-r--r--r-- 1 root root 4096 Feb 23 12:19 pinconfig
-rw-r--r-- 1 root root 4096 Feb 23 12:19 serconfig
root@volumio:/sys/module/snd_soc_botic/parameters# cat blr_ratio
64
root@volumio:/sys/module/snd_soc_botic/parameters# cat clk_44k1
22579200
root@volumio:/sys/module/snd_soc_botic/parameters# cat clk_48k
24576000
root@volumio:/sys/module/snd_soc_botic/parameters# cat dai_format
16385
root@volumio:/sys/module/snd_soc_botic/parameters# cat dsd_format_switch
1
root@volumio:/sys/module/snd_soc_botic/parameters# cat ext_masterclk
3
root@volumio:/sys/module/snd_soc_botic/parameters# cat helper_cmd
root@volumio:/sys/module/snd_soc_botic/parameters# cat pinconfig
default
root@volumio:/sys/module/snd_soc_botic/parameters# cat serconfig
MMMM

Hope anyone can help to solve the native DSD playback.

Thanks!
Kenneth
 
kencmh:
- for DSD playback you need a DAC with native DSD capable input (not DOP)
- connect following signals to appropriate input pins on DAC:
* P9_31 - data clock
* P9_30 - data1
* P9_41 - data2

Also, please check that P9_26 has different value if you are playing DSD and if you are playing PCM.

I've not tried DSD playback on Volumio based image.

Only on botic4 image (and with botic5 upgrade too).
 
kencmh:
- for DSD playback you need a DAC with native DSD capable input (not DOP)
- connect following signals to appropriate input pins on DAC:
* P9_31 - data clock
* P9_30 - data1
* P9_41 - data2

Also, please check that P9_26 has different value if you are playing DSD and if you are playing PCM.

I've not tried DSD playback on Volumio based image.

Only on botic4 image (and with botic5 upgrade too).

Hi Miero,

Thanks for your quick response. Finally, I connect P9_26 to PIN 15 at my DAC and can display signal in DSD now.

Cheers,
Kenneth
 
I'm posting this with some reservations about creating friction but reason that if information isn't shared then progress may be stymied.

Making use of Stijn001's work I have been using a partially Boticized HQPlayer Network Audio Adaptor (NAA) install on my BBB. PCM seems to be working well but it errors when I try to send it DSD material.

I posted about this on the HQPlayer NAA thread over at Computer Audiophile and, as a result, Jussi had a look into the problems I'm having with the Boticized NAA. Here's his response;

HQPlayer's Network Audio Adapter - Page 55

I'm only the messenger!

Ray