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 14th May 2015, 02:17 PM   #1001
twluke is offline twluke  Japan
diyAudio Member
 
Join Date: Nov 2012
Location: Tokyo
Support for Botic Linux driver
Quote:
Originally Posted by twluke View Post
So, it appears there is no busy device or resources other than mpd. How do you think, miero?
I checked my working Botic system in the same way.

Code:
root@botic:~# lsof | grep snd
mpd       1194             mpd  mem       REG      179,2     289448       9583 /usr/lib/arm-linux-gnueabihf/libsndfile.so.1.0.25
mpd       1194             mpd   15u      CHR      116,3        0t0       8415 /dev/snd/pcmC0D0p
mpd       1194 1323        mpd  mem       REG      179,2     289448       9583 /usr/lib/arm-linux-gnueabihf/libsndfile.so.1.0.25
mpd       1194 1323        mpd   15u      CHR      116,3        0t0       8415 /dev/snd/pcmC0D0p
mpd       1194 1324        mpd  mem       REG      179,2     289448       9583 /usr/lib/arm-linux-gnueabihf/libsndfile.so.1.0.25
mpd       1194 1324        mpd   15u      CHR      116,3        0t0       8415 /dev/snd/pcmC0D0p
mpd       1194 1325        mpd  mem       REG      179,2     289448       9583 /usr/lib/arm-linux-gnueabihf/libsndfile.so.1.0.25
mpd       1194 1325        mpd   15u      CHR      116,3        0t0       8415 /dev/snd/pcmC0D0p
mpd       1194 1326        mpd  mem       REG      179,2     289448       9583 /usr/lib/arm-linux-gnueabihf/libsndfile.so.1.0.25
mpd       1194 1326        mpd   15u      CHR      116,3        0t0       8415 /dev/snd/pcmC0D0p
Ignoring the rows including CHR, which is basically set for real-time attributes for the process by chrt, I don't see any difference from the ichiban's result: that means your basic setting appears almost correct.

Though I'm not sure if incidental alteration of file system permission can cause this error, ichiban, could you show your /data/remote contents by the command below?

