Re: udev can't create /dev/audio (nForce2 AC97 Audio Controler)

2006-03-19 Thread Hendrik Sattler
SZERVÁC Attila wrote:
>  Problem: udev can't create /dev/audio

Why should it? see below
 
>  however creates it in .static

No, nothing is created in .static just as its name says

>  please, help, what can i do ?

How about installing the alsa packages and loading the proper driver? The most 
sensible thing to do, isn't it?

HS 

-- 
Mein GPG-Key ist auf meiner Homepage verfügbar: http://www.hendrik-sattler.de
oder über pgp.net

PingoS - Linux-User helfen Schulen: http://www.pingos.org



udev can't create /dev/audio (nForce2 AC97 Audio Controler)

2006-03-19 Thread SZERVÁC Attila

 Hi, I've installed beta2.

 Problem: udev can't create /dev/audio

 however creates it in .static

 This is an intagrated card.

 (I've installed pciutils)

 lspci:

 :00:06.0 Multimedia audio controller: nVidia Corporation nForce2 AC97
Audio Controler (MCP) (rev a1)

 please, help, what can i do ?


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: udev doesn't creat /dev/audio

2006-03-17 Thread John L Fjellstad
Florian Kulzer <[EMAIL PROTECTED]> writes:

>> My understanding is that later kernels (2.6.12 or later, I think)
>> needs
>> a newer udev.
>
> Good point, but I had hoped that that would have been taken care of by
> the backport. I gave this advice to the OP because he had been trying
> for a while to insert 2.4 alsa-modules in a 2.6 kernel, or 2.6.15
> modules in his standard Sarge kernel. Following Sid myself, I could not
> check if this approach actually works. I would appreciate it if anyone
> has more info; I unfortunately never got any feedback from the OP.

Yeah, I'm not sure how it works anymore. When I used backports (back in
Woody), it did pull everything in.  But they have reorganized the pool
directory, so I'm not sure how it would work (used to be you would put
something like kernel-2.6 to pull in all the kernel-2.6 related
packages).

-- 
John L. Fjellstad
web: http://www.fjellstad.org/  Quis custodiet ipsos custodes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: udev doesn't creat /dev/audio

2006-03-16 Thread Florian Kulzer

John L Fjellstad wrote:

Florian Kulzer <[EMAIL PROTECTED]> writes:



I think the easiest solution is to upgrade to a newer kernel which
includes snd-hda-intel. For Sarge you will need a special "backported"
version. These are available at
http://www.backports.org/package.php?search=linux-image-2.6


...


to install a 2.6.15 kernel on your system. After you boot into that
kernel you should be able to load the snd-hda-intel module and udev
should create /dev/audio; maybe this will even happen automatically.
Then "alsaconf" should do be able to do the rest.



My understanding is that later kernels (2.6.12 or later, I think) needs
a newer udev. 


Good point, but I had hoped that that would have been taken care of by
the backport. I gave this advice to the OP because he had been trying
for a while to insert 2.4 alsa-modules in a 2.6 kernel, or 2.6.15
modules in his standard Sarge kernel. Following Sid myself, I could not
check if this approach actually works. I would appreciate it if anyone
has more info; I unfortunately never got any feedback from the OP.

Regards,
  Florian


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: udev doesn't creat /dev/audio

2006-03-15 Thread John L Fjellstad
Florian Kulzer <[EMAIL PROTECTED]> writes:

> I think the easiest solution is to upgrade to a newer kernel which
> includes snd-hda-intel. For Sarge you will need a special "backported"
> version. These are available at
> http://www.backports.org/package.php?search=linux-image-2.6
...
> to install a 2.6.15 kernel on your system. After you boot into that
> kernel you should be able to load the snd-hda-intel module and udev
> should create /dev/audio; maybe this will even happen automatically.
> Then "alsaconf" should do be able to do the rest.

My understanding is that later kernels (2.6.12 or later, I think) needs
a newer udev.

-- 
John L. Fjellstad
web: http://www.fjellstad.org/  Quis custodiet ipsos custodes


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: udev doesn't creat /dev/audio

2006-03-11 Thread Florian Kulzer

belahcene abdelkader wrote:

thanks,
right 
but in my case 2.6.8 there is no snd-hda-intel.ko


dpkg -S snd-hda-intel.ko
dpkg : *snd-hda-intel.ko* not found
[EMAIL PROTECTED]:~$ uname -a
Linux debian21 2.6.8-2-386 #1 Thu May 19 17:40:50 JST
2005 i686 GNU/Linux
best regards


Support for the Intel HDA was added to the 2.6 kernel after version
2.6.8, therefore you cannot find it in a standard Sarge installation.

I have suggested this already in the previous thread which you started
about your problems with sound, but maybe I did not make myself clear
enough, so I'll try again:

I think the easiest solution is to upgrade to a newer kernel which
includes snd-hda-intel. For Sarge you will need a special "backported"
version. These are available at
http://www.backports.org/package.php?search=linux-image-2.6

To install a backported kernel, you have to add the following line to
your /etc/apt/sources.list:

deb http://www.backports.org/debian/ sarge-backports main

and the following three lines to your /etc/apt/preferences (create this
file if it does not exist):

Package: *
Pin: release a=sarge-backports
Pin-Priority: 200

After that you can use

apt-get update
apt-get -t sarge-backports install linux-image-2.6.15-1-686

to install a 2.6.15 kernel on your system. After you boot into that
kernel you should be able to load the snd-hda-intel module and udev
should create /dev/audio; maybe this will even happen automatically.
Then "alsaconf" should do be able to do the rest.

Regards,
   Florian


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Re: udev doesn't creat /dev/audio

2006-03-11 Thread Justin Guerin
Olafur Jens Sigurdsson wrote:

> Þann 2006-03-11, 04:47:40 (-0800) skrifaði belahcene abdelkader:
[snip]
> I dont know when the change from .o to .ko was made, maby that is
> confusing your dpkg -S search.
> 
.o was used in 2.4.x kernels, and .ko in 2.6.x.

Justin



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re: udev doesn't creat /dev/audio

2006-03-11 Thread Olafur Jens Sigurdsson
Þann 2006-03-11, 04:47:40 (-0800) skrifaði belahcene abdelkader:
> thanks,
> right 
> but in my case 2.6.8 there is no snd-hda-intel.ko
> 
> dpkg -S snd-hda-intel.ko
> dpkg : *snd-hda-intel.ko* not found
> [EMAIL PROTECTED]:~$ uname -a
> Linux debian21 2.6.8-2-386 #1 Thu May 19 17:40:50 JST
> 2005 i686 GNU/Linux
> best regards

Try searching for snd-hda-intel instead.

I dont know when the change from .o to .ko was made, maby that is
confusing your dpkg -S search.

Allso apt-file search for snd-hda-intel shows this module to be in the
2.4.27-2 kernel and the 2.6.12 and 2.6.14 kernels. Dont see why it
should not be in the 2.6.8.

Oli


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Re: udev doesn't creat /dev/audio

2006-03-11 Thread belahcene abdelkader
thanks,
right 
but in my case 2.6.8 there is no snd-hda-intel.ko

dpkg -S snd-hda-intel.ko
dpkg : *snd-hda-intel.ko* not found
[EMAIL PROTECTED]:~$ uname -a
Linux debian21 2.6.8-2-386 #1 Thu May 19 17:40:50 JST
2005 i686 GNU/Linux
best regards




__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: udev doesn't creat /dev/audio

2006-03-08 Thread jlmb
>  but it continued and printed successful  the message
> have a lot fun!!!  ???  and what is the relation with
> /dev/audio ??
>
No loaded audio modules, no /dev/audio device.


> In fact I copied theses modules *.ko from another
> machine, and put them in the same place,  which has
> exactly same caracteristique ( same kernel
> 2.6.8-2-386), because 2.6.8 doesn't contain the
> modules I compile it on another machine from the
> alsa-source.
> On the original machine it is working.
> 
Why did you copy the modules? Those modules are provided by the
linux-image package.

[ atrus ]$ dpkg -S snd-hda-intel.ko
linux-image-2.6.12-1-686:
/lib/modules/2.6.12-1-686/kernel/sound/pci/hda/snd-hda-intel.ko
[ atrus ]$

You should reinstall your linux-image package and install alsa-base and
alsa-utils.


> thanks for help
> bela
> best regards


np,
jorge


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: udev doesn't creat /dev/audio

2006-03-08 Thread Andrew Sackville-West
On Wed, 8 Mar 2006 01:14:09 -0800 (PST)
belahcene abdelkader <[EMAIL PROTECTED]> wrote:

> Hi,
> alsaconf gave an error when it configured the
> snd-hda-intel , error inserting snd-hda-intel, unknown
> symbol in module snd-hda-intel ,

well, as far as I know, that error means your module is not compatible despite 
your claims below. try recompiling it with the exact same kernel it will run 
on. (that is, do it on the same machine).

A
> 


pgpI0iWWxLj8b.pgp
Description: PGP signature


Re: Re: udev doesn't creat /dev/audio

2006-03-08 Thread belahcene abdelkader
Hi,
alsaconf gave an error when it configured the
snd-hda-intel , error inserting snd-hda-intel, unknown
symbol in module snd-hda-intel ,

 but it continued and printed successful  the message
have a lot fun!!!  ???  and what is the relation with
/dev/audio ??

In fact I copied theses modules *.ko from another
machine, and put them in the same place,  which has
exactly same caracteristique ( same kernel
2.6.8-2-386), because 2.6.8 doesn't contain the
modules I compile it on another machine from the
alsa-source.
On the original machine it is working.

thanks for help
bela
best regards






__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: udev doesn't creat /dev/audio

2006-03-07 Thread Gnu-Raiz
>From: 
>belahcene abdelkader <[EMAIL PROTECTED]>
>
>hi,
>I installed the 2.6.8 kernel ( I hadn't this problem
>wiyth 2.4 ), and also the alsa-package for my  sound
>card  hda-intel, There is no sound, because neither
>/dev/audio, nor /dev/dsp  ? what is the requirements
>for udev to create an audio device ?
>
>how to tell the udev to creat the device ??
>
>thanks for help
>bela

I would start with reading the documents for udev, you will need a 
more recent kernel, unless they patched it recently. Also their are 
some bug reports that address this problem. Just search google 
groups for audio and dsp and you should find the relevant posts.

Gnu_Raiz


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: udev doesn't creat /dev/audio

2006-03-07 Thread jlmb
belahcene abdelkader wrote:
> hi,
> I installed the 2.6.8 kernel ( I hadn't this problem
> wiyth 2.4 ), and also the alsa-package for my  sound
> card  hda-intel, There is no sound, because neither
> /dev/audio, nor /dev/dsp  ? what is the requirements
> for udev to create an audio device ?
> 
> how to tell the udev to creat the device ??
> 
> thanks for help
> bela
> 

Is snd-hda-intel loaded?



jorge


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



udev doesn't creat /dev/audio

2006-03-07 Thread belahcene abdelkader
hi,
I installed the 2.6.8 kernel ( I hadn't this problem
wiyth 2.4 ), and also the alsa-package for my  sound
card  hda-intel, There is no sound, because neither
/dev/audio, nor /dev/dsp  ? what is the requirements
for udev to create an audio device ?

how to tell the udev to creat the device ??

thanks for help
bela



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: /dev/audio: No such device, do I have to recompile kernel?

2003-10-12 Thread Joachim Fahnenmueller
Hi Erik,

1. When a program (e. g. xmms) doesn't work as expected, start it out
of a terminal so that you see its error messages.

2. xmms has different output plugins (options > preferences). With your
driver, I think you need the OSS plugin (libOSS.so). Using ALSA, you would
need the ALSA plugin. (Some people say ALSA is better but I am quite happy 
with the OSS drivers supplied with the kernel.)


On Sun, Oct 12, 2003 at 03:24:26PM +0100, Erik Jälevik wrote:
> Thanks for the thorough answer. I've now finally got the time to sit down and
> try out some of the things you mention.
> 
> I simply did:
> 
> apt-get install kernel-image-2.4.18-1-686
> 
> to change to this later kernel. Once that was done, modprobe es1371 worked. I
> also added es1371 to /etc/modules. Now, when trying:
> 
> cat /usr/share/sounds/pop.wav > /dev/audio
> 
> I actually get the sound playing! However, this is the only type of sound
> playing that seems to work. Both xmms and mq3 freeze as soon as you try and play
> an mp3 with them and have to be killed. The Sounds section in the Gnome control
> panel has a button for previewing wav files, that doesn't work either.
> 
> I have done more searching through the archives and come across some posts from
> people with similar problems but none with solutions.
> 
> Would trying the ALSA drivers instead be the best course of action at this
> stage?
> 
> Thanks,
> Erik
> 

