Sida 1 av 1

Inget ljud i Ubuntu

Postat: 26 maj 2009, 00:18
av Schoobami
Tjenare, jag har precis börjat att använda ubuntu på en daglig basis. Det är min första gång jag är inne i ubuntu världen så jag har inga förkunskaper om linuxsystem, dock kan jag googla.

Det första jag gjorde var att installera teman etc... Det slutade med conky och ett tema. Jag tog självklart lärdom av installerings proceduren,som tog ganska lång tid.

Det andra steget i min färd mot den utopiska linuxdisten Ubuntu var att få igång ljudet. Efter en stunds googling upptäckte jag att mitt ljudkort, vars namn jag redan visste(Creative X-Fi), hade enorma mängder av dålig respons, men kaxig som jag är så gav jag mig in i det. Och eftersom att jag vänder mig till er efter hjälp så kan det inte ha gått bra.

Jag har försökt att installera X-fi drivisarna men jag får alltid Error 1 eller Error 2

Nu har jag i princip gett upp hoppet om att få mitt Creative X-fi kort att fungera, och gett mig in i moderkortets ljudkort.

Så nu behöver jag hjälp med att få det fungera. Jag har postat så många loggar jag kan, hojta gärna till om det fattas någon.

MVH Knild
Inställering av X-fi drivrutiner:

Kod: Markera allt

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /opt/Creative/XFiDrv_Linux_US-1.18/drivers
checking cross compile... 
checking for directory with kernel source... /lib/modules/2.6.28-11-generic/build
checking for directory with kernel build... 
checking for directory with ALSA include files... /lib/modules/2.6.28-11-generic/build/include
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 2.6.28-11-generic
checking for GCC version... ./configure: eval: line 3527: syntax error near unexpected token `)'
./configure: eval: line 3527: `my_compiler_version=4.3.3-5ubuntu4)'
Kernel compiler:  Used compiler: gcc (Ubuntu 4.3.3-5ubuntu4) 4.3.3

*** NO PREDEFINED KERNEL COMPILER IS DETECTED
*** Assuming the same compiler is used with the current system compiler.

*** Please make sure that the same compiler version was used for building kernel.

checking for built-in ALSA... no
checking for existing ALSA module... yes
checking to modify of kernel linux/kmod.h... no
checking for kernel linux/compiler.h... yes
checking for kernel linux/pm.h... yes
checking for kernel linux/spinlock.h... yes
checking for kernel linux/irq.h... yes
checking for kernel linux/threads.h... yes
checking for kernel linux/rwsem.h... yes
checking for kernel linux/gameport.h... yes
checking for kernel linux/devfs_fs_kernel.h... no
Creating a dummy <linux/devfs_fs_kernel.h>...
checking for kernel linux/highmem.h... yes
checking for kernel linux/workqueue.h... yes
checking for kernel linux/dma-mapping.h... yes
checking for kernel asm/hw_irq.h... no
Creating a dummy <asm/hw_irq.h>...
checking for kernel linux/device.h... yes
checking for kernel linux/platform_device.h... yes
checking for kernel linux/jiffies.h... yes
checking for kernel linux/compat.h... yes
checking for kernel linux/adb.h... yes
checking for kernel linux/cuda.h... yes
checking for kernel linux/pmu.h... yes
checking for kernel linux/moduleparam.h... yes
checking for kernel linux/syscalls.h... yes
checking for kernel linux/firmware.h... yes
checking for kernel linux/err.h... yes
checking for kernel linux/bitmap.h... yes
checking for kernel linux/mutex.h... yes
checking for kernel module symbol versions... yes
checking for PCI support in kernel... yes
checking for I2C driver in kernel... yes
checking for firmware loader... yes
checking for input subsystem in kernel... yes
checking for directory to store kernel modules... /lib/modules/2.6.28-11-generic/kernel/sound
checking for ISA support in kernel... no
checking for processor type... x86_64
checking for ISA DMA API... yes
checking for 32bit compat support... yes
checking for SMP... yes
checking for Video device support in kernel... yes
checking for strlcpy... no
checking for snprintf... no
checking for vsnprintf... no
checking for scnprintf... no
checking for sscanf... no
checking for vmalloc_to_page... no
checking for old kmod... yes
checking for PDE... no
checking for pci_set_consistent_dma_mask... no
checking for pci_dev_present... no
checking for msleep... no
checking for msecs_to_jiffies... no
checking for tty->count is the atomic type... no
checking for video_get_drvdata... no
checking for io_remap_pfn_range... no
checking for new io_remap_page_range... no
checking for kcalloc... no
checking for kstrdup... no
checking for kzalloc... no
checking for create_workqueue with flags... no
checking for saved_config_space in pci_dev... no
checking for register_sound_special_device... no
checking for RTC callback support in kernel... no
checking for HPET support... yes
checking for Procfs support... yes
checking for class_simple... no
checking for old driver suspend/resume callbacks... no
checking for removal of page-reservation for nopage/mmap... no
checking for nested class_device... no
checking for new unlocked/compat_ioctl... no
configure: creating ./config.status
config.status: creating Makefile.conf
make: *** [all] Fel 2
make: *** [install] Fel 2
lspci

