Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

More sound card troubles...



Home sick from work, I did some more work on my sound card's problems.

John Saylor <jsaylor at mit.edu> suggested that I try disabling most of
my AUTOEXEC.BAT.  So let's see how that works...

I 'trimmed' it by commenting out all the sound-related parts.
However, I did not disable the CONFIG.SYS, which is supposed to do
something to the sound card.

Here are the three files -- AUTOEXEC.BAT, trimmed AUTOEXEC.BAT, and
CONFIG.SYS.

--begin AUTOEXEC.BAT--
@ECHO OFF
PROMPT $P$G
SET SOUND=A:\
SET BLASTER=A220 I7 D1 T4
SET GALAXY=A220 I7 D1 P530 K11 T6
VOLSET /V:14 /X:14 /F:14 /C:14 /L:14 /M:14 /R:L
HWSET /SBA:220 /SBDMA:1 /MSSA:530 /SBIRQ:7 /GPA:E /MSS:E
AZCAL
ECHO Type L to boot Linux
--end AUTOEXEC.BAT--

--begin trimmed AUTOEXEC.BAT--
@ECHO OFF
PROMPT $P$G
REM SET SOUND=A:\
REM SET BLASTER=A220 I7 D1 T4
REM SET GALAXY=A220 I7 D1 P530 K11 T6
REM VOLSET /V:14 /X:14 /F:14 /C:14 /L:14 /M:14 /R:L
REM HWSET /SBA:220 /SBDMA:1 /MSSA:530 /SBIRQ:7 /GPA:E /MSS:E
REM AZCAL
ECHO Type L to boot Linux
--end trimmed AUTOEXEC.BAT--

--begin CONFIG.SYS--
DEVICE=A:\EEPROM.SYS /90900001
--end CONFIG.SYS--

I then rebooted six times -- cold and warm for each of three
conditions -- from the hard drive, from the untrimmed AUTOEXEC.BAT,
and from the trimmed AUTOEXEC.BAT.  (Both kernels on the floppy and on
the hard drive are identical.)

--begin cbfromhd--
Nov  6 09:09:16 belle kernel: Entered probe_ms_sound(530, 0)
Nov  6 09:09:16 belle kernel: I/O address is inactive (ff)
Nov  6 09:09:16 belle kernel: ad1848_detect(534)
Nov  6 09:09:16 belle kernel: ad1848_detect() - step A
Nov  6 09:09:16 belle kernel: ad1848 detect error - step A (ff)
Nov  6 09:09:16 belle kernel: sb_dsp_detect(220) entered
Nov  6 09:09:16 belle kernel: SB reset failed
--end cbfromhd--

--begin cbfromauto--
Nov  6 09:17:05 belle kernel: Entered probe_ms_sound(530, 0)
Nov  6 09:17:05 belle kernel: MSS signature = 4
Nov  6 09:17:05 belle kernel: ad1848_detect(534)
Nov  6 09:17:05 belle kernel: ad1848_detect() - step A
Nov  6 09:17:05 belle kernel: ad1848 detect error - step A (ff)
Nov  6 09:17:05 belle kernel: sb_dsp_detect(220) entered
Nov  6 09:17:05 belle kernel: SB 3.1 detected OK (220)
Nov  6 09:17:05 belle kernel: sb_dsp_init(220) entered
Nov  6 09:17:05 belle kernel: This is a genuine SB Pro
Nov  6 09:17:05 belle kernel: IRQ test OK (IRQ7)
Nov  6 09:17:05 belle kernel: Will use SB Pro driver
--end cbfromauto--