HTH
-- 
Joachim Fahnenmüller
Lehrer für Mathematik und Physik

Herder-Gymnasium
Kattowitzer Straße 52
51065 Köln


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: /dev/audio: No such device, do I have to recompile kernel?

2003-10-12 Thread Erik Jälevik
Thanks for the thorough answer. I've now finally got the time to sit down and
try out some of the things you mention.

I simply did:

apt-get install kernel-image-2.4.18-1-686

to change to this later kernel. Once that was done, modprobe es1371 worked. I
also added es1371 to /etc/modules. Now, when trying:

cat /usr/share/sounds/pop.wav > /dev/audio

I actually get the sound playing! However, this is the only type of sound
playing that seems to work. Both xmms and mq3 freeze as soon as you try and play
an mp3 with them and have to be killed. The Sounds section in the Gnome control
panel has a button for previewing wav files, that doesn't work either.

I have done more searching through the archives and come across some posts from
people with similar problems but none with solutions.

Would trying the ALSA drivers instead be the best course of action at this
stage?

Thanks,
Erik


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: /dev/audio: No such device, do I have to recompile kernel?

2003-10-10 Thread Andreas Janssen
Hello

Erik Jälevik (<[EMAIL PROTECTED]>) wrote:

> I am a Debian newbie and I'm trying to get a Soundblaster PCI128
> (CT4810) working. I'm running Debian 3.0 with kernel 2.2.20. I have
> added the relevant users to the audio group but I keep getting "No
> such device" errors when trying:
> 
> cat /usr/share/sounds/pop.wav > /dev/audio
>
> lspci gives:
> 00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)

A quick search on <http://groups.google.com> shows that you probably
need the es1371 driver for your hardware. First of all, the driver does
not have to be compiled into the kernel. It can be compiled as a module
that is loaded at boottime or when needed. To load the driver at
boottime, add a line 

es1371

to your /etc/modules. To load it when needed, add a line

alias sound-slot-0 es1371

to your /etc/modutils/aliases and run update-modules. Next, add yourself
to the autio group, otherwise you will get permission errors next.

> So it seems to pick up the card. (Not sure if it's the right one
> though, do SBs have Ensoniq chips?) However, dmesg doesn't print any
> info at all about soundcards. lsmod doesn't list anything
> sound-related and /lib/modules only contains one file called
> 2.2.20-idepci. cat /dev/sndstat also gives a "No such device" error.

That is the directory (not file) where the kernel modules are located.
That are all the drivers that were not compiled into the kernel. You
are using the 2.2.20-idepci kernel. Going to
<http://packages.debian.org> and searching for "es1371.o" shows that
that kernel (the standard installation kernel?) does not have the
driver you need. So the easiest way would be to install another kernel
image, for example

apt-get install kernel-image-2.2.20

or

apt-get install kernel-image-2.4.18-1-$arch

Most of the kernel image packages have the driver you need. Use 
apt-cache search kernel-image 
to get a list and 
apt-cache show name_of_package
to get more info on an specific package.

best regards
Andreas Janssen

-- 
Andreas Janssen
[EMAIL PROTECTED]
PGP-Key-ID: 0xDC801674
Registered Linux User #267976


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: /dev/audio: No such device, do I have to recompile kernel?

2003-10-10 Thread Roberto Sanchez
Erik Jälevik wrote:
I am a Debian newbie and I'm trying to get a Soundblaster PCI128 (CT4810)
working. I'm running Debian 3.0 with kernel 2.2.20. I have added the
relevant users to the audio group but I keep getting "No such device" errors
when trying:
cat /usr/share/sounds/pop.wav > /dev/audio

Two things.

If you have reasonably modern hardware, it would probably be worth it to 
upgrade to a 2.4 kernel.  You can either get one from
kernel.org or, alternatively, download one of the Debian kernels from
testing or unstable.  You can do the latter by going to
packages.debian.org and searching for kernel-source-2.4 and selecting
"any" for the distribution.  I recommend gettin the 2.4.22, as it is
the latest available stable kernel.

Also, I believe that to cat an audio file to the audio device it must be
in some raw audio format.  I don't believe that .wav is such a format.
I have searched the howtos and newsgroups and it seems I don't have the
correct driver compiled into my kernel. As I've never compiled a kernel
before, I thought I'd check if there's anything else I can try to get it
working?
Follow this excellent howto on building a new kernel:

http://newbiedoc.sourceforge.net/system/kernel-pkg.html

It is brain dead easy.

If you are still uncomfortable with it, apt-cache search kernel-image
will show you the avialable kernel images for Woody.
lspci gives:
00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
I believe that some folks have been having trouble with this chip.
Try searching the list archives for more details.
So it seems to pick up the card. (Not sure if it's the right one though, do
SBs have Ensoniq chips?) However, dmesg doesn't print any info at all about
soundcards. lsmod doesn't list anything sound-related and /lib/modules only
contains one file called 2.2.20-idepci. cat /dev/sndstat also gives a "No
such device" error.
If there is not dmesg ouput for the soundcard, then you don't have
support for it in the kernel (either modular or compiled in).  Since
it is a stock kernel, basically everything but the bare essentials is
compiled as a module.  I don't know which driver corresponds to that
card (anyone want to help out on that), but if you know which one it is,
a quick modprobe  should get you going.
How can I find out which driver I need and is there any way of adding it
without recompiling the kernel?
If the module has already been compiled, the modprobe will do it.  If
not, I think you are stuck recompiling the kernel.
Many thanks,
Erik

-Roberto


pgp0.pgp
Description: PGP signature


/dev/audio: No such device, do I have to recompile kernel?

2003-10-10 Thread Erik Jälevik
I am a Debian newbie and I'm trying to get a Soundblaster PCI128 (CT4810)
working. I'm running Debian 3.0 with kernel 2.2.20. I have added the
relevant users to the audio group but I keep getting "No such device" errors
when trying:

cat /usr/share/sounds/pop.wav > /dev/audio

I have searched the howtos and newsgroups and it seems I don't have the
correct driver compiled into my kernel. As I've never compiled a kernel
before, I thought I'd check if there's anything else I can try to get it
working?

lspci gives:
00:09.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)

So it seems to pick up the card. (Not sure if it's the right one though, do
SBs have Ensoniq chips?) However, dmesg doesn't print any info at all about
soundcards. lsmod doesn't list anything sound-related and /lib/modules only
contains one file called 2.2.20-idepci. cat /dev/sndstat also gives a "No
such device" error.

How can I find out which driver I need and is there any way of adding it
without recompiling the kernel?

Many thanks,
Erik


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: SoundBlaster Live!, /dev/audio, and bad sound quality

2002-03-06 Thread Joe Bouchard

> In general, everything works fine, except that sending .au files to
> /dev/audio has really lousy sound quality.  You can hear the sound, but
> there's a loud hissing or static sound on top of it.  I had this

I have been having the same problem and have lived with it for a few
monthes.  The main thing that didn't work for me was "saytime", and that
kind of bothered me because on my previous computer I put saytime on an hourly
cron job so I don't loose track of time :-)

Reading this thread finally pushed me to find a workaround for saytime,
and I will be glad to share it with any other emu10k users who might
want it.  Basically I edited the source code to dump it through sox with
"play -t ul -r 8000 file.au". Not pretty but it works.  Email me directly
if you want it.

-- 

Thank you,
Joe Bouchard

Powered by Debian GNU/Linux



Re: SoundBlaster Live!, /dev/audio, and bad sound quality

2002-03-05 Thread Richard Cobbe
Lo, on Sunday, March 3, Rick Macdonald did write:

> On Sun, 3 Mar 2002, Richard Cobbe wrote:
> 
> > Greetings, all.
> > 
> > New sound card (actually, new computer).  It's a SoundBlaster Live!, so
> > I've compiled in support for the emu10k1 module.
> > 
> > Up-to-date potato, kernel 2.2.20, SMP.
> > 
> > In general, everything works fine, except that sending .au files to
> > /dev/audio has really lousy sound quality.  You can hear the sound, but
> > there's a loud hissing or static sound on top of it.



> I wonder if it's meant to work. "cat english.au > /dev/audio" on my system
> also sounds horrible, but the same file sounds fine when played with
> xanim, esdplay or "play". I actually don't know where "play" came from.
> "bplay", from the bplay package, sounds horrible just like cat does.

You're apparently right -- play works quite nicely on the same file.

I'd be interested in learning the differences between play and catting
to /dev/audio, but I'm not going to worry about it too much.  I have a
quick way of playing .au files, and that's really all I'm after.

> I think cat'ing the file _used_ to sound OK on the old sound card (SB16)
> that I had before the the SBLive.

Yeah, the same file sounded good on the sound hardware in the previous
machine.  I'm a little unclear on details, but I think it was a cheap
SB16 knockoff.  (Exact modules info elsewhere in the thread.)

Thanks for the advice,

Richard



Re: SoundBlaster Live!, /dev/audio, and bad sound quality

2002-03-05 Thread Richard Cobbe
Lo, on Monday, March 4, dave mallery did write:

> On Sun, 3 Mar 2002, Richard Cobbe wrote:
> 
> > Greetings, all.
> > 
> > New sound card (actually, new computer).  It's a SoundBlaster Live!, so
> > I've compiled in support for the emu10k1 module.
> > 
> > Up-to-date potato, kernel 2.2.20, SMP.
> > 
> > In general, everything works fine, except that sending .au files to
> > /dev/audio has really lousy sound quality.  You can hear the sound, but
> > there's a loud hissing or static sound on top of it.  I had this
> > behavior both with emu10k1 v0.7 included with the 2.2.20 source, and
> > emu10k1 v0.18 that I just downloaded from SourceForge.  I tried playing
> > with various mixer settings, but that didn't help.  The only way I could
> > get rid of the hissing was by turning the volume all the way down.
> 
> did you mute all the other inputs on the mixer?

Just tried it.  No luck.

As I remarked elsewhere in the thread, though, play(1) from the sox
package works quite nicely.

Richard



Re: SoundBlaster Live!, /dev/audio, and bad sound quality

2002-03-05 Thread Richard Cobbe
Lo, on Monday, March 4, Dave Sherohman did write:

> On Sun, Mar 03, 2002 at 01:22:38PM -0600, Richard Cobbe wrote:
> > In general, everything works fine, except that sending .au files to
> > /dev/audio has really lousy sound quality.  You can hear the sound, but
> > there's a loud hissing or static sound on top of it.
> 
> I'd guess it's either that the .au is 8-bit and /dev/audio is
> expecting 16-bit data or the .au contains signed data and /dev/audio
> is expecting unsigned (or vice-versa).

Possible, but I'd be surprised.  The same sound file worked just fine on
my old computer.  Don't remember exactly what kind of sound hardware,
but the following are the relevant module configuration lines:

alias sound opl3sa2
#pre-install sound /sbin/insmod sound dmabuf=1
alias midi opl3
options opl3 io=0x388
options opl3sa2 mss_io=0x530 irq=5 dma=0 dma2=1 mpu_io=0x388 io=0x370
alias synth0 off

Out of curiosity, is there any way to convert between 8- and 16-bit .au,
or between signed and unsigned?  A cursory glance at the sox manpage
doesn't seem to indicate that these operations are supported.

In any case, using play (from sox) to play the .au file works just fine.

Richard



Re: SoundBlaster Live!, /dev/audio, and bad sound quality

2002-03-04 Thread Dave Sherohman
On Sun, Mar 03, 2002 at 01:22:38PM -0600, Richard Cobbe wrote:
> In general, everything works fine, except that sending .au files to
> /dev/audio has really lousy sound quality.  You can hear the sound, but
> there's a loud hissing or static sound on top of it.

I'd guess it's either that the .au is 8-bit and /dev/audio is
expecting 16-bit data or the .au contains signed data and /dev/audio
is expecting unsigned (or vice-versa).

-- 
When we reduce our own liberties to stop terrorism, the terrorists
have already won. - reverius

