Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Mon 22 Sep 2014, 02:29
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
mpdPup - Simplified MPD Music Server/Jukebox - v0.9.3
Moderators: Flash, JohnMurga
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
Page 20 of 35 Posts_count   Goto page: Previous 1, 2, 3, ..., 18, 19, 20, 21, 22, ..., 33, 34, 35 Next
Author Message
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Mon 11 Mar 2013, 10:40    Post_subject:  

After you run the wizard for the first time and reboot you can re-run the wizard at any time by typing 'mpdwizard'. I'm pretty sure the SSH welcome banner explains this. During the first boot it runs the setup wizard which you already navigated through. Subsequent runs will bring up a set of menus you can navigate through.
Back to top
View user's profile Send_private_message 
Supersurfer

Joined: 02 Mar 2013
Posts: 13

PostPosted: Mon 11 Mar 2013, 11:11    Post_subject:  

Hi Idolse,

Thanks for your swift reply!

Found it! I'm a bit puzzled sometimes by all the information on this forum that I do sometimes not seem to find what I am looking for Embarassed I feel a bit ashamed for asking you every time Embarassed


I have been trying out Sox upsampler but this does not seem to work stable with Flac format. Using WAV works fine but FLAC gives hickups at some files and sometimes the Alix even crashes.

Can this be because of the low CPU speed and demanding tasks for decoding FLAC and upsampling at the same time?

Kind regards,
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Mon 11 Mar 2013, 11:17    Post_subject:  

No worries, I know there is a lot of info to absorb. Regarding Sox, yes, I doubt the Alix has enough CPU to do anything sophisticated with Sox, epecially if something else is taking up resources.
Back to top
View user's profile Send_private_message 
cmiu

Joined: 15 Mar 2013
Posts: 6

PostPosted: Fri 15 Mar 2013, 14:44    Post_subject: custom kernel module  

Hi Idolse,
thank you for putting time and effort for this project.

I'm using mpdPup for about a month and i am very pleased with it.

My new DAC just arrived and I had to make some changes because it does not work with standard alsa usb async drivers ....

Anyway I've downloaded and activated devx_mpdpup_0.9.3.sfs and kernel_src-2.6.39.4-patched.sfs (from http://www.puppylinux.com/development/compilekernel.htm) and tried to compile the module manually

Unfortunately:

# modprobe -v snd-usb-hiface
insmod /lib/modules/2.6.39/kernel/drivers/misc/snd-usb-hiface.ko
FATAL: Error inserting snd_usb_hiface (/lib/modules/2.6.39/kernel/drivers/misc/snd-usb-hiface.ko): Invalid module format

dmesg
snd_usb_hiface: version magic '2.6.39.4 SMP mod_unload modversions 686 ' should be '2.6.39 SMP preempt mod_unload 486 '

It seems that is compiled for the wrong kernel version and arch. Corect?

Could you point me in the right direction?

Thank you
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Fri 15 Mar 2013, 22:46    Post_subject:  

Hi cmiu, glad it's working overall for you. Regarding the kernel sources, thanks for pointing out the missing link. I uploaded them some time back, but forgot to publish the link. I've updated the first post, but you can get them here:
http://www.puppylinuxstuff.meownplanet.net/Idolse/0.9.2/kernel_sources-2.6.39-4.sfs
Back to top
View user's profile Send_private_message 
cmiu

Joined: 15 Mar 2013
Posts: 6

PostPosted: Sat 16 Mar 2013, 19:47    Post_subject:  

I've managed to compile the module and install it. Smile

The strange thing is that on a new install mpdPup DAC was detected and I was able to use the old M2T driver snd-usb-asyncaudio.ko

In order to play dsd over pcm /etc/mpd.conf need to be modified as follows:
in audio_output section dsd_usb "yes" need to be added.

If it is ok I can post a link with the compiled module.

Next thing I wanna do is to compile a git version of mpd, as it has incorporated better support for dsf files tagging.
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Sat 16 Mar 2013, 23:17    Post_subject:  

Hi cmiu,

Yes, feel free to go ahead and post a link to it for other users.

Updating the driver for the next release was already on my to-do list, I'll also add that line to mpd.conf.

I won't be bundling git versions of MPD with official releases, feel free to post a link to your git build as well.

As an FYI, these are the compile flags I use with mpd
Code:
                     --prefix=/usr \
                     --build=i486-t2-linux \
                     --sysconfdir=/etc --localstatedir=/var \
                     --disable-static --enable-shared --disable-debug \
                     --enable-pipe-output \
                     --disable-ipv6 \
                     --with-zeroconf=no \
                     --enable-ffmpeg \
                     --enable-lastfm \
                     --disable-ao \
                     --disable-oss
