Re: 2.2.1 and /dev/sound

1999-02-11 Thread Leszek Gerwatowski
On Wed, Feb 10, 1999 at 07:39:30PM +0100, Helge Hafting wrote:
  I've finally convinced 2.2.1 to run X and my network.  I still haven't 
  figured out why kerneld doesn't start anymore and do this automatically.
 Take a look at /usr/src/linux/Documentation/Changes
 Kerneld isn't needed any more.   The kernel will auto-load modules
 for you anyway - if /etc/conf.modules is set up correctly.
 
  But the sound doesn't work now.  the basic 
  
   cat /usr/lib/exmh/clink.au  /dev/audio
  yields
   bash: /dev/audio: Operation not supported by device
 
 Looks like the kernel couldn't find a driver for that device.
  
  As near as I can tell all the needed modules are loaded:
  eyryttyp0:hawklsmod 
  Module  Size  Used by
  uart401 5588   0 
  sound  54456   0  (autoclean) [uart401]
  soundcore   2084   3  (autoclean) [sound]
  serial 16840   1  (autoclean)
  ne  5964   1 
  83905944   0  [ne]
  
  It's a 16 bit soundblaster knockoff.  I must be missing something here. 
 The sb driver isn't there, I assume you wanted to use the
 soundblaster driver?
  I changed the IRQ while configuring (which is now really awkward--in 
  xconfig, it is now necessary to turn all of the choices to Y rather than
  M to unlock the boxes).
 You don't set IRQ etc. for modules.  It can't be done that way.
 IRQ, ioaddress, and dma must be specified on the command line
 when loading the driver, or in /etc/conf.modules.
 
 Here is the sound part of my conf.modules:
 alias sound pas2
 alias char-major-14 pas2
 options pas2 io=0x388 irq=10 dma=5
 
 pas2 is the driver for my proaudio spectrum 16.  Substitute
 sb or whatever driver you need to use.  And set the correct
 parameters for your card.  Soundblasters tend to use io=0x220,
 irq=5 or 7, dma=1.  You may need to specify dma16 too.
 

Keep in mind that in newer modutils packages (for sure in modutils form
slink) you don't use file /etc/conf.modules but /etc/modutils/aliases and
/etc/modutils/arch/i386 (or other architecture). 

-- 
o--o  ___
|Leszek Gerwatowski|_/_|_\
o--o   (o\__/o)=)
This message is SHAREWARE, please register...


Re: 2.2.1 and /dev/sound

1999-02-11 Thread Mirek Kwasniak
On Wed, Feb 10, 1999 at 10:36:10AM -0600, Richard E. Hawkins Esq. wrote:
 
 I've finally convinced 2.2.1 to run X and my network.  I still haven't 
 figured out why kerneld doesn't start anymore and do this automatically.
 
 But the sound doesn't work now.  the basic 
 
  cat /usr/lib/exmh/clink.au  /dev/audio
 yields
  bash: /dev/audio: Operation not supported by device
 
 As near as I can tell all the needed modules are loaded:
 eyryttyp0:hawklsmod 
 Module  Size  Used by
 uart401 5588   0 
 sound  54456   0  (autoclean) [uart401]
 soundcore   2084   3  (autoclean) [sound]
 serial 16840   1  (autoclean)
 ne  5964   1 
 83905944   0  [ne]
 
 It's a 16 bit soundblaster knockoff.  I must be missing something here. 
  

I have in /etc/modutils.aliases for my vibra:

alias char-major-14 sb
alias synth0 opl3
options sb io=0x220 irq=7 dma=1 dma16=5 mpu_io=0x330
options opl3 io=0x388

09:41:12 1:3'@mirek~$ echo a/dev/sequencer
/dev/music: Obsolete (4 byte) API was used by bash
09:41:15 1:3'@mirek~$ lsmod
Module  Size  Used by
opl3   10264   0  (autoclean)
sb 30852   0  (autoclean)
uart401 5628   0  (autoclean) [sb]
sound  55156   0  (autoclean) [opl3 sb uart401]
soundcore   2192   6  (autoclean) [sb sound]
tulip  23388   1  (autoclean)
ipx12644   3  (autoclean)

Mirek


2.2.1 and /dev/sound

1999-02-10 Thread Richard E. Hawkins Esq.

I've finally convinced 2.2.1 to run X and my network.  I still haven't 
figured out why kerneld doesn't start anymore and do this automatically.

But the sound doesn't work now.  the basic 

 cat /usr/lib/exmh/clink.au  /dev/audio
yields
 bash: /dev/audio: Operation not supported by device

As near as I can tell all the needed modules are loaded:
eyryttyp0:hawklsmod 
Module  Size  Used by
uart401 5588   0 
sound  54456   0  (autoclean) [uart401]
soundcore   2084   3  (autoclean) [sound]
serial 16840   1  (autoclean)
ne  5964   1 
83905944   0  [ne]

It's a 16 bit soundblaster knockoff.  I must be missing something here. 
 