Innocence is no protection when governments go bad. - Tom Swiss



Re: SoundBlaster Live!, /dev/audio, and bad sound quality

2002-03-04 Thread dave mallery
On Sun, 3 Mar 2002, Richard Cobbe wrote:

> Greetings, all.
> 
> New sound card (actually, new computer).  It's a SoundBlaster Live!, so
> I've compiled in support for the emu10k1 module.
> 
> Up-to-date potato, kernel 2.2.20, SMP.
> 
> In general, everything works fine, except that sending .au files to
> /dev/audio has really lousy sound quality.  You can hear the sound, but
> there's a loud hissing or static sound on top of it.  I had this
> behavior both with emu10k1 v0.7 included with the 2.2.20 source, and
> emu10k1 v0.18 that I just downloaded from SourceForge.  I tried playing
> with various mixer settings, but that didn't help.  The only way I could
> get rid of the hissing was by turning the volume all the way down.

did you mute all the other inputs on the mixer?

> Any suggestions would be appreciated,
> 
> Richard
> 
> 
> 

-- 
Dave Mallery, K5EN  (2.2r5 potato)
PO Box 520
Ramah,  NM  87321

no gates  .~.
  no windows...   /V\
 /( )\
running Debian GNU/Linux ^^-^^
free at last!

Linux is a trademark of Linus Torvalds




Re: SoundBlaster Live!, /dev/audio, and bad sound quality

2002-03-04 Thread Alexey Vyskubov
> also sounds horrible, but the same file sounds fine when played with
> xanim, esdplay or "play". I actually don't know where "play" came from.

IIRC from 'sox' package.

-- 
Alexey

"Python is executable pseudocode, Perl is executable line-noise."



Re: SoundBlaster Live!, /dev/audio, and bad sound quality

2002-03-03 Thread Rick Macdonald
On Sun, 3 Mar 2002, Richard Cobbe wrote:

> Greetings, all.
> 
> New sound card (actually, new computer).  It's a SoundBlaster Live!, so
> I've compiled in support for the emu10k1 module.
> 
> Up-to-date potato, kernel 2.2.20, SMP.
> 
> In general, everything works fine, except that sending .au files to
> /dev/audio has really lousy sound quality.  You can hear the sound, but
> there's a loud hissing or static sound on top of it.  I had this
> behavior both with emu10k1 v0.7 included with the 2.2.20 source, and
> emu10k1 v0.18 that I just downloaded from SourceForge.  I tried playing
> with various mixer settings, but that didn't help.  The only way I could
> get rid of the hissing was by turning the volume all the way down.
> 
> Other sound operations, like playing MP3s or WAVs in xmms, work fine; no
> hissing or static at all.  (I only tried this with v0.18 of the driver,
> though.)
> 
> I don't know that many things use /dev/audio any more, so this isn't
> that big a deal, but I'd like to get this working---especially because I
> typically use english.au from www.kernel.org to test the sound system
> after I change things.  Nice, easy, and short.

I wonder if it's meant to work. "cat english.au > /dev/audio" on my system
also sounds horrible, but the same file sounds fine when played with
xanim, esdplay or "play". I actually don't know where "play" came from.
"bplay", from the bplay package, sounds horrible just like cat does.

I think cat'ing the file _used_ to sound OK on the old sound card (SB16)
that I had before the the SBLive.

...RickM...



SoundBlaster Live!, /dev/audio, and bad sound quality

2002-03-03 Thread Richard Cobbe
Greetings, all.

New sound card (actually, new computer).  It's a SoundBlaster Live!, so
I've compiled in support for the emu10k1 module.

Up-to-date potato, kernel 2.2.20, SMP.

In general, everything works fine, except that sending .au files to
/dev/audio has really lousy sound quality.  You can hear the sound, but
there's a loud hissing or static sound on top of it.  I had this
behavior both with emu10k1 v0.7 included with the 2.2.20 source, and
emu10k1 v0.18 that I just downloaded from SourceForge.  I tried playing
with various mixer settings, but that didn't help.  The only way I could
get rid of the hissing was by turning the volume all the way down.

Other sound operations, like playing MP3s or WAVs in xmms, work fine; no
hissing or static at all.  (I only tried this with v0.18 of the driver,
though.)

I don't know that many things use /dev/audio any more, so this isn't
that big a deal, but I'd like to get this working---especially because I
typically use english.au from www.kernel.org to test the sound system
after I change things.  Nice, easy, and short.

Any suggestions would be appreciated,

Richard



RE: no /dev/audio?

2000-09-27 Thread Sean 'Shaleh' Perry

On 27-Sep-2000 cls-colo spgs wrote:
>  debs,
> 
> testing for sound (via "saytime"), i get  a
> "no-deivce" error; yet,  i see "audio" in /dev.
> 
> Script started on Wed Sep 27 17:28:28 2000
> [EMAIL PROTECTED]:~$ saytime
> opening /dev/audio: No such device
> 

if the sound modules are not loaded, the existance of the /dev device is
meaningless.  Look  in /proc/sound.



no /dev/audio?

2000-09-27 Thread cls-colo spgs
 debs,

testing for sound (via "saytime"), i get  a
"no-deivce" error; yet,  i see "audio" in /dev.

Script started on Wed Sep 27 17:28:28 2000
[EMAIL PROTECTED]:~$ saytime
opening /dev/audio: No such device

[EMAIL PROTECTED]:~$ ls /dev/ ¦less
atibm
audio
^
audio1
bpcd
cdrom

[snip]

Script done on Wed Sep 27 17:28:58 2000



...suggestions?

thx.

bentley taylor.
 (potato on 2.2.17)

//



Re: RW access to /dev/dsp /dev/audio /dev/mixer ?

2000-09-01 Thread Lehel Bernadt

On 01-Sep-2000 Paul D. Smith wrote:
[...]
>   pr> I know but it seemed to be a different problem. I did a usermod -G
>   pr> floppy after I had done the audio and that removed me from the audio
>   pr> group. I misunderstood the functionality of usermod -G :-)
> 
> A common mistake--that's why I said "Note that if you use usermod
> you must list all the groups you want; this sets the list, it doesn't
> add to it." :)

You could use "adduser  " instead of usermod -G.



Re: RW access to /dev/dsp /dev/audio /dev/mixer ?

2000-09-01 Thread Paul D. Smith
%% Regarding Re: RW access to /dev/dsp /dev/audio /dev/mixer ?;
%% Preben Randhol <[EMAIL PROTECTED]> writes:

  pr> David Wright <[EMAIL PROTECTED]> wrote on 31/08/2000 (17:20) :
  >> Quoting Preben Randhol ([EMAIL PROTECTED]):
  >> > Odd I must have done something else wrong as it didn't work when I tried
  >> > it the first time, but now it does. Thanks.
  >> 
  >> You only pick up your groups when you login.

  pr> I know but it seemed to be a different problem. I did a usermod -G
  pr> floppy after I had done the audio and that removed me from the audio
  pr> group. I misunderstood the functionality of usermod -G :-)

A common mistake--that's why I said "Note that if you use usermod
you must list all the groups you want; this sets the list, it doesn't
add to it." :)

-- 
---
 Paul D. Smith <[EMAIL PROTECTED]> Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.



Re: RW access to /dev/dsp /dev/audio /dev/mixer ?

2000-09-01 Thread Preben Randhol
David Wright <[EMAIL PROTECTED]> wrote on 31/08/2000 (17:20) :
> Quoting Preben Randhol ([EMAIL PROTECTED]):
> > Odd I must have done something else wrong as it didn't work when I tried
> > it the first time, but now it does. Thanks.
> 
> You only pick up your groups when you login.

I know but it seemed to be a different problem. I did a usermod -G
floppy after I had done the audio and that removed me from the audio
group. I misunderstood the functionality of usermod -G :-)

-- 
Preben Randhol - Ph.D student - http://www.pvv.org/~randhol/
"i too once thought that when proved wrong that i lost somehow"
   - i was hoping, alanis morisette



Re: RW access to /dev/dsp /dev/audio /dev/mixer ?

2000-08-31 Thread David Wright
Quoting Preben Randhol ([EMAIL PROTECTED]):
> "Paul D. Smith" <[EMAIL PROTECTED]> wrote on 31/08/2000 (17:08) :
> > 
> > Add yourself (and any other users you want to have access) to the
> > "audio" group.  Note that anyone in the "audio" group has rw access to
> > these devices.  This goes for other device access as well.

> Odd I must have done something else wrong as it didn't work when I tried
> it the first time, but now it does. Thanks.

You only pick up your groups when you login.

Cheers,

-- 
Email:  [EMAIL PROTECTED]   Tel: +44 1908 653 739  Fax: +44 1908 655 151
Snail:  David Wright, Earth Science Dept., Milton Keynes, England, MK7 6AA
Disclaimer:   These addresses are only for reaching me, and do not signify
official stationery. Views expressed here are either my own or plagiarised.



Re: RW access to /dev/dsp /dev/audio /dev/mixer ?

2000-08-31 Thread Preben Randhol
"Paul D. Smith" <[EMAIL PROTECTED]> wrote on 31/08/2000 (17:08) :
> 
> Add yourself (and any other users you want to have access) to the
> "audio" group.  Note that anyone in the "audio" group has rw access to
> these devices.  This goes for other device access as well.
> 
> You can either edit /etc/groups directly, or use the "usermod -G" command
> to change the groups a user belongs to.  Note that if you use usermod
> you must list all the groups you want; this sets the list, it doesn't
> add to it.

Odd I must have done something else wrong as it didn't work when I tried
it the first time, but now it does. Thanks.

-- 
Preben Randhol - Ph.D student - http://www.pvv.org/~randhol/
"i too once thought that when proved wrong that i lost somehow"
   - i was hoping, alanis morisette



Re: RW access to /dev/dsp /dev/audio /dev/mixer ?

2000-08-31 Thread Paul D. Smith
%% Preben Randhol <[EMAIL PROTECTED]> writes:

  pr> How does a user get access to /dev/dsp /dev/audio /dev/mixer ?
  pr> The default setup is :
  pr> crw-rw1 root audio ...

  pr> should one do chmod o+rw or is there a better way?

Add yourself (and any other users you want to have access) to the
"audio" group.  Note that anyone in the "audio" group has rw access to
these devices.  This goes for other device access as well.

You can either edit /etc/groups directly, or use the "usermod -G" command
to change the groups a user belongs to.  Note that if you use usermod
you must list all the groups you want; this sets the list, it doesn't
add to it.

-- 
---
 Paul D. Smith <[EMAIL PROTECTED]> Network Management Development
 "Please remain calm...I may be mad, but I am a professional." --Mad Scientist
---
   These are my opinions---Nortel Networks takes no responsibility for them.



RW access to /dev/dsp /dev/audio /dev/mixer ?

2000-08-31 Thread Preben Randhol
How does a user get access to /dev/dsp /dev/audio /dev/mixer ?

The default setup is :
crw-rw1 root audio ...

should one do chmod o+rw or is there a better way?

-- 
Preben Randhol - Ph.D student - http://www.pvv.org/~randhol/
"i too once thought that when proved wrong that i lost somehow"
   - i was hoping, alanis morisette



Re: /dev/audio

1999-11-08 Thread Brian Servis
*- On  8 Nov, Brian Schramm wrote about "/dev/audio"
> I have a problem with my speekers.  They are in my monitor and every time
> I turn off my monitor they adjust the volume down to a point that is not
> herable.  Is there a way that I can set up my profile or login script to
> adjust the volume to make it usable?
> 

Look into the gom package.  It is a command line/ncurses based mixer
that supports a config file for easy storing of defaults, etc.  The
debian package comes with a bootup script and the program called
gomconfig that allows you to restore the mixer settings on bootup.  Of
course each user can have their own settings as well.

-- 
Brian Servis
-- 

Mechanical Engineering  |  Never criticize anybody until you  
Purdue University   |  have walked a mile in their shoes,
[EMAIL PROTECTED]   |  because by that time you will be a
http://www.ecn.purdue.edu/~servis   |  mile away and have their shoes.


/dev/audio

1999-11-08 Thread Brian Schramm
I have a problem with my speekers.  They are in my monitor and every time
I turn off my monitor they adjust the volume down to a point that is not
herable.  Is there a way that I can set up my profile or login script to
adjust the volume to make it usable?

Thanks.

Brian Schramm
[EMAIL PROTECTED]
www.linuxexpert.org



Re: /dev/audio

1999-10-19 Thread Jordan Howarth

Mary>   Sorry, I should have said that I tried 'fuser' and got no output.
Mary> Something must be runnning, since I'm getting an error msg, however, I
Mary> can't figure out what.

I had this problem with an ESS PnP card, ie. no apparent reason for 

    "unable to open /dev/audio.  Device or resource busy." 

I solved it using isapnptools and information on devices from windows. This may 
be
a solution to your problem.

Jord
-- 
Jordan Howarth  mailto:[EMAIL PROTECTED]
CSIRO Mathematical and Information Sciences Ph:  (07) 3214 2465  
Fax: (07) 3214 2480



Re: /dev/audio

1999-10-19 Thread Mary Honeycutt
Hwei Sheng TEOH wrote:
> 
> On Tue, 19 Oct 1999, Mary Honeycutt wrote:
> 
> > Hi,
> >
> >   I'm receiving messages in .xsession-errors, stating:
> > "sox: unable to open /dev/audio.  Device or resource busy."
> >
> >   All sounds still play, however, everytime a sound file is run,
> > a new error msg is generated.
> >
> >   How can I find out what is using /dev/audio?
> 
> fuser /dev/audio
> 
> will display the PID (process ID) of the process that is using /dev/audio.
> To find out what exactly that process is, enter
> ps lw 
> where  is the numerical PID displayed by fuser.
> 
> T


  Sorry, I should have said that I tried 'fuser' and got no output.
Something must be runnning, since I'm getting an error msg, however, 
I can't figure out what.

MaryK


Re: /dev/audio

1999-10-19 Thread Hwei Sheng TEOH

On Tue, 19 Oct 1999, Mary Honeycutt wrote:

> Hi,
> 
>   I'm receiving messages in .xsession-errors, stating:
> "sox: unable to open /dev/audio.  Device or resource busy."
> 
>   All sounds still play, however, everytime a sound file is run, 
> a new error msg is generated.
> 
>   How can I find out what is using /dev/audio?

fuser /dev/audio

will display the PID (process ID) of the process that is using /dev/audio.
To find out what exactly that process is, enter
ps lw 
where  is the numerical PID displayed by fuser.


T


Re: /dev/audio

1999-10-19 Thread Nathan E Norman
On Tue, 19 Oct 1999, Mary Honeycutt wrote:

 : Hi,
 : 
 :   I'm receiving messages in .xsession-errors, stating:
 : "sox: unable to open /dev/audio.  Device or resource busy."
 : 
 :   All sounds still play, however, everytime a sound file is run, 
 : a new error msg is generated.
 : 
 :   How can I find out what is using /dev/audio?