Code:
ls -ld /data/remote/*
Also, for setting of /etc/fstab, you might try those options.

Code:
//remote_IP_address/top_dir_of_your_music_source  /data/remote cifs  username=your_name,password=your_password,uid=mpd,file_mode=0777,dir_mode=0777,iocharset=utf8,rsize=16384,wsize=4096,cache=strict,sec=ntlmv2  0 0
If things remain unchanged, I'll strongly recommend to go back to the start and try to prepare a bootable Botic SD on linux using such a live CD/USB as miero recommended somewhere before. This will be more efficient than working on Windows. I think you had wasted your time so much enough to learn linux.

Last edited by twluke; 14th May 2015 at 02:23 PM.
  Reply With Quote
Old 14th May 2015, 02:35 PM   #1002
ichiban is offline ichiban  United States
It's always something!
diyAudio Member
 
ichiban's Avatar
 
Join Date: Oct 2004
Location: Tonawanda, N.Y.
Support for Botic Linux driver
Quote:
Originally Posted by twluke View Post
I checked my working Botic system in the same way.

Code:
root@botic:~# lsof | grep snd
mpd       1194             mpd  mem       REG      179,2     289448       9583 /usr/lib/arm-linux-gnueabihf/libsndfile.so.1.0.25
mpd       1194             mpd   15u      CHR      116,3        0t0       8415 /dev/snd/pcmC0D0p
mpd       1194 1323        mpd  mem       REG      179,2     289448       9583 /usr/lib/arm-linux-gnueabihf/libsndfile.so.1.0.25
mpd       1194 1323        mpd   15u      CHR      116,3        0t0       8415 /dev/snd/pcmC0D0p
mpd       1194 1324        mpd  mem       REG      179,2     289448       9583 /usr/lib/arm-linux-gnueabihf/libsndfile.so.1.0.25
mpd       1194 1324        mpd   15u      CHR      116,3        0t0       8415 /dev/snd/pcmC0D0p
mpd       1194 1325        mpd  mem       REG      179,2     289448       9583 /usr/lib/arm-linux-gnueabihf/libsndfile.so.1.0.25
mpd       1194 1325        mpd   15u      CHR      116,3        0t0       8415 /dev/snd/pcmC0D0p
mpd       1194 1326        mpd  mem       REG      179,2     289448       9583 /usr/lib/arm-linux-gnueabihf/libsndfile.so.1.0.25
mpd       1194 1326        mpd   15u      CHR      116,3        0t0       8415 /dev/snd/pcmC0D0p
Ignoring the rows including CHR, which is basically set for real-time attributes for the process by chrt, I don't see any difference from the ichiban's result: that means your basic setting appears almost correct.

Though I'm not sure if incidental alteration of file system permission can cause this error, ichiban, could you show your /data/remote contents by the command below?

Code:
ls -ld /data/remote/*
Also, for setting of /etc/fstab, you might try those options.

Code:
//remote_IP_address/top_dir_of_your_music_source  /data/remote cifs  username=your_name,password=your_password,uid=mpd,file_mode=0777,dir_mode=0777,iocharset=utf8,rsize=16384,wsize=4096,cache=strict,sec=ntlmv2  0 0
If things remain unchanged, I'll strongly recommend to go back to the start and try to prepare a bootable Botic SD on linux using such a live CD/USB as miero recommended somewhere before. This will be more efficient than working on Windows. I think you had wasted your time so much enough to learn linux.

root@botic:~#
root@botic:~# ls -ld /data/remote/*
dr-xr-xr-x 2 root root 0 May 10 18:52 /data/remote/MUSIC_Library_DUBS
dr-xr-xr-x 2 root root 0 May 12 22:08 /data/remote/MUSIC_MY_CDS_DUBBED
root@botic:~# root@botic:~#


I'm waiting for a response on the Hermes-BBB/Botic cape for BeagleBone Black thread regarding the J1 connector to the BBB T5-6-7-8 pins.
I when I assembled the boards I thought the four pin connector was for the battery, for which I'm waiting. But, going back and looking at some pics of other builds I see it's not for the battery. Could this be the source of my problem.
__________________
Currently listening to F4 or F6/w curve matched SemiSouth outputs
  Reply With Quote
Old 14th May 2015, 03:00 PM   #1003
Duffy Moon is offline Duffy Moon  United Kingdom
diyAudio Member
 
Duffy Moon's Avatar
 
Join Date: Jul 2008
Location: Surrey, UK
It is for the battery - indirectly. I guess it conveys power to/from the battery.
  Reply With Quote
Old 14th May 2015, 03:06 PM   #1004
ichiban is offline ichiban  United States
It's always something!
diyAudio Member
 
ichiban's Avatar
 
Join Date: Oct 2004
Location: Tonawanda, N.Y.
Support for Botic Linux driver
Quote:
Originally Posted by Duffy Moon View Post
It is for the battery - indirectly. I guess it conveys power to/from the battery.
Thanks!
__________________
Currently listening to F4 or F6/w curve matched SemiSouth outputs
  Reply With Quote
Old 14th May 2015, 03:11 PM   #1005
twluke is offline twluke  Japan
diyAudio Member
 
Join Date: Nov 2012
Location: Tokyo
Support for Botic Linux driver
Quote:
Originally Posted by ichiban View Post
root@botic:~#
root@botic:~# ls -ld /data/remote/*
dr-xr-xr-x 2 root root 0 May 10 18:52 /data/remote/MUSIC_Library_DUBS
dr-xr-xr-x 2 root root 0 May 12 22:08 /data/remote/MUSIC_MY_CDS_DUBBED
root@botic:~# root@botic:~#
Oh well, you have dirs of wrong permission. The dir /data/remote, for exampe, should be like this:

drwxrwxrwx 2 mpd root 0 Jul 6 2014 /data/remote

The owner of /data/remote should be mpd. That is to say, this Mr "root" has been occupying your music source directory, saying to Mr "mpd", "Don't come close to me." That's why Mr "mpd" could not transfer your music source to Hermes-Cronus via Botic BBB.

Well, it's time to change the owner and permission. You might try this one:
Quote:
chmod 777 /data/remote
chmod 777 /data/remote/*
chown -R mpd.root /data/remote
chown -R mpd.root /data/remote/*
I hope this will work.

BTW, J1 issue is not related to your current problem. Soldering 4 pins can be done anytime later.
  Reply With Quote
Old 14th May 2015, 03:23 PM   #1006
ichiban is offline ichiban  United States
It's always something!
diyAudio Member
 
ichiban's Avatar
 
Join Date: Oct 2004
Location: Tonawanda, N.Y.
Support for Botic Linux driver
Quote:
Originally Posted by twluke View Post
Oh well, you have dirs of wrong permission. The dir /data/remote, for exampe, should be like this:

drwxrwxrwx 2 mpd root 0 Jul 6 2014 /data/remote

The owner of /data/remote should be mpd. That is to say, this Mr "root" has been occupying your music source directory, saying to Mr "mpd", "Don't come close to me." That's why Mr "mpd" could not transfer your music source to Hermes-Cronus via Botic BBB.

Well, it's time to change the owner and permission. You might try this one:
I hope this will work.

BTW, J1 issue is not related to your current problem. Soldering 4 pins can be done anytime later.

Permission denied on these commands. I'll delete the directory and recreate it.



chown: changing ownership of `/data/remote/MUSIC_MY_CDS_DUBBED/Zoot Sims The Best Of Zoot Sims': Permission denied


root@botic:/#
root@botic:/# ls -ld /data/remote/*
dr-xr-xr-x 2 root root 0 May 10 18:52 /data/remote/MUSIC_Library_DUBS
dr-xr-xr-x 2 root root 0 May 12 22:08 /data/remote/MUSIC_MY_CDS_DUBBED
__________________
Currently listening to F4 or F6/w curve matched SemiSouth outputs
  Reply With Quote
Old 14th May 2015, 03:31 PM   #1007
twluke is offline twluke  Japan
diyAudio Member
 
Join Date: Nov 2012
Location: Tokyo
Support for Botic Linux driver
Quote:
Originally Posted by ichiban View Post
Permission denied on these commands. I'll delete the directory and recreate it.



chown: changing ownership of `/data/remote/MUSIC_MY_CDS_DUBBED/Zoot Sims The Best Of Zoot Sims': Permission denied


root@botic:/#
root@botic:/# ls -ld /data/remote/*
dr-xr-xr-x 2 root root 0 May 10 18:52 /data/remote/MUSIC_Library_DUBS
dr-xr-xr-x 2 root root 0 May 12 22:08 /data/remote/MUSIC_MY_CDS_DUBBED
Okay, it should be Windows resisting to permission change. Go to the source files on Windows and make them all accessible to guest or whatever it is.

Hope this will work.
  Reply With Quote
Old 14th May 2015, 03:45 PM   #1008
Duffy Moon is offline Duffy Moon  United Kingdom
diyAudio Member
 
Duffy Moon's Avatar
 
Join Date: Jul 2008
Location: Surrey, UK
I'm wondering how people are playing SACDs. Also, if anyone know a way to get HLS streams working, I'd love to hear it.

This thread may be of interest:

Music Player Daemon • View topic - SACD ISO playback in MPD
  Reply With Quote
Old 14th May 2015, 04:06 PM   #1009
ichiban is offline ichiban  United States
It's always something!
diyAudio Member
 
ichiban's Avatar
 
Join Date: Oct 2004
Location: Tonawanda, N.Y.
Support for Botic Linux driver
Can't get the chmod to take




root@botic:/data#
root@botic:/data# chmod -c 777 remote
mode of `remote' changed from 0755 (rwxr-xr-x) to 0777 (rwxrwxrwx)
root@botic:/data#
root@botic:/data# ls -l
total 8
drwxr-xr-x 2 root root 4096 May 12 22:08 remote
drwxr-xr-x 2 root root 4096 May 13 18:29 tempMUSIC
root@botic:/data# ls -ld
drwxr-xr-x 4 root root 4096 May 14 15:55 .
root@botic:/data# pwd
/data
root@botic:/data# cd remote
root@botic:/data/remote# ls -la
total 8
drwxr-xr-x 2 root root 4096 May 12 22:08 .
drwxr-xr-x 4 root root 4096 May 14 15:55 ..
dr-xr-xr-x 2 root root 0 May 10 18:52 MUSIC_Library_DUBS
dr-xr-xr-x 2 root root 0 May 12 22:08 MUSIC_MY_CDS_DUBBED
root@botic:/data/remote# ls -l *MY*|more
total 51521
drwxr-xr-x 2 root root 0 Dec 17 18:37 Aaron Copland Appalachian Spring Ro
deo Fanfare for the Common Man Atlanta Symphony Louis Lane Telarc CD-80076
__________________
Currently listening to F4 or F6/w curve matched SemiSouth outputs
  Reply With Quote
Old 14th May 2015, 04:09 PM   #1010
miero is offline miero  Czech Republic
diyAudio Member
 
Join Date: Jun 2011
Location: Prague
you do not need write access "w" for playing the file...

ichiban, you can try copying any file from remote into /tmp directory and play it there
__________________
BeagleBone Black with I2S, DSD and SPDIF interface (Linux driver)
http://bbb.ieero.com/
  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 05:09 AM.


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