WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: TCL with Deadbeef for a newbie  (Read 24102 times)

Offline bibo01

  • Newbie
  • *
  • Posts: 27
Re: TCL with Deadbeef for a newbie
« Reply #15 on: August 07, 2013, 04:27:28 AM »
That would be:
Code: [Select]
$ sudo mount -t cifs //192.168.0.98/volume1/public /mnt/music -o user=username,pass=password..without the ":"

With the above I get: mounting //192.168.0.98/volume1/public on /mnt/music failed: no such device
If I substitute cifs with nfs, I get: .....failed: Invalid argument
Obviously, I insert my own username/pw

Quote
What boot loader are you using? For example with syslinux on a usb stick you pass boot codes like this:
Code: [Select]
label rootfs
kernel /boot/vmlinuz
initrd /boot/rootfs.gz,/boot/modules.gz
append quiet noswap tce=UUID=18ab07fe-cf1d-4fab-8f96-ed80e00b67cb waitusb=10:UUID=18ab07fe-cf1d-4fab-8f96-ed80e00b67cb host=boxdell text blacklist=bcma,b43,ssb

I am using core2usb as suggested before.
I just need a way to make "kmap=qwerty/it" stick  ;)

Quote
Quote
I need some help with ALSA, please.
If I use no DSP in Deadbeef (no ALSA mixer either), ALSA should take charge during playing back with automatic frequency detection of the file. Instead, the sample rate is always totally random and wrong.
Sorry, but I've no clue about that...
Well, I tried...perhaps somebody else may help... :)

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TCL with Deadbeef for a newbie
« Reply #16 on: August 07, 2013, 06:07:28 AM »
I need some help with ALSA, please.
If I use no DSP in Deadbeef (no ALSA mixer either), ALSA should take charge during playing back with automatic frequency detection of the file. Instead, the sample rate is always totally random and wrong.

What kind of format(s)?

Have you tried with different players (e.g. Mplayer-nodeps)?
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: TCL with Deadbeef for a newbie
« Reply #17 on: August 07, 2013, 06:41:14 AM »
With the above I get: mounting //192.168.0.98/volume1/public on /mnt/music failed: no such device
If I substitute cifs with nfs, I get: .....failed: Invalid argument
Did you load the filesystems-KERNEL, cifs-utils and nfs-utils extensions?

Quote
I am using core2usb as suggested before.
I just need a way to make "kmap=qwerty/it" stick  ;)
I seem to remember that this uses syslinux - you should have a file /mnt/sda1/boot/extlinux/extlinux.conf (or similar) where you can add the boot codes

Offline bibo01

  • Newbie
  • *
  • Posts: 27
Re: TCL with Deadbeef for a newbie
« Reply #18 on: August 07, 2013, 09:41:35 PM »
I need some help with ALSA, please.
If I use no DSP in Deadbeef (no ALSA mixer either), ALSA should take charge during playing back with automatic frequency detection of the file. Instead, the sample rate is always totally random and wrong.

What kind of format(s)?

Have you tried with different players (e.g. Mplayer-nodeps)?
I loaded Mplayer-nodeps, clicked on it but nothing happens. I mean, does it have an interface? ...I told you I was a newbie  :-[
If you give me some indications, I can try again  :)

I realized that, by ticking on ALSA resampling in its configuration menu within Deafbeef, I can playback bit-perfect files. However, if I place in the playlist 2 files at different sample rates (ie 16/44.1 and 24/96), there are a few problems.
- If I cycle without stopping from one to the other, the first file is played fine but, as I move onto the 2nd one, it tries to play it at the previous sample rate. If I go back to the 1st one, it tries to play it at the sample rate of the 2nd one.
- If I start playing at a certain frequency, I have to start/stop/restart to be allowed playing at a different frequency.
Is this normal with ALSA? I would like to know if in general ALSA can automatically adjust sample rate between files.

Offline bibo01

  • Newbie
  • *
  • Posts: 27
Re: TCL with Deadbeef for a newbie
« Reply #19 on: August 07, 2013, 11:25:16 PM »
With the above I get: mounting //192.168.0.98/volume1/public on /mnt/music failed: no such device
If I substitute cifs with nfs, I get: .....failed: Invalid argument
Did you load the filesystems-KERNEL, cifs-utils and nfs-utils extensions?
Almost there...
After loading your extensions, using //192.168.0.98/public did the trick.
How do I make it to stick so I do not need to do it everytime?
I tried to backup but it does not work because "mnt" is excluded. Should I try to add "mnt" to filetool.lst (obviously excluding it from xfiletool.lst)?   

Quote
Quote
I am using core2usb as suggested before.
I just need a way to make "kmap=qwerty/it" stick  ;)
I seem to remember that this uses syslinux - you should have a file /mnt/sda1/boot/extlinux/extlinux.conf (or similar) where you can add the boot codes
Yes, it uses syslinux.
I opened /boot/syslinux/syslinux.cfg with Win Notepad and added "kmap..." to the APPEND line  :D 8)