Kod: Markera allt

00:00.0 Host bridge: nVidia Corporation C55 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:00.2 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:00.3 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:00.4 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:00.5 RAM memory: nVidia Corporation C55 Memory Controller (rev a2)
00:00.6 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:00.7 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.0 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.1 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.2 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.3 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.4 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.5 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:01.6 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:02.0 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:02.1 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:02.2 RAM memory: nVidia Corporation C55 Memory Controller (rev a1)
00:03.0 PCI bridge: nVidia Corporation C55 PCI Express bridge (rev a1)
00:06.0 PCI bridge: nVidia Corporation C55 PCI Express bridge (rev a1)
00:07.0 PCI bridge: nVidia Corporation C55 PCI Express bridge (rev a1)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.2 RAM memory: nVidia Corporation MCP51 Memory Controller 0 (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev a1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:0f.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev a1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
01:00.0 VGA compatible controller: nVidia Corporation G80 [GeForce 8800 GTS] (rev a2)
04:08.0 Audio device: Creative Labs SB X-Fi
04:09.0 FireWire (IEEE 1394): VIA Technologies, Inc. VT6306 Fire II IEEE 1394 OHCI Link Layer Controller (rev c0)
lsmod | grep pcs

Kod: Markera allt

pcspkr                 11136  0
Min Alsa-konfiguration

Kod: Markera allt

http://www.alsa-project.org/db/?f=c2512a9cee77dc1ab1ad66a07bbe718e68a6c7fb
aplay -l

Kod: Markera allt

**** Lista över PLAYBACK hårdvaruenheter ****
kort 0: NVidia [HDA NVidia], enhet 0: ALC888 Analog [ALC888 Analog]
  Underordnade enheter: 0/1
  Underordnad enhet nr. 0: subdevice #0
kort 0: NVidia [HDA NVidia], enhet 1: ALC888 Digital [ALC888 Digital]
  Underordnade enheter: 1/1
  Underordnad enhet nr. 0: subdevice #0
kort 1: Generic [HD-Audio Generic], enhet 0: HDA Generic [HDA Generic]
  Underordnade enheter: 0/1
  Underordnad enhet nr. 0: subdevice #0
dmesg

Kod: Markera allt

[   14.215003] ctxfi: disagrees about version of symbol snd_ctl_add
[   14.215005] ctxfi: Unknown symbol snd_ctl_add
[   14.215064] ctxfi: disagrees about version of symbol snd_pcm_new
[   14.215065] ctxfi: Unknown symbol snd_pcm_new
[   14.215126] ctxfi: disagrees about version of symbol snd_card_register
[   14.215127] ctxfi: Unknown symbol snd_card_register
[   14.215188] ctxfi: disagrees about version of symbol snd_card_free
[   14.215189] ctxfi: Unknown symbol snd_card_free
[   14.215249] ctxfi: disagrees about version of symbol snd_pcm_lib_preallocate_pages_for_all
[   14.215251] ctxfi: Unknown symbol snd_pcm_lib_preallocate_pages_for_all
[   14.215332] ctxfi: disagrees about version of symbol snd_pcm_hw_constraint_minmax
[   14.215333] ctxfi: Unknown symbol snd_pcm_hw_constraint_minmax
[   14.215445] ctxfi: disagrees about version of symbol snd_ctl_new1
[   14.215447] ctxfi: Unknown symbol snd_ctl_new1
[   14.215559] ctxfi: Unknown symbol snd_card_new
[   14.215619] ctxfi: disagrees about version of symbol snd_pcm_lib_malloc_pages
[   14.215620] ctxfi: Unknown symbol snd_pcm_lib_malloc_pages
[   14.215682] ctxfi: disagrees about version of symbol snd_pcm_lib_ioctl
[   14.215684] ctxfi: Unknown symbol snd_pcm_lib_ioctl
[   14.215748] ctxfi: disagrees about version of symbol snd_pcm_lib_free_pages
[   14.215749] ctxfi: Unknown symbol snd_pcm_lib_free_pages
[   14.215829] ctxfi: disagrees about version of symbol snd_ctl_notify
[   14.215830] ctxfi: Unknown symbol snd_ctl_notify
[   14.215889] ctxfi: disagrees about version of symbol snd_pcm_set_ops
[   14.215890] ctxfi: Unknown symbol snd_pcm_set_ops
[   14.215972] ctxfi: disagrees about version of symbol snd_device_new
[   14.215974] ctxfi: Unknown symbol snd_device_new
[   14.216074] ctxfi: disagrees about version of symbol snd_pcm_hw_constraint_integer
[   14.216076] ctxfi: Unknown symbol snd_pcm_hw_constraint_integer
[   14.216194] ctxfi: disagrees about version of symbol snd_pcm_period_elapsed
[   14.216196] ctxfi: Unknown symbol snd_pcm_period_elapsed
lspci -n

Kod: Markera allt

00:00.0 0600: 10de:03a2 (rev a2)
00:00.1 0500: 10de:03ac (rev a1)
00:00.2 0500: 10de:03aa (rev a1)
00:00.3 0500: 10de:03a9 (rev a1)
00:00.4 0500: 10de:03ab (rev a1)
00:00.5 0500: 10de:03a8 (rev a2)
00:00.6 0500: 10de:03b5 (rev a1)
00:00.7 0500: 10de:03b4 (rev a1)
00:01.0 0500: 10de:03ad (rev a1)
00:01.1 0500: 10de:03ae (rev a1)
00:01.2 0500: 10de:03af (rev a1)
00:01.3 0500: 10de:03b0 (rev a1)
00:01.4 0500: 10de:03b1 (rev a1)
00:01.5 0500: 10de:03b2 (rev a1)
00:01.6 0500: 10de:03b3 (rev a1)
00:02.0 0500: 10de:03b6 (rev a1)
00:02.1 0500: 10de:03bc (rev a1)
00:02.2 0500: 10de:03ba (rev a1)
00:03.0 0604: 10de:03b7 (rev a1)
00:06.0 0604: 10de:03b9 (rev a1)
00:07.0 0604: 10de:03bb (rev a1)
00:09.0 0500: 10de:0270 (rev a2)
00:0a.0 0601: 10de:0260 (rev a3)
00:0a.1 0c05: 10de:0264 (rev a3)
00:0a.2 0500: 10de:0272 (rev a3)
00:0b.0 0c03: 10de:026d (rev a3)
00:0b.1 0c03: 10de:026e (rev a3)
00:0d.0 0101: 10de:0265 (rev a1)
00:0e.0 0101: 10de:0266 (rev a1)
00:0f.0 0101: 10de:0267 (rev a1)
00:10.0 0604: 10de:026f (rev a2)
00:10.1 0403: 10de:026c (rev a2)
00:14.0 0680: 10de:0269 (rev a3)
01:00.0 0300: 10de:0193 (rev a2)
04:08.0 0403: 1102:0005
04:09.0 0c00: 1106:3044 (rev c0)

Re: Inget ljud i Ubuntu

Postat: 27 maj 2009, 13:11
av bbauto
Tycker inte du ska ge upp så lätt! :)
Här ser du lite vad som har hänt, vad som är på gång...
Det verkar finnas drivrutiner för OSS, så du kanske måste installera OSS för att få det att fungera.
Läser du sen längs ned i artikeln så verkar det nu faktiskt finnas en fungerande drivrutin till ALSA.
http://www.phoronix.com/scan.php?page=n ... &px=NzI3MA

