Re: nm256: Dell Inspiron 3500 laptop - now opl3sa2 ?

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

 



Hello, it's me again...

OK, I guess you're saying I should concentrate on the opl3sa2 driver.  I
have now blacklisted snd-nm256.
I have tried very carefully to set all the options correctly for opl3sa2,
but it still doesn't work. I am using the latest alsa package, 1.0.14rc4.
Symptoms are:

dmesg output:

ALSA
/usr/src/alsa/alsa-driver-1.0.14rc4/isa/../alsa-kernel/isa/opl3sa2.c:637:
PnP manual resources are invalid, using auto config
ALSA
/usr/src/alsa/alsa-driver-1.0.14rc4/isa/../alsa-kernel/isa/opl3sa2.c:233:
opl3sa2: can't grab port 0x0
pnp: Device 00:0c disabled.

aplay result:

Lappy366:~# aplay /home/family/wavs/curly.wav
Playing WAVE '/home/family/wavs/curly.wav' : Signed 16 bit Little Endian,
Rate 44100 Hz, Stereo
aplay: pcm_write:1265: write error: Input/output error
 
I used lspnp -v to get the ports for the soundcard, which is device 00:0c:

00:0c NMX2210 (unknown)
    state = disabled
	io 0x220-0x22f
	io 0x530-0x537
	io 0x388-0x38f
	io 0x320-0x321
	irq 5
	dma 0
	dma 1 

(this is same info as looking in /sys/bus/pnp/devices/00:0c/resources)

My /etc/modprobe.d/sound file contains:

alias snd-card-0 snd-opl3sa2
alias sound-slot-0 snd-opl3sa2
options snd-opl3sa2 sb_port=0x220 wss_port=0x530 fm_port=0x388 midi_port=-1
port=0x320 isapnp=no dma1=0 dma2=1 irq=5

The ports, dma's and irq's I've chosen definitely match those reported by
lspnp.  The dmesg output shows the driver is still unhappy, and tries to
auto config (even though isapnp=no).  Any suggestions?

BTW, my kernel is 2.6.18, Debian etch release.

Thanks for you patience.

Jabez 


> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@xxxxxxx] 
> Sent: Monday, June 11, 2007 6:18 AM
> To: J. McClelland and C. Chow
> Cc: 'Lee Revell'; alsa-user@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  nm256: Dell Inspiron 3500 laptop
> 
> 
> At Fri, 8 Jun 2007 20:39:09 -0400,
> J. McClelland and C. Chow wrote:
> > 
> > Thanks for your reply.
> > 
> > I have now tried snd-nm256, snd-opl3sa2, snd-cs4232, snd-cs4231, 
> > snd-sb16, and snd-ad1848 with this hardware (Dell Inspiron 3500, 
> > Neomagic NM2200 MagicMedia 256AV).  So far no joy!
> > 
> > snd-nm256 seems to come closest to working.  If I set force_ac97=1, 
> > the module loads with the encouraging dmesg output:
> > 
> > nm256: Mapping port 1 from 0x2709a0 - 0x27ec00
> > 
> > And aplay /home/family/wavs/curly.wav gives:
> > 
> > Playing WAVE '/home/family/wavs/curly.wav' : Signed 16 bit Little 
> > Endian, Rate 44100 Hz, Stereo
> > aplay: pcm_write:1265: write error: Input/output error
> > 
> > ...close, but still no sound.
> 
> force_ac97 is very bad option.  This should be a very last 
> thing after confirming that you have really AC97 codec chip 
> on your machine.
> 
> > -------
> > 
> > snd-opl3sa2 results in:
> > 
> > FATAL: Error inserting snd_opl3sa2
> > 
> (/lib/modules/2.6.18-4-686/kernel/sound/isa/snd-opl3sa2.ko): No such 
> > device
> > 
> > unless I add some options in /etc/modprobe.d/sound:
> > 
> > alias snd-card-0 snd-opl3sa2
> > alias sound-slot-0 snd-opl3sa2
> > options snd-opl3sa2 fm_port=-1 midi_port=-1 port=0x370 
> wss_port=0x530 
> > isapnp=0 dma1=1 dma2=0 irq=5
> > 
> > (These options were chosen by running alsaconf -> legacy ISAPnP -> 
> > probe
> > opl3sa2)
> 
> You have to give port option.
> 
> > I have also tried
> > 
> > options snd-opl3sa2 fm_port=-1 midi_port=-1 port=0x370 
> wss_port=0x530 
> > isapnp=0 sb_port=0x220 dma1=0 dma2=1 irq=5
> 
> 0x370 isn't the only value that opl3sa chip accepts.
> 
> > Which is closer to what I have set in the BIOS.
> > 
> > With these options, the module loads, but I get the following dmesg 
> > output:
> > 
> > pnp: Device 00:0c activated.
> > ALSA
> > 
> /usr/src/alsa/alsa-driver-1.0.14rc4/isa/../alsa-kernel/isa/opl3sa2.c:6
> > 37:
> > PnP manual resources are invalid, using auto config
> > ALSA
> > 
> /usr/src/alsa/alsa-driver-1.0.14rc4/isa/../alsa-kernel/isa/opl
> 3sa2.c:233:
> > opl3sa2: can't grab port 0x0
> > pnp: Device 00:0c disabled.
> > snd-opl3sa2-pnpbios: probe of 00:0c failed with error -16
> > 
> > An attempt at aplay gives
> > 
> > ALSA lib confmisc.c:769:(parse_card) cannot find card ''
> > ALSA lib conf.c:3510:(_snd_config_evaluate) function 
> > snd_func_card_driver returned error: No such device ALSA lib 
> > confmisc.c:392:(snd_func_concat) error evaluating strings ALSA lib 
> > conf.c:3510:(_snd_config_evaluate) function snd_func_concat 
> returned 
> > error: No such device ALSA lib 
> confmisc.c:1251:(snd_func_refer) error 
> > evaluating name ALSA lib conf.c:3510:(_snd_config_evaluate) 
> function 
> > snd_func_refer returned
> > error: No such device
> > ALSA lib conf.c:3982:(snd_config_expand) Evaluate error: No such 
> > device ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown 
> PCM default
> > aplay: main:545: audio open error: No such device
> > 
> > --------------
> > 
> > snd-cs4232, snd-cs4231, snd-sb16, and snd-ad1848 all behave 
> similary.  
> > I get som options by going through the legacy ISAPnP section of 
> > alsaconf, loading seems to proceed without incident, but an 
> attempt at 
> > aplay results in the same set of "no such device" errors.
> > 
> > Incidentally, in the BIOS I've selected custom audio 
> settings with the 
> > following values:
> > 
> > SB I/O Address: 220
> > WSS I/O Address: 530
> > Adlib I/O Address: 388
> > Interrupt:  IRQ5
> > 1st DMA Channel: DMA 0
> > 2nd DMA Channel: DMA 1
> > 
> > Does this list of parameters give any clue as to which chip 
> I really 
> > have?
> > 
> > Another clue:  When I run alsaconf and it searches for 
> sound cards, it 
> > finds both the nm256 and the opl3sa2 - strange?
> > 
> > Much obliged for further troubleshooting help!
> 
> Check the corresponding directory of /sys/bus/pnp/*.
> 
> Also, you should try ALSA 1.0.14 release instead of the 
> drivers in your old kernel.
> 
> 
> Takashi
> 


-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Alsa-user mailing list
Alsa-user@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-user

[Index of Archives]     [ALSA Devel]     [Linux Audio Users]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]

  Powered by Linux