alsaconf: setup of soundchip VIA 8237 fails - SuSE-Linux 9.2

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

 



Dear people!
Without success I tried to set up my soundchip. I noted:
1. The alsa-driver via82xx is sharing IRQ 3 with ehci_hcd (related to 
the usb-system ??).
2. How could I prevent the usb-drivers from being loaded at boot?
3. How could I asign interrupts differently?
4. Is it at all possible that the soundchip's silence is related to the 
sharing of an interrupt? (The network device eth0 is sharing interrupt 
11 with two other modules (also usb I suppose) and all of them are 
working well...)
5. Could it be that the device file /dev/dsp0 does not communicate with 
the soundchip, but with something unknown to me? (alsaconf does not 
return any errors, despite of nothing to be heard)

Below some details (uname, lsmod, lspci etc. )

Thanks a lot for some helpful advice!

By the way: sound is working under Windows, so there's no broken hardware.


--- SOME DETAILS ---

*** Motherboard ***
ASRock K7VT4A Pro
Chipsets: North Bridge: VIA KT400A ; South Bridge: VIA VT8237

*** OS: SuSE Linux 9.2; Kernel: ***
 >uname -a
Linux sumpfmolch 2.6.8-24.24-default #1 Fri Jul 21 04:06:26 UTC 2006 
i686 athlon i386 GNU/Linux

*** alsa-version ***
 >rpm -q alsa
alsa-1.0.6-8


--- WHAT I DID ---

*** First: try a setup with alsaconf ***
  - alsaconf found the module  "via82xx" and the corresponding 
VIA-Soundchip VT8233/A/8235/8237 AC97
  - a short crackle is to be heard when alsa is setting up the module
  - /usr/share/sounds/alsa/test.wav is silently but successfully played
  - nontheless alsaconf wishes me to 'Have a lot of fun'

*** Second: checking messages  ***
 >tail /var/log/messages
Nov 14 18:49:43 sumpfmolch kernel: via82xx: Assuming DXS channels with 
48k fixed sample rate.
Nov 14 18:49:43 sumpfmolch kernel:          Please try dxs_support=1 or 
dxs_support=4 option
Nov 14 18:49:43 sumpfmolch kernel:          and report if it works on 
your machine.
Nov 14 18:49:43 sumpfmolch kernel: ACPI: PCI interrupt 0000:00:11.5[C] 
-> GSI 3 (level, low) -> IRQ 3
Nov 14 18:49:43 sumpfmolch kernel: PCI: Setting latency timer of device 
0000:00:11.5 to 64

*** Third: in yast set dxs_support=4 and dxs_support=1 as recommended by the
		above statement and again checking messages ***
 >tail /var/log/messages
Nov 14 18:54:02 sumpfmolch kernel: ACPI: PCI interrupt 0000:00:11.5[C] 
-> GSI 3 (level, low) -> IRQ 3
Nov 14 18:54:02 sumpfmolch kernel: PCI: Setting latency timer of device 
0000:00:11.5 to 64
Nov 14 18:54:11 sumpfmolch kernel: ACPI: PCI interrupt 0000:00:11.5[C] 
-> GSI 3 (level, low) -> IRQ 3
Nov 14 18:54:11 sumpfmolch kernel: PCI: Setting latency timer of device 
0000:00:11.5 to 64

*** Fourth: Trying the following yields silence ***
 >cat /usr/share/sounds/alsa/test.wav > /dev/dsp'

*** Rebooting does not solve the silence ***
less /var/log/boot.msg | grep sound
<notice>start services (sshd fbset alsasound)
Starting sound driver:  via82xxdone
Restoring the previous sound settingdone
<notice>exit status of (sshd fbset alsasound) is (0 0 0)

--- MORE DETAILS ---

 >cat /etc/modprobe.d/sound
options snd-via82xx dxs_support=4 enable=1 index=0
# uniq.virtual:VIA 823x rev60
alias snd-card-0 snd-via82xx

 >dd bs=8 count=4 < /dev/dsp
 >tail /var/log/messages:
Nov 14 19:37:10 sumpfmolch kernel: ALSA sound/core/pcm_lib.c:2487: 
capture read error (DMA or IRQ trouble?)

 >lsmod
Module                  Size  Used by
snd_seq                53008  0
nls_iso8859_1           4224  0
nls_cp437               5888  0
vfat                   13056  0
fat                    43168  1 vfat
usbserial              26856  0
nvram                   8328  0
parport_pc             37824  1
lp                     10536  0
parport                37960  2 parport_pc,lp
thermal                17928  0
processor              25640  1 thermal
fan                     5380  0
button                  8464  0
battery                11396  0
ac                      6404  0
snd_pcm_oss            57896  0
snd_mixer_oss          19200  1 snd_pcm_oss
ipv6                  237440  36
snd_via82xx            26276  0
snd_ac97_codec         69728  1 snd_via82xx
snd_pcm                96776  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec
snd_timer              24708  2 snd_seq,snd_pcm
snd_page_alloc         10248  2 snd_via82xx,snd_pcm
gameport                4608  1 snd_via82xx
snd_mpu401_uart         7552  1 snd_via82xx
snd_rawmidi            24356  1 snd_mpu401_uart
snd_seq_device          8716  2 snd_seq,snd_rawmidi
snd                    60164  10
snd_seq,snd_pcm_oss,snd_mixer_oss,snd_via82xx,snd_ac97_codec,snd_pcm,  \
								snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device
