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 26th December 2017, 05:58 PM   #2411
wealas is offline wealas
diyAudio Member
 
Join Date: Apr 2017
It looks like bumping the i2c bus clock frequency to 400 KHz fixes the problem, or at least for now. I'll have to let it play for a while.

Not sure why the i2c-1 bus was set to 100 KHz.
  Reply With Quote
Old 19th January 2018, 09:22 PM   #2412
cu6apum is offline cu6apum  Russian Federation
diyAudio Member
 
Join Date: Nov 2013
Hi there.
A short question - please, don't murder me as I understand I'm a 1093th dumb lamer...
BB Green, dietPi linux, boticized, boots ok.
Alsa says no soundcard installed, but:
Code:
root@DietPi:~# cat /proc/asound/
cards    devices  modules  oss/     pcm      seq/     timers   version  
root@DietPi:~# cat /proc/asound/devices 
 33:        : timer
root@DietPi:~# lsmod | grep snd
snd_soc_davinci_mcasp    16046  0
snd_soc_edma            1290  1 snd_soc_davinci_mcasp
snd_soc_botic           7504  0
snd_soc_botic_codec     2698  0
snd_soc_core          156179  4 snd_soc_davinci_mcasp,snd_soc_edma,snd_soc_botic_codec,snd_soc_botic
snd_pcm_dmaengine       5273  1 snd_soc_core
snd_pcm                80602  3 snd_soc_davinci_mcasp,snd_soc_core,snd_pcm_dmaengine
snd_timer              19063  1 snd_pcm
snd                    58829  3 snd_soc_core,snd_timer,snd_pcm
soundcore               7285  1 snd
root@DietPi:~# 
root@DietPi:~# uname -a
Linux DietPi 4.5.0-botic7-rc1 #1 PREEMPT Tue May 17 00:51:35 CEST 2016 armv7l GNU/Linux
I guess there's something wrong with dtb that might conflict with diet's PM blobs, but I think I deleted all of them from uEnv.txt and rebooted.

Any debug ideas please? Thank you!
  Reply With Quote
Old 19th January 2018, 10:31 PM   #2413
francolargo is offline francolargo  United States
diyAudio Member
 
Join Date: Mar 2007
Location: Twin Cities, MN
Quote:
Originally Posted by cu6apum View Post
Hi there.
...

I guess there's something wrong with dtb that might conflict with diet's PM blobs, but I think I deleted all of them from uEnv.txt and rebooted.

Any debug ideas please? Thank you!
The command 'aplay' is very useful for debugging. Especially with the -l or -L or -v (verbose) options.

Ubuntu Manpage:

arecord, aplay - command-line sound recorder and player for ALSA
  Reply With Quote
Old 20th January 2018, 01:33 AM   #2414
Mull3t is offline Mull3t  United States
diyAudio Member
 
Join Date: Apr 2012
Location: Gamehendge
Hello Miero...

A while back I was trying to get a Beagle Bone Enhanced working with Volumio and for some reason at the time I couldn't get networking going. I tried again, this time using the am335x-sancloud-bbe.dtb and got the Volumio webpage up. However, since I'm using the bbe dtb all the botic stuff is not configurable. Would it be possible to cook up a dtb for use with the BBE?

I'm sure there are other things on the BBE that aren't working like Bluetooth and WiFi, but this is less important for my usage with Volumio/Botic.

Thanks,
Mull3t
  Reply With Quote
Old 20th January 2018, 05:48 AM   #2415
cu6apum is offline cu6apum  Russian Federation
diyAudio Member
 
Join Date: Nov 2013
Quote:
Originally Posted by francolargo View Post
The command 'aplay' is very useful for debugging. Especially with the -l or -L or -v (verbose) options.

Ubuntu Manpage:

arecord, aplay - command-line sound recorder and player for ALSA
No soundcards installed. That's the question of my post.
  Reply With Quote
Old 20th January 2018, 08:51 AM   #2416
cu6apum is offline cu6apum  Russian Federation
diyAudio Member
 
Join Date: Nov 2013
Appended an usb/uart to the debug header. Here we go.