Drivaren heter: snd-ctxfi
Mer info:
http://mailman.alsa-project.org/piperma ... 17332.html

Sen får vi hoppas att alla ljudproblem är över en gång för alla till hösten!?
http://opensource.idg.se/2.1014/1.23191 ... pulseaudio

Mer info:
http://www.h-online.com/open/Kernel-Log ... ews/113340

Re: Inget ljud i Ubuntu

Postat: 28 maj 2009, 13:14
av Schoobami
bbauto skrev:Tycker inte du ska ge upp så lätt! :)
Här ser du lite vad som har hänt, vad som är på gång...
Det verkar finnas drivrutiner för OSS, så du kanske måste installera OSS för att få det att fungera.
Läser du sen längs ned i artikeln så verkar det nu faktiskt finnas en fungerande drivrutin till ALSA.
http://www.phoronix.com/scan.php?page=n ... &px=NzI3MA

Drivaren heter: snd-ctxfi
Mer info:
http://mailman.alsa-project.org/piperma ... 17332.html

Sen får vi hoppas att alla ljudproblem är över en gång för alla till hösten!?
http://opensource.idg.se/2.1014/1.23191 ... pulseaudio

Mer info:
http://www.h-online.com/open/Kernel-Log ... ews/113340
Lyckades fortfarande inte. Jag gick in i http://mailman.alsa-project.org/piperma ... 17332.html. Ladda ner: The corresponding alsa-driver snapshot tarball. Gjorde följande:

Kod: Markera allt

./configure --with-cards=ctxfi
make
make install
Jag fick inga errors, men nu blir min aplay -l följande:

Kod: Markera allt

aplay: device_list:217: inga ljudkort hittades...
Och
alsamixer

Kod: Markera allt

alsamixer: function snd_ctl_open failed for default: No such file or directory
lspci | grep audio

Kod: Markera allt

 ingen output
Kan det ha med att jag har OSS installerat? Isåfall hur tar jag bort det?

Knild

Re: Inget ljud i Ubuntu

Postat: 28 maj 2009, 13:30
av bbauto
Lyckades fortfarande inte. Jag gick in i http://mailman.alsa-project.org/piperma ... 17332.html. Ladda ner: The corresponding alsa-driver snapshot tarball. Gjorde följande:

Kod: Markera allt

./configure --with-cards=ctxfi
make
make install
Det där är den gamla drivaren...
Den nya heter "snd-ctxfi" Lite svårt för mig eftersom jag inte har detta kortet...
Jag föreslår att du startar en ny tråd typ "Problem med Creative X-fi / snd-ctxfi"
Så kanske du kan få napp lättare!?