soundcore               9056  1 snd
af_packet              20872  2
edd                    10012  0
joydev                  9664  0
sg                     35744  0
st                     37404  0
sd_mod                 16912  0
sr_mod                 16292  0
ide_cd                 38176  0
cdrom                  36380  2 sr_mod,ide_cd
subfs                   7552  2
3c59x                  37544  0
via_rhine              19972  0
mii                     4992  1 via_rhine
ehci_hcd               29188  0
via_agp                 8960  1
agpgart                32168  1 via_agp
uhci_hcd               29712  0
sata_via                7428  0
libata                 41860  1 sata_via
scsi_mod              111052  5 sg,st,sd_mod,sr_mod,libata
evdev                   8960  0
usbcore               106852  5 usbserial,ehci_hcd,uhci_hcd
raid1                  15872  3
dm_mod                 54524  5
reiserfs              242000  5

 >lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400/KT600 
AGP] Host Bridge (rev 80)
0000:00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
0000:00:0b.0 Ethernet controller: 3Com Corporation 3c905C-TX/TX-M 
[Tornado] (rev 74)
0000:00:0f.0 RAID bus controller: VIA Technologies, Inc. VIA VT6420 SATA 
RAID Controller (rev 80)
0000:00:0f.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 
1.1 Controller (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 
1.1 Controller (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 
1.1 Controller (rev 81)
0000:00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 
1.1 Controller (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge 
[K8T800 South]
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. 
VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
0000:00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 
[Rhine-II] (rev 78)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc Radeon 
RV100 QY [Radeon 7000/VE]

 >cat /proc/modules | grep snd
snd_seq					 53008  0 -																			  Live 0xf9500000
snd_pcm_oss			 57896  0 -																			  Live 0xf9489000
snd_mixer_oss		 19200  1 snd_pcm_oss,													  Live 0xf9470000
snd_via82xx			 26276  0 -																				Live 0xf9385000
snd_ac97_codec	 69728  1 snd_via82xx,														Live 0xf93bb000
snd_pcm					 96776  3 snd_pcm_oss,snd_via82xx,snd_ac97_codec, Live 
0xf93a2000
snd_timer				 24708  2 snd_seq,snd_pcm,												Live 0xf937d000
snd_page_alloc	 10248  2 snd_via82xx,snd_pcm,										Live 0xf932c000
gameport				 4608   1 snd_via82xx,														Live 0xf9357000
snd_mpu401_uart	 7552   1 snd_via82xx,														Live 0xf9354000
snd_rawmidi			 24356  1 snd_mpu401_uart,												Live 0xf935d000
snd_seq_device	 8716   2 snd_seq,snd_rawmidi,										Live 0xf9350000
snd							 60164 10 snd_seq,snd_pcm_oss,snd_mixer_oss,\
											    snd_via82xx,snd_ac97_codec,snd_pcm, \
													snd_timer,snd_mpu401_uart,\
													snd_rawmidi,snd_seq_device,						  Live 0xf9364000
soundcore				 9056  1 snd,																			Live 0xf9330000

 >ls -l /dev/ | grep dsp
lrwxrwxrwx   1 root  root           5 Oct 31 17:00 adsp -> adsp0
crw-rw-rw-   1 root  root     14,  12 Oct  2  2004 adsp0
crw-rw-rw-   1 root  root     14,  28 Oct  2  2004 adsp1
crw-rw-rw-   1 root  root     14,  44 Oct  2  2004 adsp2
crw-rw-rw-   1 root  root     14,  60 Oct  2  2004 adsp3
lrwxrwxrwx   1 root  root           4 Nov 14 00:05 dsp -> dsp0
crw-rw-rw-   1 root  root     14,   3 Nov 13 22:50 dsp0
crw-rw-rw-   1 root  root     14,  19 Oct  2  2004 dsp1
crw-rw-rw-   1 root  root     14,  35 Oct  2  2004 dsp2
crw-rw-rw-   1 root  root     14,  51 Oct  2  2004 dsp3
crw-rw-rw-   1 root  root     55,   0 Oct  2  2004 dsp56k

 >cat /proc/interrupts
            CPU0
   0:    3533611          XT-PIC  timer
   1:       9436          XT-PIC  i8042
   2:          0          XT-PIC  cascade
   3:       3418          XT-PIC  ehci_hcd, VIA8233
   5:       5704          XT-PIC  eth1
   9:          0          XT-PIC  acpi
  10:          0          XT-PIC  libata, uhci_hcd, uhci_hcd
  11:          6          XT-PIC  uhci_hcd, uhci_hcd, eth0
  12:     157767          XT-PIC  i8042
  14:      24849          XT-PIC  ide0
  15:      25015          XT-PIC  ide1
NMI:          0
LOC:          0
ERR:          1
MIS:          0

-- 
Heinz Knoche
631heinz@xxxxxx

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
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