try `fuser /dev/audio'

--
Nathan Norman
MidcoNet  410 South Phillips Avenue  Sioux Falls, SD
mailto:[EMAIL PROTECTED]   http://www.midco.net
finger [EMAIL PROTECTED] for PGP Key: (0xA33B86E9)



/dev/audio

1999-10-19 Thread Mary Honeycutt
Hi,

  I'm receiving messages in .xsession-errors, stating:
"sox: unable to open /dev/audio.  Device or resource busy."

  All sounds still play, however, everytime a sound file is run, 
a new error msg is generated.

  How can I find out what is using /dev/audio?

Thanks,

MaryK


Re: I/O error on /dev/dsp and /dev/audio

1999-07-06 Thread G. Crimp
On Fri, Jul 02, 1999 at 08:40:39AM +0200, Jens Ritter wrote:
> On Thu, 1 Jul 1999, G. Crimp wrote:
> 
> > Ah ha.  The kernel log reports the following:
> > 
> > kernel: Sound: DMA (output) timed out - IRQ/DRQ config error?
> > 
> > give me any more help with this.  I have read the sound HOWTO and the isapnp
> > docs, but when it comes to reading the pnpdump file I find it pretty
> > bewildering.  As I mentioned in my initial post, the fact that I had this
> > working on a Deb 1,3 system was more good luck than anything else.  The
> > pnpdump output often says to choose only one of a selection, but I am never
> > sure which one to choose, nor in fact which of several lines constitute a
> > single choice.  Here is the output from cat /dev/sndstat:
> > 
> [...]
> > Card config: 
> > Sound Blaster at 0x220 irq 5 drq 0,1
> > Roland MPU-401 at 0x330 irq 12 drq 0
> > 6860 UART Midi irq 11 drq 0
> > (SB MPU-401 at 0x800 irq 5 drq 0)
> > OPL-2/OPL-3 FM at 0x388 drq 0
> [...]
> 
> Make this match with you kernel config and the isapnp config. 
> Have a look at /proc/dma (when all modules are loaded). 
> I am not sure what the "()" around SB MPU have to say. 
> Check in the sound howto or in the kernel sources. 
> 
> HTH,
> 
> Jens
> 

I'm still stuck with this.  I went over the Sound-HOWTO and the
isapnp docs again and then tried to reconfigure the sound card and recompile
the kernel sound support.  I thought I had this licked, but I still get the
I/O errors on /dev/audio and /dev/dsp.

If anybody understands sound and hardware registers, etc, better
than I do, I would sure love a hand with this.  I have included the pnpdump
file which I edited to use as isapnp.conf, and the relevant bits from the
kernel .config file in case anyone can spot what i am doing wrong.  I've
tried a number of different combinations and nothing seems to work, which is
frustrating since I had this working first go round on a bo (1.3) box.

Here are the files,  Thanks in advance.

-- isapnp.conf 
# $Id: pnpdump.c,v 1.1.1.2 1998/01/07 05:17:47 fred Exp $
# This is free software, see the sources for details.
# This software has NO WARRANTY, use at your OWN RISK
#
# For details of this file format, see isapnp.conf(5)
#
# For latest information on isapnp and pnpdump see:
# http://www.roestock.demon.co.uk/isapnptools/
#
# Compiler flags: -DREALTIME -DNEEDSETSCHEDULER -DNEEDNANOSLEEP
#
# Trying port address 0203
# Board 1 has serial identifier 27 ff ff ff ff 68 18 73 16

# (DEBUG)
(READPORT 0x0203)
(ISOLATE)
(IDENTIFY *)

# Card 1: (serial identifier 27 ff ff ff ff 68 18 73 16)
# Vendor Id ESS1868, No Serial Number (-1), checksum 0x27.
# Version 1.0, Vendor version 1.0
# ANSI string -->ESS ES1868 Plug and Play AudioDrive<--
#



# Logical device id ESS
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if 
required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ESS1868/-1 (LD 0
# Logical device decodes 16 bit IO address lines
# Minimum IO base address 0x0800
# Maximum IO base address 0x0ff8
# IO base alignment 8 bytes
# Number of IO addresses required: 8
 (IO 0 (BASE 0x0800))
 (ACT Y)
))
#




# Logical device id ESS1868
#
# Edit the entries below to uncomment out the configuration required.
# Note that only the first value of any range is given, this may be changed if 
required
# Don't forget to uncomment the activate (ACT Y) when happy

(CONFIGURE ESS1868/-1 (LD 1

# Multiple choice time, choose one only !

# Start dependent functions: priority preferred
#   First DMA channel 1.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
 (DMA 0 (CHANNEL 1))
#   Next DMA channel 0 or 3.
# 8 bit DMA only
# Logical device is not a bus master
# DMA may execute in count by byte mode
# DMA may not execute in count by word mode
# DMA channel speed in compatible mode
 (DMA 1 (CHANNEL 0))
#   IRQ 5.
# High true, edge sensitive interrupt (by default)
 (INT 0 (IRQ 5 (MODE +E)))
#   Fixed IO base address 0x0220
# Number of IO addresses required: 16
 (IO 0 (BASE 0x0220))
#   Fixed IO base address 0x0388
# Number of IO addresses required: 4
 (IO 1 (BASE 0x0388))
#   Fixed IO base address 0x0330
# Number of IO addresses required: 2
 (IO 2 (BASE 0x0330))

#   Start dependent functions: priority acceptable
#   First DMA channel 1.

Re: I/O error on /dev/dsp and /dev/audio

1999-07-02 Thread Jens Ritter
On Thu, 1 Jul 1999, G. Crimp wrote:

> Ah ha.  The kernel log reports the following:
> 
>   kernel: Sound: DMA (output) timed out - IRQ/DRQ config error?
> 
> give me any more help with this.  I have read the sound HOWTO and the isapnp
> docs, but when it comes to reading the pnpdump file I find it pretty
> bewildering.  As I mentioned in my initial post, the fact that I had this
> working on a Deb 1,3 system was more good luck than anything else.  The
> pnpdump output often says to choose only one of a selection, but I am never
> sure which one to choose, nor in fact which of several lines constitute a
> single choice.  Here is the output from cat /dev/sndstat:
> 
[...]
> Card config: 
> Sound Blaster at 0x220 irq 5 drq 0,1
> Roland MPU-401 at 0x330 irq 12 drq 0
> 6860 UART Midi irq 11 drq 0
> (SB MPU-401 at 0x800 irq 5 drq 0)
> OPL-2/OPL-3 FM at 0x388 drq 0
[...]

Make this match with you kernel config and the isapnp config. 
Have a look at /proc/dma (when all modules are loaded). 
I am not sure what the "()" around SB MPU have to say. 
Check in the sound howto or in the kernel sources. 

HTH,

Jens


P.S.: Please vote against Spam! At
 http://www.politik-digital.de/spam/
(Sorry Europeans only)
---
[EMAIL PROTECTED]   [EMAIL PROTECTED]
Key ID: 2048/E451C639 Jens Ritter
Key fingerprint: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37 


Re: I/O error on /dev/dsp and /dev/audio

1999-07-01 Thread G. Crimp
On Thu, Jul 01, 1999 at 08:20:01AM +0200, Jens Ritter wrote:
> 
> Does cat /dev/sndstat work?
> 
> Check if sound is compiled in or loaded when a sound request happens
> (check logs). 
> 
> Jens

Ah ha.  The kernel log reports the following:

kernel: Sound: DMA (output) timed out - IRQ/DRQ config error?

I don't doubt that when I was configuring isapnp I made a mistake.  Can you
give me any more help with this.  I have read the sound HOWTO and the isapnp
docs, but when it comes to reading the pnpdump file I find it pretty
bewildering.  As I mentioned in my initial post, the fact that I had this
working on a Deb 1,3 system was more good luck than anything else.  The
pnpdump output often says to choose only one of a selection, but I am never
sure which one to choose, nor in fact which of several lines constitute a
single choice.  Here is the output from cat /dev/sndstat:

--- cat /dev/sndstat -
Sound Driver:3.5.4-960630 (Tue Mar 23 11:47:08 PST 1999 root,
Linux humble 2.0.34 #1 Sun Mar 21 10:18:45 PST 1999 i586 unknown)
Kernel: Linux humble 2.0.34 #1 Tue Mar 23 11:48:33 PST 1999 i586
Config options: 0

Installed drivers: 
Type 1: OPL-2/OPL-3 FM
Type 5: Roland MPU-401
Type 8: 6860 UART Midi
Type 2: Sound Blaster
Type 7: SB MPU-401

Card config: 
Sound Blaster at 0x220 irq 5 drq 0,1
Roland MPU-401 at 0x330 irq 12 drq 0
6860 UART Midi irq 11 drq 0
(SB MPU-401 at 0x800 irq 5 drq 0)
OPL-2/OPL-3 FM at 0x388 drq 0

Audio devices:
0: ESS ES1688 AudioDrive (rev 11) 

Synth devices:
0: Yamaha OPL-3

Midi devices:
0: MPU-401 0.0  Midi interface #1
1: 6850 UART

Timers:
0: System clock

Mixers:
0: Sound Blaster
-- end cat /dev/sndstat --

Thanks,

Gerald

> 
> "G. Crimp" <[EMAIL PROTECTED]> writes:
> 
> > Hi,
> > 
> > I can't write to either /dev/audio or /dev/dsp, even as root.  The
> > permissions on both are crw-rw.  I discovered when trying to set up
> > RealAudio for a Linux broadcast.  When I tried to cat a file to either of
> > these devices I get "cat: write error: Input/output error".
> 


Re: I/O error on /dev/dsp and /dev/audio

1999-07-01 Thread Jens Ritter

Does cat /dev/sndstat work?

Check if sound is compiled in or loaded when a sound request happens
(check logs). 

Jens

"G. Crimp" <[EMAIL PROTECTED]> writes:

> Hi,
> 
>   I can't write to either /dev/audio or /dev/dsp, even as root.  The
> permissions on both are crw-rw.  I discovered when trying to set up
> RealAudio for a Linux broadcast.  When I tried to cat a file to either of
> these devices I get "cat: write error: Input/output error".

P.S.: Please vote against Spam! At
 http://www.politik-digital.de/spam/
(Sorry Europeans only)
---
[EMAIL PROTECTED]   [EMAIL PROTECTED]
Key ID: 2048/E451C639 Jens Ritter
Key fingerprint: 5F 3D 43 1E 24 1E CC 48  1E 05 93 3A A7 10 73 37 


I/O error on /dev/dsp and /dev/audio

1999-06-30 Thread G. Crimp
Hi,

I can't write to either /dev/audio or /dev/dsp, even as root.  The
permissions on both are crw-rw.  I discovered when trying to set up
RealAudio for a Linux broadcast.  When I tried to cat a file to either of
these devices I get "cat: write error: Input/output error".

I am wondering if I have maybe misconfigured my sound card.  I know
I could cat sound files through to the device when I was still running Deb
1.3.  I don't know much about sound though.  When I was compiling the kernel
for sound, is was more by guess and by golly than thorough understanding
that I got it to work in 1.3.  I thought I had compiled things the same way
when I upgraded.  

Anyone know what I should be looking at ?  I know at least part of
the kernel support is OK because I can play a music CD throught the sound
card.

Thanks,

Gerald


Re: /dev/audio

1999-06-07 Thread D'jinnie
Never mind. It helps to go through old emails first before you post. I
just don't understand why stuff like that is not created right away...

---
"... After all, all he did was string together a lot of old, well-known
quotations."
-- H. L. Mencken, on Shakespeare

D'jinnie/Jinn, encountered on IRC and select MU**. ([EMAIL PROTECTED])
finger [EMAIL PROTECTED] for PGP public key
ICQ #2878130 


/dev/audio

1999-06-07 Thread D'jinnie
This particular device seems to have gone AWOL in my slink install. No
sight of /dev/sndstat either. Are these created when the kernel audio
support is compiled? Somehow, I have my doubts, but I'd appreciate being
enlightened :)

---
Every program is part of another program, and rarely fits.

D'jinnie/Jinn, encountered on IRC and select MU**. ([EMAIL PROTECTED])
finger [EMAIL PROTECTED] for PGP public key
ICQ #2878130 


Re: msysterious /dev/dsp & /dev/audio

1999-05-14 Thread add|ct|on
i'd try doing ./MAKEDEV audio over again. why not. also, which user are you
trying to play sounds as? unless of course it's root, is the user in the
sound "group"? in your dmesg are there any errors about the sound init? how
about in the messages log? sounds like maybe your user isnt authorized to
access the devices... if they're there, i  don't see how bash could say
they're not unless they're unseeable to that particular user because of
permissions or something.


add|t|on, [EMAIL PROTECTED]
http://e0i-cyberpimps.virtualave.net

help, I got sucked into /dev/null


- Original Message -
From: Pat O'Brien <[EMAIL PROTECTED]>
To: debian-user 
Sent: Thursday, May 13, 1999 9:09 PM
Subject: msysterious /dev/dsp & /dev/audio


> I am trying to get audio up and running on my laptop - a Toshiba
> 2535.
>
> I have recompiled my kernel ( I've tried 2.2.5,2.2.7 ) for the
> sound card. dmesg reports finding the card. /dev/sndstat reports
> the io & irq,  /proc/devices reports sound, ls -l /dev/audio &
> dsp are there, but when I try to play a sound bash reports that
> there is no /dev/audio device. And when I try to initialize
> esound, bash reports that  the /dev/dsp device does not exist...
>
> I'm puzzledI've got a desktop Debian system up and never had
> these kind of audio problems
>
> pat
>
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
/dev/null
>
>


msysterious /dev/dsp & /dev/audio

1999-05-14 Thread Pat O'Brien
I am trying to get audio up and running on my laptop - a Toshiba
2535.

I have recompiled my kernel ( I've tried 2.2.5,2.2.7 ) for the
sound card. dmesg reports finding the card. /dev/sndstat reports
the io & irq,  /proc/devices reports sound, ls -l /dev/audio &
dsp are there, but when I try to play a sound bash reports that
there is no /dev/audio device. And when I try to initialize
esound, bash reports that  the /dev/dsp device does not exist...

I'm puzzledI've got a desktop Debian system up and never had
these kind of audio problems

pat


Re: /dev/audio and /dev/dsp

1999-04-11 Thread Igor Helman
Ajit Krishnan wrote:

> Hi,
>  Try cd'ing to /dev and use
> ./MAKEDEV audio
>
> ajit

This worked. Great, I have sound again.

Thank you.
-Igor

>
>
> > How would I get the necessary sound devices to appear (such as
> > /dev/audio, /dev/dsp, and /dev/sndstat).
> > Any help would be great
> >
> > -igor
>
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null


Re: /dev/audio and /dev/dsp

1999-04-10 Thread Ajit Krishnan

Hi,
 Try cd'ing to /dev and use
./MAKEDEV audio

ajit

> How would I get the necessary sound devices to appear (such as
> /dev/audio, /dev/dsp, and /dev/sndstat).
> Any help would be great
> 
> -igor


/dev/audio and /dev/dsp

1999-04-10 Thread Igor Helman
Hey there,

I just installed slink, and was trying to get the kernel to work with my
sound card (SB16, plug-and-play). The problem is that while everything
compiles and is recognized, the sound fails, because there's no
/dev/audio and /dev/dsp. I had them on my Slackware system, but it was a
while ago, and I forgot how they got there.

How would I get the necessary sound devices to appear (such as
/dev/audio, /dev/dsp, and /dev/sndstat).
Any help would be great

-igor


RE: ipchains and /dev/audio

1999-02-01 Thread Shaleh

On 01-Feb-99 Christopher R. Barry wrote:
> I just installed the 2.2.1 kernel over 2.0.36. I couldn't find
> `/dev/audio' and `/dev/mixer' in the configuration options so sound is 
> completely broken right now. What do I need to do to get `cat foo.au
> /dev/audio' to work again?

Read the sound docs in the Kernel Documentation.

> 
> Also, I use this WM dock-app called wmnet that used to use ipfwadm
> which needed the "IP Accounting" kernel configuration option. I now
> need to use ipchains to do this, but get always get an error like:
> 
>   ipchains: setsockopt failed: Protocol not available
> 
> I guess I need to compile something into the kernel that I'm not, but
> what?

Turn on IP firewalling.  There are a few others but they are obvious once you
choose this.

> 
> Christopher
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] <
> /dev/null


Re: ipchains and /dev/audio

1999-02-01 Thread Chris Frost
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Mon, 1 Feb 1999, Christopher R. Barry wrote:

> Also, I use this WM dock-app called wmnet that used to use ipfwadm
> which needed the "IP Accounting" kernel configuration option. I now
> need to use ipchains to do this, but get always get an error like:
> 
>   ipchains: setsockopt failed: Protocol not available
> 
> I guess I need to compile something into the kernel that I'm not, but
> what?
Go get the current version, it supports 2.2 kernels through a device
interface, ipchains, ipfwadm, freebsd, serial, etc.

Chris
<- Visit Me At  ->

<-->
   Public PGP Key:
 Email [EMAIL PROTECTED] with the subject "retrieve pgpkey" or
visit 

-BEGIN PGP SIGNATURE-
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBNrWjG+EzIlbKpewXEQKjswCgqV2FIvZMkoWW77ZVYRkqJOpkcycAnios
WfcMA67L13DxjvtegDc68JkL
=MKur
-END PGP SIGNATURE-


Re: ipchains and /dev/audio

1999-02-01 Thread Heikki Vatiainen
Christopher R. Barry wrote:
> I just installed the 2.2.1 kernel over 2.0.36. I couldn't find
> `/dev/audio' and `/dev/mixer' in the configuration options so sound is 
> completely broken right now. What do I need to do to get `cat foo.au
> /dev/audio' to work again?
[stuff about ipchains cut]

I am using 2.2.0-pre9 and I have the following sound related 
compile time options:

#
# Sound
#
CONFIG_SOUND=m
CONFIG_SOUND_OSS=m
CONFIG_SOUND_SB=m
CONFIG_SOUND_ADLIB=m
CONFIG_SOUND_YM3812=m

My sound card is SB32PnP and I load the sound modules with this 
command: "modprobe sb irq=5 io=0x220 dma=1".

To make sure you have /dev/audio, /dev/mixer and other /dev/ 
files setup correctly try "cd /dev ; ./MAKEDEV audio"


// Heikki
-- 
Heikki Vatiainen  * [EMAIL PROTECTED]
Tampere University of Technology  * Tampere, Finland



ipchains and /dev/audio

1999-02-01 Thread Christopher R. Barry
I just installed the 2.2.1 kernel over 2.0.36. I couldn't find
`/dev/audio' and `/dev/mixer' in the configuration options so sound is 
completely broken right now. What do I need to do to get `cat foo.au
/dev/audio' to work again?

Also, I use this WM dock-app called wmnet that used to use ipfwadm
which needed the "IP Accounting" kernel configuration option. I now
need to use ipchains to do this, but get always get an error like:

  ipchains: setsockopt failed: Protocol not available

I guess I need to compile something into the kernel that I'm not, but
what?

Christopher


Re: /dev/audio: device not configured

1998-11-24 Thread Martin Bialasinski

>> "i" == ivan  <[EMAIL PROTECTED]> writes:

i> I compiled my 2.0.34 kernel with /dev/dsp and /dev/audio support,
i> but whenever I try to reference such devices, e.g. cat on /dev/audio,
i> it doesn't work, with the message: /dev/audio device not configured. 
i> May someobe tell ne what can I do to get /dev/audio working in
i> Linux ? 

Does cat /dev/sndstat show you soundcard ?
Maybe you need to load the sound module.

Ciao,
Martin


/dev/audio: device not configured

1998-11-23 Thread ivan
Hi, folks ! 

I compiled my 2.0.34 kernel with /dev/dsp and /dev/audio support,
but whenever I try to reference such devices, e.g. cat on /dev/audio,
it doesn't work, with the message: /dev/audio device not configured. 
   May someobe tell ne what can I do to get /dev/audio working in
Linux ? 
   Thanks in advance ! 

Ivan.


Re: permissions on /dev/dsp /dev/audio

1998-11-19 Thread Gary L. Hennigan
Chip Grandits <[EMAIL PROTECTED]> writes:
| Mark Elissen wrote:
| 
| > -BEGIN PGP SIGNED MESSAGE-
| >
| > I've just installed Debian 2.0 after using Slackware for some year of 3.
| > I'm very pleased with the "debian" way, but I have 1 minor problem:
| > Whenever I am using a program that outputs to /dev/audio or /dev/dsp as a
| > non-root user than the soundprogramm stops with the errormessage
| > "permission denied". How can I grant rights to this devices for non-root
| > users?
| >
| > Mark.
| >
| 
| I just went through this with Java.
| It took me two weeks to figure it out hopefully you've already
| figured it out. 
| When I type
| ls-l /dev/audio
| 
| > crw-rw-rw-   1 root audio 14,   4 May 27  1997 /dev/audio
| >
|   The owner is root, the group is audio
| If this is not true as root type
| chgrp /dev/audio audio
| (but I don't think any debian installation would ever get that wrong)
| 
| I've taken the quick and dirty way out with a security hole, because
| anyone can read 
| or
| write to my audio device, my computer could literally be 'bugged'
| (as in audio 
| listening device)
| but I'm sure any such saboteur has long since died of boredom.
| However anything can 
| no use
| the sound devices.
| 
| The proper way is to use the setuid or setgid bits of the various
| audioplayers 
| lets say you have an audio player utility /usr/bin/audioplay
| you would want to have it 'join' the audio group
| become the root and type
| chgrp /usr/bin/audioplay audio
| but you then need to set the group id bit, and audioplay will always
| run as a member 
| of group audio
| even if the user invoking audioplay is not.  Again as root
| chmod g+s /usr/bin/audioplay
| and now audioplay has access to the audio devices regardless of
| who's logged on. 
| I don't think this works on scripts (setuid doens't) so if audioplay
| was a script 
| this doens't work
| (find out the 'real' binary the script is invoking and use setgid on that)
| 
| Alternately YOU could join the audio group, that way you could use
| audio devices but 
| other mortal users
| could not (unless the root similarly grants them the ability) I
| don't know of a 
| command line utility to add
| users to groups, simply modify /etc/group (again as root); under
| default debian 1.3.1 
| there is a line
| audio:x:29:
| simply add your user name to make

| audio:x:yourname
^^
Not quite, you deleted the group number in the line above. Do that and 
you'll be hurtin'. The line should look like:

audio:x:29:yourname

The Debian Way (TM) is indeed to add yourself, and anyone else who you
want to have access to the audio devices, to the audio group. The
easiest way to do this is with the adduser command. For example, to
add joebloe to the audio group simply, as root, do:

adduser joebloe audio

I think this was true under 1.3 as well, but you'd have to check. This
is much better than going around setting the GID bit on dozens of
programs that access the device, and almost as simple as changing the
permission on the device to 666, without losing the security.

The other problem with changing permissions on devices is knowing what
a device does. There are a number of audio devices that are relevant
and it's much easier to add yourself to the audio group and let the
Debian maintainers worry about which devices are relevant to the audio
group. AND what happens when you upgrade? It's possible the
permissions will be reverted back when you upgrade and you'll end up
having to change the permissions all over again.

In short, stick with the method of adding yourself to the group which
has access to a particular device. It's safe, in terms of security and 
future upgrades, and easy, plus, it is the Debian Way (TM).

Gary


Re: permissions on /dev/dsp /dev/audio

1998-11-19 Thread Chip Grandits

Mark Elissen wrote:
-BEGIN PGP SIGNED MESSAGE-

I've just installed Debian 2.0 after using Slackware for some year of
3.
I'm very pleased with the "debian" way, but I have 1 minor problem:
Whenever I am using a program that outputs to /dev/audio or /dev/dsp
as a
non-root user than the soundprogramm stops with the errormessage
"permission denied". How can I grant rights to this devices for non-root
users?

Mark.
 
I just went through this with Java.
It took me two weeks to figure it out hopefully you've already figured
it out.
When I type
ls-l /dev/audio

crw-rw-rw-   1 root     audio     14,   4 May 27  1997 /dev/audio

  The owner is root, the group is audio
If this is not true as root type
chgrp /dev/audio audio
(but I don't think any debian installation would ever get that wrong)

I've taken the quick and dirty way out with a security hole, because
anyone can read or
write to my audio device, my computer could literally be 'bugged' (as
in audio listening device)
but I'm sure any such saboteur has long since died of boredom. 
However anything can no use
the sound devices.

The proper way is to use the setuid or setgid bits of the various audioplayers
lets say you have an audio player utility /usr/bin/audioplay
you would want to have it 'join' the audio group
become the root and type
chgrp /usr/bin/audioplay audio
but you then need to set the group id bit, and audioplay will always
run as a member of group audio
even if the user invoking audioplay is not.  Again as root
chmod g+s /usr/bin/audioplay
and now audioplay has access to the audio devices regardless of who's
logged on.
I don't think this works on scripts (setuid doens't) so if audioplay
was a script this doens't work
(find out the 'real' binary the script is invoking and use setgid on
that)

Alternately YOU could join the audio group, that way you could use audio
devices but other mortal users
could not (unless the root similarly grants them the ability) I don't
know of a command line utility to add
users to groups, simply modify /etc/group (again as root); under default
debian 1.3.1 there is a line
audio:x:29:
simply add your user name to make
audio:x:yourname
-Chip Grandits
 


Re: [ale] /dev/audio: Device or resource busy

1998-11-18 Thread David S. Jackson
Thus spake Wandered Inn ([EMAIL PROTECTED]):

> > > Make sure you don't have an irq conflict.  Shows below it's taking 7,
> > > isn't that what the parallel port normally takes??
> > 
> > Thanks for the idea.  Hadn't thought of that.  Um, I don't think I've
> > got a conflict, but here's some /proc related system info.  Do you see
> > anything that catches your eye?  BTW, I don't have a printer or
> > anything attached to a parallel port here.  I have to print to a
> > remote printer on another Linux box here at home.
> 
> But I think the parallel port may be taking the irq7 just the same.  I
> think mines configured in the bios.  That's the only difference I really
> see here.

Well, it turns out I had installed something called "nas", Network
Audio Support.  Never heard of it.  Guess it was a new package.  That
was part of the conflict.

I also went to the BIOS, gave the parallel port IRQ 5 (Yep, you were
right.  It wanted 7!!!), and recompiled the kernel with sound on IRQ
7, and voila!  It worked.  NAS looks pretty cool, I must say, but I'll
wait until I get everything else working before I dig into it...  :-)

--
David S. Jackson   http://www.dsj.net
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
"How many Microsoft employees does it to change a light bulb? Zero.
They declared Darkness[tm] the standard."


Re: permissions on /dev/dsp /dev/audio

1998-11-17 Thread Jim Foltz
Use the adduser program to add users to the audio group:

# adduser user audio


On Tue, Nov 17, 1998 at 03:56:00PM -0500, Ben Collins wrote:
> On Tue, Nov 17, 1998 at 09:46:48PM +0100, Mark Elissen wrote:
> > I've just installed Debian 2.0 after using Slackware for some year of 3.
> > I'm very pleased with the "debian" way, but I have 1 minor problem:
> > Whenever I am using a program that outputs to /dev/audio or /dev/dsp as a
> > non-root user than the soundprogramm stops with the errormessage
> > "permission denied". How can I grant rights to this devices for non-root
> > users?
> 
> In /etc/login.defs (i think?) there is an option to give console logins
> the extra groups of audio and disk making it possible for them to use
> those devices.
> 
> -- 
> --- -  -   ---  -  - - ---   
> Ben Collins <[EMAIL PROTECTED]>  Debian GNU/Linux
> UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED]
> -- -- - - - ---   --- -- The Choice of the GNU Generation
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 

-- 
Jim Foltz <[EMAIL PROTECTED]>


Re: permissions on /dev/dsp /dev/audio

1998-11-17 Thread Ben Collins
On Tue, Nov 17, 1998 at 09:46:48PM +0100, Mark Elissen wrote:
> I've just installed Debian 2.0 after using Slackware for some year of 3.
> I'm very pleased with the "debian" way, but I have 1 minor problem:
> Whenever I am using a program that outputs to /dev/audio or /dev/dsp as a
> non-root user than the soundprogramm stops with the errormessage
> "permission denied". How can I grant rights to this devices for non-root
> users?

In /etc/login.defs (i think?) there is an option to give console logins
the extra groups of audio and disk making it possible for them to use
those devices.

-- 
--- -  -   ---  -  - - ---   
Ben Collins <[EMAIL PROTECTED]>  Debian GNU/Linux
UnixGroup Admin - Jordan Systems Inc. [EMAIL PROTECTED]
-- -- - - - ---   --- -- The Choice of the GNU Generation


permissions on /dev/dsp /dev/audio

1998-11-17 Thread Mark Elissen
-BEGIN PGP SIGNED MESSAGE-

I've just installed Debian 2.0 after using Slackware for some year of 3.
I'm very pleased with the "debian" way, but I have 1 minor problem:
Whenever I am using a program that outputs to /dev/audio or /dev/dsp as a
non-root user than the soundprogramm stops with the errormessage
"permission denied". How can I grant rights to this devices for non-root
users?

Mark.

-BEGIN PGP SIGNATURE-
Version: 2.6.3ia
Charset: noconv

iQCVAwUBNlHgxzrUaXMVfkiRAQE2YQQAoK8uUqzMvOhONWCR4yk1pxK5NkgMzqGm
xJWOqIVUEc6iCNX6DtrCQRsycLXOb9VW1Jloezq1h9JJmIPHukNmuLL6Krz7KOSd
TsSwb8CwNhpOianDVgKKfK8dkbbuhV7IAiKv2GwDx6EPJl56KK0DtM3cr46EVcNj
j+XQ/z6DCJ8=
=Gy0j
-END PGP SIGNATURE-


Re: /dev/audio

1998-09-08 Thread Ed Cogburn
Rafael Cordones Marcos wrote:
> 
> qOn Thu, Sep 03, 1998 at 10:22:59AM +0200, Matus fantomas Uhlar wrote:
> > -> Every time I use tkdesk as a user it says permission denied to write to
> > -> /dev/audio. As root I hear the sounds fine.
> > -> What permissions do I have to cahnge.
> >
> > hmmm if you log on console you should be added to group "audio"
> > as in /etc/login.defs:
> >
> > #
> > # List of groups to add to the user's supplementary group set
> > # when logging in on the console (as determined by the CONSOLE
> > # setting).  Default is none.
> > #
> > # Use with caution - it is possible for users to gain permanent
> > # access to these groups, even when not logged in on the console.
> > # How to do it is left as an exercise for the reader...
> > #
> > CONSOLE_GROUPS  floppy:audio:cdrom
> >
> > how do you log in ? do you have this defined ?
> 
> Hey! This looks like a better way to enable sound for users! I use to do it 
> with the adduser command but I want to do it like you said. The problem is... 
> how do I REMOVE a user from a group? I cannot find any info on this. Maybe 
> just editing the apropriate files?
> 
> Thanks
> 
> Rafa


man userdel


-- 
Ed C.


Re: /dev/audio

1998-09-06 Thread Rafael Cordones Marcos
qOn Thu, Sep 03, 1998 at 10:22:59AM +0200, Matus fantomas Uhlar wrote:
> -> Every time I use tkdesk as a user it says permission denied to write to
> -> /dev/audio. As root I hear the sounds fine.
> -> What permissions do I have to cahnge.
> 
> hmmm if you log on console you should be added to group "audio"
> as in /etc/login.defs:
> 
> #
> # List of groups to add to the user's supplementary group set
> # when logging in on the console (as determined by the CONSOLE
> # setting).  Default is none.
> #
> # Use with caution - it is possible for users to gain permanent
> # access to these groups, even when not logged in on the console.
> # How to do it is left as an exercise for the reader...
> #
> CONSOLE_GROUPS  floppy:audio:cdrom
> 
> how do you log in ? do you have this defined ? 

Hey! This looks like a better way to enable sound for users! I use to do it 
with the adduser command but I want to do it like you said. The problem is... 
how do I REMOVE a user from a group? I cannot find any info on this. Maybe just 
editing the apropriate files?

Thanks


Rafa


Re: Quick/Easy 2.0 Question: Installed permissions for /dev/dsp, /dev/audio are ...?

1998-09-05 Thread Ole J. Tetlie
*-Ken Westerback <[EMAIL PROTECTED]>
|
| Late at night after a hard day fiddling with getting my Debian 2.0
| installation working I was working on RealAudio and got so frustrated
| with problems accessing /dev/dsp and /dev/audio that I changed their
| permissions with 
| 
| chmod 622 /dev/dsp
| chmod 622 /dev/audio
| 
| thus allowing everyone (my normal uid included) to write to them. And
| RealAudio worked so I was happy and went to bed.
| 
| In the cold light of morning I realized (after reading some more) that
| what I really should have done was
| 
| adduser krw audio
| 
| Now I have done this (adduser ...) and I would like to change the
| permissions on /dev/dsp and /dev/audio back to what they were.
| 
| Can someone take a quick look at their Debian 2.0 installation and tell
| me what the permissions are after installation? Thanks.

They are both crw-rw

Hint: '/dev/MAKEDEV audio' would fix it...

-- 
.elOle.


Quick/Easy 2.0 Question: Installed permissions for /dev/dsp, /dev/audio are ...?

1998-09-05 Thread Ken Westerback
Late at night after a hard day fiddling with getting my Debian 2.0
installation working I was working on RealAudio and got so frustrated
with problems accessing /dev/dsp and /dev/audio that I changed their
permissions with 

chmod 622 /dev/dsp
chmod 622 /dev/audio

thus allowing everyone (my normal uid included) to write to them. And
RealAudio worked so I was happy and went to bed.

In the cold light of morning I realized (after reading some more) that
what I really should have done was

adduser krw audio

Now I have done this (adduser ...) and I would like to change the
permissions on /dev/dsp and /dev/audio back to what they were.

Can someone take a quick look at their Debian 2.0 installation and tell
me what the permissions are after installation? Thanks.

 Ken


Re: /dev/audio

1998-09-03 Thread fantomas
-> Every time I use tkdesk as a user it says permission denied to write to
-> /dev/audio. As root I hear the sounds fine.
-> What permissions do I have to cahnge.

hmmm if you log on console you should be added to group "audio"
as in /etc/login.defs:

#
# List of groups to add to the user's supplementary group set
# when logging in on the console (as determined by the CONSOLE
# setting).  Default is none.
#
# Use with caution - it is possible for users to gain permanent
# access to these groups, even when not logged in on the console.
# How to do it is left as an exercise for the reader...
#
CONSOLE_GROUPS  floppy:audio:cdrom

how do you log in ? do you have this defined ? 
-- 
 Matus "fantomas" Uhlar, sysadmin at NETLAB+ Kosice, Slovakia
 BIC coord for *.sk; admin of netlab.irc.sk; co-admin of irc.felk.cvut.cz


Re: /dev/audio

1998-09-02 Thread Bob Nielsen
Add the user to group audio.

On Wed, 2 Sep 1998, Rick Knebel wrote:

> Hi,
> Every time I use tkdesk as a user it says permission denied to write to
> /dev/audio. As root I hear the sounds fine.
> What permissions do I have to cahnge.
> Thanks Alot
> 
> -- 
>
>Rick Knebel
> [EMAIL PROTECTED]
> http://rknebel.csrlink.net
>  -
> 
> 
> --  
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
> 
> 


Bob Nielsen Internet: [EMAIL PROTECTED]
Tucson, AZ  AMPRnet:  [EMAIL PROTECTED]
DM42nh  http://www.primenet.com/~nielsen


Re: /dev/audio

1998-09-02 Thread Gary L. Hennigan
Rick Knebel <[EMAIL PROTECTED]> writes:
| Hi,
| Every time I use tkdesk as a user it says permission denied to write to
| /dev/audio. As root I hear the sounds fine.
| What permissions do I have to cahnge.
| Thanks Alot

You just need to add yourself to the audio group. "man adduser" should 
help you figure out how to do that. Bassically it's just

adduser rknebel audio

Gary


/dev/audio

1998-09-02 Thread Rick Knebel
Hi,
Every time I use tkdesk as a user it says permission denied to write to
/dev/audio. As root I hear the sounds fine.
What permissions do I have to cahnge.
Thanks Alot

-- 
   
   Rick Knebel
[EMAIL PROTECTED]
http://rknebel.csrlink.net
 -


Re: proper permissions & group for /dev/audio

1998-08-26 Thread Torsten Hilbrich
On: Tue, 25 Aug 1998 12:45:36 -0500 Richard E Hawkins Esq writes:
> 
> I noticed exmh stopped beeping over new messages.  I've found the reason:
>  0 crw-rw   1 root 2914,   4 Jun 23 17:57 /dev/audio
> 
> It's lost whatever group it was attached to.  Could someone who
> still has this tell me what the correct group & permissions are?

The group 29 is correct, unfortunatly, the according entry in
/etc/group is gone or corrupted.  Here is my line for reference (quite
simple):

audio:x:29:

BTW: I do have defined in /etc/login.defs to be a console group, so I
have no member in this file.

Torsten


Re: proper permissions & group for /dev/audio

1998-08-25 Thread Shaleh
Here is my /etc/group file.  So not edit this file (much) (-:

root:x:0:
daemon:x:1:
bin:x:2:
sys:x:3:
adm:x:4:
tty:x:5:
disk:x:6:
lp:x:7:lp
mail:x:8:
news:x:9:
uucp:x:10:
proxy:x:13:
kmem:x:15:
dialout:x:20:
fax:x:21:
voice:x:22:
cdrom:x:24:
floppy:x:25:
tape:x:26:
sudo:x:27:
audio:x:29:
dip:x:30:
majordom:x:31:majordom
postgres:x:32:
www-data:x:33:
backup:x:34:
msql:x:36:
operator:x:37:
list:x:38:
irc:x:39:
src:x:40:
gnats:x:41:
shadow:x:42:
staff:x:50:
games:x:60:
qmail:x:70:
users:x:100:
nogroup:x:65534:

Richard E. Hawkins Esq. wrote:
> 
> I said,
> > > should be group audio.  The rest of what you showed is correct.
> 
> > Thanks, that did it
> 
> but it didn't.  It worked for a few minutes, and now I find that /dev/audio is
> owned by bin.  looking at /etc/group, it seems that audio and bin both fancy
> themself group 2.  By it's position, audio should be 28 or 29, so i assume
> this is an editing error on my part.  but which FM do I R to find what it
> should be, and what group i'm missing?
> 
> rick
> 
> --
> These opinions will not be those of ISU until it pays my retainer.
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
=
Linux, because I'd like to *get there* today


Re: proper permissions & group for /dev/audio

1998-08-25 Thread Richard E. Hawkins Esq.

I said,
> > should be group audio.  The rest of what you showed is correct.

> Thanks, that did it

but it didn't.  It worked for a few minutes, and now I find that /dev/audio is 
owned by bin.  looking at /etc/group, it seems that audio and bin both fancy 
themself group 2.  By it's position, audio should be 28 or 29, so i assume 
this is an editing error on my part.  but which FM do I R to find what it 
should be, and what group i'm missing?

rick


-- 
These opinions will not be those of ISU until it pays my retainer.



Re: proper permissions & group for /dev/audio

1998-08-25 Thread Richard E. Hawkins Esq.
> should be group audio.  The rest of what you showed is correct.

Thanks, that did it

rick

-- 
These opinions will not be those of ISU until it pays my retainer.



Re: proper permissions & group for /dev/audio

1998-08-25 Thread Shaleh
should be group audio.  The rest of what you showed is correct.

Richard E. Hawkins Esq. wrote:
> 
> I noticed exmh stopped beeping over new messages.  I've found the reason:
> 
>  0 crw-rw   1 root 2914,   4 Jun 23 17:57 /dev/audio
> 
> It's lost whatever group it was attached to.  Could someone who still has this
> tell me what the correct group & permissions are?
> 
> thanks
> 
> rick
> 
> --
> These opinions will not be those of ISU until it pays my retainer.
> 
> --
> Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED] < /dev/null

-- 
=
Linux, because I'd like to *get there* today


proper permissions & group for /dev/audio

1998-08-25 Thread Richard E. Hawkins Esq.

I noticed exmh stopped beeping over new messages.  I've found the reason:

 0 crw-rw   1 root 2914,   4 Jun 23 17:57 /dev/audio

It's lost whatever group it was attached to.  Could someone who still has this 
tell me what the correct group & permissions are?

thanks

rick

-- 
These opinions will not be those of ISU until it pays my retainer.



Re: Problems with /dev/audio

1998-06-08 Thread Ed Cogburn
Michael Roark wrote:
> 
> I have been fiddling around with getting audio going today and have run
> into a snag. I am using a Hitachi C-120 laptop that has a Sound Blaster
> 16 compatible board. I have compiles the kernel to support it and such,
> but I am getting devide busy when tkdesk tries to us an .au file. Also,
> when I try to cat an .au file to /dev/audio all I get is a faint
> clicking noise from the speakers.
> 
> The output from cat /dev/sndstat follows:
> 
> Sound Driver:3.5.4-960630 (Sun May 10 16:39:07 EST 1998 root,
> Linux suse 2.0.33 #7 Sun May 10 16:10:17 EST 1998 i586 unknown)
> Kernel: Linux suse 2.0.33 #8 Sun May 10 16:41:26 EST 1998 i586
> Config options: 0
> 
> Installed drivers:
> Type 2: Sound Blaster
> 
> Card config:
> Sound Blaster at 0x240 irq 10 drq 1,1
> 
> Audio devices:
> 0: ESS ES1688 AudioDrive (rev 11)
> 
> Synth devices:
> 
> Midi devices: NOT ENABLED IN CONFIG
> 
> Timers:
> 0: System clock
> 
> Mixers:
> 
> If you notice, there is a Sound Blaster entry under installed drivers
> and under Card config, but not under Audio devices. It shows the ESS,
> which also shows up in the boot messages.
> 
> Any ideas?
> 
> Thanks,
> 
> Michael


Well FWIW, according to docs for sound driver, a device busy error is 
often
the result of IRQ conflicts.  Try 'cat /proc/interrupts' (with sound driver
loaded) and see if if there is a conflict.  This is what the sound driver
docs say to check.  


-- 
Ed


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Problems with /dev/audio

1998-06-08 Thread Michael Roark
I have been fiddling around with getting audio going today and have run
into a snag. I am using a Hitachi C-120 laptop that has a Sound Blaster
16 compatible board. I have compiles the kernel to support it and such,
but I am getting devide busy when tkdesk tries to us an .au file. Also,
when I try to cat an .au file to /dev/audio all I get is a faint
clicking noise from the speakers.

The output from cat /dev/sndstat follows:


Sound Driver:3.5.4-960630 (Sun May 10 16:39:07 EST 1998 root,
Linux suse 2.0.33 #7 Sun May 10 16:10:17 EST 1998 i586 unknown)
Kernel: Linux suse 2.0.33 #8 Sun May 10 16:41:26 EST 1998 i586
Config options: 0

Installed drivers: 
Type 2: Sound Blaster

Card config: 
Sound Blaster at 0x240 irq 10 drq 1,1

Audio devices:
0: ESS ES1688 AudioDrive (rev 11) 

Synth devices:

Midi devices: NOT ENABLED IN CONFIG

Timers:
0: System clock

Mixers:

If you notice, there is a Sound Blaster entry under installed drivers
and under Card config, but not under Audio devices. It shows the ESS,
which also shows up in the boot messages.

Any ideas?

Thanks,

Michael
0: Sound Blaster


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: sound module: /dev/audio: Device or resource busy

1997-08-20 Thread Phil Schniter
> > >  i am experiencing strange behavior when attempting to load sound
> > >  support as a module.  i have a debian 1.3.1 system and a SB
> > >  AWE-64 PNP card, which i have installed using the isapnptools.
> > >  the fact
> 
> Check if something like NAS (network audio system) is started.  This
> is a demon that blocks /dev/dsp (and all the other) and gives network
> wide access to your soundcard.  Just check if there is a
> /etc/init.d/nas file, if so try
> 
>     /etc/init.d/nas stop
> 
> and try access /dev/audio after this.
> 
> Torsten

thanks - NAS was the problem!  it must have been automatically
taking over /dev/audio and /dev/dsp from boot, preventing other
usage of these drivers

phil

-- 
**
Phil Schniter   397 Rhodes Hall
School of Elec. Eng.Ithaca, NY  14853   USA
Cornell University  h:(607)277-8975, w:(607)254-8819


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: sound module: /dev/audio: Device or resource busy

1997-08-20 Thread Marcus Brinkmann
On Aug 18, Torsten Hilbrich wrote:
> Marcus Brinkmann <[EMAIL PROTECTED]> writes:
> 
> > >  i am experiencing strange behavior when attempting to load sound
> > >  support as a module.  i have a debian 1.3.1 system and a SB
> > >  AWE-64 PNP card, which i have installed using the isapnptools.
> > >  the fact
> > 
> > I have a SB AWE-32 PNP (does someone know: how I get my bios to set
> > up pnp properly? I have a PNP Bios, I think, but I need
> > isapnptools. Why? I didn't changed anything in my bios setup.)
> 
> I assume the BIOS setups only the sb part of the sound card.  The
> initilisation of the MIDI sythesizer is left to the DOS drivers
> (ctpnp, diagnose, aweutil) or to ISAPNP.

Ah, this describes exactly the behaviour I noticed. What a stupid BIOS (good
that debian does not use it).

> > However, one thing I saw: I use kernel 2.0.29, you 2.0.30. Could
> > this be the reason?
> 
> No, I have 2.0.30 with the awedrv 0.3.99c installed and everything
> (including MIDI) workes fine.

Phils search is going on then, I think.

> > At the moment, I'm puzzled. If you have more info, please mail, I'm
> > interested.
> 
> Check if something like NAS (network audio system) is started.  This
> is a demon that blocks /dev/dsp (and all the other) and gives network
> wide access to your soundcard.  Just check if there is a
> /etc/init.d/nas file, if so try
> 
> /etc/init.d/nas stop
> 
> and try access /dev/audio after this.

BTW: Do NAS and rplay live? I think the versions of sunsite are very old
(last time I checked).

> "What a depressingly stupid machine"
>   The Restaurant at the End of the Universe

Nope. This is what I said when "rm -fR /" ate my hard disk :-)

Marcus
-- 
"Rhubarb is no Egyptian god."
Marcus Brinkmann
[EMAIL PROTECTED]
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: sound module: /dev/audio: Device or resource busy

1997-08-18 Thread Torsten Hilbrich
Marcus Brinkmann <[EMAIL PROTECTED]> writes:

> >  i am experiencing strange behavior when attempting to load sound
> >  support as a module.  i have a debian 1.3.1 system and a SB
> >  AWE-64 PNP card, which i have installed using the isapnptools.
> >  the fact
> 
> I have a SB AWE-32 PNP (does someone know: how I get my bios to set
> up pnp properly? I have a PNP Bios, I think, but I need
> isapnptools. Why? I didn't changed anything in my bios setup.)

I assume the BIOS setups only the sb part of the sound card.  The
initilisation of the MIDI sythesizer is left to the DOS drivers
(ctpnp, diagnose, aweutil) or to ISAPNP.

> However, one thing I saw: I use kernel 2.0.29, you 2.0.30. Could
> this be the reason?

No, I have 2.0.30 with the awedrv 0.3.99c installed and everything
(including MIDI) workes fine.

> At the moment, I'm puzzled. If you have more info, please mail, I'm
> interested.

Check if something like NAS (network audio system) is started.  This
is a demon that blocks /dev/dsp (and all the other) and gives network
wide access to your soundcard.  Just check if there is a
/etc/init.d/nas file, if so try

/etc/init.d/nas stop

and try access /dev/audio after this.

Torsten

-- 
"What a depressingly stupid machine"
  The Restaurant at the End of the Universe
PGP Public Key is available


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: sound module: /dev/audio: Device or resource busy

1997-08-17 Thread Marcus Brinkmann
On Aug 16, Phil Schniter wrote:
> 
> hello,
> 
>  i am experiencing strange behavior when attempting to load sound 
>  support as a module.  i have a debian 1.3.1 system and a SB AWE-64
>  PNP card, which i have installed using the isapnptools.  the fact

I have a SB AWE-32 PNP (does someone know: how I get my bios to set up pnp
properly? I have a PNP Bios, I think, but I need isapnptools. Why? I didn't
changed anything in my bios setup.)

>  that the pnp boards need to be configured before the sound drivers
>  mandates that sound must be supported by a module, i.e. not included 
>  directly in the kernel.  for this reason, /etc/init.d/boot makes sure 
>  that pnp configuration is taken care of _before_ modules are loaded.

Yes.

>  things seem to work fine when i do NOT include the "sound" line in
>  my /etc/modules file, and instead do "insmod sound" manually after 
>  rebooting.  however, when i include "sound" or "auto" in /etc/modules, 
>  i get the message 
>/dev/audio: Device or resource busy
>  whenever i try to access /dev/audio (or likewise with /dev/dsp).

strange. I have sound in my modules, and it works just fine.
I compared my /dev/sndstat with yours, and they are nearly identical (i have
a wrong SB MPU-401 line, without an address specified and with irq 1. I have
to check this with the next kernel compile.)

BTW: How do you get this:
> Midi devices:
> 0: Sound Blaster 16
I have it not.

However, one thing I saw: I use kernel 2.0.29, you 2.0.30. Could this be the
reason?

>  i have confirmed that there is no conflict with IRQs, and the
>  output of /dev/sndstat seems to indicate that everything is ok.
>  (i have included it below.)
> 
>  does anybody know why the boot-time loading of the sound module
>  is not working?

At the moment, I'm puzzled. If you have more info, please mail, I'm
interested.

> phil
> 
> 
> output of /dev/sndstat:
> --
> Sound Driver:3.5.4-960630 (Thu Aug 14 17:45:27 EDT 1997 root,
> Linux bigrig 2.0.30 #7 Thu Aug 14 15:55:19 EDT 1997 i586 unknown)
> Kernel: Linux bigrig 2.0.30 #7 Thu Aug 14 15:55:19 EDT 1997 i586
> Config options: 0
> 
> Installed drivers: 
> Type 1: OPL-2/OPL-3 FM
> Type 2: Sound Blaster
> Type 7: SB MPU-401
> 
> Card config: 
> Sound Blaster at 0x220 irq 5 drq 1,5
> SB MPU-401 at 0x330 irq 5 drq 0
> OPL-2/OPL-3 FM at 0x388 drq 0
> 
> Audio devices:
> 0: Sound Blaster 16 (4.16)
> 
> Synth devices:
> 0: Yamaha OPL-3
> 1: AWE32 Driver v0.3.3e (DRAM 512k)
> 
> Midi devices:
> 0: Sound Blaster 16
> 
> Timers:
> 0: System clock
> 
> Mixers:
> 0: Sound Blaster
> 1: AWE32 Equalizer
> 
> 

-- 
"Rhubarb is no Egyptian god."
Marcus Brinkmann
[EMAIL PROTECTED]
http://homepage.ruhr-uni-bochum.de/Marcus.Brinkmann/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


sound module: /dev/audio: Device or resource busy

1997-08-16 Thread Phil Schniter

hello,

 i am experiencing strange behavior when attempting to load sound 
 support as a module.  i have a debian 1.3.1 system and a SB AWE-64
 PNP card, which i have installed using the isapnptools.  the fact
 that the pnp boards need to be configured before the sound drivers
 mandates that sound must be supported by a module, i.e. not included 
 directly in the kernel.  for this reason, /etc/init.d/boot makes sure 
 that pnp configuration is taken care of _before_ modules are loaded.

 things seem to work fine when i do NOT include the "sound" line in
 my /etc/modules file, and instead do "insmod sound" manually after 
 rebooting.  however, when i include "sound" or "auto" in /etc/modules, 
 i get the message 
   /dev/audio: Device or resource busy
 whenever i try to access /dev/audio (or likewise with /dev/dsp).

 i have confirmed that there is no conflict with IRQs, and the
 output of /dev/sndstat seems to indicate that everything is ok.
 (i have included it below.)

 does anybody know why the boot-time loading of the sound module
 is not working?

phil


output of /dev/sndstat:
--
Sound Driver:3.5.4-960630 (Thu Aug 14 17:45:27 EDT 1997 root,
Linux bigrig 2.0.30 #7 Thu Aug 14 15:55:19 EDT 1997 i586 unknown)
Kernel: Linux bigrig 2.0.30 #7 Thu Aug 14 15:55:19 EDT 1997 i586
Config options: 0

Installed drivers: 
Type 1: OPL-2/OPL-3 FM
Type 2: Sound Blaster
Type 7: SB MPU-401

Card config: 
Sound Blaster at 0x220 irq 5 drq 1,5
SB MPU-401 at 0x330 irq 5 drq 0
OPL-2/OPL-3 FM at 0x388 drq 0

Audio devices:
0: Sound Blaster 16 (4.16)

Synth devices:
0: Yamaha OPL-3
1: AWE32 Driver v0.3.3e (DRAM 512k)

Midi devices:
0: Sound Blaster 16

Timers:
0: System clock

Mixers:
0: Sound Blaster
1: AWE32 Equalizer


**
Phil Schniter   397 Rhodes Hall
School of Elec. Eng.Ithaca, NY  14853   USA
Cornell University  h:(607)277-8975, w:(607)254-8819 

"try to detect it : it's not too late : to whip it : whip it good"
- Devo 



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


RE: /dev/audio & /dev/dsp Device or resource busy ???

1996-09-02 Thread Casper BodenCummins
Ian Jackson wrote:

> Stoyan Kenderov writes ("/dev/audio & /dev/dsp  Device or resource busy
???"):
> ...
>> The sparing comments in the source point to an IRQ or DMA conflict when one
>> gets constant "Device or Resource busy" mesages on each:
>> 
>> cat blabla.au > /dev/audioor
>> cat uuhuu.wav > /dev/dsp
>
> Have you installed `nas' (the `network audio system') ?  It takes over
> your sound hardware permanently.  If you have then deinstall it.
>
> Ian.

I've read Stoyan's reply, so I know that this fixed the problem.
However, I don't think you need to uninstall NAS. Besides, you'll need
it to run NAS-aware programs. Surely you can simply say:

   /etc/init.d/nas stop

or whatever the name is (don't have access to the machine right now).
Stoyan, I suggest you reinstall NAS and try this.

Casper Boden-Cummins.



Re: /dev/audio & /dev/dsp WORK NOW!!!

1996-09-01 Thread Stoyan Kenderov
Thanks 

to everybody who answered my questions regarding the non-working 
/dev/audio, dev/dsp on my SB16 under linux-2.0.15 .

It proved indeed to be "Device or resource busy"!
NAS was to blame...and me of course!

I found it out, after having recompiled and rebooted the kernel tausend
times. Finally I overcommed my tire and examined the kernel boot and daemon 
log messages and see, there it was..."NAS starting...".

I updated Debian recently and have unwillingly marked NAS for installation, 
without first asking myself whether I need the raw /dev/audio and
/dev/dsp.


Thanks Ian, your suggestion would have brought me to the point
15 minutes earlier, but I was not on the Net at that time :-) . Thanks
anyway!

> Stoyan Kenderov writes ("/dev/audio & /dev/dsp  Device or resource busy ???"):
> ...
> > The sparing comments in the source point to an IRQ or DMA conflict when one
> > gets constant "Device or Resource busy" mesages on each:
> > 
> > cat blabla.au > /dev/audioor
> > cat uuhuu.wav > /dev/dsp
> 
> Have you installed `nas' (the `network audio system') ?  It takes over
> your sound hardware permanently.  If you have then deinstall it.
> 
> Ian.
> 

