[Alsa-user] snd-intel8x0, no such device, IRQ 0

2003-07-22 Thread Gogulus

Hello,

  I've got a new laptop from my company, a Clevo 400S with a Hungarian
company's logo on it. It has SIS 650 Chipset, with SiS 7012 sound card.
 
  I've a hard time with it regardign sound card and pcmcia port. 

  The linux, which runs on it, is Debian Woody, kernel is 2.4.21 from
kernel.org, soundcore, as a module, exists. modprobe i810_audio fails on
it, so I wanted to give a try to ALSA.

  I've done everything written for intel8x0 set up, but when I do
modprobe snd-intel8x0, I get the following error:

  /lib/modules/2.4.21/kernel/sound/pci/snd-intel8x0.o: init_module: No
such deviceHint: insmod errors can be caused by incorrect module
parameters, including invalid IO or IRQ parameters.
  You may find more information in syslog or the output from dmesg
/lib/modules/2.4.21/kernel/sound/pci/snd-intel8x0.o: insmod
/lib/modules/2.4.21/kernel/sound/pci/snd-intel8x0.o failed
/lib/modules/2.4.21/kernel/sound/pci/snd-intel8x0.o: insmod snd-intel8x0
failed

  From dmesg, the last lines:

  PCI: No IRQ known for interrupt pin C of device 00:02.7.
  ALSA intel8x0.c:2332: unable to grab IRQ 0
  Intel ICH soundcard not found or device busy

  At previous try dmesg also said: try with pci=biosirq. so this trial
is with that setting.

  lspci -vvx for sound card says:

  00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
SiS7012 PCI Audio Accelerator (rev a0)
Subsystem: CLEVO/KAPOK Computer: Unknown device 0400
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
SERR- http://www.vmware.com/wl/offer/345/0
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user


re: Re: [Alsa-user] snd-intel8x0, no such device, IRQ 0

2003-07-22 Thread gogulus
I\'ve done what you wrote, downloaded the latest patch from acpi.sf.net for 2.4.21 
kernel, made the patching, make clean, make dep and make bzImage, make modules and 
make modules_install, but the situation is still the same.

Should I disable something for only making ACPI to work?

At the moment, ACPI relevant settings in kernels .config file:

CONFIG_HOTPLUG_PCI_ACPI=y

...

CONFIG_PM=y
CONFIG_ACPI=y
# CONFIG_ACPI_DEBUG is not set
CONFIG_ACPI_BUSMGR=y
CONFIG_ACPI_SYS=y
CONFIG_ACPI_CPU=y
CONFIG_ACPI_BUTTON=y
CONFIG_ACPI_AC=y
CONFIG_ACPI_EC=y
CONFIG_ACPI_CMBATT=y
CONFIG_ACPI_THERMAL=y
CONFIG_APM=m

From dmesg, ACPI specific messages are:

BIOS-e820: 1ddf - 1ddfb000 (ACPI data)
BIOS-e820: 1ddfb000 - 1de0 (ACPI NVS)

ACPI: Core Subsystem version [20011018]
ACPI: Subsystem enabled
EC: found, GPE 23
ACPI: System firmware supports S0 S3 S4 S5
Processor[0]: C0 C1, 8 throttling states
ACPI: AC Adapter found
ACPI: Power Button (FF) found
ACPI: Multiple power buttons detected, ignoring fixed-feature
ACPI: Power Button (CM) found
ACPI: Sleep Button (CM) found
ACPI: Lid Switch (CM) found

...

SiS pirq: advanced IDE/ACPI/DAQ mapping not yet implemented

...

acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.4



Can you tell me any other help?