I changed the IRQ while configuring (which is now really awkward--in 
xconfig, it is now necessary to turn all of the choices to Y rather than
M to unlock the boxes).

rick


-- 



Re: 2.2.1 and /dev/sound

1999-02-10 Thread wtopa

Subject: 2.2.1 and /dev/sound
Date: Wed, Feb 10, 1999 at 10:36:10AM -0600

In reply to:Richard E. Hawkins Esq.

Quoting Richard E. Hawkins Esq.([EMAIL PROTECTED]):
 
 
 I've finally convinced 2.2.1 to run X and my network.  I still haven't 
 figured out why kerneld doesn't start anymore and do this automatically.
 
 did you enable this
#
## Loadable module support
#
#CONFIG_MODULES=y
CONFIG_MODVERSIONS=y
CONFIG_KMOD=y
And read the Documentation/kmod.txt

Kmod: The Kernel Module Loader
Kirk Petersen

Kmod is a simple replacement for kerneld.  It consists of a
request_module() replacement and a kernel thread called kmod.  When
the
kernel requests a module, the kmod wakes up and execve()s modprobe,
passing it the name that was requested.

If you have the /proc filesystem mounted, you can set the path of
modprobe (where the kernel looks for it) by doing:

echo /sbin/modprobe  /proc/sys/kernel/modprobe

To periodically unload unused modules, put something like the
following
in root's crontab entry:

0-59/5 * * * * /sbin/rmmod -a






 But the sound doesn't work now.  the basic 

When I did the above, it did work!


HTH

-- 
One good reason why computers can do more work than people is that they
never have to stop and answer the phone.
___
Wayne T. Topa [EMAIL PROTECTED]


Re: 2.2.1 and /dev/sound

1999-02-10 Thread Helge Hafting

 I've finally convinced 2.2.1 to run X and my network.  I still haven't 
 figured out why kerneld doesn't start anymore and do this automatically.
Take a look at /usr/src/linux/Documentation/Changes
Kerneld isn't needed any more.   The kernel will auto-load modules
for you anyway - if /etc/conf.modules is set up correctly.

 But the sound doesn't work now.  the basic 
 
  cat /usr/lib/exmh/clink.au  /dev/audio
 yields
  bash: /dev/audio: Operation not supported by device

Looks like the kernel couldn't find a driver for that device.
 
 As near as I can tell all the needed modules are loaded:
 eyryttyp0:hawklsmod 
 Module  Size  Used by
 uart401 5588   0 
 sound  54456   0  (autoclean) [uart401]
 soundcore   2084   3  (autoclean) [sound]
 serial 16840   1  (autoclean)
 ne  5964   1 
 83905944   0  [ne]
 
 It's a 16 bit soundblaster knockoff.  I must be missing something here. 
The sb driver isn't there, I assume you wanted to use the
soundblaster driver?
 I changed the IRQ while configuring (which is now really awkward--in 
 xconfig, it is now necessary to turn all of the choices to Y rather than
 M to unlock the boxes).
You don't set IRQ etc. for modules.  It can't be done that way.
IRQ, ioaddress, and dma must be specified on the command line
when loading the driver, or in /etc/conf.modules.

Here is the sound part of my conf.modules:
alias sound pas2
alias char-major-14 pas2
options pas2 io=0x388 irq=10 dma=5

pas2 is the driver for my proaudio spectrum 16.  Substitute
sb or whatever driver you need to use.  And set the correct
parameters for your card.  Soundblasters tend to use io=0x220,
irq=5 or 7, dma=1.  You may need to specify dma16 too.

Helge Hafting


 rick
 
 
 -- 
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 
 



Re: 2.2.1 and /dev/sound

1999-02-10 Thread robbie
On Wed, Feb 10, 1999 at 10:36:10AM -0600, Richard E. Hawkins Esq. wrote:
 
 I've finally convinced 2.2.1 to run X and my network.  I still haven't 
 figured out why kerneld doesn't start anymore and do this automatically.
 
 But the sound doesn't work now.  the basic 
 
  cat /usr/lib/exmh/clink.au  /dev/audio
 yields
  bash: /dev/audio: Operation not supported by device
you need to load the sb module. you will have to give io, irq, dma etc on
the modprobe command line. 
 
 As near as I can tell all the needed modules are loaded:
 eyryttyp0:hawklsmod 
 Module  Size  Used by
 uart401 5588   0 
 sound  54456   0  (autoclean) [uart401]
 soundcore   2084   3  (autoclean) [sound]
 serial 16840   1  (autoclean)
 ne  5964   1 
 83905944   0  [ne]
 
 It's a 16 bit soundblaster knockoff.  I must be missing something here. 
  
 I changed the IRQ while configuring (which is now really awkward--in 
 xconfig, it is now necessary to turn all of the choices to Y rather than
 M to unlock the boxes).
 
 rick
 
 
 -- 
 
 
 
 -- 
 Unsubscribe?  mail -s unsubscribe [EMAIL PROTECTED]  /dev/null
 
 

-- 

Robbie Murray