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 Sun 19 May 2013, 11:23
All times are UTC - 4
 Forum index » Advanced Topics » Puppy Derivatives
OLD: mpdPup - Simplified MPD Music Server/Jukebox - v0.9.2
Moderators: Flash, JohnMurga
Post new topic   Reply to topic View previous topic :: View next topic
Page 15 of 31 [464 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15, 16, 17, ..., 29, 30, 31 Next
Author Message
ldolse

Joined: 23 Oct 2009
Posts: 358

PostPosted: Mon 18 Jun 2012, 21:36    Post subject:  

Regarding Unetbootin failing, let's try a couple things:
  • A little more detailed description than it doesn't work would help - exactly what happens during the boot process?
  • double-check the md5 of the iso that you downloaded - the correct md5 is in the first post, a bad md5 could potentially cause a lot of these issues
  • disable AV while you're installing on the thumb drive with unetbootin
  • Validate that unetbootin successfully copied files to your USB - the files should be the same as what's on the iso plus a couple additional files.
  • try a different USB installer: Pendrive Linux
Back to top
View user's profile Send private message 
RayCtech

Joined: 16 Jun 2012
Posts: 31

PostPosted: Tue 19 Jun 2012, 06:36    Post subject:  

@ldolse,

When trying to verify the various issues on the Gigabyte motherboard I become ´lost´ and investigated much more closely and discovered several issues that have influenced my previous results.

1. Connecting to tunes.local is obviously strange vs. version 1.7 and 1.7.1 of MPoD/MPaD,
and in 1.7 tunes.local or IP works as MPD server,
in 1.7.1 I do not know what works as after 1.7.1 have connected once,
then I can remove the server name or put anything there ???.
2. I figured out that I could not boot from CD / USB Flash on the two different systems directly,
and compare valid results due to the way mpdPup uses savefiles.
3. On the Gigabyte board I then re-partitioned and formatted the local SATA drive partition
mpdPup used for save/load, and created a new Sony 4GB USB flash with Unetbootin.
I then re-partioned and formatted the imation 16GB USB flash and used Unetbootin once more.
I disconnected the internal SATA drive to be sure nothing influenced.
This time I only tested on the Gigabyte system.
The Sony 4GB (bought new for the test) boots and mpd starts with ´nice -15´ in the 20.mpd file.
The imation 16GB hangs in the boot before/during loading SYSLINUX.
4. Thus the Unetbootin problem is related to the USB flash devices - some work - some don´t.
5. On the Gigabyte board X works and mpd starts and tunes.local work with static IP if the MPoD/MPaD version is 1.7,
and not if the version is 1.7.1.
6. Then the difference between the Atom DN2800MT board and the Gigabyte is:
On the Atom DN2800MT X works randomly and keyboard/mouse randomly stop working in X,
mpd do not start with ´nice -15´ in the 20.mpd file.

The strange thing is that the Atom DN2800MT have worked with Voyage MPD and various other Linux (both 32bit and 64bit) and various X desktops, and the only issue have been that X sometimes started in only 1024x768.
In addition to the imation USB flash I started to use another 16GB device that was a working boot device that did not work with Unetbootin - before I switched to the imation and then to the new Sony device.

My conclusion is: The Atom DN2800MT board is useless with mpdPup,
and that only the STATIC IP/DHCP and tunes.local issue needs to be looked into.
And that the tunes.local functionality is complicated by the way MPoD/MPaD works and works different in different releases.
For me the upgrade to MPoD/MPaD 1.7.1 simultaneously with testing mpdPup have caused a lot of confusion.
Luckily I have one old iPod 32GB that was not upgraded so I could discover the strange/buggy behavior of the 1.7.1 version...
Back to top
View user's profile Send private message 
ldolse

Joined: 23 Oct 2009
Posts: 358

PostPosted: Tue 19 Jun 2012, 11:45    Post subject:  

Glad to see we're making progress.

RayCtech wrote:
1. Connecting to tunes.local is obviously strange vs. version 1.7 and 1.7.1 of MPoD/MPaD, and in 1.7 tunes.local or IP works as MPD server, in 1.7.1 I do not know what works as after 1.7.1 have connected once, then I can remove the server name or put anything there ???.

5. On the Gigabyte board X works and mpd starts and tunes.local work with static IP if the MPoD/MPaD version is 1.7, and not if the version is 1.7.1.
So when you've been saying static didn't work before it was specific to MPoD/MPaD, and perhaps not related to mpdPup? e.g. could you still open a command prompt and ping tunes.local? MPoD/MPaD behavior should get better in general with the next release when I fix auto-discovery, but I agree the latest version of those clients have a bit of odd behavior with the setup that needs further exploration.

The MPoD developer also recommended if you're having problems with it to delete the app entirely and re-install from the app store.


RayCtech wrote:
4. Thus the Unetbootin problem is related to the USB flash devices - some work - some don´t.

In addition to the imation USB flash I started to use another 16GB device that was a working boot device that did not work with Unetbootin - before I switched to the imation and then to the new Sony device.
Ok - I've updated the first page to recommend flash media between 256MB & 4GB, no larger, I'm not 100% certain the size is the root cause, but I'm going to go with that for now.


RayCtech wrote:
6. Then the difference between the Atom DN2800MT board and the Gigabyte is:
    On the Atom DN2800MT X works randomly and keyboard/mouse randomly stop working in X, mpd do not start with ´nice -15´ in the 20.mpd file.


The strange thing is that the Atom DN2800MT have worked with Voyage MPD and various other Linux (both 32bit and 64bit) and various X desktops, and the only issue have been that X sometimes started in only 1024x768.

My conclusion is: The Atom DN2800MT board is useless with mpdPup
Well, I would agree X is useless on that board, but I will fix the mpd startup script so it works in the future, there's no reason not to believe the board would be fine at doing only audio and just manage it from the console. Different Linux distributions handle X and driver loading a bit differently, and different kernels mean slightly different drivers, so I'm not surprised that it's a bit different with Puppy.
Back to top
View user's profile Send private message 
RayCtech

Joined: 16 Jun 2012
Posts: 31

PostPosted: Tue 19 Jun 2012, 12:00    Post subject:  

ldolse wrote:

So when you've been saying static didn't work before it was specific to MPoD/MPaD, and perhaps not related to mpdPup? e.g. could you still open a command prompt and ping tunes.local? MPoD/MPaD behavior should get better in general with the next release when I fix auto-discovery, but I agree the latest version of those clients have a bit of odd behavior with the setup that needs further exploration.


Ping tunes.local works with static IP.
Back to top
View user's profile Send private message 
RayCtech

Joined: 16 Jun 2012
Posts: 31

PostPosted: Tue 19 Jun 2012, 12:11    Post subject:  

ldolse wrote:
Well, I would agree X is useless on that board, but I will fix the mpd startup script so it works in the future, there's no reason not to believe the board would be fine at doing only audio and just manage it from the console. Different Linux distributions handle X and driver loading a bit differently, and different kernels mean slightly different drivers, so I'm not surprised that it's a bit different with Puppy.


It is not only the Atom board, but also something with mpdPup/drivers as I randomly also get Intel 800/900/I915 error when booting the Gigabyte board, and also randomly an error regarding identifying the chipset.
Most boots without problems and no practical problems identified.
Back to top
View user's profile Send private message 
ldolse

Joined: 23 Oct 2009
Posts: 358

PostPosted: Tue 19 Jun 2012, 12:56    Post subject:  

I can't tell if the latest Intel drivers are included in the kernel - I'll create a test build with the latest 2D drivers and run it by you to see if it fixes things.
Back to top
View user's profile Send private message 
bonalux

Joined: 20 Jun 2012
Posts: 20

PostPosted: Wed 20 Jun 2012, 07:09    Post subject: Raspberry Pi board  

Hi Idolse, there is any project on compiling Mpdpup for the Raspberry Pi board? It has an ARM processor and all the things necessary to run an Mpd server, not to mention the ridicoulous low cost Wink .

Link: www.raspberrypi.org

Thank you.
Back to top
View user's profile Send private message 
ldolse

Joined: 23 Oct 2009
Posts: 358

PostPosted: Wed 20 Jun 2012, 09:47    Post subject:  

Hi, right now I'm not working on ARM at all, as there is no officially released variant of Puppy Linux for ARM at this time. That said, if you want to keep an eye on ARM development you can watch the main Puppy dev blog here:
http://bkhome.org/blog/
As you can see there from recent posts, Barry has been working on ARM support - specifically around Raspberri Pi, and when he says it's ready I may go after a release of mpdPup based on that work.

That said I really want to make mpdPup into a proper version controlled release that is easy for others to contribute to, and I haven't seen an easy route to doing that if I follow the main branch of Puppy development. An alternate build platform I've been considering is based on the work of another Puppy Linux dev (Iguleder), and you can keep track of his work on this site:
http://www.dimakrasner.com/roar-ng/
I haven't played with roar-ng/subito yet, but I've been watching it with interest - the build system is theoretically capable of supporting ARM and Intel, and it's hosted on Github so it should be pretty easy to spin off a variant which is easy to contribute to. I suspect it needs more work for Linux neophytes though, so I've been waiting until it's a bit further developed.
Back to top
View user's profile Send private message 
Douwe01nl

Joined: 14 Jun 2012
Posts: 14

PostPosted: Wed 20 Jun 2012, 12:17    Post subject: nrpacks=20  

Hi Idolse, a question about nrpacks=20 which sounds so great.
I didn't succeed implementing it automatically. I tried two ways:

1: options snd-usb-audio nrpacks=20 to the end of the file alsa-base.conf
2: sticking an init script in /etc/init.d/

QUOTE
something like this:
#!/bin/sh

case "$1" in
start)
modprobe -r snd-usb-audio
modprobe snd-usb-audio nrpacks=20
;;
esac
And name is something like 00.usbnrpacks, so it's executed before mpd.
UNQUOTE

