Re: nm256: Dell Inspiron 3500 laptop

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

 



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.

-------

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)

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

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: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.
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!

 - Jabez

> -----Original Message-----
> From: Takashi Iwai [mailto:tiwai@xxxxxxx] 
> Sent: Tuesday, June 05, 2007 7:09 AM
> To: J. McClelland and C. Chow
> Cc: 'Lee Revell'; alsa-user@xxxxxxxxxxxxxxxxxxxxx
> Subject: Re:  nm256: Dell Inspiron 3500 laptop
> 
> 
> At Wed, 30 May 2007 22:47:34 -0400,
> J. McClelland and C. Chow wrote:
> > 
> > Thanks for your reply - OK, upgraded to 1.0.14.rc4 per 
> instructions on 
> > 
> http://www.alsa-project.org/alsa-doc/doc-php/template.php?company=Neom
> > agic&c
> > ard=MagicMedia+256AV.&chip=NM2200&module=nm256.  Behavior 
> is the same.  
> > 
> > snd-nm256 will not load without force_ac97=1; when 
> sucessfully loaded,
> > 
> > aplay somefile.wav
> > 
> > results in
> > 
> > aplay: pcm_write:1265: write error: Input/output error
> > 
> > Thanks for any suggestions!
> 
> Likely it's not NM256 with AC97 but internally connected to 
> CS423x. Try to load snd-cs4232 or snd-opl3sa2, for example.  
> See ALSA-Configuration.txt for details. 
> 
> 
> 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