Problem z karta muzyczna
Witam wszystkich
Jestem newbe, w zasadzie to moj pierwszy kontakt z linuksem, (kiedys mialem przez jakis czas ?mandrake?)
Mam problem z dzwiekiem, zainstalowalem sarga na laptopie hp zv5015, ale nie ma dzwieku gdy odplam xmms dostaje:
melon:~# xmms&
[1] 8941
melon:~#
** WARNING **: oss_open(): Failed to open audio device (/dev/dsp): No such device
wiec zmieniam wtyczeke na alsa i:
melon:~# xmms&
[1] 8438
melon:~#
** WARNING **: alsa_get_mixer(): Attaching to mixer hw:0 failed: No such device
Mysle wiec sobie ze nie mam zainstalowanej alsy, robie wiec tak
melon:/usr/src/alsa/alsa-driver-1.0.7# lspci | grep audio
0000:00:14.5 Multimedia audio controller: ATI Technologies Inc IXP150 AC'97 Audio Controller
Ide na strone projektu alsa, szukam mojego urzadzenia, jest i bardzo ladny opis instalacji
robie tak jak pisza
melon:/# modinfo soundcore
filename: /lib/modules/2.6.8-1-386/kernel/sound/soundcore.ko
description: Core sound module
author: Alan Cox
license: GPL
alias: char-major-14-*
vermagic: 2.6.8-1-386 preempt 386 gcc-3.3
depends:
ide dalej i dochodze do momentu
./configure --with-cards=atiixp --with-seq
checking for gcc... gcc
...
checking for directory with kernel source... /usr/src/linux
checking for directory with kernel build...
checking for kernel version... 2.6.8.1
checking for GCC version... Kernel compiler: gcc 3.3.4 (Debian 1:3.3.4-13) Used compiler: gcc (GCC) 3.3.4 (Debian 1:3.3.4-13)
checking for built-in ALSA... "yes"
configure: error: You have built-in ALSA in your kernel.
make all-deps
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.7'
make[1]: Nothing to be done for `all-deps'.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.7'
Please, run the configure script as first...
rm -f /snd*.*o /persist.o /isapnp.o
make[1]: Entering directory `/usr/src/alsa/alsa-driver-1.0.7/acore'
Makefile:6: /usr/src/alsa/alsa-driver-1.0.7/Makefile.conf: No such file or directory
make[1]: *** No rule to make target `/usr/src/alsa/alsa-driver-1.0.7/Makefile.conf'. Stop.
make[1]: Leaving directory `/usr/src/alsa/alsa-driver-1.0.7/acore'
make: *** [install-modules] Error 1
skoro mowi mi ze mam juz alsa built-in, to nie bede sie klocil, i sprawdzam sobie jakie mam zaladowane moduly
melon:~# lsmod
Module Size Used by
snd_pcm_oss 48168 0
nls_cp437 6016 1
ntfs 88660 1
snd_mixer_oss 16640 1 snd_pcm_oss
ipv6 229764 8
ds 17796 4
thermal 12944 0
fan 4236 0
button 6680 0
processor 17584 1 thermal
ac 5132 0
battery 9740 0
af_packet 20872 2
ehci_hcd 27908 0
eth1394 19976 0
yenta_socket 19200 0
pcmcia_core 63028 2 ds,yenta_socket
8139too 23936 0
8139cp 19072 0
mii 4864 2 8139too,8139cp
crc32 4608 2 8139too,8139cp
ohci1394 32004 0
snd_atiixp 19880 0
snd_ac97_codec 59268 1 snd_atiixp
snd_pcm 85384 2 snd_pcm_oss,snd_atiixp
snd_timer 23172 1 snd_pcm
snd 50660 6 snd_pcm_oss,snd_mixer_oss,snd_atiixp,snd_ac97_codec,snd_pcm,snd_timer
soundcore 9824 1 snd
snd_page_alloc 11144 2 snd_atiixp,snd_pcm
tsdev 7168 0
mousedev 9996 2
joydev 9536 0
usbhid 28864 0
ohci_hcd 19460 0
usbcore 104164 5 ehci_hcd,usbhid,ohci_hcd
pci_hotplug 30640 0
ati_agp 8332 1
agpgart 31784 1 ati_agp
parport_pc 31936 0
parport 37320 1 parport_pc
evdev 9088 0
capability 4872 0
commoncap 7168 1 capability
sr_mod 15780 0
sbp2 22408 0
scsi_mod 115148 2 sr_mod,sbp2
ieee1394 100408 3 eth1394,ohci1394,sbp2
ide_cd 38176 0
cdrom 35740 2 sr_mod,ide_cd
genrtc 9332 0
ext3 109544 1
jbd 54552 1 ext3
ide_generic 1664 0
ide_disk 16768 4
atiixp 8472 1
ide_core 125156 4 ide_cd,ide_generic,ide_disk,atiixp
unix 25908 47
font 8576 0
vesafb 6688 0
cfbcopyarea 3840 1 vesafb
cfbimgblt 3200 1 vesafb
cfbfillrect 3712 1 vesafb
jesli dobrze rozumiem, to snb_atiixp to wlasnie od alsy, wiec wyglada jak by byl zaladowany rzeczywiscie, ale dzwieku jak nie bylo tak nie ma:(
Znalazlem gdzies na google zeby apt-get install alsa-base alsa-utiels, i poznij alsaconf:
Running update-modules...
Loading driver...
Starting ALSA.../etc/init.d/alsa: Error: alsactl restore failed with message 'alsactl: load_state:1134: No soundcards found...'.
done.
Setting default volumes...
Saving the mixer setup used for this in /var/lib/alsa/asound.state.
/usr/sbin/alsactl: save_state:1061: No soundcards found...
===============================================================================
Now ALSA is ready to use.
For adjustment of volumes, use your favorite mixer.
Have a lot of fun!
Swoja droga nie na miejscu troche ten komunikat :P
Wklejam ten blad w google i nawet dosc duzo informacji na ten temat,(nawet odnosnie podobnego sprzetu) ale ja sie w tym momencie gubie,jest tego za duzo i do tego na kazdej stronce inne rozwiazanie, jest na przyklad zeby nie ladowc oss razem z oss, ale ja nie moge znalezc u siebie wpisow do modulow oss, inne pomysly tez probowalem, ale to takie chodzenie po omacku.
Prosil bym o jakies sugestie, sam tego nie dam rady zrobic:(
z gory dzieki
mateusz
PS Dolaczam jeszcze co mowi dmesg odnosnie ATI, moze cos ktos z tego wywnioskuje jest jakis blad -13:
#mesg |grep ATI
ATIIXP: IDE controller at PCI slot 0000:00:14.1
ATIIXP: chipset revision 0
ATIIXP: not 100% native mode: will probe irqs later
ohci_hcd 0000:00:13.0: PCI device 1002:4347 (ATI Technologies Inc)
ohci_hcd 0000:00:13.1: PCI device 1002:4348 (ATI Technologies Inc)
ATI IXP AC97 controller: probe of 0000:00:14.5 failed with error -13
melon:/var/log# dmesg |grep PCI
PCI: PCI BIOS revision 2.10 entry at 0xfd968, last bus=2
PCI: Using configuration type 1
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
PCI: Ignoring BAR0-3 of IDE controller 0000:00:14.1
PCI: Transparent bridge - 0000:00:14.4
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGPB._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
ACPI: PCI Interrupt Link [LNK0] (IRQs 5 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNK1] (IRQs 5 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNK2] (IRQs 5 10 11) *0, disabled.
ACPI: PCI Interrupt Link [LNK3] (IRQs 5 10 11) *0, disabled.
PCI: Using ACPI for IRQ routing
ACPI: PCI interrupt 0000:00:13.0[A] -> GSI 19 (level, low) -> IRQ 177
ACPI: PCI interrupt 0000:00:13.1[A] -> GSI 19 (level, low) -> IRQ 177
ACPI: PCI interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 185
ACPI: PCI interrupt 0000:00:14.5[B] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:00:14.6[B] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:01:05.0[A] -> GSI 16 (level, low) -> IRQ 185
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 185
ACPI: PCI interrupt 0000:02:03.0[A] -> GSI 19 (level, low) -> IRQ 177
ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 17 (level, low) -> IRQ 193
ACPI: PCI interrupt 0000:02:04.1[B] -> GSI 16 (level, low) -> IRQ 185
ACPI: PCI interrupt 0000:02:07.0[A] -> GSI 16 (level, low) -> IRQ 185
ACPI: PCI interrupt 0000:02:07.1[B] -> GSI 18 (level, low) -> IRQ 201
ACPI: PCI interrupt 0000:02:07.2[C] -> GSI 19 (level, low) -> IRQ 177
ACPI: PCI interrupt 0000:00:14.6[B] -> GSI 5 (level, low) -> IRQ 5
ATIIXP: IDE controller at PCI slot 0000:00:14.1
ACPI: PCI interrupt 0000:00:14.1[A] -> GSI 16 (level, low) -> IRQ 185
cpci_hotplug: CompactPCI Hot Plug Core version: 0.2
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
pciehp: acpi_pciehprm:\_SB_.PCI0 evaluate _BBN fail=0x5
pciehp: acpi_pciehprm:get_device PCI ROOT HID fail=0x5
shpchp: acpi_shpchprm:\_SB_.PCI0 evaluate _BBN fail=0x5
shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x5
ohci_hcd: 2004 Feb 02 USB 1.1 'Open' Host Controller (OHCI) Driver (PCI)
ACPI: PCI interrupt 0000:00:13.0[A] -> GSI 19 (level, low) -> IRQ 177
ohci_hcd 0000:00:13.0: PCI device 1002:4347 (ATI Technologies Inc)
ACPI: PCI interrupt 0000:00:13.1[A] -> GSI 19 (level, low) -> IRQ 177
ohci_hcd 0000:00:13.1: PCI device 1002:4348 (ATI Technologies Inc)
ACPI: PCI interrupt 0000:02:07.0[A] -> GSI 16 (level, low) -> IRQ 185
ACPI: PCI interrupt 0000:02:07.1[B] -> GSI 18 (level, low) -> IRQ 201
ACPI: PCI interrupt 0000:00:14.5[B] -> GSI 5 (level, low) -> IRQ 5
ACPI: PCI interrupt 0000:02:00.0[A] -> GSI 16 (level, low) -> IRQ 185
ohci1394: fw-host0: OHCI-1394 1.1 (PCI): IRQ=[185] MMIO=[e8206000-e82067ff] Max Packet=[2048]
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
ACPI: PCI interrupt 0000:02:03.0[A] -> GSI 19 (level, low) -> IRQ 177
ACPI: PCI interrupt 0000:02:04.0[A] -> GSI 17 (level, low) -> IRQ 193
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta: ISA IRQ mask 0x0e58, PCI irq 193
ACPI: PCI interrupt 0000:02:04.1[B] -> GSI 16 (level, low) -> IRQ 185
Yenta: Using CSCINT to route CSC interrupts to PCI
Yenta: Routing CardBus interrupts to PCI
Yenta: ISA IRQ mask 0x0e58, PCI irq 185
ACPI: PCI interrupt 0000:02:07.2[C] -> GSI 19 (level, low) -> IRQ 177
melon:/var/log# dmesg |grep PCI# ## ## #ati
Using ACPI (MADT) for SMP configuration information
Calibrating delay loop... 4767.74 BogoMIPS
calibrating APIC timer ...
PCI: Using configuration type 1
PnPBIOS: Found PnP BIOS installation structure at 0xc00f66e0
....... : arbitration: 01
ATIIXP: not 100% native mode: will probe irqs later
ohci_hcd 0000:02:07.0: NEC Corporation USB
ohci_hcd 0000:02:07.1: NEC Corporation USB (#2)
8139cp: pci dev 0000:02:03.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
ehci_hcd 0000:02:07.2: NEC Corporation USB 2.0
Reply to: