Re: no sound with kernel 2.4.2

2001-03-19 Thread christophe barbe
Hi I've the same problem with Opl3sa2 and kernel 2.4.2.
I have seen threads about that in the kernel mailing list.
Currently I use alsa which works great and is certainly a good solution.
IMHO the OSS ccode in the kernel are going to be replaced by alsa.

Christophe

On jeu, 15 mar 2001 19:16:09 Philipp Bliedung wrote:
> Hi everybody,
> 
> I just compiled the 2.4.2 kernel. Everything is working fine except  for
> 
> the sound. Under kernel 2.2.17 I had this is my /etc/modules:
> sound
> mpu401
> ad1848
> opl3sa2
> opl3
> options opl3sa2 dma=1 dma2=0 io=0x538 mpu_io=0x330 mss_io=0x530 irq=7
> options opl3 io=0x388
> 
> I used gom as the mixer. When I booted the 2.4.2 kernel (witeh the same
> /etc/modules) and tried to play a song I got this:
> "Cannot open audio device. Please make sure that the audio device is
> properly configured."
> 
> And when I try to use gom I get this:
> 
> gom   ERROR: Can't open mixer device special file "/dev/mixer": No such
> gom:  device. Error help: if loading a mixer special file leads to "No
> such
> gom:  device", then you most likely do have the kernel sound driver
> gom:   not or incorrectly installed. "Permission denied" means you
> gom:   need  permissions by the local admin in the first place.
> gom:
> gom: Current channel information
> gom: ---
> gom:
> gom: No Name   Rec  Volumes  Vol-0  Vol-1  Locked
> gom:  0.vol-1 -1   -1 -1 1
> 
> But there is a file named /dev/mixer 
> 
> crw-rw1 root audio 14,   0 Jul  5  2000 mixer
> crw-rw1 root audio 14,  16 Jul  5  2000 mixer1
> crw-rw1 root audio 14,  32 Jul  5  2000 mixer2
> crw-rw1 root audio 14,  48 Jul  5  2000 mixer3
> lrwxrwxrwx1 root root   10 Mar 15 18:51 modem ->
> /dev/ttyS3
> lrwxrwxrwx1 root root5 Oct 28 23:51 mouse -> psaux
> 
> When I compiled the kernel I selected everything that was under "sound"
> to be compiled as a module. Also when I try to load these modules by
> hand (insmod mpu401, etc...) it
> doesn't give an error I have no clue why this doesn't work! When I
> boot the 2.2.17 kernel
> everything works just great. Here is what I get when I use gom under
> 2.2.17:
> 
> [EMAIL PROTECTED]:~ gom -t
> gom:
> gom: Current channel information
> gom: ---
> gom:
> gom: No Name   Rec  Volumes  Vol-0  Vol-1  Locked
> gom:  0.vol-1  2   75 75 1
> [EMAIL PROTECTED]:~
> BTW I'm on a Toshiba Tecra 8000 Laptop.
> 
> Help is very much appreciated!
> TIA!
> 
> Philipp
> 
> 
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
> 
-- 
Christophe Barbé
Software Engineer
Lineo High Availability Group
42-46, rue Médéric
92110 Clichy - France
phone (33).1.41.40.02.12
fax (33).1.41.40.02.01
www.lineo.com



Re: no sound with kernel 2.4.2

2001-03-16 Thread Christoph Groth
Gudmundur Erlingsson <[EMAIL PROTECTED]> writes:

> The error messages esd spews out certainly points to that. Anyone
> have further suggestions?

If the sound modules built in the kernel don't work for you, why not
try ALSA?  You'll have to get the ALSA packages from unstable (sid),
those from potato or woody don't work with the 2.4-series kernels

Basically first you build a kernel package as described in the
`kernel-package' package documentation.  Perhaps you've already done
this.

Then you install the packages alsaconf alsa-base alsa-source
alsa-utils and maybe some others to satisfy the dependencies.  Finally
you follow the instructions in
/usr/share/doc/alsa-source/README.Debian.gz and build an alsa-modules
package.

hope this helps,
Christoph



Re: no sound with kernel 2.4.2

2001-03-15 Thread Gudmundur Erlingsson
I have the same problem. I updated the kernel to 2.4.2 and the sound became
partly disabled. According to dmesg the kernel finds and sets the soundcard
correctly (I have ESS1868), I can play soundfiles by sending them to either
/dev/audio or /dev/dsp, using cat (this I can do both as root and normal
user). I can use xmms only as root, esd complains like this (also when run
by root):

audio_alsa: no cards found!Audio device open for 44.1Khz, stereo, 16bit failed 
Trying 44.1Khz, 8bit stereo.
audio_alsa: no cards found!Audio device open for 44.1Khz, stereo, 8bit failed 
Trying 22.05Khz, 8bit stereo.
audio_alsa: no cards found!Audio device open for 22.05Khz, stereo, 8bit failed 
Trying 44.1Khz, 16bit mono.
audio_alsa: no cards found!Audio device open for 44.1Khz, mono, 8bit failed 
Trying 22.05Khz, 8bit mono.
audio_alsa: no cards found!Audio device open for 22.05Khz, mono, 8bit failed 
Trying 11.025Khz, 8bit stereo.
audio_alsa: no cards found!Audio device open for 11.025Khz, stereo, 8bit failed 
Trying 11.025Khz, 8bit mono.
audio_alsa: no cards found!Audio device open for 11.025Khz, mono, 8bit failed 
Trying 8.192Khz, 8bit mono.
audio_alsa: no cards found!Audio device open for 8.192Khz, mono, 8bit failed 
Trying 8Khz, 8bit mono.
audio_alsa: no cards found!Sound device inadequate for Esound. Fatal.

gmix and other gnome-programs also complain. I have been wondering if the
fact that I've got alsa-base installed has something to do with this (it was
already installed when I updated the kernel). The
error messages esd spews out certainly points to that. Anyone have further
suggestions?

regards,

Gudmundur


On Thu, Mar 15, 2001 at 09:31:01PM +0100, Philipp Bliedung wrote:
> Matthew Bryant Baxa wrote:
> 
> > On Thu, Mar 15, 2001 at 07:16:09PM +0100, Philipp Bliedung wrote:
> >
> > > I used gom as the mixer. When I booted the 2.4.2 kernel (witeh the
> same
> > > /etc/modules) and tried to play a song I got this:
> > > "Cannot open audio device. Please make sure that the audio device is
> 
> > > properly configured."
> > >
> > > And when I try to use gom I get this:
> > >
> > > gom   ERROR: Can't open mixer device special file "/dev/mixer": No
> such
> > > gom:  device. Error help: if loading a mixer special file leads to
> "No
> > > such
> > > gom:  device", then you most likely do have the kernel sound driver
> > > gom:   not or incorrectly installed. "Permission denied" means you
> > > gom:   need  permissions by the local admin in the first place.
> > > gom:
> > > gom: Current channel information
> > > gom: ---
> > > gom:
> > > gom: No Name   Rec  Volumes  Vol-0  Vol-1  Locked
> > > gom:  0.vol-1 -1   -1 -1 1
> > > 
> > > But there is a file named /dev/mixer 
> > > 
> > > crw-rw1 root audio 14,   0 Jul  5  2000 mixer
> > I used to have this problem until I finally remembered that as
> a user I didnt have permission
> to use the mixer device.  Try adding yourself to the audio group.
> 
> I'm already a member of the audio group ! Otherwise I wouldn't be able
> to play music using the 2.2.17
> kernel.
> Even root gets an error trying to run gom.
> 
> 
> 
> 
> 
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: no sound with kernel 2.4.2

2001-03-15 Thread Philipp Bliedung
Matthew Bryant Baxa wrote:

> On Thu, Mar 15, 2001 at 07:16:09PM +0100, Philipp Bliedung wrote:
>
> > I used gom as the mixer. When I booted the 2.4.2 kernel (witeh the
same
> > /etc/modules) and tried to play a song I got this:
> > "Cannot open audio device. Please make sure that the audio device is

> > properly configured."
> >
> > And when I try to use gom I get this:
> >
> > gom   ERROR: Can't open mixer device special file "/dev/mixer": No
such
> > gom:  device. Error help: if loading a mixer special file leads to
"No
> > such
> > gom:  device", then you most likely do have the kernel sound driver
> > gom:   not or incorrectly installed. "Permission denied" means you
> > gom:   need  permissions by the local admin in the first place.
> > gom:
> > gom: Current channel information
> > gom: ---
> > gom:
> > gom: No Name   Rec  Volumes  Vol-0  Vol-1  Locked
> > gom:  0.vol-1 -1   -1 -1 1
> > 
> > But there is a file named /dev/mixer 
> > 
> > crw-rw1 root audio 14,   0 Jul  5  2000 mixer
> I used to have this problem until I finally remembered that as
a user I didnt have permission
to use the mixer device.  Try adding yourself to the audio group.

I'm already a member of the audio group ! Otherwise I wouldn't be able
to play music using the 2.2.17
kernel.
Even root gets an error trying to run gom.








no sound with kernel 2.4.2

2001-03-15 Thread Philipp Bliedung
Hi everybody,

I just compiled the 2.4.2 kernel. Everything is working fine except  for

the sound. Under kernel 2.2.17 I had this is my /etc/modules:
sound
mpu401
ad1848
opl3sa2
opl3
options opl3sa2 dma=1 dma2=0 io=0x538 mpu_io=0x330 mss_io=0x530 irq=7
options opl3 io=0x388

I used gom as the mixer. When I booted the 2.4.2 kernel (witeh the same
/etc/modules) and tried to play a song I got this:
"Cannot open audio device. Please make sure that the audio device is
properly configured."

And when I try to use gom I get this:

gom   ERROR: Can't open mixer device special file "/dev/mixer": No such
gom:  device. Error help: if loading a mixer special file leads to "No
such
gom:  device", then you most likely do have the kernel sound driver
gom:   not or incorrectly installed. "Permission denied" means you
gom:   need  permissions by the local admin in the first place.
gom:
gom: Current channel information
gom: ---
gom:
gom: No Name   Rec  Volumes  Vol-0  Vol-1  Locked
gom:  0.vol-1 -1   -1 -1 1

But there is a file named /dev/mixer 

crw-rw1 root audio 14,   0 Jul  5  2000 mixer
crw-rw1 root audio 14,  16 Jul  5  2000 mixer1
crw-rw1 root audio 14,  32 Jul  5  2000 mixer2
crw-rw1 root audio 14,  48 Jul  5  2000 mixer3
lrwxrwxrwx1 root root   10 Mar 15 18:51 modem ->
/dev/ttyS3
lrwxrwxrwx1 root root5 Oct 28 23:51 mouse -> psaux

When I compiled the kernel I selected everything that was under "sound"
to be compiled as a module. Also when I try to load these modules by
hand (insmod mpu401, etc...) it
doesn't give an error I have no clue why this doesn't work! When I
boot the 2.2.17 kernel
everything works just great. Here is what I get when I use gom under
2.2.17:

[EMAIL PROTECTED]:~ gom -t
gom:
gom: Current channel information
gom: ---
gom:
gom: No Name   Rec  Volumes  Vol-0  Vol-1  Locked
gom:  0.vol-1  2   75 75 1
[EMAIL PROTECTED]:~
BTW I'm on a Toshiba Tecra 8000 Laptop.

Help is very much appreciated!
TIA!

Philipp