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 20th May 2016, 05:41 AM   #1621
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
Hmm, it should work. Please check the botic configuration values:

grep . /sys/module/snd_soc_botic/parameters/*

and also the "aplay -l" output.

If there is no Botic sound card, then the dtb= selection in the uEnv.txt does not work as intended. A workaround could be to replace am335x-boneblack.dtb by am335x-boneblack-botic.dtb file.

cp /boot/dtbs/4.5.0-botic7-rc1/am335x-boneblack-botic.dtb /boot/dtbs/4.5.0-botic7-rc1/am335x-boneblack.dtb
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote
Old 20th May 2016, 05:52 AM   #1622
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
Quote:
Originally Posted by sean03 View Post
Hey miero, the capture device shows up now I'm just having issues trying to record now. This is what I'm getting:

root@botic:~# arecord -v -D hw:0,0 -f S16_LE -r 11025 -c2 -t raw -d 2
Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 11025 Hz, Stereo
Hardware PCM card 0 'Botic' device 0 subdevice 0
Its setup is:
stream : CAPTURE
access : RW_INTERLEAVED
format : S16_LE
subformat : STD
channels : 2
rate : 11025
exact rate : 11025 (11025/1)
msbits : 16
buffer_size : 5512
period_size : 1378
period_time : 124988
tstamp_mode : NONE
period_step : 1
avail_min : 1378
period_event : 0
start_threshold : 1
stop_threshold : 5512
silence_threshold: 0
silence_size : 0
boundary : 1444937728
appl_ptr : 0
hw_ptr : 0
arecord: pcm_read:2031: read error: Input/output error
Hmm. I've tested the record only with internal BBB clock. There might be an issue.

Does the playback work for you? It should be clocked from the same clock.

Please retry with the concurrent playback of the same sampling rate.
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote
Old 20th May 2016, 10:26 AM   #1623
dwjames is offline dwjames  United Kingdom
diyAudio Member
 
dwjames's Avatar
 
Join Date: Jun 2012
Quote:
Originally Posted by francolargo View Post
I do not. If you control Roon using their iOS or Android remote apps, there is a 'side-by-side' option. The 'NetIO' app would not run "within" Roon's own remote control but 'right next door' on the remote device. I use a separate player app and NetIO to control the BBB and DACs via I2C. With the iPad you can change between the two apps using a 4-finger swipe.

NetIO APP

Control of BBB-based audio appliances
I have it sorted and it was very simple!
I already have Squeezelite installed on top of my Botic driver. Seems it was as simple as enabling Squeezebox support within Roon and including the IP of the roon server in the squeezelite startup command using the '-s' argument to define a specific server.

So my squeezelite startup string now looks like:

squeezelite -o hw:CARD=Botic -n JRdddac -a 16384:1024:: -s 192.168.1.27

And my Roon now looks like
Click the image to open in full size.

And beautiful music is filling my room from my BBB Botic > Hermes > Cronus > DDDAC player. Happy days!
  Reply With Quote
Old 20th May 2016, 10:49 AM   #1624
francolargo is offline francolargo  United States
diyAudio Member
 
Join Date: Mar 2007
Location: Twin Cities, MN
Quote:
Originally Posted by miero View Post
Hmm, it should work. Please check the botic configuration values:

grep . /sys/module/snd_soc_botic/parameters/*

and also the "aplay -l" output.

If there is no Botic sound card, then the dtb= selection in the uEnv.txt does not work as intended. A workaround could be to replace am335x-boneblack.dtb by am335x-boneblack-botic.dtb file.

cp /boot/dtbs/4.5.0-botic7-rc1/am335x-boneblack-botic.dtb /boot/dtbs/4.5.0-botic7-rc1/am335x-boneblack.dtb
I noticed the May 13 update to Debian 8.4 on the BBB site so I started fresh by installing the 8.4 image on a uSD chip. Then:
Code:
root@beaglebone:/# dpkg -i linux-image-4.5.0-botic7-rc1_4.5-botic7-rc1_armhf.deb
Selecting previously unselected package linux-image-4.5.0-botic7-rc1.
(Reading database ... 85220 files and directories currently installed.)
Preparing to unpack linux-image-4.5.0-botic7-rc1_4.5-botic7-rc1_armhf.deb ...
Unpacking linux-image-4.5.0-botic7-rc1 (4.5-botic7-rc1) ...
Setting up linux-image-4.5.0-botic7-rc1 (4.5-botic7-rc1) ...
Error! Error! Your kernel headers for kernel 4.5.0-botic7-rc1 cannot be found.
Your kernel headers for kernel 4.5.0-botic7-rc1 cannot be found.
Please install the linux-headers-4.5.0-botic7-rc1 package,
or use the --kernelsourcedir option to tell DKMS where it's located
Error! Please install the linux-headers-4.5.0-botic7-rc1 package,
or use the --kernelsourcedir option to tell DKMS where it's located
Your kernel headers for kernel 4.5.0-botic7-rc1 cannot be found.
Please install the linux-headers-4.5.0-botic7-rc1 package,
or use the --kernelsourcedir option to tell DKMS where it's located
update-initramfs: Generating /boot/initrd.img-4.5.0-botic7-rc1
zz-uenv_txt: Updating /boot/uEnv.txt [uname_r=4.5.0-botic7-rc1]
/boot/uboot is then empty, but the uEnv.txt that is usually there is found in the root directory

I edited /boot/uEnv.txt with 'dtb=am335x-boneblack-botic.dtb'

sync
reboot

then...
Code:
root@beaglebone:~# grep . /sys/module/snd_soc_botic/parameters/*
/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
root@beaglebone:~# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Botic [Botic], device 0: external botic-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
...will check back later before making any other additions in order to check for sound via Hermes/Cronus...
  Reply With Quote
Old 20th May 2016, 10:52 AM   #1625
francolargo is offline francolargo  United States
diyAudio Member
 
Join Date: Mar 2007
Location: Twin Cities, MN
Quote:
Originally Posted by dwjames View Post
I have it sorted and it was very simple!

...And beautiful music is filling my room from my BBB Botic > Hermes > Cronus > DDDAC player. Happy days!
Stellar. Volume controlled in player software, then?
  Reply With Quote
Old 20th May 2016, 11:05 AM   #1626
dwjames is offline dwjames  United Kingdom
diyAudio Member
 
dwjames's Avatar
 
Join Date: Jun 2012
Quote:
Originally Posted by francolargo View Post
Stellar. Volume controlled in player software, then?
yup
  Reply With Quote
Old 20th May 2016, 06:38 PM   #1627
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
sean03, recording should work with the botic7, but a sampling rate, for both playback and recording, should not be smaller than 1/2048th of the clock frequency.

For example, using 45.1584MHz clock the smallest supported fs is 22050Hz.

Quote:
root@botic:~# uname -a
Linux botic 4.5.0-botic7-rc1 #1 PREEMPT Tue May 17 00:51:35 CEST 2016 armv7l GNU/Linux
root@botic:~# grep . /sys/module/snd_soc_botic/parameters/*
/sys/module/snd_soc_botic/parameters/blr_ratio:64
/sys/module/snd_soc_botic/parameters/clk_44k1:45158400
/sys/module/snd_soc_botic/parameters/clk_48k:49152000
/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:MDR-
root@botic:~# arecord -D hw:0,0 -f S16_LE -r 22050 -c2 -t raw | hd -n 8192
Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 22050 Hz, Stereo
00000000 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 |................|
*
00002000
root@botic:~# arecord -D hw:0,0 -f S16_LE -r 11025 -c2 -t raw | hd -n 8192
Recording raw data 'stdin' : Signed 16 bit Little Endian, Rate 11025 Hz, Stereo
arecord: set_params:1297: Unable to install hw params:
...
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote
Old 20th May 2016, 08:00 PM   #1628
mr_whocares is offline mr_whocares  Germany
diyAudio Member
 
Join Date: Mar 2005
Location: germany
Quote:
Originally Posted by dwjames View Post
I have it sorted and it was very simple!
I already have Squeezelite installed on top of my Botic driver. Seems it was as simple as enabling Squeezebox support within Roon and including the IP of the roon server in the squeezelite startup command using the '-s' argument to define a specific server.

....
Any comments please regarding the sound quality of Roon (500$ ??) compared to the MPD (0$ ;-) ? Is Roon worth its price?

Best regards
  Reply With Quote
Old 20th May 2016, 08:36 PM   #1629
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
If you want to control your BBB via oldschool infrared TV remote, you can try it with this LIRC driver:

https://github.com/miero/lirc-bbb

For compilation of the kernel driver for botic7-rc1, you will need to install also a DEB with headers:
http://repo.ieero.com/botic/pool/mai...-rc1_armhf.deb

Enjoy! :-)
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  Reply With Quote
Old 21st May 2016, 08:46 AM   #1630
dwjames is offline dwjames  United Kingdom
diyAudio Member
 
dwjames's Avatar
 
Join Date: Jun 2012
Quote:
Originally Posted by mr_whocares View Post
Any comments please regarding the sound quality of Roon (500$ ??) compared to the MPD (0$ ;-) ? Is Roon worth its price?

Best regards
There is no sound quality difference. Roon doesn't replace mpd, nor is it just a remote control tool. I already have remote control and Spotify /Tidal integration via Squeezelite and LMS server. I paid the $119 annual cost for Roon because of the experience of exploring, finding new music and even old music I have forgotten. I enjoy reading the biography of the artists and albums, making connections and learning. I also love the radio functionality where it will continue playing similar tunes when a playlist has ended. This week i have enjoyed my existing collection and heard new things I would not have done otherwise via Tidal and I have expanded my musical education, and for me that is well worth the cost of 1 cd per month

Anyway, this has been discussed at length many other places so I won't take this thread off track, just to say I am very pleased that Roon>Squeezelite >botic>hermes >cronus play together so nicely
  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 10:14 AM.


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