Hello,
I am trying to get the nm256 driver to work on a Dell Inspiron 3500 laptop.
It seems I am not alone with this issue (see posts from Ted To 2007/03/05
and Matt Gushee 2006/10/23). Using force_ac97=1 I can get everything to
load, but an attempt to play a wav file gives the following error message:
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:1268: write error: Input/output error
I am running a 2.6.18 kernel as provided by the Debian etch distribution (as
of 4/07). The ALSA driver version is 1.0.12rc1. lspci | grep audio reports:
01:00.1 Multimedia audio controller: Neomagic Corporation NM2200 [MagicMedia
256AV Audio] (rev 12)
I have also tried loading snd-cs4232 and snd-ad1848, as suggested by various
Googlings, but I always get "No such device" in response.
My /etc/modprobe.conf file has one line:
options snd_nm256 force_ac97=1
lsmod | grep snd yields:
snd_opl3_lib 9920 0
snd_hwdep 8836 1 snd_opl3_lib
snd_cs4231_lib 23232 0
snd_mpu401_uart 8064 0
snd_rawmidi 22560 1 snd_mpu401_uart
snd_seq_device 7820 2 snd_opl3_lib,snd_rawmidi
snd_nm256 67680 1
snd_ac97_codec 83104 1 snd_nm256
snd_ac97_bus 2400 1 snd_ac97_codec
snd_pcm 68676 3 snd_cs4231_lib,snd_nm256,snd_ac97_codec
snd_timer 20996 3 snd_opl3_lib,snd_cs4231_lib,snd_pcm
snd_page_alloc 9640 2 snd_cs4231_lib,snd_pcm
snd 47012 12
snd_opl3_lib,snd_hwdep,snd_cs4231_lib,snd_mpu401_uart,snd_rawmidi,snd_seq_de
vice,snd_nm256,snd_ac97_codec,snd_pcm,snd_timer
soundcore 9248 1 snd
The relevant section of dmesg is:
<snip>
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3
[PCSPP,TRISTATE,COMPAT,ECP,DMA]
agpgart: Detected an Intel 440BX Chipset.
agpgart: AGP aperture is 64M @ 0xe0000000
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt 0000:01:00.1[B] -> Link [LNKB] -> GSI 11 (level, low) ->
IRQ 11
nm256: found card signature in video RAM: 0x27ec00
nm256: Mapping port 1 from 0x2709a0 - 0x27ec00
input: ImExPS/2 Logitech Wheel Mouse as /class/input/input2
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) ->
IRQ 10
neofb: mapped io at ccc80000
Autodetected internal display
Panel is a 1024x768 color TFT display
neofb: frame buffer in use
neofb: probe of 0000:01:00.0 failed with error -16
piix4_smbus 0000:00:07.3: Found 0000:00:07.3 device
PCI: Enabling device 0000:06:00.0 (0000 -> 0003)
ACPI: PCI Interrupt 0000:06:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) ->
IRQ 10
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
0000:06:00.0: 3Com PCI 3CCFE575BT Cyclone CardBus at cc820000.
PCI: Setting latency timer of device 0000:06:00.0 to 64
PnP manual resources are invalid, using auto config
opl3sa2: can't grab port 0x0
pnp: Device 00:0c disabled.
snd-opl3sa2-pnpbios: probe of 00:0c failed with error -16
Yamaha OPL3-SA soundcard not found or device busy
cs: IO port probe 0x100-0x3af: clean.
<snip>
Without force_ac97=1 dmesg contains:
<snip>
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3
[PCSPP,TRISTATE,COMPAT,ECP,DMA]
ACPI: PCI Interrupt 0000:01:00.0[A] -> Link [LNKA] -> GSI 10 (level, low) ->
IRQ 10
neofb: mapped io at ccc00000
Autodetected internal display
Panel is a 1024x768 color TFT display
neofb: frame buffer in use
neofb: probe of 0000:01:00.0 failed with error -16
PnP manual resources are invalid, using auto config
opl3sa2: can't grab port 0x0
pnp: Device 00:0c disabled.
snd-opl3sa2-pnpbios: probe of 00:0c failed with error -16
Yamaha OPL3-SA soundcard not found or device busy
ACPI: PCI Interrupt Link [LNKB] enabled at IRQ 11
ACPI: PCI Interrupt 0000:01:00.1[B] -> Link [LNKB] -> GSI 11 (level, low) ->
IRQ 11
nm256: no ac97 is found!
force the driver to load by passing in the module parameter
force_ac97=1
or try sb16 or cs423x drivers instead.
ACPI: PCI interrupt for device 0000:01:00.1 disabled
ts: Compaq touchscreen protocol output
cs: IO port probe 0x100-0x3af: excluding 0x130-0x137
<snip>
BIOS settings for sound are manual:
SB I/O 0x220
WSS I/O 0x530
Adlib I/O 0x388
IRQ 5
1st DMA 0
2nd DMA 1
Considering that several of us have this problem with this hardware, it
seems like this may be a bug in the driver, or rather another workaround
that needs to be incorporated. I have tried the other patches like
reset_workaround, reset_workaround2, and vaio_hack, just to see if they
might help, but no luck. I am more than willing to try things out on my
hardware to help solve this problem, if anyone wants to tackle this.
Thanks,
Jabez
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/alsa-user