Re: [freebsd-questions] snd_maestro3.ko load/unload

2003-12-31 Thread Tim Kellers
I'm going to try that right now.  It would be nice to learn a last nugget 
before the Bull of the Old Year dies:)

Happy (nearly) New Year

Tim


On Wednesday 31 December 2003 08:16 pm, Lowell Gilbert wrote:
 Tim Kellers [EMAIL PROTECTED] writes:
  %mixer
  Mixer vol  is currently set to  11:11
  Mixer pcm  is currently set to  75:75
  Mixer speaker  is currently set to  75:75
  Mixer line is currently set to  75:75
  Mixer mic  is currently set to   0:0
  Mixer cd   is currently set to  75:75
  Mixer rec  is currently set to  49:49
  Mixer ogainis currently set to  50:50
  Mixer line1is currently set to  75:75
  Mixer phin is currently set to   0:0
  Mixer phoutis currently set to   0:0
  Mixer videois currently set to  75:75
 
 
  It's the load/unload/load thing that has me baffled.  Is there some knob
  in kldload that doesn't get twisted until after a kldunload of a .ko
  file?

 Well, no, but loading the driver results in trying to reset a bunch of
 things (including the mixer settings, which was why I asked about that).

  Nah...
 
  gotta be something else, like evil spirits, maybe.

 You said you were letting snd_pcm get autoloaded; do you see the same
 results if you do an explicit load of that before loading the maestro3
 driver?  [Similar reasoning...]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: [freebsd-questions] snd_maestro3.ko load/unload

2003-12-31 Thread T Kellers
On Wednesday 31 December 2003 10:18 pm, Tim Kellers wrote:
 I'm going to try that right now.  It would be nice to learn a last nugget
 before the Bull of the Old Year dies:)

 Happy (nearly) New Year

 Tim

 On Wednesday 31 December 2003 08:16 pm, Lowell Gilbert wrote:
  Tim Kellers [EMAIL PROTECTED] writes:
   %mixer
   Mixer vol  is currently set to  11:11
   Mixer pcm  is currently set to  75:75
   Mixer speaker  is currently set to  75:75
   Mixer line is currently set to  75:75
   Mixer mic  is currently set to   0:0
   Mixer cd   is currently set to  75:75
   Mixer rec  is currently set to  49:49
   Mixer ogainis currently set to  50:50
   Mixer line1is currently set to  75:75
   Mixer phin is currently set to   0:0
   Mixer phoutis currently set to   0:0
   Mixer videois currently set to  75:75
  
  
   It's the load/unload/load thing that has me baffled.  Is there some
   knob in kldload that doesn't get twisted until after a kldunload of a
   .ko file?
 
  Well, no, but loading the driver results in trying to reset a bunch of
  things (including the mixer settings, which was why I asked about that).
 
   Nah...
  
   gotta be something else, like evil spirits, maybe.
 
  You said you were letting snd_pcm get autoloaded; do you see the same
  results if you do an explicit load of that before loading the maestro3
  driver?  [Similar reasoning...]

Yes,  same results

The .ko snd_maestro3 file can't e loaded without it pulling in snd_pcm.ko (and 
snd_pcm.ko can't be unloaded while the maestro3 .ko is loaded Device is 
busy is the message)

The first load always disables the keyboard clicking (from BIOS) the ^G bell 
in the CLI and sound in X (using KDE and artsd, I haven't tried just plain 
twm).  The unload/reload process still wakes everything up.

My idea well is dry.

Thanks,

Tim

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


snd_maestro3.ko load/unload

2003-12-30 Thread Tim Kellers
FreeBSD 10.0.1.8 4.9-STABLE FreeBSD 4.9-STABLE #0: Mon Dec 29 15:59:28 EST 
2003 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/PORCINUS  i386

Hardware: Dell Latitude c800 laptop

soundcard (from BIOS): maestro3

If I load snd_maestro3.ko from loader.conf (snd_pcm.ko is auto-loaded along 
with it), I get no sound in CLI or X --no beeps no anything.

If I don't load anything from loader.conf, I get keyclicks (enabled in BIOS), 
but no ^G beeps in CLI or X.

If I don't load anything from loader.conf, then kldload snd_maestro3.ko, then 
kldunload snd_maestro3.ko, then kldload snd_maestro3.ko again, keyclicks, ^G 
beeps and full stereo sound works in X.

I've built (and rebuilt) ther kernel with device pcm, without device pcm -- 
the method described above works with no device pcm.

I can make sound work by scripting the load/unload/reload process as 
zzz.maestro.sh and placing it in /usr/local/etc/rc.d.

Has anyone experienced anything similar, or does anyone have any ideas what 
might be going on?

I don't have this problem with 4.9_STABLE or 5.2-CURRENT on Dell C600 
latitudes --they use the same maestro3 card.

Tim Kellers
CPE/NJIT

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]