What package for playing CD and midi file
Hi folks,
BLFS 6.1 twm - window manager I have following ALSA packages installed; alsa-firmware-1.0.9.tar.bz2 alsa-lib-1.0.9.tar.bz2 alsa-oss-1.0.9.tar.bz2 alsa-plugins-1.0.9.tar.bz2 alsa-utils-1.0.9a.tar.bz2 alsamixer can be started. Now I'm prepared to test sound on music CD as well as on midi files. Please advise what package shall I install in addition. I only need a simple tool for testing sound only. BR satimis |
|
Quote:
|
Hi shotokan,
Tks for your advice. Quote:
Following ALSA packages have been installed; alsa-firmware-1.0.9.tar.bz2 alsa-lib-1.0.9.tar.bz2 alsa-oss-1.0.9.tar.bz2 alsa-plugins-1.0.9.tar.bz2 alsa-utils-1.0.9a.tar.bz2 "man alsa-utils", "man alsa", "man alsa-oss", etc. do not work; bash-3.00$ man alsa-oss Code:
No manual entry for alsa-oss # alsamixer Volumn can be adjusted. But alsamixer can't be started as "user" bash-3.00$ alsamixer Code:
alsamixer: function snd_ctl_open failed for default: Permission denied root@localhost:/sources/Python-2.4.1# ls -l /usr/bin/alsamixer Code:
-rwxrwxr-x 1 root root 61555 Sep 17 00:24 /usr/bin/alsamixer # chown satimis:satimis: /usr/bin/alsamixer Please advise. Tks. BR satimis |
Do you have a /etc/group file? You should try adding yourself to the audio group (and cdrom for that matter), then:
Code:
chown root:audio /dev/sound/* |
Hi ciotog,
Tks for your advice. Hereunder is /etc/group Code:
root:x:0: To add "cdrom" to the group; # groupadd cdrom # chown root:audio /dev/hdd (cdrom is slave secondary IDE. How to check it???) # chmod 660 /dev/hdd # chown root:audio /dev/sound/* If I'm wrong, please correct me. TIA Furthermore on alsamixer window, how to activate cdrom? It is OFF. Space key does not work. B.R. satimis |
The audio line in /etc/group should read
Code:
audio:x:11:satimis You can add users to groups using the gpasswd command like so: Code:
gpasswd -a satimis audio You can check on what's attached to which ide channel by looking at /proc/ide/ide?/hd?/model (where ide? is ide0 or ide1, hd? is hda, hdb, etc). I'm sure there's an easier way... As for cdrom in alsamixer, I'm sure once all the permissions are set you'll have access to it. |
Hi ciotog,
Tks for your advice. Steps performed as follows; edited /etc/group added "satimis" to "audio:x:11:satimis <====== " root@localhost:~# cat /etc/group Code:
root:x:0: Code:
Adding user satimis to group audio Code:
drivers hda hdc hdd ide0 ide1 via Code:
channel hdc hdd mate model Code:
capacity driver identify media model settings SONY CD-ROM CDU5221 (That's it.) # groupadd cdrom # chown root:cdrom /dev/hdd # chmod -c 660 /dev/hdd (all of them no printout) # ls -l /dev/hdd Code:
brw-rw---- 1 root cdrom 22, 64 Sep 18 15:36 Code:
chown: cannot access (No printout) bash-3.00$ alsamixer Code:
alsamixer: function snd_ctl_open failed for default: Permission denied Please advise. TIA BR satimis |
Ok, do you have /dev/snd/* character device files? If so, what user:group are they? It might be helpful to know what soundcard you have as well.
|
Hi ciotog,
Quote:
Code:
total 0 Quote:
BR SL |
Hi ciotog,
Further to my late posting, on checking my documentation, it came to my notice that I need to install alsa-driver-1.0.10rc1.tar.bz2. Following URL refers; http://www.alsa-project.org/alsa-doc...=via82xx#intro I have done it before on FC3, the host. But I could not resolve following commands on BLFS; # modprobe snd-via82xx;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss # cat /etc/modprobe.conf BLFS 6.1 does not make it as module. Then what shall I do? What command shall I run? Any advice? TIA BR satimis |
Yes, rebuilding the alsa-driver was going to be my next suggestion :)
If you don't have /etc/modprobe.conf then you may have problems with a few things like HW sensors, video and the like that require entries in it to work properly (well, easily). I would suggest creating the file and inserting the lines mentioned in the ALSA documentation. When you ran "make install" did it install the snd-* modules in /lib/modules/[kernel version]/kernel/sound/pci/*? It looks like the modules aren't being found. |
Hi ciotog,
Quote:
Quote:
Code:
total 64 Quote:
Code:
CONFIG_SND=y BR satimis |
modprobe.conf is probably best generated as part of the installation of module-init-tools, the latest stable version is 3.1 and you can get it here:
http://www.kernel.org/pub/linux/kern...rusty/modules/ Since you're building some of the drivers into the kernel instead of as modules, you don't need to insert the modules (and there won't be modules to insert). For example, Code:
modprobe snd-pcm-oss BTW, why do you have emu10k1, ymfpci, intel8x0 selected? |
Hi ciotog,
Tks for your advice and URL. No, I haven't selected any item and device on kernel in respect of SND. That is by default. The LFS team made those selections as default. They must have reason. I build this BLFS 6.1 box as an experiment only NOT for dialy operation. I'm willing to go LFS's way if possible to see what will happen in order to learn. Any suggestion or pointer will be appreciated. TIA. B.R. satimis |
All times are GMT -5. The time now is 02:28 AM. |