Re: Sound on Acer Aspire ZWLMi notebook

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

 



Hi Pithball,

Some progress again today ...
I downloaded kernel source 2.6.18-rc3 this morning.
It compiled and installed quite easily. I did not make
much changes to 'make xconfig'. Only changed the processor
type to 'Pentium M'.

I booted the kernel, didn't spot any errors in fact.
But ... still no sound :(
The modules do get loaded ...

# uname -a
Linux localhost.localdomain 2.6.18-rc3 #1 Thu Aug 3 14:18:15 CEST 2006 i686 i686 i386 GNU/Linux
[root@localhost ~]# lsmod |grep snd
snd_hda_intel          18964  0
snd_hda_codec         150272  1 snd_hda_intel
snd_seq_dummy           4484  0
snd_seq_oss            33024  0
snd_seq_midi_event      8192  1 snd_seq_oss
snd_seq                51696  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device          8844  3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss            42752  0
snd_mixer_oss          17024  1 snd_pcm_oss
snd_pcm                76676  3 snd_hda_intel,snd_hda_codec,snd_pcm_oss
snd_timer              23428  2 snd_seq,snd_pcm
snd                    53124  9 snd_hda_intel,snd_hda_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore              10464  1 snd
snd_page_alloc         10632  2 snd_hda_intel,snd_pcm

Then I thought I also had to compile alsa sources again.
I had to make a change to Makefile.conf, because I have modversions.h in
.../include/config/modversion.h and not in .../include/linux/modversion.h
as the Makefile was expecting.
CFLAGS += -DMODVERSIONS -include
$(CONFIG_SND_KERNELDIR)/include/config/modversions.h

That KBUILD_BASENAME seems not to be defined. Although it occurs in some
Makefiles..
Does it make sense I'm trying to compile alsa again? Or should it just
work now?

JeeBee.


[root@localhost alsa-driver]# ./configure --with-sequencer=yes --with-isapnp=no --with-cards=hda-intel --with-kernel=/usr/src/kernels/linux-2.6.18-rc3
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... /root/alsa-source/alsa-driver
checking cross compile...
checking for directory with kernel source... /usr/src/kernels/linux-2.6.18-rc3
checking for directory with kernel build...
checking for kernel linux/version.h... yes
checking for kernel linux/autoconf.h... yes
checking for kernel version... 0.0.0
checking for GCC version... Kernel compiler: gcc 4.1.1 20060525 (Red Hat 4.1.1-1) Used compiler: gcc (GCC) 4.1.1 20060525 (Red Hat 4.1.1-1)
checking for built-in ALSA... no
checking for existing ALSA module... yes
checking for Red Hat kernel... auto
checking for Red Hat kernel... no
checking for SUSE kernel... auto
checking for SUSE kernel... no
checking for CONFIG_EXPERIMENTAL... 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 media/v4l2-dev.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... yes
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 exported symbol dump_stack... grep: /usr/src/kernels/linux-2.6.18-rc3/kernel/ksyms.c: No such file or directory
no
checking for kernel module symbol versions... yes
checking for PCI support in kernel... yes
checking for I2C driver in kernel... module
checking for firmware loader... yes
checking for directory to store kernel modules... /lib/modules/0.0.0/misc
checking for verbose procfs... on
checking for verbose printk... on
checking for debug level... none
checking for processor type... i686
checking for i386 machine type... default
checking for SMP... no
checking for ISA PnP driver in kernel... yes
checking for PnP driver in kernel... yes
checking for Kernel ISA-PnP support... yes
checking for strlcpy... yes
checking for snprintf... yes
checking for vsnprintf... yes
checking for scnprintf... yes
checking for sscanf... yes
checking for vmalloc_to_page... yes
checking for old kmod... no
checking for PDE... yes
checking for pci_set_consistent_dma_mask... yes
checking for pci_dev_present... yes
checking for msleep... yes
checking for msleep_interrupt... yes
checking for msecs_to_jiffies... yes
checking for tty->count is the atomic type... no
checking for io_remap_pfn_range... yes
checking for kcalloc... yes
checking for kstrdup... yes
checking for kzalloc... yes
checking for create_workqueue with flags... no
checking for saved_config_space in pci_dev... yes
checking for new pci_save_state... yes
checking for register_sound_special_device... yes
checking for old kill_fasync... no
checking for dma_addr_t... yes
checking for MUTEX macros... no
checking for driver version... 1.0.12rc1
checking for sequencer support... yes
checking for OSS/Free emulation... yes
checking for OSS PCM plugin system inclusion... yes
checking for RTC callback support in kernel... may be buggy, skipped
checking for HPET support... yes
checking for dynamic minor numbers... no
checking for support of old API... yes
checking for Procfs support... yes
checking for USB support... yes
checking for PnP suspend/resume... yes
checking for PC-Speaker hook... no
checking for kernel PCMCIA
checking for PCMCIA support... yes
checking for PC9800 support in kernel... no
checking for parallel port support... yes
checking for which soundcards to compile driver for... hda-intel
configure: creating ./config.status
config.status: creating version
config.status: creating Makefile.conf
config.status: creating snddevices
config.status: creating utils/alsa-driver.spec
config.status: creating utils/buildrpm
config.status: creating toplevel.config
config.status: creating utils/alsasound
config.status: creating utils/alsasound.posix
config.status: creating include/pci_ids_compat.h
config.status: creating include/config.h
config.status: include/config.h is unchanged
config.status: creating include/config1.h
config.status: include/config1.h is unchanged
config.status: creating include/version.h
config.status: include/version.h is unchanged
config.status: creating include/autoconf-extra.h
config.status: include/autoconf-extra.h is unchanged
Hacking autoconf.h...
[root@localhost alsa-driver]#                       


[root@localhost alsa-driver]# make
make[1]: Entering directory `/root/alsa-source/alsa-driver/acore'
gcc -D__KERNEL__ -DMODULE=1 -I/root/alsa-source/alsa-driver/include  -I/usr/src/kernels/linux-2.6.18-rc3/include -I/usr/src/kernels/linux-2.6.18-rc3/include/asm-i386/mach-default -O2 -mpreferred-stack-boundary=2 -march=i686 -Wdeclaration-after-statement -Wno-pointer-sign -DLINUX -Wall -Wstrict-prototypes -fomit-frame-pointer -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -pipe -DALSA_BUILD -nostdinc -iwithprefix include -DMODVERSIONS -include /usr/src/kernels/linux-2.6.18-rc3/include/config/modversions.h   -DEXPORT_SYMTAB -c memalloc.c
In file included from /usr/src/kernels/linux-2.6.18-rc3/include/linux/rwsem.h:24,
                 from /usr/src/kernels/linux-2.6.18-rc3/include/linux/kobject.h:24,
                 from /usr/src/kernels/linux-2.6.18-rc3/include/linux/device.h:15,
                 from /usr/src/kernels/linux-2.6.18-rc3/include/linux/pci.h:53,
                 from memalloc.inc:10,
                 from memalloc.c:1:
/usr/src/kernels/linux-2.6.18-rc3/include/asm/rwsem.h: In function ‘__down_read’:
/usr/src/kernels/linux-2.6.18-rc3/include/asm/rwsem.h:104: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/kernels/linux-2.6.18-rc3/include/asm/rwsem.h: In function ‘__down_write_nested’:
/usr/src/kernels/linux-2.6.18-rc3/include/asm/rwsem.h:156: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/kernels/linux-2.6.18-rc3/include/asm/rwsem.h: In function ‘__up_read’:
/usr/src/kernels/linux-2.6.18-rc3/include/asm/rwsem.h:198: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/kernels/linux-2.6.18-rc3/include/asm/rwsem.h:192: warning: unused variable ‘tmp’
/usr/src/kernels/linux-2.6.18-rc3/include/asm/rwsem.h: In function ‘__up_write’:
/usr/src/kernels/linux-2.6.18-rc3/include/asm/rwsem.h:224: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/kernels/linux-2.6.18-rc3/include/asm/rwsem.h: In function ‘__downgrade_write’:
/usr/src/kernels/linux-2.6.18-rc3/include/asm/rwsem.h:249: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
In file included from /usr/src/kernels/linux-2.6.18-rc3/include/linux/sched.h:57,
                 from /usr/src/kernels/linux-2.6.18-rc3/include/linux/module.h:9,
                 from /usr/src/kernels/linux-2.6.18-rc3/include/linux/device.h:19,
                 from /usr/src/kernels/linux-2.6.18-rc3/include/linux/pci.h:53,
                 from memalloc.inc:10,
                 from memalloc.c:1:
/usr/src/kernels/linux-2.6.18-rc3/include/asm/semaphore.h: In function ‘down’:
/usr/src/kernels/linux-2.6.18-rc3/include/asm/semaphore.h:105: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/kernels/linux-2.6.18-rc3/include/asm/semaphore.h: In function ‘down_interruptible’:
/usr/src/kernels/linux-2.6.18-rc3/include/asm/semaphore.h:130: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/kernels/linux-2.6.18-rc3/include/asm/semaphore.h: In function ‘down_trylock’:
/usr/src/kernels/linux-2.6.18-rc3/include/asm/semaphore.h:155: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
/usr/src/kernels/linux-2.6.18-rc3/include/asm/semaphore.h: In function ‘up’:
/usr/src/kernels/linux-2.6.18-rc3/include/asm/semaphore.h:179: error: expected ‘:’ or ‘)’ before ‘KBUILD_BASENAME’
make[1]: *** [memalloc.o] Error 1
make[1]: Leaving directory `/root/alsa-source/alsa-driver/acore'
make: *** [compile] Error 1



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux