Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I use Lucid 10.04 and /dev/dsp is not only present, but present by default (I did not need to install any compatibility packages by hand).
If /dev/dsp goes missing, mplayer has nowhere to send the audio stream from the driver and becomes unhappy. I was able to provoke mplayer's "Sorry, this file format is not recognized..." message by running your command line with my /dev/dsp renamed to /dev/wombat.
(1) If you don't need audio, change your command line slightly:
I'd regard downgrading only as a last resort. (Whenever I've done downgrades in the past, I've usually regretted it, because eventually you are obliged to upgrade again and you then have to face the same old problems you wanted to avoid.) A downgrade involves backing up all personal files, usually by burning DVDs or by moving them across a local network to another machine for temporary storage. This is tedious and error-prone.
I don't have Maverick 10.10 on any machines here, but in Lucid 10.04 the command
aptitude show oss-compat
displays details of a package which provides /dev/dsp. If this package is available on Maverick 10.10 you could try installing it in the hope that /dev/dsp will then appear:
sudo aptitude install oss-compat
If the package is unavailable in Maverick 10.10, or if the package is available but doesn't work, I guess the next step would be to do some googling for "Ubuntu 10.10 /dev/dsp" to find out whether somebody has found a suitable workaround for the "absent /dev/dsp" problem in Maverick.
drew@drew-laptop:~$ aptitude show oss-compat
Automatically installed: no
Maintainer: Ubuntu MOTU Developers <email@example.com>
Uncompressed Size: 61.4k
Depends: module-init-tools | modutils | hurd
Description: OSS compatibility package
This package ensures that OSS support is provided in some way. On Linux, it
enables the ALSA compatibility modules. On other kernels where OSS is the
default interface, no action is taken.
--->The purpose of this package is for applications that only support OSS to depend
on it, hence preventing common --->"/dev/dsp not found"<--- errors that would confuse unexperienced users.<---
i guess by the following data shown that the command worked but i can't tell at the moment but will see later tonight. as a semi-decent linux user, is there anything i should be prepared to try to fix that will come from this command?
Last edited by linuxishard; 08-25-2010 at 10:49 AM.
should confirm that /dev/dsp has been created, as desired. You can then try to run your mencoder command (eliminating the space in front of "height") and see what happens. With luck you will get a rapidly growing output file ./Recording. Alternatively, try running
which should give some audio now as well as video output.
drew@drew-laptop:~$ sudo aptitude install oss-compat
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 144 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
it appears to be installed.
drew@drew-laptop:~$ ls /dev/dsp
ls: cannot access /dev/dsp: No such file or directory
There seems to be some history to the "no OSS in Maverick" issue which I'm not familiar with. Maybe somebody else will comment in this forum.
Downgrading to Lucid is still an option, though not to be undertaken lightly. Building a custom kernel to include OSS within Maverick seems to be an alternative, but I personally wouldn't venture that far. A third possibility is to wait for Maverick's kernel freeze scheduled for September 16th and hope that OSS has been restored by then.
alright well my friend who is a linux user for 3 or 4 years said the best option would be to downgrade, how do i do that? if there is a way to do it would the best option be to fresh install 10.04 again from usb?
Last edited by linuxishard; 08-26-2010 at 01:09 PM.
A fresh install of Lucid 10.04 from CD or USB stick is the only way I know, but I'm reluctant to give advice on this because I fear you'll be seriously annoyed if any valuable data is lost in the process :-(
The basic rule is: make absolutely sure that any files you want to keep are safely burned onto CD/DVD before going anywhere near the computer with the installation CD/stick.
Maybe somebody else knows a smarter way to downgrade, but personally I always do it the hard way: rock-solid backups and a clean, fresh installation.
no fear my man no fear. i have no personal files on this computer, only use it for personal use such as internet, all my files are on a dell. which still has Winduhs on it. :P. i just want to say thanks for all your help and if you ever need anything email me.