Back to top
View user's profile Send_private_message 
hifidelity

Joined: 21 Jan 2013
Posts: 3

PostPosted: Mon 18 Mar 2013, 16:44    Post_subject: Kicking squeezelite into action?  

Hi Idolse - I've been trying to find and run Squeezelite within the boundaries of mpdPup but failing to do so.

Any chance you can give a Linux simpleton like me step by step instructions on how to kick squeezelite in to life?

I copied squeezelite as a program onto the bootable usb stick from Windows - but once the mpdPup program boots from the stick I can't find it anywhere to run?

I don't need to do anything fancy like get access to a windows share for my music - I just want to execute squeezelite from within mpdPup once it has booted from the stick.

Squeezelite with then actively search for the LMS server where all my music is stored.

I just love the idea of running Squeezelite from the simplest os possible - optimised for sound, without jitter inducing power management and the like.
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Mon 18 Mar 2013, 20:33    Post_subject:  

Hi hifidelity, here are the steps you need:
Code:
cp /mnt/home/squeezelite /usr/bin/
chmod +x /usr/bin/squeezelite
cp /etc/init.d/40.mpdscribble /etc/init.d/rc.squeezelite
chmod +x /etc/init.d/rc.squeezelite
nano /etc/init.d/rc.squeezelite
Replace all instances of 'mpdscribble' in the file with 'squeezelite'. Ctrl-X to exit and save it at the prompt.

Then type 'save2flash', and 'reboot' to commit all the changes and Squeezelite should start automatictally from then on. To disable automatic startup just type 'chmod -x /etc/init.d/rc.squeezelite'

Edited_time_total
Back to top
View user's profile Send_private_message 
hifidelity

Joined: 21 Jan 2013
Posts: 3

PostPosted: Tue 19 Mar 2013, 09:30    Post_subject:  

Thanks Idolse

Am I to assume that squeezelite is already in the /mnt/home/ directory as part of your download package - or do I need to copy squeezelite in there from Windows?

And when you say squeezelite should start automatically (which is nice) - should I not be running squeezelite with the necessary parameters such as -n for naming the device, and -o for specifying the output device?

Sorry for the silly questions...
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Tue 19 Mar 2013, 10:40    Post_subject:  

Squeezelite would be in /mnt/home because you said you already moved it to your thumbdrive from windows - the contents of the thumb drive are under /mnt/home

You would need to edit the init script to include arguments - this is relatively straightforward, I believe you can put them in quotes "" in after DAEMONOPTIONS=, but sometimes these init scripts need a bit of debugging and tweaking. I'll have to leave that to you to work out.

I'm surprised squeezelite doesn't support a config file...
Back to top
View user's profile Send_private_message 
hifidelity

Joined: 21 Jan 2013
Posts: 3

PostPosted: Tue 19 Mar 2013, 12:01    Post_subject:  

Idolse - easier still for me - can you not just instruct me how to get to the command line in mpdPuP, then I can simply run the squeezlite command manually for now until I work out scripts?
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Tue 19 Mar 2013, 12:13    Post_subject:  

I'm not sure how to answer that question - aside from the very first boot the only way mpdPup presents itself is via command line. If you are doing a first time install then just complete it and reboot - you will get the command line.
Back to top
View user's profile Send_private_message 
thisisvv

Joined: 05 Jul 2012
Posts: 14

PostPosted: Tue 19 Mar 2013, 15:37    Post_subject: Spotify tutorial  

Can anyone tell how to make spotify run on this MPD....

V
Back to top
View user's profile Send_private_message 
ldolse

Joined: 23 Oct 2009
Posts: 366

PostPosted: Tue 19 Mar 2013, 21:05    Post_subject:  

http://murga-linux.com/puppy/viewtopic.php?t=81984&start=12
Back to top
View user's profile Send_private_message 
Display_posts:   Sort by:   
Page 20 of 35 Posts_count   Goto page: Previous 1, 2, 3, ..., 18, 19, 20, 21, 22, ..., 33, 34, 35 Next
Post_new_topic   Reply_to_topic View_previous_topic :: View_next_topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

Rules_post_cannot
Rules_reply_cannot
Rules_edit_cannot
Rules_delete_cannot
Rules_vote_cannot
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0844s ][ Queries: 13 (0.0113s) ][ GZIP on ]