Audio and command line

Using applications, configuring, problems
Post Reply
Message
Author
ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

Audio and command line

#1 Post by ELMIT »

1. Audio does not work on my board.
The manufacturer said, I have to use a realtek-linux-audiopack-3.5-6

I downloaded it onto another machine, since the board does not allow me to compile (no hard disk with ext2/3 can be attached)

I stuck here now, how to bring this to the CF on the board.



2. I need only audio from the command line. However, each program I try, opens Xwin. Which program can I use to play mp3 files from the command line?


bye

Ronald Wiplinger

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#2 Post by MU »

2.:
http://www.murga.org/~puppy/viewtopic.php?t=7925

1.:
extract archive, compile.
To compile, read http://puppylinux.org/wikka/Compiling

Then look with Rox in
/lib/modules/2.4.29/sound
Look, which file is new by date.
Copy it over to the other machine, run alsaconf or alsawizard.

I don't know if that is sufficient, keep us informed.
Mark

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

#3 Post by ELMIT »

Mu,

I tried your suggestion, but it did not work.

I compiled it no a Celeron and copied than
/lib/modules/2.4.29/misc/*
/usr/lib/libasound.*
/usr/bin/(14 files)
/usr/share/alsa
/usr/share/aclocal
/usr/share/sounds
/usr/sbin/alsa*

but there is still something missing.

Alsaconf does not find a card, and it does not probe old legacy ISA cards.

ELMIT
Posts: 96
Joined: Thu 02 Mar 2006, 07:01
Location: Taipei
Contact:

#4 Post by ELMIT »

The installation script does so many things.
Is it possible to use "make" to get all installed?

Or is it possible to get a list of all steps install is doing, without doing it?

install is going into sub directories, uses some parameters from the config and "make" and "make install". I would be already happy if I get a list of all things it does. Any chance to get this one?

User avatar
MU
Posts: 13649
Joined: Wed 24 Aug 2005, 16:52
Location: Karlsruhe, Germany
Contact:

#5 Post by MU »

You could compile it in a Dotpup:
http://www.murga.org/~puppy/viewtopic.php?p=30754#30754

But Puppy will not remember files in /lib/modules after a reboot.
So you might have to add a script, that copies the files there after a reboot, then runs "depmod" and "modprobe YourModule".
This is easier in Puppy2, because there those modules are not lost on reboot.

hen you install the Dotpup then, it creates a file /root/.packages/YourProgram.files , which is a list of all files included.

Mark

User avatar
Nathan F
Posts: 1764
Joined: Wed 08 Jun 2005, 14:45
Location: Wadsworth, OH (occasionally home)
Contact:

#6 Post by Nathan F »

Barry has it set up so that the contents of /usr/lib/modules get copied to /lib/modules when you boot up Puppy, so that particular limitation already has a workaround in place. You will still need a depmod and modprobe command in rc.local, however.

Nathan
Bring on the locusts ...

Post Reply