If I connect a HD through USB or eSATA to my notebook, will I be able to see it automatically booting through USB pendrive? Or do I need to mount it too?

In order to build the M2Tech Audio driver, what is the procedure for TCL?
https://github.com/panicking/snd-usb-asyncaudio/wiki
Has anyboy already build it?

Always thanks

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11630
Re: TCL with Deadbeef for a newbie
« Reply #20 on: August 08, 2013, 12:06:58 AM »
Hi bibo01
Quote
I opened /boot/syslinux/syslinux.cfg with Win Notepad and added "kmap..." to the APPEND line
Editing Linux files in a Windows environment may be hazardous to your Linux system. Use Editor, vi, or some
other Linux editor.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Re: TCL with Deadbeef for a newbie
« Reply #21 on: August 08, 2013, 01:13:51 AM »
I use notepad++ if I absolutely have to edit a linux file in windows   ;)

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: TCL with Deadbeef for a newbie
« Reply #22 on: August 08, 2013, 03:16:32 AM »
After loading your extensions, using //192.168.0.98/public did the trick.
How do I make it to stick so I do not need to do it everytime?
I tried to backup but it does not work because "mnt" is excluded. Should I try to add "mnt" to filetool.lst (obviously excluding it from xfiletool.lst)?
No, the backup software would try to back-up everything under /mnt if you did that - you could make a small script to mount the drive on boot, add this script to your back-up and run it from bootlocal.sh

Quote
If I connect a HD through USB or eSATA to my notebook, will I be able to see it automatically booting through USB pendrive? Or do I need to mount it too?
You would need to mount it too (you can use the gui mount applet) - this is the linux way.

Quote
In order to build the M2Tech Audio driver, what is the procedure for TCL?
Load the compiletc, linux-headers, bash, ncurses-dev and perl5 extensions and compile it

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TCL with Deadbeef for a newbie
« Reply #23 on: August 08, 2013, 05:42:17 AM »
I loaded Mplayer-nodeps, clicked on it but nothing happens. I mean, does it have an interface? ...I told you I was a newbie  :-[
If you give me some indications, I can try again  :)

Simply
Code: [Select]
mplayer somefile.mp3
or you could also play all files in same dir with
Code: [Select]
mplayer *.mp3
There are several GUI frontends, e.g. SMplayer.
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline Ipoci

  • Newbie
  • *
  • Posts: 6
Re: TCL with Deadbeef for a newbie
« Reply #24 on: August 16, 2013, 05:17:18 AM »
Did a quick test with my USB-SPDIF key made by ART ...

I got sound by Deadbeef using .flac files but any tentative to play a .WAV file induced a "crash" of Deadbeef app, or to be honest no crash evidence but player quit immediately as soon a .WAV file is selected to playout ... files are normal 16/44 CD files, no special HD or fancy coding.

Any idea ?

Kindly regards, Massimiliano

Offline tinypoodle

  • Hero Member
  • *****
  • Posts: 3857
Re: TCL with Deadbeef for a newbie
« Reply #25 on: August 16, 2013, 07:34:17 AM »
For playing wav files you could as well use the player shipped with sound system (aplay/ossplay).
"Software gets slower faster than hardware gets faster." Niklaus Wirth - A Plea for Lean Software (1995)

Offline bibo01

  • Newbie
  • *
  • Posts: 27
Re: TCL with Deadbeef for a newbie
« Reply #26 on: August 17, 2013, 09:14:46 PM »
For playing wav files you could as well use the player shipped with sound system (aplay/ossplay).
that is not much help if one wants to use Deadbeef as player  :)

Hi ipoci, you are not the only one with this problem. I hope that my friend hfavandepas was able to solve this matter and a few other things here and there...I should hear from him soon  :D

I have been trying to modprobe my usb alsa driver, but it seems that TCL does not have modprobe at all.
Is that the case? Is there any way around it?

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11630
Re: TCL with Deadbeef for a newbie
« Reply #27 on: August 17, 2013, 11:00:40 PM »
Hi bibo01
Quote
... but it seems that TCL does not have modprobe at all.
Modprobe is included. You either need to run it as root or using sudo.

Offline bibo01

  • Newbie
  • *
  • Posts: 27
Re: TCL with Deadbeef for a newbie
« Reply #28 on: August 18, 2013, 02:28:26 AM »
Hi bibo01
Quote
... but it seems that TCL does not have modprobe at all.
Modprobe is included. You either need to run it as root or using sudo.
Great!
Can you please give some examples for both?

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14817
Re: TCL with Deadbeef for a newbie
« Reply #29 on: August 18, 2013, 03:20:52 AM »
Code: [Select]
$ sudo modprobe b43
Code: [Select]
$ sudo su
# modprobe b43