Hi ciotog,
Quote:
I imagine LFS uses BSD style init scripts, so you should have the file /etc/rc.d/rc.local - this is where you'd put any local initialization likeThis would have to be after you've got the alsa settings set and saved using
|
Sorry, can't find "rc.local"
bash-3.00$ ls /etc/rc.d/
Code:
init.d rc0.d rc1.d rc2.d rc3.d rc4.d rc5.d rc6.d rcs
bash-3.00$ ls /etc/rc.d/init.d/
Code:
alsa console halt modules network sendsignals sysctl udev
checkfs cups hotplug mountfs rc setclock sysklogd
cleanfs functions localnet mountkernfs reboot swap
Quote:
If you have to run xmms as root, check the permissions on xmms
|
xmms can be started as User/satimis but music CD could not be found. However as root it worked. Music can be played.
Quote:
I think it would be beneficial to finish installing alsa (are there any snd- entries in /etc/modules.conf?)
|
Kernel recompiled with all SND selected as module.
Code:
<M> Advanced Linux Sound Architecture
<M> Sequencer support
< > Sequencer dummy client
<M> OSS Mixer API
<M> OSS PCM (digital audio) API[*] OSS Sequencer API
[ ] Verbose printk
[ ] Debug
PCI devices ->(select)
<M> VIA 82C686A/B, 8233/8235 AC97 Controller (original, no altered)
"[*] OSS Sequencer API" can't be selected as module.
Test performed after rebooting BLFS 6.1 as follows;
bash-3.00$ timidity Midi_Guitar/
Code:
Couldn't open output device
bash-3.00$ su
Password:
root@localhost:/home/satimis# timidity Midi_Guitar/
Code:
Couldn't open output device
root@localhost:/home/satimis# depmod -a
root@localhost:/home/satimis# modprobe snd-MODULES
Code:
FATAL: Module snd_MODULES not found.
root@localhost:/home/satimis# modprobe snd-modules
Code:
FATAL: Module snd_modules not found.
root@localhost:/home/satimis# modprobe snd-MODULE
Code:
FATAL: Module snd_MODULE not found.
root@localhost:/home/satimis# modprobe snd-module
Code:
FATAL: Module snd_module not found.
root@localhost:/home/satimis# modprobe snd-pcm-oss
root@localhost:/home/satimis# modprobe snd-seq-oss
root@localhost:/home/satimis# timidity Midi_Guitar/
Code:
/usr/local/share/timidity/timidity.cfg: No such file or directory
timidity: Can't read any configuration file.
Please check /usr/local/share/timidity/timidity.cfg
It seems "timidity" got some problem. I'll install another midi-player to try after settling all remaining problems.
I have to run following commands before I can play music CD
root@localhost:/home/satimis# amixer set Master 80% unmute
root@localhost:/home/satimis# amixer set CD 80% unmute
root@localhost:/home/satimis# amixer set PCM 80% unmute
The last one is for midi-player
Quote:
are there any snd- entries in /etc/modules.conf?
|
root@localhost:/home/satimis# ls -l /etc/ | grep modules.conf
(no printout)
root@localhost:/home/satimis# find / -name modules.conf
Code:
find: WARNING: Hard link count is wrong for /proc: this may be a bug in your filesystem driver. Automatically turning on find's -noleaf option. Earlier results may have failed to include directories that should have been searched.
How to test the sound server at boot to play a short tune? TIA
BR
satimis