I still have to do it by hand each time.
Any ideas?
Back to top
View user's profile Send private message 
Douwe01nl

Joined: 14 Jun 2012
Posts: 14

PostPosted: Wed 20 Jun 2012, 14:28    Post subject: pcu frequency  

@Walter
Maybe here you can find a way to set lower cpu-frequency in linux in stead of bios.

http://www.thinkwiki.org/wiki/How_to_make_use_of_Dynamic_Frequency_Scaling
Back to top
View user's profile Send private message 
ldolse

Joined: 23 Oct 2009
Posts: 358

PostPosted: Wed 20 Jun 2012, 20:27    Post subject: Re: nrpacks=20  

Douwe01nl wrote:
Hi ldolse, a question about nrpacks=20 which sounds so great.
I didn't succeed implementing it automatically. I tried two ways:

1: options snd-usb-audio nrpacks=20 to the end of the file alsa-base.conf
2: sticking an init script in /etc/init.d/


Hi, How are you verifying nrpacks=20 is applied? By ear only or did you discover a way to check it's state?

That's too bad if alsa-base.conf didn't work, I was really hoping that would do it. Regarding the init script, did you also make it executable?
Code:
chmod +x /etc/init.d/00.usbnrpacks


Modify the above to match whatever you named the file.
Back to top
View user's profile Send private message 
wlowes