> 
> Seems that the problem is in the pci irq routing which should be done through acpi 
> on this laptop.
> Appy latest patches from acpi.sf.net and try again with alsa; 
> no any \"PCI: No IRQ known for interrupt pin ..\" messges should be present in dmesg 
> after it.
> Absence of these messages will help with pcmcia too - it\'s the same problem.
> 
> Â ?? 22.07.2003, â 16:32, Gogulus ïèøåò:
> > Hello,
> > 
> >   I\'ve got a new laptop from my company, a Clevo 400S with a Hungarian
> > company\'s logo on it. It has SIS 650 Chipset, with SiS 7012 sound card.
> >  
> >   I\'ve a hard time with it regardign sound card and pcmcia port. 
> > 
> >   The linux, which runs on it, is Debian Woody, kernel is 2.4.21 from
> > kernel.org, soundcore, as a module, exists. modprobe i810_audio fails on
> > it, so I wanted to give a try to ALSA.
> > 
> >   I\'ve done everything written for intel8x0 set up, but when I do
> > modprobe snd-intel8x0, I get the following error:
> > 
> >   /lib/modules/2.4.21/kernel/sound/pci/snd-intel8x0.o: init_module: No
> > such deviceHint: insmod errors can be caused by incorrect module
> > parameters, including invalid IO or IRQ parameters.
> >   You may find more information in syslog or the output from dmesg
> > /lib/modules/2.4.21/kernel/sound/pci/snd-intel8x0.o: insmod
> > /lib/modules/2.4.21/kernel/sound/pci/snd-intel8x0.o failed
> > /lib/modules/2.4.21/kernel/sound/pci/snd-intel8x0.o: insmod snd-intel8x0
> > failed
> > 
> >   From dmesg, the last lines:
> > 
> >   PCI: No IRQ known for interrupt pin C of device 00:02.7.
> >   ALSA intel8x0.c:2332: unable to grab IRQ 0
> >   Intel ICH soundcard not found or device busy
> > 
> >   At previous try dmesg also said: try with pci=biosirq. so this trial
> > is with that setting.
> > 
> >   lspci -vvx for sound card says:
> > 
> >   00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS]
> > SiS7012 PCI Audio Accelerator (rev a0)
> > Subsystem: CLEVO/KAPOK Computer: Unknown device 0400
> > Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop-
> > ParErr- Stepping- SERR- FastB2B-
> > Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort-
> > SERR-  > Interrupt: pin C routed to IRQ 0
> > Region 0: I/O ports at 1400 [size=256]
> > Region 1: I/O ports at 1080 [size=128]
> > Capabilities: [48] Power Management version 2
> > Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=55mA
> > PME(D0-,D1-,D2-,D3hot+,D3cold+)
> > Status: D0 PME-Enable- DSel=0 DScale=0 PME-
> > 00: 39 10 12 70 01 00 90 02 a0 00 01 04 00 ad 00 00
> > 10: 01 14 00 00 81 10 00 00 00 00 00 00 00 00 00 00
> > 20: 00 00 00 00 00 00 00 00 00 00 00 00 58 15 00 04
> > 30: 00 00 00 00 48 00 00 00 00 00 00 00 ff 03 34 0b
> > 
> >   Can anyone help me out on what to set and where? It doesn\'t matter if
> > it needs a kernel recompilation, I can do it.
> > 
> >   I believe, I have the same problem with the pcmcia card, as it has
> > also IRQ 0...
> > 
> >   One more info: I\'ve made a try with 2.6.0-test1, and there sound card
> > and pcmcia bridge are both given IRQ5, so I believe, it can be a kernel
> > specific issue.
> > 
> >   Thanks in advan

re: re: re: Re: [Alsa-user] snd-intel8x0, no such device, IRQ 0

2003-07-23 Thread gogulus
Thank you Mike!

I had to find out that I made the acpi patch wrong, therefore at first these options 
you gave made no difference. When I did the patching again and done a make oldconfig 
and friends, both the sound card and pcmcia got IRQ 5, and now both are working.

You are a great man, I don\'t know how can I ever give this favor back to you.

Gogulus