Code:
Loaded environment from /boot/uEnv.txt
debug: [dtb=am335x-boneblack-botic.dtb] ...
Using: dtb=am335x-boneblack-botic.dtb ...
Checking if uname_r is set in /boot/uEnv.txt...
gpio: pin 56 (gpio 56) value is 1
Running uname_boot ...
loading /boot/vmlinuz-4.5.0-botic7-rc1 ...
5437112 bytes read in 424 ms (12.2 MiB/s)
uboot_overlays: dtb=am335x-boneblack-botic.dtb in /boot/uEnv.txt, unable to use [uboot_base_dtb=am335x-boneblack-uboot.dtb] ...
loading /boot/dtbs/4.5.0-botic7-rc1/am335x-boneblack-botic.dtb ...
57947 bytes read in 89 ms (635.7 KiB/s)
Removed all cape-related garbage from uEnv.txt and - here we go.
Code:
root@DietPi:/boot# aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: Botic [Botic], device 0: external botic-hifi-0 []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
Sorry for being that annoying, maybe this helps somebody. Now will try to get back the PM firmware.
  Reply With Quote
Old 20th January 2018, 11:57 AM   #2417
francolargo is offline francolargo  United States
diyAudio Member
 
Join Date: Mar 2007
Location: Twin Cities, MN
What is the rationale for using dietPi? I find that 'extra' processing tasks by the BBB in my system has zero impact on the sound quality of the I2S into ESS DACs. Even at >90% CPU there is no degradation of the SQ.
  Reply With Quote
Old 20th January 2018, 12:24 PM   #2418
cu6apum is offline cu6apum  Russian Federation
diyAudio Member
 
Join Date: Nov 2013
Quote:
Originally Posted by francolargo View Post
What is the rationale for using dietPi? I find that 'extra' processing tasks by the BBB in my system has zero impact on the sound quality of the I2S into ESS DACs. Even at >90% CPU there is no degradation of the SQ.
Well, I'm an old (ancient) linux guy, so it's ridiculous for me to have active swap on such a toy with 512 MEGS of ram (hi volumio!) My oldest BGP borders (terminating lots of vlans, using filters, traffic shapers et al) still feel free with half a gig!
So the transport's gonna be a tiny appliance as it has to be. Minimal kernel, nothing unneeded running. With Miero's ready-made binary I have 433M free already, all daemons running but the up/mpd. Own kernel will be obviously lighter (screw ipv6, usb mass-storage, smbfs etc), mpd cut in half, maybe i could optimize hqplayer naa too, and tiny web daemon for easy config, that's all.
Diet looks like a nice template for this. Maybe I end up with buildroot.
  Reply With Quote
Old 20th January 2018, 03:50 PM   #2419
stefan646 is offline stefan646
diyAudio Member
 
Join Date: Nov 2016
Hello guys, a quick question: for the BBB with the latest 2.194 Volumio and botic 7, what is the optimum Debian version to use? Should I use the latest 9 version or stick to an older one, say 7 or 8 ?
  Reply With Quote
Old 21st January 2018, 05:40 AM   #2420
twluke is offline twluke  Japan
diyAudio Member
 
Join Date: Nov 2012
Location: Tokyo
Support for Botic Linux driver
Default LIRC driver for BBB

Hi miero, I'm trying to set up an IR receiver for BBB using LIRC ported to BBB by you. I downloaded your source file from Github and tried to install the lirc module but there seems no lirc_bbb.ko after doing make prepare/install without errors as shown below:

Code:
root@arm:/usr/src/lirc-bbb-master# make prepare
make -C /lib/modules/`uname -r`/build scripts
make[1]: Entering directory '/usr/src/linux-headers-4.8.13-botic7-rc3'
  CC      scripts/mod/empty.o
  MKELF   scripts/mod/elfconfig.h
  HOSTCC  scripts/mod/modpost.o
  CC      scripts/mod/devicetable-offsets.s
  GEN     scripts/mod/devicetable-offsets.h
  HOSTCC  scripts/mod/file2alias.o
  HOSTCC  scripts/mod/sumversion.o
  HOSTLD  scripts/mod/modpost
make[1]: Leaving directory '/usr/src/linux-headers-4.8.13-botic7-rc3'
root@arm:/usr/src/lirc-bbb-master# make install
make -C /lib/modules/`uname -r`/build M=$PWD INSTALL_MOD_DIR=kernel/drivers/staging/media/lirc modules_install
make[1]: Entering directory '/usr/src/linux-headers-4.8.13-botic7-rc3'
  DEPMOD  4.8.13-botic7-rc3
make[1]: Leaving directory '/usr/src/linux-headers-4.8.13-botic7-rc3'
depmod -A
root@arm:/usr/src/lirc-bbb-master# ls
example_lirc_conf  LICENSE  lirc_bbb.c    Makefile  README.md
I'm now using a debian stretch dist-upgraded to the latest. Prior to making module, I'd connected the output of a TSOP38238 to the P8_07 GPIO pin of BBB.

Any suggestions? Am I using an outdated source? TIA
  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 11:53 PM.


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