regards,
Stoyan

PS: It's really very relaxing to know that such a great list stands behind
you, when you are in trouble! Keep the good work!
-- 
Stoyan Kenderov/ 
NTG Netzwerk und Telematic GmbH  \/  phone: +49 721 9652 220
Geschaeftsbereich/\ LINK fax:   +49 721 9652 210
Vincenz-Priessnitz-Str. 3   /___ email: [EMAIL PROTECTED]
D-76131 Karlsruhe, Germany   http://www.xlink.net/~kenderov
  PGP Key fingerprint =  72 EC 34 1F BC 74 89 BA  FF 74 29 85 40 6B 5C F9 



Re: /dev/audio & /dev/dsp Device or resource busy ???

1996-09-01 Thread Ian Jackson
Stoyan Kenderov writes ("/dev/audio & /dev/dsp  Device or resource busy ???"):
...
> The sparing comments in the source point to an IRQ or DMA conflict when one
> gets constant "Device or Resource busy" mesages on each:
> 
> cat blabla.au > /dev/audioor
> cat uuhuu.wav > /dev/dsp

Have you installed `nas' (the `network audio system') ?  It takes over
your sound hardware permanently.  If you have then deinstall it.

Ian.



/dev/audio & /dev/dsp Device or resource busy ???

1996-08-31 Thread Stoyan Kenderov
Hello DEBIAN user/programmers,

After kernel v2.0.0 I have been unable to produce any sound on my SB16
sound card. 

Is there a known bug (up until kernel 2.0.15) in the SB16 code of USS that I
missed during my vacations?

The sparing comments in the source point to an IRQ or DMA conflict when one
gets constant "Device or Resource busy" mesages on each:

cat blabla.au > /dev/audioor
cat uuhuu.wav > /dev/dsp

But I haven't changed anything in the configuration of my hardware, nor my
kernel parameters...

Sorry but I didn't encounter any hint's in my /var/adm/messages eighter.
The USS does not permit compilation with DEBUGING on, does it?

Thankfull for any hints or suggestions,

regards,
Stoyan
 

-- 
Stoyan Kenderov/ phone: +49 721 9652 220
NTG Netzwerk und Telematic GmbH  \/  fax:   +49 721 9652 210
Vincenz-Priessnitz-Str. 3/\ LINK email: [EMAIL PROTECTED]
D-76131 Karlsruhe, Germany  /___ http://www.xlink.net/~kenderov
Opinions stated herein are my own, not necessarily my employer's 
  [finger me for my PGP public key]