Hi,

I'm still dealing with a legacy free laptop. It looks like the problem
is not going to be solved soon (not even with kernel 2.5).
What' happening briefly is that IRQ are not assigned so they are all
set to 0, so it happens for the sound card.

Now i went for a nasty hack and i hardcoded the IRQ in the kernel
pci_irq.c (specifically set to irq=10)

with the following results:
with the kernel modules and OSS free i can play the CDROM and play the
first fraction of a sound with sox complaining that cannot set the
srate to 44Khz so it goes to 48Khz.

Then i meda a  _clean_ kernel for alsa and compiled alsa with the
intel8x0 module. For some reason it does not load at boot time and with a 
manual insmod
i got all the modules inserted.
alsamixer, gamix, aumix, xmix, they all work with no problems.

But then when i try to play a sound i get this:
(and no sound of course. the cdrom as well does not work
cdda also reads with no problems but no sound coming out: of course
mixers are set with all outputs to 100%).

[I know, hardcoding is really the worst solution....but right is the
only way to test and to get some sound out of this machine...
Would it help, still speaking in bad terms to set in the same alsa
code the irq to the one i set in the kernel?]

any clue or any hint?
thenk you,
        marco trevisani

PS. Below some reports of my attempts.

------APLAY----------------------
aplay ./test.wav ALSA lib pcm_hw.c:602:(snd_pcm_hw_open) 
SNDRV_PCM_IOCTL_PVERSION failed: Inappropriate ioctl for device
aplay: main:446: audio open error: Inappropriate ioctl for device

--------- APLAY -l ------------
aplay -l
card 0: card0 [Intel ICH], device 0: Intel ICH [Intel ICH]
   Subdevices: 1/1
   Subdevice #0: subdevice #0


-----cat /proc/interrupts |grep Intel--------------
  10:          2          XT-PIC  Intel ICH

-------------lsmod-----------------------------------

Module                  Size  Used by    Tainted: P snd-seq-oss            
22768   0  (unused)
snd-seq-midi-event      2848   0  [snd-seq-oss]
snd-seq-dummy           1476   0  (unused)
snd-seq                36092   2  [snd-seq-oss snd-seq-midi-event
                                  snd-seq-dummy] snd-seq-device          
3848   0  [snd-seq-oss snd-seq]
snd-card-intel8x0       8232   0 snd-ac97-codec         22888   0  
[snd-card-intel8x0]
snd-pcm-oss            35040   0  (autoclean)
snd-pcm                47360   0  (autoclean) [snd-card-intel8x0 snd-pcm-oss]
snd-timer              10056   0  (autoclean) [snd-seq snd-pcm]
snd-mixer-oss           8968   0  (autoclean) [snd-pcm-oss]
snd                    24296   0  (autoclean) [snd-seq-oss
                                  snd-seq-midi-event snd-seq-dummy
                                  snd-seq 
snd-seq-device                            snd-card-intel8x0 snd-ac97-codec
                                  snd-pcm-oss snd-pcm 
snd-timer                                 snd-mixer-oss] 
soundcore               3500   5  (autoclean) [snd]

----------cat /proc/asound/sndstat----------------------

Sound Driver:3.8.1a-980706 (ALSA v0.9.0beta9 emulation code)
Kernel: Linux gramsci 2.4.16 #18 Sat Jan 5 18:25:15 AST 2002 i686
Config options: 0

Installed drivers: Type 10: ALSA emulation

Card config: Intel ICH at 0x1400, irq 10

Audio devices:
0: Intel ICH (DUPLEX)

Synth devices: NOT ENABLED IN CONFIG

Midi devices: NOT ENABLED IN CONFIG

Timers:
7: system timer

Mixers:
0: mixer00


*-------------------------------------------------------------------*
      marco trevisani   (to get the real email address take out "__")
email________________:  [EMAIL PROTECTED]      
Web________________:  http://trevisani.mine.nu   
      DeMuDi -- Debian Multimedia Distribution   
demudi email_________:  [EMAIL PROTECTED]              demudi 
web__________:  http://www.demudi.org            
      Digital Arts Festivals. Calls and reports <--NEW!!
D-Festival Web______:  http://festivals.webhop.org
*-------------------------------------------------------------------*

_______________________________________________
Alsa-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/alsa-devel

Reply via email to