Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am on BasicLinux 3.50. And I need help with a message after I enter the command: mpg123 /temp/test.mp3
The message is:
[info about player...]
Can't open /dev/dsp!
I followed the steps as explained on the BL website. This is my first post, so I can not input the url, (search iBilio under Linux Distributions for BasLinux). But the link I am referring to is on their Home Page called, "How to activate SoundBlaster audio in BL3".
So, I recieved the above mentioned message. However, my /dev directory does contian "dsp". I also have done some searching, but because BasicLinux is not really updated, the info I have found is not really relevant. I have a fealing though that it might be some really simple solution.
Basically the directions at their site is to activate:
However, it also states that some hardware might not support SoundBlaster Audio. And this is where I am clueless. So, how can I fix the problem or what alternatives is there. And if there is alternatives, I would still like to know how to fix the problem. If that is not too much to ask. As I do like to learn by experience. Thankyou.
1. check the owner/group and permissions on the file:
ls -l /dev/dsp
Does your user have read/write access to the device? If you do have access, check if the device exists:
less -f /dev/dsp
If the device node exists but there is not actually any driver, you will get "no such device"; otherwise the screen may fill with junk and you may have to press "[ctl]c" to 'escape' then 'q' to quit 'less'.
If your user doesn't have access to the device, you will need to add all users who need access to the appropriate group. You can do this with the 'addgroup' tool or by manually editing the /etc/group file. The user needs to log out and log in again for the group change to take effect.
'/dev/dsp' is an OSS device and OSS has been deprecated in favor of alsa (which is superior); most OSS drivers have been removed from the kernel over a year ago - I don't know if any OSS drivers remain for legacy support. However, alsa maintains an OSS compatibility interface; if you're using ALSA drievrs, you can load the OSS layer with:
Check the ALSA notes for your specific sound hardware to see if there are other devices which you can take advantage of (mixer, sequencer).
BL has no login program. I am only unsing it as root for now. I tried the commands you suggested and I got a display of wierd characters. I also tried out the insmod commands in my console. And they all worked except for sb.o, I recieved the message:
I think its either the settings I inserted in the rc file are wrong or my soundcard is not compatible with sb.o. Thus, another driver? Just to note, I am not trying to upgrade the kernel, I'm just trying to see what I could work with in BL for now, without any big changes. I do see though that getting 2.6 with ALSA would be much easier, I've used it on other distros. So I think it might be the sb.o driver, in which case I might need a different one. But I don't know how which one to get.
I think I have a VIA 82c???? soundcard and not SB. I downloaded the via82cxxx_audio.o and ac97_codec.o modules for kernel 2.2.26. And the command insmod accepted them. However, when I played "mpg123 /tmp/test.mp3" I got the message:
Playing MPEG stream from test.mp3
MPEG 2.5 layer III, 16 kbits/s, 11025Hz mono
mpg123: Can't rewind stream by 1103 bits!
mpg123: Can't rewind stream by 301 bits!
mpg123: Can't rewind stream by 301 bits!
[0:11] Decoding of test.mp3 finished.
I did not get the '/dev/dsp/' message anymore. So I think i might have the right modules now. But when I played the "/tmp/test.mp3" I did not hear any sound from my speakers. I was wondering if there are some settings I have to add to the modules, especially to via.. and ac7.., when using insmod?
I tried the new ac7.. and via.. modules for my soundcard and it worked. That is why /dev/dsp was not working, I was using sb.o, wrong driver.
Is there any way I can increase the master volume. The sound is kind of low. I'm a able to increase the volume with a media player, I'm using mplayer. But was wondering if there was also any command to increase the volume in the commandline, independent of any player? Like alsamixer, I do not have ALSA though. Or does the media player increase the master volume automatically?