> 
> Well, it seems that the most important thing is missed in your kernel configuration.
> I used linux-2.4.20-acpi20030524 patch, and among others there is CONFIG_ACPI_PCI 
> option, 
> which is responsible for the \"PCI IRQ routing through the ACPI\"..
> Try to add these options to your .config file in the /usr/src/linux-xxx directory 
> and rebuild the 
> kernel by using make oldconfig && make dep && ...
> CONFIG_ACPI_BOOT=y
> CONFIG_ACPI_BUS=y
> CONFIG_ACPI_INTERPRETER=y
> CONFIG_ACPI_PCI=y
> CONFIG_ACPI_SYSTEM=y
> 
> To be sure it\'s valid options for your kernel try to grep them into 
> /usr/src/linux/drivers/acpi/
> or look at the /usr/src/linux/drivers/acpi/pci_irq.c (and other pci_*.c files).
> 
> btw, CONFIG_ACPI_DEBUG=y may be also useful for the first time, 
> it just helps to see what\'s happening using dmesg messages.
> 
> Hope it helps!
> WBW,
> Mike.
> 
> Â ?? 23.07.2003, â 01:33, [EMAIL PROTECTED] ïèøåò:
> > I would like to thank you your help. I\\\'ve lost some weeks so far and no one 
> > could help so far.
> > 
> > Find it attached. I\\\'ve also put some other output into this package.
> > 
> > Gogulus
> > 
> > > Hmm... It\\\'s strange, could you send me full dmesg in gzipped format?
> > > 
> > > Â ?? 22.07.2003, â 20:01, [EMAIL PROTECTED] ïèøåò:
> > > > I\\\'ve done what you wrote, downloaded the latest patch from 
> > > > acpi.sf.net for 2.4.21 kernel, made the patching, make clean, make dep and 
> > > > make bzImage, make modules and make modules_install, but the situation is 
> > > > still the same.
> > > > 
> > > > Should I disable something for only making ACPI to work?
> > > > 
> > > > At the moment, ACPI relevant settings in kernels .config file:
> > > > 
> > > > CONFIG_HOTPLUG_PCI_ACPI=y
> > > > 
> > > > ...
> > > > 
> > > > CONFIG_PM=y
> > > > CONFIG_ACPI=y
> > > > # CONFIG_ACPI_DEBUG is not set
> > > > CONFIG_ACPI_BUSMGR=y
> > > > CONFIG_ACPI_SYS=y
> > > > CONFIG_ACPI_CPU=y
> > > > CONFIG_ACPI_BUTTON=y
> > > > CONFIG_ACPI_AC=y
> > > > CONFIG_ACPI_EC=y
> > > > CONFIG_ACPI_CMBATT=y
> > > > CONFIG_ACPI_THERMAL=y
> > > > CONFIG_APM=m
> > > > 
> > > > From dmesg, ACPI specific messages are:
> > > > 
> > > > BIOS-e820: 1ddf - 1ddfb000 (ACPI data)
> > > > BIOS-e820: 1ddfb000 - 1de0 (ACPI NVS)
> > > > 
> > > > ACPI: Core Subsystem version [20011018]
> > > > ACPI: Subsystem enabled
> > > > EC: found, GPE 23
> > > > ACPI: System firmware supports S0 S3 S4 S5
> > > > Processor[0]: C0 C1, 8 throttling states
> > > > ACPI: AC Adapter found
> > > > ACPI: Power Button (FF) found
> > > > ACPI: Multiple power buttons detected, ignoring fixed-feature
> > > > ACPI: Power Button (CM) found
> > > > ACPI: Sleep Button (CM) found
> > > > ACPI: Lid Switch (CM) found
> > > > 
> > > > ...
> > > > 
> > > > SiS pirq: advanced IDE/ACPI/DAQ mapping not yet implemented
> > > > 
> > > > ...
> > > > 
> > > > acpiphp: ACPI Hot Plug PCI Controller Driver version: 0.4
> > > > 
> > > > 
> > > > 
> > > > Can you tell me any other help?
> > > > 
> > > > 
> > > > > 
> > > > > Seems that the problem is in the pci irq routing which should be done 
> > > > > through acpi on this laptop.
> > > > > Appy latest patches from acpi.sf.net and try again with alsa; 
> > > > > no any \\\"PCI: No IRQ known for interrupt pin 
> > > > > ..\\\" messges should be present in dmesg after it.
> > > > > Absence of these messages will help with pcmcia too - it\\\'s 
> > > > > the same problem.
> > > > > 
> > > > > Â ?? 22.07.2003, â 16:32, Gogulus ïèøåò:

[Alsa-user] aplay not working

2003-07-30 Thread Gogulus
Hello,

 After installing snd-intel-8x0 for my Sis 7012 sound card in the 
laptop, and putting a link into /etc/rc2.d/ for /etc/init.d/alsasound 
startup script, sound server in Gnome 2.2 immediately works.

 I've noticed that at Gnome startup snd-pcm-oss module is loaded, so 
maybe it works with oss methods. That would not really worry me, but 
when I see play or aplay is not working, I get anxious on how to make 
them work.

 What I see is I type: play 
/usr/local/share/licq/sounds/icq/Message.wav, and I see on the screen:
Playing /usr/local/share/licq/sounds/icq/Message.wav

 But no sound is heard, and command prompt is not given back.

 The situtation is the same with aplay.

 When I call them with the parameter -N (for nonblocking mode), they 
both report that the sound card is busy. I believe oss emulation is 
causing this somehow, but don't really know what to do with it.

 Can anyone help me out on it, please?

 Thanks in advance,

 Gogulus



---
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa0013ave/direct;at.aspnet_072303_01/01
___
Alsa-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-user