Joined: 07 Jun 2012
Posts: 35
Location: Toronto, Canada

PostPosted: Wed 20 Jun 2012, 23:07    Post subject:  

Thanks Douwe01nl. I'll do some digging into the cpu frequency options.
Back to top
View user's profile Send private message 
i2k

Joined: 22 Jun 2012
Posts: 24

PostPosted: Fri 22 Jun 2012, 12:23    Post subject:  

Hi Idolse,

First of all, thanks for this wonderful release. I have zero knowledge on Linux and I can make the puppy sing, so it shows how easy to use mpdpup.

I cannot comment yet on the SQ as I only tested it with onboard sound card & a headphone, but I'm sure it's got potential. My amps & speakers are currently away, I'll post my comments on SQ once they're back.

Some question :
How to make the server poweroff by push the power button ?
Where is the alsa configuration file ?
How to make the name of my flash USB boot device and ext USB hard disk permanent ? (eg: flash boot device always as "sdb1" & ext hdd always "sda1")

Like I said, I'm a total noob so pls bear with me.

Thanks
Back to top
View user's profile Send private message 
ldolse

Joined: 23 Oct 2009
Posts: 358

PostPosted: Fri 22 Jun 2012, 12:39    Post subject:  

Hi i2k, glad you were able to get things up and running easily enough.

i2k wrote:
How to make the server poweroff by push the power button ?
The power button should work if you hold the button down for a long press. Supporting the short press requires a separate daemon/background process to be running and I didn't want the overhead of an extra process just so the power button works the way people normally expect. On some hardware tweaking the BIOS may help - try disabling ACPI and other power settings to see if it helps. If there is a switch on a power strip or power supply feel free to use that as well - graceful shutdowns aren't required after the first reboot where the initial setup is completed.

i2k wrote:
Where is the alsa configuration file ?

That depends on what you're trying to do. Generally speaking mpdPup uses ALSA defaults so there isn't much in the way of configuration files. The only exception is if you enable the equalizer - type alsaequal at the command line to get access to that. Anyway let me know what you want to do and I can advise you. The settings mentioned over the last couple pages of this thread are all in /etc/mpd.conf


i2k wrote:
How to make the name of my flash USB boot device and ext USB hard disk permanent ? (eg: flash boot device always as "sdb1" & ext hdd always "sda1")
Those names are standard Linux drive names based on the drive type, you can't really change that.
Back to top
View user's profile Send private message 
i2k

Joined: 22 Jun 2012
Posts: 24

PostPosted: Fri 22 Jun 2012, 20:05    Post subject:  

Wow, that was very fast reply. Thanks a lot.

I understand pressing the power button for a few second will force the machine to turn off, but a more "elegant" shutdown would be nicer, but I understand your reason. BTW, I uses Intel Atom D410 board with 1 GB RAM powered by PicoPSU, it's 100% silent.

I notice that after the prompt appears after a reboot / power on, it takes several second before MPD starts to update the database & starting, is that normal ?

Do mpdpup able to stream music ? I tried to stream music with MPdroid client on a Samsung Gio android but there was no sound. I don't know if it was a problem of the server or the client.

The reason why I asked how to permanently named the USB devices is because sometimes my boot flash disk named as sdb1 and ext USB hdd as sda1 and the other time could be the other way around.

Last, I really interested to buy Soundgraph Imon. What will be displayed by this thing ?

Thanks & greetings from Indonesia.
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 15 of 31 [464 Posts]   Goto page: Previous 1, 2, 3, ..., 13, 14, 15, 16, 17, ..., 29, 30, 31 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Puppy Derivatives
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


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