--begin cbfromtrim--
Nov  6 09:12:27 belle kernel: Entered probe_ms_sound(530, 0)
Nov  6 09:12:27 belle kernel: I/O address is inactive (ff)
Nov  6 09:12:27 belle kernel: ad1848_detect(534)
Nov  6 09:12:27 belle kernel: ad1848_detect() - step A
Nov  6 09:12:27 belle kernel: ad1848 detect error - step A (ff)
Nov  6 09:12:27 belle kernel: sb_dsp_detect(220) entered
Nov  6 09:12:27 belle kernel: SB 3.1 detected OK (220)
Nov  6 09:12:27 belle kernel: sb_dsp_init(220) entered
Nov  6 09:12:27 belle kernel: This is a genuine SB Pro
Nov  6 09:12:27 belle kernel: IRQ test OK (IRQ7)
Nov  6 09:12:27 belle kernel: Will use SB Pro driver
--end cbfromtrim--

--begin wbfromhd--
Nov  6 09:04:00 belle kernel: Entered probe_ms_sound(530, 0)
Nov  6 09:04:00 belle kernel: I/O address is inactive (ff)
Nov  6 09:04:00 belle kernel: ad1848_detect(534)
Nov  6 09:04:00 belle kernel: ad1848_detect() - step A
Nov  6 09:04:00 belle kernel: ad1848 detect error - step A (ff)
Nov  6 09:04:00 belle kernel: sb_dsp_detect(220) entered
Nov  6 09:04:00 belle kernel: SB 3.1 detected OK (220)
Nov  6 09:04:00 belle kernel: sb_dsp_init(220) entered
Nov  6 09:04:00 belle kernel: This is a genuine SB Pro
Nov  6 09:04:00 belle kernel: IRQ test OK (IRQ7)
Nov  6 09:04:00 belle kernel: Will use SB Pro driver
--end wbfromhd--

--begin wbfromauto--
Nov  6 08:57:16 belle kernel: Entered probe_ms_sound(530, 0)
Nov  6 08:57:16 belle kernel: MSS signature = 4
Nov  6 08:57:16 belle kernel: ad1848_detect(534)
Nov  6 08:57:16 belle kernel: ad1848_detect() - step A
Nov  6 08:57:16 belle kernel: ad1848 detect error - step A (ff)
Nov  6 08:57:16 belle kernel: sb_dsp_detect(220) entered
Nov  6 08:57:16 belle kernel: SB 3.1 detected OK (220)
Nov  6 08:57:16 belle kernel: sb_dsp_init(220) entered
Nov  6 08:57:16 belle kernel: This is a genuine SB Pro
Nov  6 08:57:16 belle kernel: IRQ test OK (IRQ7)
Nov  6 08:57:16 belle kernel: Will use SB Pro driver
--end wbfromauto--

--begin wbfromtrim--
Nov  6 09:01:10 belle kernel: Entered probe_ms_sound(530, 0)
Nov  6 09:01:10 belle kernel: I/O address is inactive (ff)
Nov  6 09:01:10 belle kernel: ad1848_detect(534)
Nov  6 09:01:10 belle kernel: ad1848_detect() - step A
Nov  6 09:01:10 belle kernel: ad1848 detect error - step A (ff)
Nov  6 09:01:10 belle kernel: sb_dsp_detect(220) entered
Nov  6 09:01:10 belle kernel: SB 3.1 detected OK (220)
Nov  6 09:01:10 belle kernel: sb_dsp_init(220) entered
Nov  6 09:01:10 belle kernel: This is a genuine SB Pro
Nov  6 09:01:10 belle kernel: IRQ test OK (IRQ7)
Nov  6 09:01:10 belle kernel: Will use SB Pro driver
--end wbfromtrim--

The SBPro part works in every case _except_ cold booting from the hard
drive's kernel, implying that it depends on the CONFIG.SYS to properly
configure that part of the card.

The MSS part returns a signature _only_ when the full AUTOEXEC.BAT is
used, implying that it depends on those commands to initialize the
card.

Any comments?

Jack.
--
John Twilley | Net Daemons Associates, Inc.       | Voice: (617) 937-3338
jmt at nda.com  | 400 West Cummings Park, Suite 4250 | Fax:   (617) 937-3775
             | Woburn, MA 01801                   | Pager: (617) 532-4257




BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org