* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card?
@ 2008-01-07 18:40 Darryl House
2008-01-08 7:35 ` John Stile
0 siblings, 1 reply; 32+ messages in thread
From: Darryl House @ 2008-01-07 18:40 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, john
Ok, here's the current state of affairs... both the compilation and driver seem to work well now, though I haven't tested SPDIF yet. I don't know why both John Stile and I were getting ioctl errors, perhaps if it is still happening to him he can elucidate, but it isn't happening to me any more with the latest build.
I obtained and built a clean mercurial clone this morning (07 Jan 08):
%> cd /usr/src
%> rm -rf alsa-driver
%> hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver
%> cd alsa-driver
%> hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel
%> hgcompile
[...] compilation proceeds cleanly...
%> make install
%> alsaconf
[...] select card and configure it via alsamixer
Lo and belold, it all worked! I have a clean compilation and good response from aplay and other user space tools.
I haven't applied any patches, and I haven't been able to test SPDIF input yet but I'm betting John Stile should be able to report that faster than I can get to it...
Thank you very much for your help with this and for all of the work you and the ALSA team do!
-- Darryl
-------------- Original message ----------------------
From: Takashi Iwai <tiwai@suse.de>
> At Wed, 02 Jan 2008 22:31:19 +0000,
> Darryl House wrote:
> >
> >
> > -------------- Original message ----------------------
> > [...]
> > > > I'd like to get this card's spdif working. What else can I do to help?
> > > > Although the driver loads, the user space tools can't use the card any
> > > > more. Thank you.
> > > >
> > > Should I assume at this point no more work will be done on the
> > > snd-hda-intel driver to fixing SPDIF-in for the vt1708 sound card?
> > > Thank you for all your work so far.
> > >
> >
> > I think it is a bit early to make that assumption. There isn't a lot
> > of demand for this particular card, but it doesn't seem that it
> > will take too much work to get it going again... after all, it did
> > basically work before the last patch, and I am hoping that Takashi
> > will find some time soon to address the issues.
>
> Hm, I see no obvious error in the patch. Are you sure that the latest
> HG driver works properly if you don't apply the patch?
>
> Let's begin with that.
>
>
> Takashi
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 32+ messages in thread* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2008-01-07 18:40 snd-hda-intel support for SPDIF-in wiht vt1708 card? Darryl House @ 2008-01-08 7:35 ` John Stile 2008-01-08 7:42 ` Takashi Iwai 0 siblings, 1 reply; 32+ messages in thread From: John Stile @ 2008-01-08 7:35 UTC (permalink / raw) To: Darryl House; +Cc: Takashi Iwai, alsa-devel Wow. Thank you. These steps built just fine, and I can play audio files cd /usr/src rm -rf alsa-driver hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver cd alsa-driver hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel ./hgcompile make install alsaconfig aplay /usr/share/sounds/alsa/Front_Center.wav I can see the following running: alsamixer -Vall ┌──┐ │OO│ L└──┘R CAPTUR IEC958 arecord -L shows iec958:CARD=VT82xx,DEV=0 HDA VIA VT82xx, VT1708 Digital IEC958 (S/PDIF) Digital Audio Output null Discard all samples (playback) or generate zero samples (capture) arecord -D iec958 -fDAT |aplay ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM IEC958 arecord: main:546: audio open error: No such file or directory aplay: playback:2019: read error My obstacle is getting the proper syntax for reading from spdif, as I have never done it successfully. Advice? On Mon, 2008-01-07 at 18:40 +0000, Darryl House wrote: > Ok, here's the current state of affairs... both the compilation and driver seem to work well now, though I haven't tested SPDIF yet. I don't know why both John Stile and I were getting ioctl errors, perhaps if it is still happening to him he can elucidate, but it isn't happening to me any more with the latest build. > > I obtained and built a clean mercurial clone this morning (07 Jan 08): > > %> cd /usr/src > %> rm -rf alsa-driver > %> hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver > %> cd alsa-driver > %> hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel > %> hgcompile > > [...] compilation proceeds cleanly... > > %> make install > > %> alsaconf > [...] select card and configure it via alsamixer > > Lo and belold, it all worked! I have a clean compilation and good response from aplay and other user space tools. > > I haven't applied any patches, and I haven't been able to test SPDIF input yet but I'm betting John Stile should be able to report that faster than I can get to it... > > Thank you very much for your help with this and for all of the work you and the ALSA team do! > > -- Darryl > > -------------- Original message ---------------------- > From: Takashi Iwai <tiwai@suse.de> > > At Wed, 02 Jan 2008 22:31:19 +0000, > > Darryl House wrote: > > > > > > > > > -------------- Original message ---------------------- > > > [...] > > > > > I'd like to get this card's spdif working. What else can I do to help? > > > > > Although the driver loads, the user space tools can't use the card any > > > > > more. Thank you. > > > > > > > > > Should I assume at this point no more work will be done on the > > > > snd-hda-intel driver to fixing SPDIF-in for the vt1708 sound card? > > > > Thank you for all your work so far. > > > > > > > > > > I think it is a bit early to make that assumption. There isn't a lot > > > of demand for this particular card, but it doesn't seem that it > > > will take too much work to get it going again... after all, it did > > > basically work before the last patch, and I am hoping that Takashi > > > will find some time soon to address the issues. > > > > Hm, I see no obvious error in the patch. Are you sure that the latest > > HG driver works properly if you don't apply the patch? > > > > Let's begin with that. > > > > > > Takashi > > _______________________________________________ > > Alsa-devel mailing list > > Alsa-devel@alsa-project.org > > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel > _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2008-01-08 7:35 ` John Stile @ 2008-01-08 7:42 ` Takashi Iwai 2008-01-08 8:21 ` John Stile 0 siblings, 1 reply; 32+ messages in thread From: Takashi Iwai @ 2008-01-08 7:42 UTC (permalink / raw) To: John Stile; +Cc: Darryl House, alsa-devel At Mon, 07 Jan 2008 23:35:22 -0800, John Stile wrote: > > Wow. Thank you. > These steps built just fine, and I can play audio files > cd /usr/src > rm -rf alsa-driver > hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver > cd alsa-driver > hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel > ./hgcompile > make install > alsaconfig > aplay /usr/share/sounds/alsa/Front_Center.wav > > I can see the following running: alsamixer -Vall > ┌──┐ > │OO│ > L└──┘R > CAPTUR > IEC958 > > arecord -L shows > iec958:CARD=VT82xx,DEV=0 > HDA VIA VT82xx, VT1708 Digital > IEC958 (S/PDIF) Digital Audio Output null > Discard all samples (playback) or generate zero samples (capture) > > arecord -D iec958 -fDAT |aplay > ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM IEC958 > arecord: main:546: audio open error: No such file or directory > aplay: playback:2019: read error Do you have any ~/.asoundrc or /etc/asound.conf or whatever? Remove this once. Takashi ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2008-01-08 7:42 ` Takashi Iwai @ 2008-01-08 8:21 ` John Stile 2008-01-08 16:38 ` John Stile 0 siblings, 1 reply; 32+ messages in thread From: John Stile @ 2008-01-08 8:21 UTC (permalink / raw) To: Takashi Iwai; +Cc: Darryl House, alsa-devel On Tue, 2008-01-08 at 08:42 +0100, Takashi Iwai wrote: > At Mon, 07 Jan 2008 23:35:22 -0800, > John Stile wrote: > > > > Wow. Thank you. > > These steps built just fine, and I can play audio files > > cd /usr/src > > rm -rf alsa-driver > > hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver > > cd alsa-driver > > hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel > > ./hgcompile > > make install > > alsaconfig > > aplay /usr/share/sounds/alsa/Front_Center.wav > > > > I can see the following running: alsamixer -Vall > > ┌──┐ > > │OO│ > > L└──┘R > > CAPTUR > > IEC958 > > > > arecord -L shows > > iec958:CARD=VT82xx,DEV=0 > > HDA VIA VT82xx, VT1708 Digital > > IEC958 (S/PDIF) Digital Audio Output null > > Discard all samples (playback) or generate zero samples (capture) > > > > arecord -D iec958 -fDAT |aplay > > ALSA lib pcm.c:2145:(snd_pcm_open_noupdate) Unknown PCM IEC958 > > arecord: main:546: audio open error: No such file or directory > > aplay: playback:2019: read error > > Do you have any ~/.asoundrc or /etc/asound.conf or whatever? > Remove this once. > I had a /etc/conf.d/alsasound which I removed, but no ~/.asoundrc or /etc/asound.conf. _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2008-01-08 8:21 ` John Stile @ 2008-01-08 16:38 ` John Stile 2008-01-08 16:50 ` Takashi Iwai 0 siblings, 1 reply; 32+ messages in thread From: John Stile @ 2008-01-08 16:38 UTC (permalink / raw) To: Takashi Iwai; +Cc: Darryl House, alsa-devel On Tue, 2008-01-08 at 00:21 -0800, John Stile wrote: > On Tue, 2008-01-08 at 08:42 +0100, Takashi Iwai wrote: > > Do you have any ~/.asoundrc or /etc/asound.conf or whatever? > > Remove this once. > > > I had a /etc/conf.d/alsasound which I removed, but no ~/.asoundrc > or /etc/asound.conf. Thank you for all this help. Is the problem with recording digital-in because both digital and analog capture devices have the same identity (i.e. both are hw:0,1)? Below, /proc/asound/card0/pcm1c/info is the digtial capture device, but can it be referenced via a '-D' parameter to arecord. cat /proc/asound/cards 0 [VT82xx ]: HDA-Intel - HDA VIA VT82xx HDA VIA VT82xx at 0x9fffc000 irq 20 cat /proc/asound/devices 0: [ 0] : control 1: : sequencer 4: [ 0- 0]: hardware dependent 16: [ 0- 0]: digital audio playback 17: [ 0- 1]: digital audio playback 24: [ 0- 0]: digital audio capture 25: [ 0- 1]: digital audio capture 33: : timer cat /proc/asound/pcm 00-01: VT1708 Digital : VT1708 Digital : playback 1 : capture 1 00-00: VT1708 Analog : VT1708 Analog : playback 1 : capture 2 NOTE: I don't see a pcm device i can play from ls -alF /proc/asound/card0 total 0 dr-xr-xr-x 6 root root 0 Jan 8 08:23 ./ dr-xr-xr-x 5 root root 0 Jan 8 08:19 ../ -r--r--r-- 1 root root 0 Jan 8 08:23 codec#0 -r--r--r-- 1 root root 0 Jan 8 08:23 id -rw-r--r-- 1 root root 0 Jan 8 08:23 oss_mixer dr-xr-xr-x 4 root root 0 Jan 8 08:23 pcm0c/ dr-xr-xr-x 3 root root 0 Jan 8 08:23 pcm0p/ dr-xr-xr-x 3 root root 0 Jan 8 08:23 pcm1c/ dr-xr-xr-x 3 root root 0 Jan 8 08:23 pcm1p/ I need to reference either pcm0c or pcm1c, I think. cat pcm1c/info card: 0 device: 1 subdevice: 0 stream: CAPTURE id: VT1708 Digital name: VT1708 Digital subname: subdevice #0 class: 0 subclass: 0 subdevices_count: 1 subdevices_avail: 1 This is the analog capture device: cat /proc/asound/card0/pcm0c/info card: 0 device: 0 subdevice: 0 stream: CAPTURE id: VT1708 Analog name: VT1708 Analog subname: subdevice #0 class: 0 subclass: 0 subdevices_count: 2 subdevices_avail: 2 This is the digital capture device: cat /proc/asound/card0/pcm1c/info card: 0 device: 1 subdevice: 0 stream: CAPTURE id: VT1708 Digital name: VT1708 Digital subname: subdevice #0 class: 0 subclass: 0 subdevices_count: 1 subdevices_avail: 1 ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2008-01-08 16:38 ` John Stile @ 2008-01-08 16:50 ` Takashi Iwai 2008-01-08 17:57 ` John Stile 0 siblings, 1 reply; 32+ messages in thread From: Takashi Iwai @ 2008-01-08 16:50 UTC (permalink / raw) To: John Stile; +Cc: Darryl House, alsa-devel At Tue, 08 Jan 2008 08:38:48 -0800, John Stile wrote: > > On Tue, 2008-01-08 at 00:21 -0800, John Stile wrote: > > On Tue, 2008-01-08 at 08:42 +0100, Takashi Iwai wrote: > > > Do you have any ~/.asoundrc or /etc/asound.conf or whatever? > > > Remove this once. > > > > > I had a /etc/conf.d/alsasound which I removed, but no ~/.asoundrc > > or /etc/asound.conf. > Thank you for all this help. > > Is the problem with recording digital-in because both digital and analog > capture devices have the same identity (i.e. both are hw:0,1)? Possible. But, I suspect rather it's your configuration problem. Are you using the latest HG version of alsa-lib, too? (Don't use emerge and some voodoo for gentoo, but do simply install from scratch...) Takashi ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2008-01-08 16:50 ` Takashi Iwai @ 2008-01-08 17:57 ` John Stile 2008-01-09 7:39 ` Takashi Iwai 0 siblings, 1 reply; 32+ messages in thread From: John Stile @ 2008-01-08 17:57 UTC (permalink / raw) To: Takashi Iwai; +Cc: Darryl House, alsa-devel On Tue, 2008-01-08 at 17:50 +0100, Takashi Iwai wrote: > At Tue, 08 Jan 2008 08:38:48 -0800, > John Stile wrote: > > > > On Tue, 2008-01-08 at 00:21 -0800, John Stile wrote: > > > On Tue, 2008-01-08 at 08:42 +0100, Takashi Iwai wrote: > > > > Do you have any ~/.asoundrc or /etc/asound.conf or whatever? > > > > Remove this once. > > > > > > > I had a /etc/conf.d/alsasound which I removed, but no ~/.asoundrc > > > or /etc/asound.conf. > > Thank you for all this help. > > > > Is the problem with recording digital-in because both digital and analog > > capture devices have the same identity (i.e. both are hw:0,1)? > > Possible. But, I suspect rather it's your configuration problem. > Are you using the latest HG version of alsa-lib, too? (Don't use > emerge and some voodoo for gentoo, but do simply install from > scratch...) Ok. I'm trying to get all this right. I removed all alsa gentoo packages and verified with 'eix -I alsa' No matches found. No alsa binaries found on the system. I rebuilt all alsa from HG checkout this morning (alsa-lib, alsa-util, alsa-driver) with this procedure: cd /usr/src/ rm -rf alsa-lib hg clone http://hg-mirror.alsa-project.org/alsa-lib alsa-lib pushd alsa-lib ./hgcompile && make install popd hg clone http://hg-mirror.alsa-project.org/alsa-utils alsa-utils pushd alsa-utils aclocal -I m4 && autoconf ./hgcompile && make install popd rm -rf alsa-driver hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver pushd alsa-driver hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel ./hgcompile This fails ending in: gcc utils/mod-deps.c -o utils/mod-deps utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-driver --versiondep /usr/src/alsa-driver/kconfig-vers --makeconf > toplevel.config.in can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-driver --versiondep /usr/src/alsa-driver/kconfig-vers --acinclude > acinclude.m4 can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-driver --versiondep /usr/src/alsa-driver/kconfig-vers --include > include/config1.h.in can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK ./configure --with-debug=full --with-isapnp=yes --with-sequencer=yes 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 ISO C89... 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 grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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... /usr/src/alsa-driver checking cross compile... checking for directory with kernel source... /lib/modules/2.6.23-gentoo-r4/source checking for directory with kernel build... /lib/modules/2.6.23-gentoo-r4/build checking for kernel linux/version.h... yes checking for kernel linux/autoconf.h... yes checking for kernel version... 2.6.23-gentoo-r4 checking for GCC version... Kernel compiler: gcc 4.1.2 (Gentoo 4.1.2 p1.0.2) Used compiler: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) checking for built-in ALSA... no checking for existing ALSA module... no 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 for kernel linux/config.h... no Creating <linux/config.h>... checking to modify of kernel linux/kmod.h... no checking for kernel linux/utsrelease.h... yes 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/isa.h... yes checking for kernel linux/jiffies.h... yes checking for kernel linux/compat.h... yes checking for kernel linux/log2.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 linux/latency.h... yes checking for kernel linux/kthread.h... yes checking for kernel asm/irq_regs.h... yes checking for kernel linux/seq_file.h... yes checking for kernel module symbol versions... yes checking for has ioport support... yes checking for PCI support in kernel... yes checking for I2C driver in kernel... unknown checking for firmware loader... module checking for input subsystem in kernel... yes checking for directory to store kernel modules... /lib/modules/2.6.23-gentoo-r4/kernel/sound checking for verbose procfs... on checking for verbose printk... on checking for debug level... full checking for ISA support in kernel... yes checking for processor type... x86_32 checking for i386 machine type... default checking for ISA DMA API... yes checking for SMP... yes checking for Video device support in kernel... 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 driver version... 1.0.15 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... yes checking for HPET support... no 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 class_simple... no checking for old driver suspend/resume callbacks... no checking for removal of page-reservation for nopage/mmap... yes checking for nested class_device... yes checking for new IRQ handler... yes checking for gfp_t... yes checking for PnP suspend/resume... yes checking for new unlocked/compat_ioctl... yes checking for x86-compatible PC... yes checking for High-Res timers... no checking for kernel PCMCIA checking for PCMCIA support... no checking for PCMCIA module support... no checking for PC9800 support in kernel... no checking for parallel port support... yes checking for power management... yes checking for CONFIG_HAS_DMA... yes checking for which soundcards to compile driver for... all configure: creating ./config.status config.status: creating version config.status: creating Makefile.conf config.status: WARNING: Makefile.conf.in seems to ignore the --datarootdir setting 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/i2c-id_compat.h config.status: creating include/config.h config.status: creating include/config1.h config.status: creating include/version.h config.status: creating include/autoconf-extra.h if [ ! -d include/sound -a ! -L include/sound ]; then \ ln -sf ../alsa-kernel/include include/sound ; \ fi cp -puvf include/version.h include/sound/version.h `include/version.h' -> `include/sound/version.h' make[1]: Entering directory `/usr/src/alsa-driver/acore' copying file alsa-kernel/core/info.c patching file info.c Hunk #2 FAILED at 21. Hunk #3 succeeded at 156 (offset -1 lines). Hunk #4 succeeded at 168 (offset -1 lines). Hunk #5 succeeded at 178 (offset -1 lines). Hunk #6 succeeded at 209 (offset -1 lines). Hunk #7 succeeded at 494 (offset -1 lines). Hunk #8 succeeded at 534 with fuzz 2 (offset -1 lines). Hunk #9 succeeded at 993 (offset -1 lines). Hunk #10 succeeded at 1022 (offset -1 lines). 1 out of 10 hunks FAILED -- saving rejects to file info.c.rej make[1]: *** [info.c] Error 1 make[1]: Leaving directory `/usr/src/alsa-driver/acore' make: *** [dep] Error 1 ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2008-01-08 17:57 ` John Stile @ 2008-01-09 7:39 ` Takashi Iwai [not found] ` <1199873213.9681.50.camel@genx.localdomain> 0 siblings, 1 reply; 32+ messages in thread From: Takashi Iwai @ 2008-01-09 7:39 UTC (permalink / raw) To: John Stile; +Cc: Darryl House, alsa-devel At Tue, 08 Jan 2008 09:57:10 -0800, John Stile wrote: > > On Tue, 2008-01-08 at 17:50 +0100, Takashi Iwai wrote: > > At Tue, 08 Jan 2008 08:38:48 -0800, > > John Stile wrote: > > > > > > On Tue, 2008-01-08 at 00:21 -0800, John Stile wrote: > > > > On Tue, 2008-01-08 at 08:42 +0100, Takashi Iwai wrote: > > > > > Do you have any ~/.asoundrc or /etc/asound.conf or whatever? > > > > > Remove this once. > > > > > > > > > I had a /etc/conf.d/alsasound which I removed, but no ~/.asoundrc > > > > or /etc/asound.conf. > > > Thank you for all this help. > > > > > > Is the problem with recording digital-in because both digital and analog > > > capture devices have the same identity (i.e. both are hw:0,1)? > > > > Possible. But, I suspect rather it's your configuration problem. > > Are you using the latest HG version of alsa-lib, too? (Don't use > > emerge and some voodoo for gentoo, but do simply install from > > scratch...) > > Ok. I'm trying to get all this right. > > I removed all alsa gentoo packages and verified with 'eix -I alsa' > No matches found. > No alsa binaries found on the system. Thanks. > I rebuilt all alsa from HG checkout this morning (alsa-lib, alsa-util, > alsa-driver) with this procedure: > cd /usr/src/ > rm -rf alsa-lib > hg clone http://hg-mirror.alsa-project.org/alsa-lib alsa-lib > pushd alsa-lib > ./hgcompile && make install > popd > hg clone http://hg-mirror.alsa-project.org/alsa-utils alsa-utils > pushd alsa-utils > aclocal -I m4 && autoconf > ./hgcompile && make install hgcompile would do autoconf, etc, so you don't have to call it manually. > popd > rm -rf alsa-driver > hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver > pushd alsa-driver > hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel > ./hgcompile You can put alsa-driver and alsa-kernel in the same directory level. Make in alsa-driver will create a symlink automatically from ../alsa-kernel. > > This fails ending in: (snip) > make[1]: Entering directory `/usr/src/alsa-driver/acore' > copying file alsa-kernel/core/info.c > patching file info.c > Hunk #2 FAILED at 21. > Hunk #3 succeeded at 156 (offset -1 lines). > Hunk #4 succeeded at 168 (offset -1 lines). > Hunk #5 succeeded at 178 (offset -1 lines). > Hunk #6 succeeded at 209 (offset -1 lines). > Hunk #7 succeeded at 494 (offset -1 lines). > Hunk #8 succeeded at 534 with fuzz 2 (offset -1 lines). > Hunk #9 succeeded at 993 (offset -1 lines). > Hunk #10 succeeded at 1022 (offset -1 lines). > 1 out of 10 hunks FAILED -- saving rejects to file info.c.rej > make[1]: *** [info.c] Error 1 > make[1]: Leaving directory `/usr/src/alsa-driver/acore' > make: *** [dep] Error 1 By any reason, the alsa-driver tree appears inconsistent with alsa-kernel tree. Could you pull again? If it still doesn't work, try hg.alsa-project.org instead. Or try my daily snapshot tarball. You can use configure instead of hgcompile there. ftp://ftp.suse.com/pub/projects/alsa/snapshot/driver/ Takashi ^ permalink raw reply [flat|nested] 32+ messages in thread
[parent not found: <1199873213.9681.50.camel@genx.localdomain>]
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? [not found] ` <1199873213.9681.50.camel@genx.localdomain> @ 2008-01-09 16:29 ` Takashi Iwai 2008-01-09 17:49 ` John Stile 0 siblings, 1 reply; 32+ messages in thread From: Takashi Iwai @ 2008-01-09 16:29 UTC (permalink / raw) To: John Stile; +Cc: alsa-devel At Wed, 09 Jan 2008 02:06:53 -0800, John Stile wrote: > > On Wed, 2008-01-09 at 08:39 +0100, Takashi Iwai wrote: > > Thanks. > You are welcome. Thank you for your patience. > > > You can put alsa-driver and alsa-kernel in the same directory level. > > Make in alsa-driver will create a symlink automatically from > > ../alsa-kernel. > My procedure is changed: > cd /usr/src/ > rm -rf alsa-lib > rm -rf alsa-utils > rm -rf alsa-driver > rm -rf alsa-driver > hg clone http://hg-mirror.alsa-project.org/alsa-lib alsa-lib > hg clone http://hg-mirror.alsa-project.org/alsa-utils alsa-utils > hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel > hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver > pushd alsa-lib > ./hgcompile && make install To be sure: you are using 32bit version, right? For 64bit, the library path might be /usr/lib64, instead of /usr/lib (depending on distro). > popd > pushd alsa-utils > ./hgcompile && make install > popd > cd alsa-driver > ./hgcompile && make install > popd > # Build completed successfully. Yay. > /usr/sbin/alsaconf > # Chose 'hda-intel VIA Technologies, Inc. VIA High Definition Audio Controller" > /usr/bin/alsamixer -Vall So far so good. > > IEC958 shows > ┌──┐ > │MM│ > L└──┘R > CAPTUR > > There are 2 'CAPTURE' columns where I maxed levels. > 'Input So' is set to 'Stereo M' Attach the generated file via "alsactl -f somefile store" instead of ascii art. This contains the all mixer information. > Play tests all work > songs="/usr/share/sounds/alsa/Front_Right.wav > /usr/share/sounds/alsa/Rear_Right.wav > /usr/share/sounds/alsa/Rear_Left.wav > /usr/share/sounds/alsa/Rear_Center.wav > /usr/share/sounds/alsa/Front_Left.wav > /usr/share/sounds/alsa/Noise.wav > /usr/share/sounds/alsa/Side_Right.wav > /usr/share/sounds/alsa/Side_Left.wav > /usr/share/sounds/alsa/Front_Center.wav" > echo "not setting hardware" > for song in $songs; > do > aplay $song > done > > arecord -l > **** List of CAPTURE Hardware Devices **** > card 0: VT82xx [HDA VIA VT82xx], device 0: VT1708 Analog [VT1708 Analog] > Subdevices: 2/2 > Subdevice #0: subdevice #0 > Subdevice #1: subdevice #1 > card 0: VT82xx [HDA VIA VT82xx], device 1: VT1708 Digital [VT1708 > Digital] > Subdevices: 1/1 > Subdevice #0: subdevice #0 > > One digital device is listed with: arecord -L > iec958:CARD=VT82xx,DEV=0 > HDA VIA VT82xx, VT1708 Digital > IEC958 (S/PDIF) Digital Audio Output > null > Discard all samples (playback) or generate zero samples (capture) > > Arecord without specifying -D makes a pulsing screech. > arecord -d 10 -f dat -t wav |aplay > > This records 10 seconds and ends in an I/O error: > arecord -D hw:0,1 -d 10 -f dat -t wav |aplay > > Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo > Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo > arecord: pcm_read:1324: read error: Input/output error > > All these record tests fail. > arecord -D cards.pcm.Digital -d 10 -f dat -t wav |aplay > ALSA lib pcm.c:2121:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.Digital > arecord: main:540: audio open error: No such file or directory > aplay: playback:1995: read error > > arecord -D cards.pcm.iec958 -d 10 -f dat -t wav |aplay > > ALSA lib dlmisc.c:118:(snd_dlsym_verify) unable to verify version for symbol _snd_pcm_hook_ctl_elems_install > ALSA lib pcm_hooks.c:392:(snd_pcm_hook_add_conf) symbol _snd_pcm_hook_ctl_elems_install is not defined inside (null) > arecord: main:540: audio open error: No such device or address > aplay: playback:1995: read error > > arecord -D hwplug:0,1 -d 10 -f dat -t wav |aplay > > ALSA lib pcm.c:2121:(snd_pcm_open_noupdate) Unknown PCM hwplug:0,1 > arecord: main:540: audio open error: No such file or directory > aplay: playback:1995: read error It's a user error :) The usage below, -D plug:spdif, is correct, though. > arecord -D plug:spdif -d 10 -f dat -t wav |aplay > > ALSA lib dlmisc.c:118:(snd_dlsym_verify) unable to verify version for symbol _snd_pcm_hook_ctl_elems_install OK, this is a bug in the recent alsa-lib. I fixed it now on HG tree. Please update your alsa-lib repo (maybe better from hg.alsa-project.org). Takashi ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2008-01-09 16:29 ` Takashi Iwai @ 2008-01-09 17:49 ` John Stile 0 siblings, 0 replies; 32+ messages in thread From: John Stile @ 2008-01-09 17:49 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel [-- Attachment #1: Type: text/plain, Size: 3278 bytes --] On Wed, 2008-01-09 at 17:29 +0100, Takashi Iwai wrote: > To be sure: you are using 32bit version, right? > For 64bit, the library path might be /usr/lib64, instead of /usr/lib > (depending on distro). Yes. 32 bit. find / -name "*64*" < nothing found > My gentoo /etc/make.conf contains CHOST="i686-pc-linux-gnu" CFLAGS="-march=i686 -mmmx -msse -msse2 -O2 -pipe -fomit-frame-pointer" > So far so good. > > > > > IEC958 shows > > ┌──┐ > > │MM│ > > L└──┘R > > CAPTUR Yay! > Attach the generated file via "alsactl -f somefile store" instead of > ascii art. This contains the all mixer information. Sorry. alsactl -f /etc/asound.state store asound.state file attached. > It's a user error :) The usage below, -D plug:spdif, is correct, > though. > > arecord -D plug:spdif -d 10 -f dat -t wav |aplay > > > > ALSA lib dlmisc.c:118:(snd_dlsym_verify) unable to verify version for symbol _snd_pcm_hook_ctl_elems_install > > OK, this is a bug in the recent alsa-lib. > I fixed it now on HG tree. Please update your alsa-lib repo (maybe > better from hg.alsa-project.org). I re-pulled alsa-lib, and now: arecord -D plug:spdif -d 10 -f dat -t wav |aplay And arecord -D cards.pcm.iec958 -d 10 -f dat -t wav |aplay In both cases, I hear nothing, and they end with the same output: Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo arecord: pcm_read:1324: read error: Input/output error I re-pulled alsa-lib, built successfully, and retry record, with same error: rm -rf alsa-lib hg clone http://hg.alsa-project.org/alsa-lib alsa-lib pushd alsa-lib ./hgcompile && make install popd arecord -D plug:spdif -d 10 -f dat -t wav |aplay At this point, should I pull from your daily builds? I retried arecord with verbose mode on: arecord -v -D plug:spdif -d 10 -f dat -t wav |aplay Recording WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo Plug PCM: Hooks PCM Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 48000 exact rate : 48000 (48000/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 85333 tstamp_mode : NONE period_step : 1 avail_min : 4096 start_threshold : 1 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 1073741824 Slave: Hardware PCM card 0 'HDA VIA VT82xx' device 1 subdevice 0 Its setup is: stream : CAPTURE access : RW_INTERLEAVED format : S16_LE subformat : STD channels : 2 rate : 48000 exact rate : 48000 (48000/1) msbits : 16 buffer_size : 16384 period_size : 4096 period_time : 85333 tstamp_mode : NONE period_step : 1 avail_min : 4096 start_threshold : 1 stop_threshold : 16384 silence_threshold: 0 silence_size : 0 boundary : 1073741824 Playing WAVE 'stdin' : Signed 16 bit Little Endian, Rate 48000 Hz, Stereo arecord: pcm_read:1324: read error: Input/output error [-- Attachment #2: asound.state --] [-- Type: text/plain, Size: 5377 bytes --] state.VT82xx { control.1 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -4025 comment.dbmax 1400 iface MIXER name 'Master Front Playback Volume' value.0 26 value.1 26 } control.2 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Master Front Playback Switch' value.0 true value.1 true } control.3 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 27' comment.dbmin -4725 comment.dbmax 0 iface MIXER name 'Front Playback Volume' value.0 23 value.1 23 } control.4 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Front Playback Switch' value.0 true value.1 true } control.5 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -4025 comment.dbmax 1400 iface MIXER name 'Mic Playback Volume' value.0 26 value.1 26 } control.6 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Mic Playback Switch' value.0 false value.1 false } control.7 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' comment.dbmin -4025 comment.dbmax 1400 iface MIXER name 'Line Playback Volume' value.0 26 value.1 26 } control.8 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Line Playback Switch' value.0 true value.1 true } control.9 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 20' comment.dbmin 0 comment.dbmax 3500 iface MIXER name 'Capture Volume' value.0 20 value.1 20 } control.10 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' value.0 true value.1 true } control.11 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 20' comment.dbmin 0 comment.dbmax 3500 iface MIXER name 'Capture Volume' index 1 value.0 20 value.1 20 } control.12 { comment.access 'read write' comment.type BOOLEAN comment.count 2 iface MIXER name 'Capture Switch' index 1 value.0 true value.1 true } control.13 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 'Stereo Mixer' comment.item.1 Mic comment.item.2 Line iface MIXER name 'Input Source' value Line } control.14 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Con Mask' value '0fff000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.15 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Pro Mask' value '0f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.16 { comment.access 'read write' comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.17 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Playback Switch' value false } control.18 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Capture Switch' value true } control.19 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Capture Default' value '0400000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.20 { comment.access 'read write user' comment.type INTEGER comment.count 2 comment.range '0 - 255' comment.tlv '0000000100000008ffffec1400000014' comment.dbmin -5100 comment.dbmax 0 iface MIXER name 'PCM Playback Volume' value.0 210 value.1 210 } control.21 { comment.access 'read write user' comment.type INTEGER comment.count 2 comment.range '0 - 120' comment.tlv '0000000100000008fffff44800000032' comment.dbmin -3000 comment.dbmax 3000 iface MIXER name 'Digital Capture Volume' value.0 116 value.1 116 } } [-- Attachment #3: Type: text/plain, Size: 160 bytes --] _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card?
@ 2008-01-02 22:31 Darryl House
2008-01-02 22:38 ` John Stile
2008-01-07 13:43 ` Takashi Iwai
0 siblings, 2 replies; 32+ messages in thread
From: Darryl House @ 2008-01-02 22:31 UTC (permalink / raw)
To: alsa-devel; +Cc: tiwai, john
-------------- Original message ----------------------
[...]
> > I'd like to get this card's spdif working. What else can I do to help?
> > Although the driver loads, the user space tools can't use the card any
> > more. Thank you.
> >
> Should I assume at this point no more work will be done on the
> snd-hda-intel driver to fixing SPDIF-in for the vt1708 sound card?
> Thank you for all your work so far.
>
I think it is a bit early to make that assumption. There isn't a lot of demand for this particular card, but it doesn't seem that it will take too much work to get it going again... after all, it did basically work before the last patch, and I am hoping that Takashi will find some time soon to address the issues. As of this moment, I assume you're in the same boat I'm in, where the user space tools report an inappropriate ioctl for the device.
-- Darryl
^ permalink raw reply [flat|nested] 32+ messages in thread* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2008-01-02 22:31 Darryl House @ 2008-01-02 22:38 ` John Stile 2008-01-07 13:43 ` Takashi Iwai 1 sibling, 0 replies; 32+ messages in thread From: John Stile @ 2008-01-02 22:38 UTC (permalink / raw) To: Darryl House; +Cc: tiwai, alsa-devel On Wed, 2008-01-02 at 22:31 +0000, Darryl House wrote: > -------------- Original message ---------------------- > [...] > > > I'd like to get this card's spdif working. What else can I do to help? > > > Although the driver loads, the user space tools can't use the card any > > > more. Thank you. > > > > > Should I assume at this point no more work will be done on the > > snd-hda-intel driver to fixing SPDIF-in for the vt1708 sound card? > > Thank you for all your work so far. > > > > I think it is a bit early to make that assumption. There isn't a lot > of demand for this particular card, but it doesn't seem that it will > take too much work to get it going again... after all, it did > basically work before the last patch, and I am hoping that Takashi > will find some time soon to address the issues. As of this moment, I > assume you're in the same boat I'm in, where the user space tools > report an inappropriate ioctl for the device. Yes. I'm in the same boat. ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2008-01-02 22:31 Darryl House 2008-01-02 22:38 ` John Stile @ 2008-01-07 13:43 ` Takashi Iwai 1 sibling, 0 replies; 32+ messages in thread From: Takashi Iwai @ 2008-01-07 13:43 UTC (permalink / raw) To: Darryl House; +Cc: alsa-devel, john At Wed, 02 Jan 2008 22:31:19 +0000, Darryl House wrote: > > > -------------- Original message ---------------------- > [...] > > > I'd like to get this card's spdif working. What else can I do to help? > > > Although the driver loads, the user space tools can't use the card any > > > more. Thank you. > > > > > Should I assume at this point no more work will be done on the > > snd-hda-intel driver to fixing SPDIF-in for the vt1708 sound card? > > Thank you for all your work so far. > > > > I think it is a bit early to make that assumption. There isn't a lot > of demand for this particular card, but it doesn't seem that it > will take too much work to get it going again... after all, it did > basically work before the last patch, and I am hoping that Takashi > will find some time soon to address the issues. Hm, I see no obvious error in the patch. Are you sure that the latest HG driver works properly if you don't apply the patch? Let's begin with that. Takashi ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card?
@ 2007-12-21 22:59 Darryl House
0 siblings, 0 replies; 32+ messages in thread
From: Darryl House @ 2007-12-21 22:59 UTC (permalink / raw)
To: Takashi Iwai; +Cc: alsa-devel, john
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain, Size: 4314 bytes --]
Well, I spoke too soon... with or without the via patch, I now get an error from the driver about an inappropriate ioctl for the device while KDE is trying to start the sound system.
On a command line, madplay and aplay return this:
#> aplay /usr/share/sounds/KDE_Glass_Break.ogg
#> ALSA lib pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
#> aplay: main:546: audio open error: Device or resource busy
#> aplay /usr/share/sounds/pop.wav
#> ALSA lib pcm_dmix.c:866:(snd_pcm_dmix_open) unable to open slave
#> aplay: main:546: audio open error: Device or resource busy
#> madplay /usr/share/sounds/KDE_Glass_Break.ogg
#> MPEG Audio Decoder 0.15.2 (beta) - Copyright © 2000-2004 Robert Leslie et al.
#> audio: /dev/dsp: Device or resource busy
#> madplay /usr/share/sounds/pop.wav
#> MPEG Audio Decoder 0.15.2 (beta) - Copyright © 2000-2004 Robert Leslie et al.
#> audio: /dev/dsp: Device or resource busy
alsaconf correctly detects the VT1708, and alsamixer and alsactl all seem to work correctly.
I've tried obtaining and installing the latest mercurial clone of alsa-lib,
and I've tried this with or without the patch_via.c patch below.
Am I doing something wrong?
-- Darryl
-------------- Original message ----------------------
From: forumjunk@comcast.net (Darryl House)
> The patch fixed all compilation errors for me, thank you. I did have to apply it
> manually, but that was rather simple.
>
> I can confirm that SPDIF input doesn't work for the card, but I haven't applied
> the patch that you suggested to John Stile for that, yet. I'll do that a bit
> later today if you still recommend it
>
> Is this patch still recommended?
>
> > diff -r 2d3893cf030c pci/hda/patch_via.c
> > --- a/pci/hda/patch_via.c Tue Dec 18 15:42:53 2007 +0100
> > +++ b/pci/hda/patch_via.c Tue Dec 18 17:48:00 2007 +0100
> > @@ -568,25 +568,27 @@ static int via_init(struct hda_codec *co
> > if (IS_VT1708_VENDORID(codec->vendor_id)) {
> > snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0,
> > AC_VERB_SET_PIN_WIDGET_CONTROL,
> > - 0x40);
> > + PIN_OUT);
> > snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0,
> > AC_VERB_SET_EAPD_BTLENABLE, 0x02);
> > } else if (IS_VT1709_10CH_VENDORID(codec->vendor_id) ||
> > IS_VT1709_6CH_VENDORID(codec->vendor_id)) {
> > snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0,
> > AC_VERB_SET_PIN_WIDGET_CONTROL,
> > - 0x40);
> > + PIN_OUT);
> > snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0,
> > AC_VERB_SET_EAPD_BTLENABLE, 0x02);
> > } else if (IS_VT1708B_8CH_VENDORID(codec->vendor_id) ||
> > IS_VT1708B_4CH_VENDORID(codec->vendor_id)) {
> > snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0,
> > AC_VERB_SET_PIN_WIDGET_CONTROL,
> > - 0x40);
> > + PIN_OUT);
> > snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0,
> > AC_VERB_SET_EAPD_BTLENABLE, 0x02);
> > }
> > - }
> > + } else /* enable SPDIF-input pin */
> > + snd_hda_codec_write(codec, spec->autocfg.dig_in_pin, 0,
> > + AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN);
> >
> > return 0;
> > }
>
> Thanks again!
>
> -- Darryl
>
>
> -------------- Original message ----------------------
> From: Takashi Iwai <tiwai@suse.de>
> [...]
> > Thanks. Does the patch below fix the probelm?
> > Run hgcompile after applying it.
> >
> >
> > Takashi
> >
> > diff -r 414b1156a8b3 configure.in
> > --- a/configure.in Tue Dec 18 16:09:20 2007 +0100
> > +++ b/configure.in Fri Dec 21 12:10:53 2007 +0100
> > @@ -1230,7 +1230,7 @@ esac
> >
> > dnl set ia32 (X86)
> > case "$processor" in
> > - i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*)
> > + i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*|x86_32)
> > if $KCC -mpreferred-stack-boundary=2 -S -o /dev/null -xc /dev/null
> > >/dev/null 2>&1; then
> > c_opts="-mpreferred-stack-boundary=2 $c_opts"
> > CONFIG_X86=y
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel@alsa-project.org
> > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
>
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@alsa-project.org
> http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
Alsa-devel mailing list
Alsa-devel@alsa-project.org
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
^ permalink raw reply [flat|nested] 32+ messages in thread* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? @ 2007-12-21 19:09 Darryl House 0 siblings, 0 replies; 32+ messages in thread From: Darryl House @ 2007-12-21 19:09 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel The patch fixed all compilation errors for me, thank you. I did have to apply it manually, but that was rather simple. I can confirm that SPDIF input doesn't work for the card, but I haven't applied the patch that you suggested to John Stile for that, yet. I'll do that a bit later today if you still recommend it Is this patch still recommended? > diff -r 2d3893cf030c pci/hda/patch_via.c > --- a/pci/hda/patch_via.c Tue Dec 18 15:42:53 2007 +0100 > +++ b/pci/hda/patch_via.c Tue Dec 18 17:48:00 2007 +0100 > @@ -568,25 +568,27 @@ static int via_init(struct hda_codec *co > if (IS_VT1708_VENDORID(codec->vendor_id)) { > snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0, > AC_VERB_SET_PIN_WIDGET_CONTROL, > - 0x40); > + PIN_OUT); > snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0, > AC_VERB_SET_EAPD_BTLENABLE, 0x02); > } else if (IS_VT1709_10CH_VENDORID(codec->vendor_id) || > IS_VT1709_6CH_VENDORID(codec->vendor_id)) { > snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0, > AC_VERB_SET_PIN_WIDGET_CONTROL, > - 0x40); > + PIN_OUT); > snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0, > AC_VERB_SET_EAPD_BTLENABLE, 0x02); > } else if (IS_VT1708B_8CH_VENDORID(codec->vendor_id) || > IS_VT1708B_4CH_VENDORID(codec->vendor_id)) { > snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0, > AC_VERB_SET_PIN_WIDGET_CONTROL, > - 0x40); > + PIN_OUT); > snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0, > AC_VERB_SET_EAPD_BTLENABLE, 0x02); > } > - } > + } else /* enable SPDIF-input pin */ > + snd_hda_codec_write(codec, spec->autocfg.dig_in_pin, 0, > + AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN); > > return 0; > } Thanks again! -- Darryl -------------- Original message ---------------------- From: Takashi Iwai <tiwai@suse.de> [...] > Thanks. Does the patch below fix the probelm? > Run hgcompile after applying it. > > > Takashi > > diff -r 414b1156a8b3 configure.in > --- a/configure.in Tue Dec 18 16:09:20 2007 +0100 > +++ b/configure.in Fri Dec 21 12:10:53 2007 +0100 > @@ -1230,7 +1230,7 @@ esac > > dnl set ia32 (X86) > case "$processor" in > - i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*) > + i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*|x86_32) > if $KCC -mpreferred-stack-boundary=2 -S -o /dev/null -xc /dev/null > >/dev/null 2>&1; then > c_opts="-mpreferred-stack-boundary=2 $c_opts" > CONFIG_X86=y > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@alsa-project.org > http://mailman.alsa-project.org/mailman/listinfo/alsa-devel ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? @ 2007-12-20 19:17 forumjunk 0 siblings, 0 replies; 32+ messages in thread From: forumjunk @ 2007-12-20 19:17 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel > Don't do this. This part shouldn't be compiled at all for recent > kernels. This is, again, the problem of configure script that > detected the codes wrongly. I apologize if I've muddied the water with any of this, I've discovered that the C7 and VIA in general are the forgotten children of the IT world, and I've had to do many things by trial and error. The target platform is an embedded digital signage application and I needed to get audio working quickly. And it does work, but I certainly recognize that my code changes are hacks and need to be addressed properly. I've tried various kernel config changes dealing with memory management and that hasn't helped, so I've reverted to a generic configuration that matches John Stiles' as far as the platform, ALSA and OSS are concerned, as you can see from the log below. Make, with this configuration, fails as John Stiles has reported above. This is the config.log from a clean mercurial clone this morning (its huge, I hope this is ok to do in a mailing list...) --- This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. It was created by configure, which was generated by GNU Autoconf 2.61. Invocation command line was $ ./configure --with-debug=full --with-isapnp=yes --with-sequencer=yes ## --------- ## ## Platform. ## ## --------- ## hostname = viziframe uname -m = i686 uname -r = 2.6.23.11 uname -s = Linux uname -v = #2 Wed Dec 19 15:50:23 PST 2007 /usr/bin/uname -p = VIA Esther processor 1500MHz /bin/uname -X = unknown /bin/arch = i686 /usr/bin/arch -k = unknown /usr/convex/getsysinfo = unknown /usr/bin/hostinfo = unknown /bin/machine = unknown /usr/bin/oslevel = unknown /bin/universe = unknown PATH: /usr/local/sbin PATH: /usr/sbin PATH: /sbin PATH: /usr/local/bin PATH: /usr/bin PATH: /bin PATH: /usr/games PATH: /usr/lib/java/bin PATH: /usr/lib/java/jre/bin PATH: /usr/lib/qt/bin PATH: /usr/share/texmf/bin ## ----------- ## ## Core tests. ## ## ----------- ## configure:2108: checking for gcc configure:2124: found /usr/bin/gcc configure:2135: result: gcc configure:2373: checking for C compiler version configure:2380: gcc --version >&5 gcc (GCC) 4.1.2 Copyright (C) 2006 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. configure:2383: $? = 0 configure:2390: gcc -v >&5 Reading specs from /usr/lib/gcc/i486-slackware-linux/4.1.2/specs Target: i486-slackware-linux Configured with: ../gcc-4.1.2/configure --prefix=/usr --enable-shared --enable-languages=ada,c,c++,fortran,java,objc --enable-threads=posix --enable-__cxa_atexit --disable-checki ng --with-gnu-ld --verbose --with-arch=i486 --target=i486-slackware-linux --host=i486-slackware-linux Thread model: posix gcc version 4.1.2 configure:2393: $? = 0 configure:2400: gcc -V >&5 gcc: '-V' option must have argument configure:2403: $? = 1 configure:2426: checking for C compiler default output file name configure:2453: gcc conftest.c >&5 configure:2456: $? = 0 configure:2494: result: a.out configure:2511: checking whether the C compiler works configure:2521: ./a.out configure:2524: $? = 0 configure:2541: result: yes configure:2548: checking whether we are cross compiling configure:2550: result: no configure:2553: checking for suffix of executables configure:2560: gcc -o conftest conftest.c >&5 configure:2563: $? = 0 configure:2587: result: configure:2593: checking for suffix of object files configure:2619: gcc -c conftest.c >&5 configure:2622: $? = 0 configure:2645: result: o configure:2649: checking whether we are using the GNU C compiler configure:2678: gcc -c conftest.c >&5 configure:2684: $? = 0 configure:2701: result: yes configure:2706: checking whether gcc accepts -g configure:2736: gcc -c -g conftest.c >&5 configure:2742: $? = 0 configure:2841: result: yes configure:2858: checking for gcc option to accept ISO C89 configure:2932: gcc -c -g -O2 conftest.c >&5 configure:2938: $? = 0 configure:2961: result: none needed configure:3022: checking for ranlib configure:3038: found /usr/bin/ranlib configure:3049: result: ranlib configure:3119: checking for a BSD-compatible install configure:3175: result: /usr/bin/ginstall -c configure:3198: checking how to run the C preprocessor configure:3238: gcc -E conftest.c configure:3244: $? = 0 configure:3275: gcc -E conftest.c conftest.c:8:28: error: ac_nonexistent.h: No such file or directory configure:3281: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:3314: result: gcc -E configure:3343: gcc -E conftest.c configure:3349: $? = 0 configure:3380: gcc -E conftest.c conftest.c:8:28: error: ac_nonexistent.h: No such file or directory configure:3386: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | /* end confdefs.h. */ | #include <ac_nonexistent.h> configure:3424: checking for grep that handles long lines and -e configure:3498: result: /usr/bin/grep configure:3503: checking for egrep configure:3581: result: /usr/bin/grep -E configure:3586: checking for ANSI C header files configure:3616: gcc -c -g -O2 conftest.c >&5 configure:3622: $? = 0 configure:3721: gcc -o conftest -g -O2 conftest.c >&5 configure:3724: $? = 0 configure:3730: ./conftest configure:3733: $? = 0 configure:3750: result: yes configure:3763: checking for an ANSI C-conforming const configure:3838: gcc -c -g -O2 conftest.c >&5 configure:3844: $? = 0 configure:3859: result: yes configure:3869: checking for inline configure:3895: gcc -c -g -O2 conftest.c >&5 configure:3901: $? = 0 configure:3919: result: inline configure:3938: checking whether time.h and sys/time.h may both be included configure:3968: gcc -c -g -O2 conftest.c >&5 configure:3974: $? = 0 configure:3989: result: yes configure:4001: checking whether gcc needs -traditional configure:4043: result: no configure:4051: checking for current directory configure:4055: result: /usr/src/alsa-driver configure:4353: checking cross compile configure:4365: result: configure:4380: checking for directory with kernel source configure:4401: result: /lib/modules/2.6.23.11/source configure:4404: checking for directory with kernel build configure:4416: result: /lib/modules/2.6.23.11/build configure:4421: checking for kernel linux/version.h configure:4436: result: yes configure:4440: checking for kernel linux/autoconf.h configure:4455: result: yes configure:4459: checking for kernel version configure:4544: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 configure:4547: $? = 0 configure:4553: ./conftest configure:4556: $? = 0 configure:4591: result: 2.6.23.11 configure:4594: checking for GCC version configure:4658: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:41: warning: incompatible implicit declaration of built-in function 'exit' configure:4661: $? = 0 configure:4667: ./conftest configure:4670: $? = 0 configure:4777: result: Kernel compiler: gcc 4.1.2 Used compiler: gcc (GCC) 4.1.2 configure:4829: checking for built-in ALSA configure:4867: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:14: warning: incompatible implicit declaration of built-in function 'exit' configure:4870: $? = 0 configure:4876: ./conftest configure:4879: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | /* end confdefs.h. */ | | #include "/lib/modules/2.6.23.11/build/include/linux/autoconf.h" | int main( void ) { | #ifndef CONFIG_SND | exit(1); | #else | exit(0); | #endif | } | configure:4889: result: no configure:4907: checking for existing ALSA module configure:4945: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:16: warning: incompatible implicit declaration of built-in function 'exit' configure:4948: $? = 0 configure:4954: ./conftest configure:4957: $? = 0 configure:4959: result: yes configure:4982: checking for Red Hat kernel configure:5003: result: auto configure:5008: checking for Red Hat kernel configure:5046: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:15: warning: incompatible implicit declaration of built-in function 'exit' configure:5049: $? = 0 configure:5055: ./conftest configure:5058: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | /* end confdefs.h. */ | | #include "/lib/modules/2.6.23.11/build/include/linux/autoconf.h" | int main( void ) { | #if !defined(RED_HAT_LINUX_KERNEL) && !defined(RED_HAT_LINUX_KERNEL_MODULE) | exit(1); | #else | exit(0); | #endif | } | configure:5068: result: no configure:5081: checking for SUSE kernel configure:5102: result: auto configure:5107: checking for SUSE kernel configure:5145: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:15: warning: incompatible implicit declaration of built-in function 'exit' configure:5148: $? = 0 configure:5154: ./conftest configure:5157: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | /* end confdefs.h. */ | | #include "/lib/modules/2.6.23.11/build/include/linux/autoconf.h" | int main( void ) { | #if !defined(CONFIG_SUSE_KERNEL) && !defined(CONFIG_SUSE_KERNEL_MODULE) | exit(1); | #else | exit(0); | #endif | } | configure:5167: result: no configure:5187: checking for CONFIG_EXPERIMENTAL configure:5198: result: yes configure:5211: checking for kernel linux/config.h configure:5232: result: no configure:5261: checking to modify of kernel linux/kmod.h configure:5269: result: no configure:5286: checking for kernel linux/utsrelease.h configure:5297: result: yes configure:5323: checking for kernel linux/compiler.h configure:5334: result: yes configure:5360: checking for kernel linux/pm.h configure:5371: result: yes configure:5397: checking for kernel linux/spinlock.h configure:5408: result: yes configure:5434: checking for kernel linux/irq.h configure:5445: result: yes configure:5471: checking for kernel linux/threads.h configure:5482: result: yes configure:5508: checking for kernel linux/rwsem.h configure:5519: result: yes configure:5545: checking for kernel linux/gameport.h configure:5556: result: yes configure:5582: checking for kernel media/v4l2-dev.h configure:5593: result: yes configure:5619: checking for kernel linux/devfs_fs_kernel.h configure:5640: result: no configure:5656: checking for kernel linux/highmem.h configure:5667: result: yes configure:5693: checking for kernel linux/workqueue.h configure:5704: result: yes configure:5739: checking for kernel linux/dma-mapping.h configure:5750: result: yes configure:5776: checking for kernel asm/hw_irq.h configure:5787: result: yes configure:5813: checking for kernel linux/device.h configure:5824: result: yes configure:5852: checking for kernel linux/platform_device.h configure:5863: result: yes configure:5891: checking for kernel linux/isa.h configure:5902: result: yes configure:5930: checking for kernel linux/jiffies.h configure:5941: result: yes configure:5971: checking for kernel linux/compat.h configure:5982: result: yes configure:6010: checking for kernel linux/log2.h configure:6021: result: yes configure:6047: checking for kernel linux/adb.h configure:6058: result: yes configure:6086: checking for kernel linux/cuda.h configure:6097: result: yes configure:6125: checking for kernel linux/pmu.h configure:6136: result: yes configure:6164: checking for kernel linux/moduleparam.h configure:6175: result: yes configure:6201: checking for kernel linux/syscalls.h configure:6212: result: yes configure:6240: checking for kernel linux/firmware.h configure:6251: result: yes configure:6279: checking for kernel linux/err.h configure:6290: result: yes configure:6318: checking for kernel linux/bitmap.h configure:6329: result: yes configure:6357: checking for kernel linux/mutex.h configure:6368: result: yes configure:6396: checking for kernel linux/latency.h configure:6407: result: yes configure:6435: checking for kernel linux/kthread.h configure:6446: result: yes configure:6474: checking for kernel asm/irq_regs.h configure:6485: result: yes configure:6540: checking for kernel module symbol versions configure:6578: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:17: warning: incompatible implicit declaration of built-in function 'exit' configure:6581: $? = 0 configure:6587: ./conftest configure:6590: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" | #define CONFIG_HAVE_DUMP_STACK 1 | /* end confdefs.h. */ | | #include "/lib/modules/2.6.23.11/build/include/linux/autoconf.h" | int main( void ) { | #if !defined(CONFIG_MODVERSIONS) && !defined(CONFIG_MODVERSIONS_MODULE) | exit(1); | #else | exit(0); | #endif | } | configure:6600: result: no configure:6617: checking for has ioport support configure:6655: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:19: warning: incompatible implicit declaration of built-in function 'exit' configure:6658: $? = 0 configure:6664: ./conftest configure:6667: $? = 0 configure:6669: result: yes configure:6695: checking for PCI support in kernel configure:6733: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:20: warning: incompatible implicit declaration of built-in function 'exit' configure:6736: $? = 0 configure:6742: ./conftest configure:6745: $? = 0 configure:6747: result: yes configure:6770: checking for I2C driver in kernel configure:6814: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:20: warning: incompatible implicit declaration of built-in function 'exit' configure:6817: $? = 0 configure:6823: ./conftest configure:6826: $? = 0 configure:6852: result: unknown configure:6959: checking for firmware loader configure:7003: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:20: warning: incompatible implicit declaration of built-in function 'exit' configure:7006: $? = 0 configure:7012: ./conftest configure:7015: $? = 0 configure:7041: result: yes configure:7062: checking for input subsystem in kernel configure:7106: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:20: warning: incompatible implicit declaration of built-in function 'exit' configure:7109: $? = 0 configure:7115: ./conftest configure:7118: $? = 0 configure:7144: result: yes configure:7154: checking for directory to store kernel modules configure:7181: result: /lib/modules/2.6.23.11/kernel/sound configure:7184: checking for verbose procfs configure:7200: result: on configure:7209: checking for verbose printk configure:7225: result: on configure:7235: checking for debug level configure:7256: result: full configure:7298: checking for ISA support in kernel configure:7336: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:24: warning: incompatible implicit declaration of built-in function 'exit' configure:7339: $? = 0 configure:7345: ./conftest configure:7348: $? = 0 configure:7350: result: yes configure:7372: checking for processor type configure:7509: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:24: warning: incompatible implicit declaration of built-in function 'exit' configure:7512: $? = 0 configure:7518: ./conftest configure:7521: $? = 0 configure:7523: result: x86_32 configure:8006: checking for ISA DMA API configure:8044: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:24: warning: incompatible implicit declaration of built-in function 'exit' configure:8047: $? = 0 configure:8053: ./conftest configure:8056: $? = 0 configure:8058: result: yes configure:8294: checking for SMP configure:8332: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:23: warning: incompatible implicit declaration of built-in function 'exit' configure:8335: $? = 0 configure:8341: ./conftest configure:8344: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" | #define CONFIG_HAVE_DUMP_STACK 1 | #define CONFIG_HAS_IOPORT 1 | #define CONFIG_SND_VERBOSE_PROCFS 1 | #define CONFIG_SND_VERBOSE_PRINTK 1 | #define CONFIG_SND_DEBUG 1 | #define CONFIG_SND_DEBUG_MEMORY 1 | #define CONFIG_SND_ISA 1 | /* end confdefs.h. */ | | #include "/lib/modules/2.6.23.11/build/include/linux/autoconf.h" | int main( void ) { | #if !defined(CONFIG_SMP) && !defined(CONFIG_SMP_MODULE) | exit(1); | #else | exit(0); | #endif | } | configure:8354: result: no configure:8382: checking for Video device support in kernel configure:8420: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:25: warning: incompatible implicit declaration of built-in function 'exit' configure:8423: $? = 0 configure:8429: ./conftest configure:8432: $? = 0 configure:8434: result: yes configure:8455: checking for ISA PnP driver in kernel configure:8459: result: yes configure:8472: checking for PnP driver in kernel configure:8476: result: yes configure:8493: checking for Kernel ISA-PnP support configure:8531: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:27: warning: incompatible implicit declaration of built-in function 'exit' configure:8534: $? = 0 configure:8540: ./conftest configure:8543: $? = 0 configure:8545: result: yes configure:8690: checking for strlcpy configure:8726: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME -Werror conftest.c >&5 configure:8732: $? = 0 configure:8737: result: yes configure:8758: checking for snprintf configure:8793: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME -Werror conftest.c >&5 configure:8799: $? = 0 configure:8804: result: yes configure:8825: checking for vsnprintf configure:8867: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME -Werror conftest.c >&5 configure:8873: $? = 0 configure:8878: result: yes configure:8899: checking for scnprintf configure:8934: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME -Werror conftest.c >&5 configure:8940: $? = 0 configure:8945: result: yes configure:8966: checking for sscanf configure:9001: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME -Werror conftest.c >&5 configure:9007: $? = 0 configure:9012: result: yes configure:9033: checking for vmalloc_to_page configure:9071: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/asm/thread_info.h:16, from /lib/modules/2.6.23.11/build/include/linux/thread_info.h:34, from /lib/modules/2.6.23.11/build/include/linux/preempt.h:9, from /lib/modules/2.6.23.11/build/include/linux/spinlock.h:49, from /lib/modules/2.6.23.11/build/include/linux/seqlock.h:29, from /lib/modules/2.6.23.11/build/include/linux/time.h:8, from conftest.c:31: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness In file included from /lib/modules/2.6.23.11/build/include/linux/irq.h:23, from /lib/modules/2.6.23.11/build/include/asm/hardirq.h:5, from /lib/modules/2.6.23.11/build/include/linux/hardirq.h:7, from /lib/modules/2.6.23.11/build/include/linux/interrupt.h:11, from conftest.c:33: /lib/modules/2.6.23.11/build/include/asm/irq.h:15:25: error: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.23.11/build/include/asm/hardirq.h:5, from /lib/modules/2.6.23.11/build/include/linux/hardirq.h:7, from /lib/modules/2.6.23.11/build/include/linux/interrupt.h:11, from conftest.c:33: /lib/modules/2.6.23.11/build/include/linux/irq.h: At top level: /lib/modules/2.6.23.11/build/include/linux/irq.h:180: error: 'NR_IRQS' undeclared here (not in a function) configure:9077: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" | #define CONFIG_HAVE_DUMP_STACK 1 | #define CONFIG_HAS_IOPORT 1 | #define CONFIG_SND_VERBOSE_PROCFS 1 | #define CONFIG_SND_VERBOSE_PRINTK 1 | #define CONFIG_SND_DEBUG 1 | #define CONFIG_SND_DEBUG_MEMORY 1 | #define CONFIG_SND_ISA 1 | #define CONFIG_ISAPNP_KERNEL 1 | #define CONFIG_PNP_KERNEL 1 | #define CONFIG_SND_ISAPNP 1 | #define CONFIG_SND_PNP 1 | #define CONFIG_HAVE_STRLCPY 1 | #define CONFIG_HAVE_SNPRINTF 1 | #define CONFIG_HAVE_VSNPRINTF 1 | #define CONFIG_HAVE_SCNPRINTF 1 | #define CONFIG_HAVE_SSCANF 1 | /* end confdefs.h. */ | | #define __KERNEL__ | #include <linux/config.h> | #include <linux/time.h> | #include <linux/sched.h> | #include <linux/interrupt.h> | #include <linux/mm.h> | | int | main () | { | | struct page * (*func)(void*); | func = vmalloc_to_page; | | ; | return 0; | } configure:9088: result: no configure:9103: checking for old kmod configure:9137: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 conftest.c: In function 'main': conftest.c:37: warning: too many arguments for format configure:9143: $? = 0 configure:9148: result: no configure:9169: checking for PDE configure:9205: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/wait.h:22, from /lib/modules/2.6.23.11/build/include/linux/fs.h:272, from conftest.c:31: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness configure:9211: $? = 0 configure:9216: result: yes configure:9237: checking for pci_set_consistent_dma_mask configure:9272: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/pci.h:48, from conftest.c:32: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness configure:9278: $? = 0 configure:9283: result: yes configure:9304: checking for pci_dev_present configure:9339: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/pci.h:48, from conftest.c:33: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness configure:9345: $? = 0 configure:9350: result: yes configure:9371: checking for msleep configure:9406: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 configure:9412: $? = 0 configure:9417: result: yes configure:9439: checking for msleep_interrupt configure:9474: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 configure:9480: $? = 0 configure:9485: result: yes configure:9507: checking for msecs_to_jiffies configure:9543: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME -Iinclude conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/asm/thread_info.h:16, from /lib/modules/2.6.23.11/build/include/linux/thread_info.h:34, from /lib/modules/2.6.23.11/build/include/linux/preempt.h:9, from /lib/modules/2.6.23.11/build/include/linux/spinlock.h:49, from /lib/modules/2.6.23.11/build/include/linux/seqlock.h:29, from /lib/modules/2.6.23.11/build/include/linux/time.h:8, from /lib/modules/2.6.23.11/build/include/linux/jiffies.h:7, from conftest.c:36: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness conftest.c: In function 'main': conftest.c:44: warning: assignment from incompatible pointer type configure:9549: $? = 0 configure:9554: result: yes configure:9575: checking for tty->count is the atomic type configure:9610: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/wait.h:22, from /lib/modules/2.6.23.11/build/include/linux/fs.h:272, from /lib/modules/2.6.23.11/build/include/linux/tty.h:9, from conftest.c:37: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness conftest.c: In function 'main': conftest.c:44: error: request for member 'counter' in something not a structure or union configure:9616: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" | #define CONFIG_HAVE_DUMP_STACK 1 | #define CONFIG_HAS_IOPORT 1 | #define CONFIG_SND_VERBOSE_PROCFS 1 | #define CONFIG_SND_VERBOSE_PRINTK 1 | #define CONFIG_SND_DEBUG 1 | #define CONFIG_SND_DEBUG_MEMORY 1 | #define CONFIG_SND_ISA 1 | #define CONFIG_ISAPNP_KERNEL 1 | #define CONFIG_PNP_KERNEL 1 | #define CONFIG_SND_ISAPNP 1 | #define CONFIG_SND_PNP 1 | #define CONFIG_HAVE_STRLCPY 1 | #define CONFIG_HAVE_SNPRINTF 1 | #define CONFIG_HAVE_VSNPRINTF 1 | #define CONFIG_HAVE_SCNPRINTF 1 | #define CONFIG_HAVE_SSCANF 1 | #define CONFIG_HAVE_PDE 1 | #define CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK 1 | #define CONFIG_HAVE_PCI_DEV_PRESENT 1 | #define CONFIG_HAVE_MSLEEP 1 | #define CONFIG_HAVE_MSLEEP_INTERRUPTIBLE 1 | #define CONFIG_HAVE_MSECS_TO_JIFFIES 1 | /* end confdefs.h. */ | | #define __KERNEL__ | #include <linux/config.h> | #include <linux/tty.h> | | int | main () | { | | struct tty_struct tty; | atomic_read(&tty.count); | | ; | return 0; | } configure:9627: result: no configure:9643: checking for video_get_drvdata configure:9679: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME -Iinclude conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/asm/thread_info.h:16, from /lib/modules/2.6.23.11/build/include/linux/thread_info.h:34, from /lib/modules/2.6.23.11/build/include/linux/preempt.h:9, from /lib/modules/2.6.23.11/build/include/linux/spinlock.h:49, from /lib/modules/2.6.23.11/build/include/linux/seqlock.h:29, from /lib/modules/2.6.23.11/build/include/linux/time.h:8, from /lib/modules/2.6.23.11/build/include/linux/videodev2.h:59, from /lib/modules/2.6.23.11/build/include/linux/videodev.h:15, from conftest.c:37: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness configure:9685: $? = 0 configure:9690: result: yes configure:9717: checking for V4L1 layer configure:9755: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:41: warning: incompatible implicit declaration of built-in function 'exit' configure:9758: $? = 0 configure:9764: ./conftest configure:9767: $? = 0 configure:9769: result: yes configure:9792: checking for io_remap_pfn_range configure:9827: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME -Werror-implicit-function-declaration conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/asm/thread_info.h:16, from /lib/modules/2.6.23.11/build/include/linux/thread_info.h:34, from /lib/modules/2.6.23.11/build/include/linux/preempt.h:9, from /lib/modules/2.6.23.11/build/include/linux/spinlock.h:49, from /lib/modules/2.6.23.11/build/include/linux/mmzone.h:7, from /lib/modules/2.6.23.11/build/include/linux/gfp.h:4, from /lib/modules/2.6.23.11/build/include/linux/mm.h:8, from conftest.c:38: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness configure:9833: $? = 0 configure:9838: result: yes configure:9926: checking for kcalloc configure:9961: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/asm/thread_info.h:16, from /lib/modules/2.6.23.11/build/include/linux/thread_info.h:34, from /lib/modules/2.6.23.11/build/include/linux/preempt.h:9, from /lib/modules/2.6.23.11/build/include/linux/spinlock.h:49, from /lib/modules/2.6.23.11/build/include/linux/mmzone.h:7, from /lib/modules/2.6.23.11/build/include/linux/gfp.h:4, from /lib/modules/2.6.23.11/build/include/linux/slab.h:14, from conftest.c:39: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness conftest.c: In function 'main': conftest.c:46: warning: assignment from incompatible pointer type configure:9967: $? = 0 configure:9972: result: yes configure:9993: checking for kstrdup configure:10028: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 conftest.c: In function 'main': conftest.c:47: warning: assignment from incompatible pointer type configure:10034: $? = 0 configure:10039: result: yes configure:10060: checking for kzalloc configure:10095: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/asm/thread_info.h:16, from /lib/modules/2.6.23.11/build/include/linux/thread_info.h:34, from /lib/modules/2.6.23.11/build/include/linux/preempt.h:9, from /lib/modules/2.6.23.11/build/include/linux/spinlock.h:49, from /lib/modules/2.6.23.11/build/include/linux/mmzone.h:7, from /lib/modules/2.6.23.11/build/include/linux/gfp.h:4, from /lib/modules/2.6.23.11/build/include/linux/slab.h:14, from conftest.c:41: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness conftest.c: In function 'main': conftest.c:48: warning: assignment from incompatible pointer type configure:10101: $? = 0 configure:10106: result: yes configure:10128: checking for create_workqueue with flags configure:10162: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/timer.h:4, from /lib/modules/2.6.23.11/build/include/linux/workqueue.h:8, from conftest.c:42: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness conftest.c:48:31: error: macro "create_workqueue" passed 2 arguments, but takes just 1 conftest.c: In function 'main': conftest.c:48: error: 'create_workqueue' undeclared (first use in this function) conftest.c:48: error: (Each undeclared identifier is reported only once conftest.c:48: error: for each function it appears in.) configure:10168: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" | #define CONFIG_HAVE_DUMP_STACK 1 | #define CONFIG_HAS_IOPORT 1 | #define CONFIG_SND_VERBOSE_PROCFS 1 | #define CONFIG_SND_VERBOSE_PRINTK 1 | #define CONFIG_SND_DEBUG 1 | #define CONFIG_SND_DEBUG_MEMORY 1 | #define CONFIG_SND_ISA 1 | #define CONFIG_ISAPNP_KERNEL 1 | #define CONFIG_PNP_KERNEL 1 | #define CONFIG_SND_ISAPNP 1 | #define CONFIG_SND_PNP 1 | #define CONFIG_HAVE_STRLCPY 1 | #define CONFIG_HAVE_SNPRINTF 1 | #define CONFIG_HAVE_VSNPRINTF 1 | #define CONFIG_HAVE_SCNPRINTF 1 | #define CONFIG_HAVE_SSCANF 1 | #define CONFIG_HAVE_PDE 1 | #define CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK 1 | #define CONFIG_HAVE_PCI_DEV_PRESENT 1 | #define CONFIG_HAVE_MSLEEP 1 | #define CONFIG_HAVE_MSLEEP_INTERRUPTIBLE 1 | #define CONFIG_HAVE_MSECS_TO_JIFFIES 1 | #define CONFIG_HAVE_VIDEO_GET_DRVDATA 1 | #define CONFIG_HAVE_IO_REMAP_PFN_RANGE 1 | #define CONFIG_HAVE_KCALLOC 1 | #define CONFIG_HAVE_KSTRDUP 1 | #define CONFIG_HAVE_KZALLOC 1 | /* end confdefs.h. */ | | #define __KERNEL__ | #include <linux/config.h> | #include <linux/workqueue.h> | | int | main () | { | | create_workqueue("abcd", 0); | | ; | return 0; | } configure:10179: result: no configure:10195: checking for saved_config_space in pci_dev configure:10230: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/pci.h:48, from conftest.c:42: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness configure:10236: $? = 0 configure:10241: result: yes configure:10263: checking for new pci_save_state configure:10298: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/pci.h:48, from conftest.c:43: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness conftest.c: In function 'main': conftest.c:50: warning: 'pci' is used uninitialized in this function configure:10304: $? = 0 configure:10309: result: yes configure:10330: checking for register_sound_special_device configure:10365: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/wait.h:22, from /lib/modules/2.6.23.11/build/include/linux/fs.h:272, from /lib/modules/2.6.23.11/build/include/linux/sound.h:6, from conftest.c:44: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness conftest.c: In function 'main': conftest.c:51: warning: assignment from incompatible pointer type configure:10371: $? = 0 configure:10376: result: yes configure:10633: checking for driver version configure:10646: result: 1.0.15 configure:10649: checking for sequencer support configure:10673: result: yes configure:10680: checking for OSS/Free emulation configure:10713: result: yes configure:10722: checking for OSS PCM plugin system inclusion configure:10741: result: yes configure:10750: checking for RTC callback support in kernel configure:10791: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/asm/thread_info.h:16, from /lib/modules/2.6.23.11/build/include/linux/thread_info.h:34, from /lib/modules/2.6.23.11/build/include/linux/preempt.h:9, from /lib/modules/2.6.23.11/build/include/linux/interrupt.h:8, from /lib/modules/2.6.23.11/build/include/linux/rtc.h:102, from conftest.c:55: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness In file included from /lib/modules/2.6.23.11/build/include/linux/irq.h:23, from /lib/modules/2.6.23.11/build/include/asm/hardirq.h:5, from /lib/modules/2.6.23.11/build/include/linux/hardirq.h:7, from /lib/modules/2.6.23.11/build/include/linux/interrupt.h:11, from /lib/modules/2.6.23.11/build/include/linux/rtc.h:102, from conftest.c:55: /lib/modules/2.6.23.11/build/include/asm/irq.h:15:25: error: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.23.11/build/include/asm/hardirq.h:5, from /lib/modules/2.6.23.11/build/include/linux/hardirq.h:7, from /lib/modules/2.6.23.11/build/include/linux/interrupt.h:11, from /lib/modules/2.6.23.11/build/include/linux/rtc.h:102, from conftest.c:55: /lib/modules/2.6.23.11/build/include/linux/irq.h: At top level: /lib/modules/2.6.23.11/build/include/linux/irq.h:180: error: 'NR_IRQS' undeclared here (not in a function) conftest.c: In function 'main': conftest.c:63: warning: unused variable 'cb' configure:10797: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" | #define CONFIG_HAVE_DUMP_STACK 1 | #define CONFIG_HAS_IOPORT 1 | #define CONFIG_SND_VERBOSE_PROCFS 1 | #define CONFIG_SND_VERBOSE_PRINTK 1 | #define CONFIG_SND_DEBUG 1 | #define CONFIG_SND_DEBUG_MEMORY 1 | #define CONFIG_SND_ISA 1 | #define CONFIG_ISAPNP_KERNEL 1 | #define CONFIG_PNP_KERNEL 1 | #define CONFIG_SND_ISAPNP 1 | #define CONFIG_SND_PNP 1 | #define CONFIG_HAVE_STRLCPY 1 | #define CONFIG_HAVE_SNPRINTF 1 | #define CONFIG_HAVE_VSNPRINTF 1 | #define CONFIG_HAVE_SCNPRINTF 1 | #define CONFIG_HAVE_SSCANF 1 | #define CONFIG_HAVE_PDE 1 | #define CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK 1 | #define CONFIG_HAVE_PCI_DEV_PRESENT 1 | #define CONFIG_HAVE_MSLEEP 1 | #define CONFIG_HAVE_MSLEEP_INTERRUPTIBLE 1 | #define CONFIG_HAVE_MSECS_TO_JIFFIES 1 | #define CONFIG_HAVE_VIDEO_GET_DRVDATA 1 | #define CONFIG_HAVE_IO_REMAP_PFN_RANGE 1 | #define CONFIG_HAVE_KCALLOC 1 | #define CONFIG_HAVE_KSTRDUP 1 | #define CONFIG_HAVE_KZALLOC 1 | #define CONFIG_HAVE_PCI_SAVED_CONFIG 1 | #define CONFIG_HAVE_NEW_PCI_SAVE_STATE 1 | #define CONFIG_HAVE_REGISTER_SOUND_SPECIAL_DEVICE 1 | #define CONFIG_SND_VERSION "1.0.15" | #define CONFIG_SND_DATE "" | #define CONFIG_SND_SEQUENCER_MODULE 1 | #define CONFIG_SND_SEQ_DUMMY_MODULE 1 | #define CONFIG_SND_OSSEMUL 1 | #define CONFIG_SND_MIXER_OSS_MODULE 1 | #define CONFIG_SND_PCM_OSS_MODULE 1 | #define CONFIG_SND_SEQUENCER_OSS 1 | #define CONFIG_SND_PCM_OSS_PLUGINS 1 | /* end confdefs.h. */ | | #define __KERNEL__ | #include <linux/config.h> | #include <linux/version.h> | #include <linux/rtc.h> | #include <linux/mc146818rtc.h> | | int | main () | { | | #ifdef RTC_IRQ | rtc_task_t *cb = 0; | #else | #error | #endif | | ; | return 0; | } configure:10808: result: no configure:10831: checking for HPET support configure:10869: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:57: warning: incompatible implicit declaration of built-in function 'exit' configure:10872: $? = 0 configure:10878: ./conftest configure:10881: $? = 0 configure:10883: result: yes configure:10905: checking for dynamic minor numbers configure:10923: result: no configure:10927: checking for support of old API configure:10941: result: yes configure:10951: checking for Procfs support configure:10989: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:58: warning: incompatible implicit declaration of built-in function 'exit' configure:10992: $? = 0 configure:10998: ./conftest configure:11001: $? = 0 configure:11003: result: yes configure:11026: checking for USB support configure:11064: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:58: warning: incompatible implicit declaration of built-in function 'exit' configure:11067: $? = 0 configure:11073: ./conftest configure:11076: $? = 0 configure:11078: result: yes configure:11175: checking for class_simple configure:11210: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/kobject.h:21, from /lib/modules/2.6.23.11/build/include/linux/device.h:16, from conftest.c:55: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness conftest.c: In function 'main': conftest.c:61: error: 'class_simple_create' undeclared (first use in this function) conftest.c:61: error: (Each undeclared identifier is reported only once conftest.c:61: error: for each function it appears in.) configure:11216: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" | #define CONFIG_HAVE_DUMP_STACK 1 | #define CONFIG_HAS_IOPORT 1 | #define CONFIG_SND_VERBOSE_PROCFS 1 | #define CONFIG_SND_VERBOSE_PRINTK 1 | #define CONFIG_SND_DEBUG 1 | #define CONFIG_SND_DEBUG_MEMORY 1 | #define CONFIG_SND_ISA 1 | #define CONFIG_ISAPNP_KERNEL 1 | #define CONFIG_PNP_KERNEL 1 | #define CONFIG_SND_ISAPNP 1 | #define CONFIG_SND_PNP 1 | #define CONFIG_HAVE_STRLCPY 1 | #define CONFIG_HAVE_SNPRINTF 1 | #define CONFIG_HAVE_VSNPRINTF 1 | #define CONFIG_HAVE_SCNPRINTF 1 | #define CONFIG_HAVE_SSCANF 1 | #define CONFIG_HAVE_PDE 1 | #define CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK 1 | #define CONFIG_HAVE_PCI_DEV_PRESENT 1 | #define CONFIG_HAVE_MSLEEP 1 | #define CONFIG_HAVE_MSLEEP_INTERRUPTIBLE 1 | #define CONFIG_HAVE_MSECS_TO_JIFFIES 1 | #define CONFIG_HAVE_VIDEO_GET_DRVDATA 1 | #define CONFIG_HAVE_IO_REMAP_PFN_RANGE 1 | #define CONFIG_HAVE_KCALLOC 1 | #define CONFIG_HAVE_KSTRDUP 1 | #define CONFIG_HAVE_KZALLOC 1 | #define CONFIG_HAVE_PCI_SAVED_CONFIG 1 | #define CONFIG_HAVE_NEW_PCI_SAVE_STATE 1 | #define CONFIG_HAVE_REGISTER_SOUND_SPECIAL_DEVICE 1 | #define CONFIG_SND_VERSION "1.0.15" | #define CONFIG_SND_DATE "" | #define CONFIG_SND_SEQUENCER_MODULE 1 | #define CONFIG_SND_SEQ_DUMMY_MODULE 1 | #define CONFIG_SND_OSSEMUL 1 | #define CONFIG_SND_MIXER_OSS_MODULE 1 | #define CONFIG_SND_PCM_OSS_MODULE 1 | #define CONFIG_SND_SEQUENCER_OSS 1 | #define CONFIG_SND_PCM_OSS_PLUGINS 1 | #define CONFIG_SND_SUPPORT_OLD_API 1 | /* end confdefs.h. */ | | #define __KERNEL__ | #include <linux/config.h> | #include <linux/device.h> | | int | main () | { | | struct class_simple *(*foo)(struct module *, char *) = class_simple_create; | foo(NULL,NULL); | | ; | return 0; | } configure:11227: result: no configure:11244: checking for old driver suspend/resume callbacks configure:11279: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/kobject.h:21, from /lib/modules/2.6.23.11/build/include/linux/device.h:16, from conftest.c:55: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness conftest.c: In function 'main': conftest.c:62: error: too many arguments to function 'driver.resume' configure:11285: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" | #define CONFIG_HAVE_DUMP_STACK 1 | #define CONFIG_HAS_IOPORT 1 | #define CONFIG_SND_VERBOSE_PROCFS 1 | #define CONFIG_SND_VERBOSE_PRINTK 1 | #define CONFIG_SND_DEBUG 1 | #define CONFIG_SND_DEBUG_MEMORY 1 | #define CONFIG_SND_ISA 1 | #define CONFIG_ISAPNP_KERNEL 1 | #define CONFIG_PNP_KERNEL 1 | #define CONFIG_SND_ISAPNP 1 | #define CONFIG_SND_PNP 1 | #define CONFIG_HAVE_STRLCPY 1 | #define CONFIG_HAVE_SNPRINTF 1 | #define CONFIG_HAVE_VSNPRINTF 1 | #define CONFIG_HAVE_SCNPRINTF 1 | #define CONFIG_HAVE_SSCANF 1 | #define CONFIG_HAVE_PDE 1 | #define CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK 1 | #define CONFIG_HAVE_PCI_DEV_PRESENT 1 | #define CONFIG_HAVE_MSLEEP 1 | #define CONFIG_HAVE_MSLEEP_INTERRUPTIBLE 1 | #define CONFIG_HAVE_MSECS_TO_JIFFIES 1 | #define CONFIG_HAVE_VIDEO_GET_DRVDATA 1 | #define CONFIG_HAVE_IO_REMAP_PFN_RANGE 1 | #define CONFIG_HAVE_KCALLOC 1 | #define CONFIG_HAVE_KSTRDUP 1 | #define CONFIG_HAVE_KZALLOC 1 | #define CONFIG_HAVE_PCI_SAVED_CONFIG 1 | #define CONFIG_HAVE_NEW_PCI_SAVE_STATE 1 | #define CONFIG_HAVE_REGISTER_SOUND_SPECIAL_DEVICE 1 | #define CONFIG_SND_VERSION "1.0.15" | #define CONFIG_SND_DATE "" | #define CONFIG_SND_SEQUENCER_MODULE 1 | #define CONFIG_SND_SEQ_DUMMY_MODULE 1 | #define CONFIG_SND_OSSEMUL 1 | #define CONFIG_SND_MIXER_OSS_MODULE 1 | #define CONFIG_SND_PCM_OSS_MODULE 1 | #define CONFIG_SND_SEQUENCER_OSS 1 | #define CONFIG_SND_PCM_OSS_PLUGINS 1 | #define CONFIG_SND_SUPPORT_OLD_API 1 | /* end confdefs.h. */ | | #define __KERNEL__ | #include <linux/config.h> | #include <linux/device.h> | | int | main () | { | | static struct device_driver driver; | driver.resume(NULL, 0); | | ; | return 0; | } configure:11296: result: no configure:11313: checking for removal of page-reservation for nopage/mmap configure:11347: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/asm/thread_info.h:16, from /lib/modules/2.6.23.11/build/include/linux/thread_info.h:34, from /lib/modules/2.6.23.11/build/include/linux/preempt.h:9, from /lib/modules/2.6.23.11/build/include/linux/spinlock.h:49, from /lib/modules/2.6.23.11/build/include/linux/mmzone.h:7, from /lib/modules/2.6.23.11/build/include/linux/gfp.h:4, from /lib/modules/2.6.23.11/build/include/linux/mm.h:8, from conftest.c:55: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness conftest.c: In function 'main': conftest.c:61: warning: unused variable 'func' configure:11353: $? = 0 configure:11358: result: yes configure:11381: checking for nested class_device configure:11416: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/kobject.h:21, from /lib/modules/2.6.23.11/build/include/linux/device.h:16, from conftest.c:56: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness configure:11422: $? = 0 configure:11427: result: yes configure:11450: checking for new IRQ handler configure:11485: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/asm/thread_info.h:16, from /lib/modules/2.6.23.11/build/include/linux/thread_info.h:34, from /lib/modules/2.6.23.11/build/include/linux/preempt.h:9, from /lib/modules/2.6.23.11/build/include/linux/interrupt.h:8, from conftest.c:57: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness In file included from /lib/modules/2.6.23.11/build/include/linux/irq.h:23, from /lib/modules/2.6.23.11/build/include/asm/hardirq.h:5, from /lib/modules/2.6.23.11/build/include/linux/hardirq.h:7, from /lib/modules/2.6.23.11/build/include/linux/interrupt.h:11, from conftest.c:57: /lib/modules/2.6.23.11/build/include/asm/irq.h:15:25: error: irq_vectors.h: No such file or directory In file included from /lib/modules/2.6.23.11/build/include/asm/hardirq.h:5, from /lib/modules/2.6.23.11/build/include/linux/hardirq.h:7, from /lib/modules/2.6.23.11/build/include/linux/interrupt.h:11, from conftest.c:57: /lib/modules/2.6.23.11/build/include/linux/irq.h: At top level: /lib/modules/2.6.23.11/build/include/linux/irq.h:180: error: 'NR_IRQS' undeclared here (not in a function) configure:11491: $? = 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" | #define CONFIG_HAVE_DUMP_STACK 1 | #define CONFIG_HAS_IOPORT 1 | #define CONFIG_SND_VERBOSE_PROCFS 1 | #define CONFIG_SND_VERBOSE_PRINTK 1 | #define CONFIG_SND_DEBUG 1 | #define CONFIG_SND_DEBUG_MEMORY 1 | #define CONFIG_SND_ISA 1 | #define CONFIG_ISAPNP_KERNEL 1 | #define CONFIG_PNP_KERNEL 1 | #define CONFIG_SND_ISAPNP 1 | #define CONFIG_SND_PNP 1 | #define CONFIG_HAVE_STRLCPY 1 | #define CONFIG_HAVE_SNPRINTF 1 | #define CONFIG_HAVE_VSNPRINTF 1 | #define CONFIG_HAVE_SCNPRINTF 1 | #define CONFIG_HAVE_SSCANF 1 | #define CONFIG_HAVE_PDE 1 | #define CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK 1 | #define CONFIG_HAVE_PCI_DEV_PRESENT 1 | #define CONFIG_HAVE_MSLEEP 1 | #define CONFIG_HAVE_MSLEEP_INTERRUPTIBLE 1 | #define CONFIG_HAVE_MSECS_TO_JIFFIES 1 | #define CONFIG_HAVE_VIDEO_GET_DRVDATA 1 | #define CONFIG_HAVE_IO_REMAP_PFN_RANGE 1 | #define CONFIG_HAVE_KCALLOC 1 | #define CONFIG_HAVE_KSTRDUP 1 | #define CONFIG_HAVE_KZALLOC 1 | #define CONFIG_HAVE_PCI_SAVED_CONFIG 1 | #define CONFIG_HAVE_NEW_PCI_SAVE_STATE 1 | #define CONFIG_HAVE_REGISTER_SOUND_SPECIAL_DEVICE 1 | #define CONFIG_SND_VERSION "1.0.15" | #define CONFIG_SND_DATE "" | #define CONFIG_SND_SEQUENCER_MODULE 1 | #define CONFIG_SND_SEQ_DUMMY_MODULE 1 | #define CONFIG_SND_OSSEMUL 1 | #define CONFIG_SND_MIXER_OSS_MODULE 1 | #define CONFIG_SND_PCM_OSS_MODULE 1 | #define CONFIG_SND_SEQUENCER_OSS 1 | #define CONFIG_SND_PCM_OSS_PLUGINS 1 | #define CONFIG_SND_SUPPORT_OLD_API 1 | #define CONFIG_SND_REMOVE_PAGE_RESERVE 1 | #define CONFIG_SND_NESTED_CLASS_DEVICE 1 | /* end confdefs.h. */ | | #define __KERNEL__ | #include <linux/config.h> | #include <linux/interrupt.h> | | int | main () | { | | irq_handler_t handle = 0; | handle(0, 0); | | ; | return 0; | } configure:11502: result: no configure:11518: checking for gfp_t configure:11553: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/asm/thread_info.h:16, from /lib/modules/2.6.23.11/build/include/linux/thread_info.h:34, from /lib/modules/2.6.23.11/build/include/linux/preempt.h:9, from /lib/modules/2.6.23.11/build/include/linux/spinlock.h:49, from /lib/modules/2.6.23.11/build/include/linux/mmzone.h:7, from /lib/modules/2.6.23.11/build/include/linux/gfp.h:4, from conftest.c:58: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness conftest.c: In function 'main': conftest.c:64: warning: unused variable 'flags' configure:11559: $? = 0 configure:11564: result: yes configure:11586: checking for PnP suspend/resume configure:11621: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/kobject.h:21, from /lib/modules/2.6.23.11/build/include/linux/device.h:16, from /lib/modules/2.6.23.11/build/include/linux/pnp.h:11, from conftest.c:58: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness configure:11627: $? = 0 configure:11632: result: yes configure:11656: checking for new unlocked/compat_ioctl configure:11692: gcc -c -Wall -fno-strict-aliasing -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include -Iinclude -nostdinc -iwithprefix include -DKBUILD_STR(s)=#s -DKBUILD_BASENAME=KBUILD_STR(dummy) -DKBUILD_MODNAME=KBUILD_BASENAME conftest.c >&5 In file included from /lib/modules/2.6.23.11/build/include/linux/prefetch.h:14, from /lib/modules/2.6.23.11/build/include/linux/list.h:8, from /lib/modules/2.6.23.11/build/include/linux/wait.h:22, from /lib/modules/2.6.23.11/build/include/linux/fs.h:272, from conftest.c:59: /lib/modules/2.6.23.11/build/include/asm/processor.h: In function 'cpuid_count': /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 1 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 2 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 3 of 'native_cpuid' differ in signedness /lib/modules/2.6.23.11/build/include/asm/processor.h:611: warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness configure:11698: $? = 0 configure:11703: result: yes configure:11735: checking for x86-compatible PC configure:11773: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:63: warning: incompatible implicit declaration of built-in function 'exit' configure:11776: $? = 0 configure:11782: ./conftest configure:11785: $? = 0 configure:11787: result: yes configure:11810: checking for High-Res timers configure:11848: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:63: warning: incompatible implicit declaration of built-in function 'exit' configure:11851: $? = 0 configure:11857: ./conftest configure:11860: $? = 0 configure:11862: result: yes configure:11905: checking for PCMCIA support configure:11943: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:61: warning: incompatible implicit declaration of built-in function 'exit' configure:11946: $? = 0 configure:11952: ./conftest configure:11955: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" | #define CONFIG_HAVE_DUMP_STACK 1 | #define CONFIG_HAS_IOPORT 1 | #define CONFIG_SND_VERBOSE_PROCFS 1 | #define CONFIG_SND_VERBOSE_PRINTK 1 | #define CONFIG_SND_DEBUG 1 | #define CONFIG_SND_DEBUG_MEMORY 1 | #define CONFIG_SND_ISA 1 | #define CONFIG_ISAPNP_KERNEL 1 | #define CONFIG_PNP_KERNEL 1 | #define CONFIG_SND_ISAPNP 1 | #define CONFIG_SND_PNP 1 | #define CONFIG_HAVE_STRLCPY 1 | #define CONFIG_HAVE_SNPRINTF 1 | #define CONFIG_HAVE_VSNPRINTF 1 | #define CONFIG_HAVE_SCNPRINTF 1 | #define CONFIG_HAVE_SSCANF 1 | #define CONFIG_HAVE_PDE 1 | #define CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK 1 | #define CONFIG_HAVE_PCI_DEV_PRESENT 1 | #define CONFIG_HAVE_MSLEEP 1 | #define CONFIG_HAVE_MSLEEP_INTERRUPTIBLE 1 | #define CONFIG_HAVE_MSECS_TO_JIFFIES 1 | #define CONFIG_HAVE_VIDEO_GET_DRVDATA 1 | #define CONFIG_HAVE_IO_REMAP_PFN_RANGE 1 | #define CONFIG_HAVE_KCALLOC 1 | #define CONFIG_HAVE_KSTRDUP 1 | #define CONFIG_HAVE_KZALLOC 1 | #define CONFIG_HAVE_PCI_SAVED_CONFIG 1 | #define CONFIG_HAVE_NEW_PCI_SAVE_STATE 1 | #define CONFIG_HAVE_REGISTER_SOUND_SPECIAL_DEVICE 1 | #define CONFIG_SND_VERSION "1.0.15" | #define CONFIG_SND_DATE "" | #define CONFIG_SND_SEQUENCER_MODULE 1 | #define CONFIG_SND_SEQ_DUMMY_MODULE 1 | #define CONFIG_SND_OSSEMUL 1 | #define CONFIG_SND_MIXER_OSS_MODULE 1 | #define CONFIG_SND_PCM_OSS_MODULE 1 | #define CONFIG_SND_SEQUENCER_OSS 1 | #define CONFIG_SND_PCM_OSS_PLUGINS 1 | #define CONFIG_SND_SUPPORT_OLD_API 1 | #define CONFIG_SND_REMOVE_PAGE_RESERVE 1 | #define CONFIG_SND_NESTED_CLASS_DEVICE 1 | #define CONFIG_HAVE_GFP_T 1 | #define CONFIG_HAVE_PNP_SUSPEND 1 | #define CONFIG_SND_HAVE_NEW_IOCTL 1 | /* end confdefs.h. */ | | #include "/lib/modules/2.6.23.11/build/include/linux/autoconf.h" | int main( void ) { | #if !defined(CONFIG_PCMCIA) && !defined(CONFIG_PCMCIA_MODULE) | exit(1); | #else | exit(0); | #endif | } | configure:11965: result: no configure:11979: checking for PCMCIA module support configure:12017: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:61: warning: incompatible implicit declaration of built-in function 'exit' configure:12020: $? = 0 configure:12026: ./conftest configure:12029: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" | #define CONFIG_HAVE_DUMP_STACK 1 | #define CONFIG_HAS_IOPORT 1 | #define CONFIG_SND_VERBOSE_PROCFS 1 | #define CONFIG_SND_VERBOSE_PRINTK 1 | #define CONFIG_SND_DEBUG 1 | #define CONFIG_SND_DEBUG_MEMORY 1 | #define CONFIG_SND_ISA 1 | #define CONFIG_ISAPNP_KERNEL 1 | #define CONFIG_PNP_KERNEL 1 | #define CONFIG_SND_ISAPNP 1 | #define CONFIG_SND_PNP 1 | #define CONFIG_HAVE_STRLCPY 1 | #define CONFIG_HAVE_SNPRINTF 1 | #define CONFIG_HAVE_VSNPRINTF 1 | #define CONFIG_HAVE_SCNPRINTF 1 | #define CONFIG_HAVE_SSCANF 1 | #define CONFIG_HAVE_PDE 1 | #define CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK 1 | #define CONFIG_HAVE_PCI_DEV_PRESENT 1 | #define CONFIG_HAVE_MSLEEP 1 | #define CONFIG_HAVE_MSLEEP_INTERRUPTIBLE 1 | #define CONFIG_HAVE_MSECS_TO_JIFFIES 1 | #define CONFIG_HAVE_VIDEO_GET_DRVDATA 1 | #define CONFIG_HAVE_IO_REMAP_PFN_RANGE 1 | #define CONFIG_HAVE_KCALLOC 1 | #define CONFIG_HAVE_KSTRDUP 1 | #define CONFIG_HAVE_KZALLOC 1 | #define CONFIG_HAVE_PCI_SAVED_CONFIG 1 | #define CONFIG_HAVE_NEW_PCI_SAVE_STATE 1 | #define CONFIG_HAVE_REGISTER_SOUND_SPECIAL_DEVICE 1 | #define CONFIG_SND_VERSION "1.0.15" | #define CONFIG_SND_DATE "" | #define CONFIG_SND_SEQUENCER_MODULE 1 | #define CONFIG_SND_SEQ_DUMMY_MODULE 1 | #define CONFIG_SND_OSSEMUL 1 | #define CONFIG_SND_MIXER_OSS_MODULE 1 | #define CONFIG_SND_PCM_OSS_MODULE 1 | #define CONFIG_SND_SEQUENCER_OSS 1 | #define CONFIG_SND_PCM_OSS_PLUGINS 1 | #define CONFIG_SND_SUPPORT_OLD_API 1 | #define CONFIG_SND_REMOVE_PAGE_RESERVE 1 | #define CONFIG_SND_NESTED_CLASS_DEVICE 1 | #define CONFIG_HAVE_GFP_T 1 | #define CONFIG_HAVE_PNP_SUSPEND 1 | #define CONFIG_SND_HAVE_NEW_IOCTL 1 | /* end confdefs.h. */ | | #include "/lib/modules/2.6.23.11/build/include/linux/autoconf.h" | int main( void ) { | #if !defined(CONFIG_PCMCIA_MODULE) && !defined(CONFIG_PCMCIA_MODULE_MODULE) | exit(1); | #else | exit(0); | #endif | } | configure:12039: result: no configure:12073: checking for PC9800 support in kernel configure:12111: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:61: warning: incompatible implicit declaration of built-in function 'exit' configure:12114: $? = 0 configure:12120: ./conftest configure:12123: $? = 1 configure: program exited with status 1 configure: failed program was: | /* confdefs.h. */ | #define PACKAGE_NAME "" | #define PACKAGE_TARNAME "" | #define PACKAGE_VERSION "" | #define PACKAGE_STRING "" | #define PACKAGE_BUGREPORT "" | #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define CONFIG_SND_MODULE 1 | #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" | #define CONFIG_HAVE_DUMP_STACK 1 | #define CONFIG_HAS_IOPORT 1 | #define CONFIG_SND_VERBOSE_PROCFS 1 | #define CONFIG_SND_VERBOSE_PRINTK 1 | #define CONFIG_SND_DEBUG 1 | #define CONFIG_SND_DEBUG_MEMORY 1 | #define CONFIG_SND_ISA 1 | #define CONFIG_ISAPNP_KERNEL 1 | #define CONFIG_PNP_KERNEL 1 | #define CONFIG_SND_ISAPNP 1 | #define CONFIG_SND_PNP 1 | #define CONFIG_HAVE_STRLCPY 1 | #define CONFIG_HAVE_SNPRINTF 1 | #define CONFIG_HAVE_VSNPRINTF 1 | #define CONFIG_HAVE_SCNPRINTF 1 | #define CONFIG_HAVE_SSCANF 1 | #define CONFIG_HAVE_PDE 1 | #define CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK 1 | #define CONFIG_HAVE_PCI_DEV_PRESENT 1 | #define CONFIG_HAVE_MSLEEP 1 | #define CONFIG_HAVE_MSLEEP_INTERRUPTIBLE 1 | #define CONFIG_HAVE_MSECS_TO_JIFFIES 1 | #define CONFIG_HAVE_VIDEO_GET_DRVDATA 1 | #define CONFIG_HAVE_IO_REMAP_PFN_RANGE 1 | #define CONFIG_HAVE_KCALLOC 1 | #define CONFIG_HAVE_KSTRDUP 1 | #define CONFIG_HAVE_KZALLOC 1 | #define CONFIG_HAVE_PCI_SAVED_CONFIG 1 | #define CONFIG_HAVE_NEW_PCI_SAVE_STATE 1 | #define CONFIG_HAVE_REGISTER_SOUND_SPECIAL_DEVICE 1 | #define CONFIG_SND_VERSION "1.0.15" | #define CONFIG_SND_DATE "" | #define CONFIG_SND_SEQUENCER_MODULE 1 | #define CONFIG_SND_SEQ_DUMMY_MODULE 1 | #define CONFIG_SND_OSSEMUL 1 | #define CONFIG_SND_MIXER_OSS_MODULE 1 | #define CONFIG_SND_PCM_OSS_MODULE 1 | #define CONFIG_SND_SEQUENCER_OSS 1 | #define CONFIG_SND_PCM_OSS_PLUGINS 1 | #define CONFIG_SND_SUPPORT_OLD_API 1 | #define CONFIG_SND_REMOVE_PAGE_RESERVE 1 | #define CONFIG_SND_NESTED_CLASS_DEVICE 1 | #define CONFIG_HAVE_GFP_T 1 | #define CONFIG_HAVE_PNP_SUSPEND 1 | #define CONFIG_SND_HAVE_NEW_IOCTL 1 | /* end confdefs.h. */ | | #include "/lib/modules/2.6.23.11/build/include/linux/autoconf.h" | int main( void ) { | #if !defined(CONFIG_X86_PC9800) && !defined(CONFIG_X86_PC9800_MODULE) | exit(1); | #else | exit(0); | #endif | } | configure:12133: result: no configure:12151: checking for parallel port support configure:12189: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:63: warning: incompatible implicit declaration of built-in function 'exit' configure:12192: $? = 0 configure:12198: ./conftest configure:12201: $? = 0 configure:12203: result: yes configure:12306: checking for power management configure:12344: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:63: warning: incompatible implicit declaration of built-in function 'exit' configure:12347: $? = 0 configure:12353: ./conftest configure:12356: $? = 0 configure:12358: result: yes configure:12383: checking for CONFIG_HAS_DMA configure:12421: gcc -o conftest -g -O2 -I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include conftest.c >&5 conftest.c: In function 'main': conftest.c:63: warning: incompatible implicit declaration of built-in function 'exit' configure:12424: $? = 0 configure:12430: ./conftest configure:12433: $? = 0 configure:12435: result: yes configure:12460: checking for which soundcards to compile driver for configure:14896: result: all configure:16802: creating ./config.status ## ---------------------- ## ## Running config.status. ## ## ---------------------- ## This file was extended by config.status, which was generated by GNU Autoconf 2.61. Invocation command line was CONFIG_FILES = CONFIG_HEADERS = CONFIG_LINKS = CONFIG_COMMANDS = $ ./config.status on viziframe config.status:946: creating version config.status:946: creating Makefile.conf config.status:1081: WARNING: Makefile.conf.in seems to ignore the --datarootdir setting config.status:946: creating snddevices config.status:946: creating utils/alsa-driver.spec config.status:946: creating utils/buildrpm config.status:946: creating toplevel.config config.status:946: creating utils/alsasound config.status:946: creating utils/alsasound.posix config.status:946: creating include/pci_ids_compat.h config.status:946: creating include/i2c-id_compat.h config.status:946: creating include/config.h config.status:946: creating include/config1.h config.status:946: creating include/version.h config.status:946: creating include/autoconf-extra.h ## ---------------- ## ## Cache variables. ## ## ---------------- ## ac_cv_c_compiler_gnu=yes ac_cv_c_const=yes ac_cv_c_inline=inline ac_cv_env_CC_set= ac_cv_env_CC_value= ac_cv_env_CFLAGS_set= ac_cv_env_CFLAGS_value= ac_cv_env_CPPFLAGS_set= ac_cv_env_CPPFLAGS_value= ac_cv_env_CPP_set= ac_cv_env_CPP_value= ac_cv_env_LDFLAGS_set= ac_cv_env_LDFLAGS_value= ac_cv_env_LIBS_set= ac_cv_env_LIBS_value= ac_cv_env_build_alias_set= ac_cv_env_build_alias_value= ac_cv_env_host_alias_set= ac_cv_env_host_alias_value= ac_cv_env_target_alias_set= ac_cv_env_target_alias_value= ac_cv_header_stdc=yes ac_cv_header_time=yes ac_cv_objext=o ac_cv_path_EGREP='/usr/bin/grep -E' ac_cv_path_GREP=/usr/bin/grep ac_cv_path_install='/usr/bin/ginstall -c' ac_cv_prog_CPP='gcc -E' ac_cv_prog_ac_ct_CC=gcc ac_cv_prog_ac_ct_RANLIB=ranlib ac_cv_prog_cc_c89= ac_cv_prog_cc_g=yes ac_cv_prog_gcc_traditional=no ## ----------------- ## ## Output variables. ## ## ----------------- ## AR='ar' ARCH='i386' AS='as' CC='gcc' CFLAGS='-g -O2' CONFIG_AC97_BUS='m' CONFIG_ALPHA='' CONFIG_ARCH_AT91='' CONFIG_ARCH_PXA='' CONFIG_ARCH_S3C2410='' CONFIG_ARCH_SA1100='' CONFIG_ARM='' CONFIG_ARM_AMBA='' CONFIG_ATMEL_SSC='' CONFIG_BROKEN='' CONFIG_CPU_SUBTYPE_SH7760='' CONFIG_EXPERIMENTAL='y' CONFIG_FW_LOADER='y' CONFIG_GSC='' CONFIG_HAS_DMA='y' CONFIG_HAS_IOMEM='' CONFIG_HAS_IOPORT='y' CONFIG_HIGH_RES_TIMERS='y' CONFIG_HPET='y' CONFIG_I2C='' CONFIG_I2C_POWERMAC='' CONFIG_I2C_SENSOR='' CONFIG_INPUT='y' CONFIG_ISA='y' CONFIG_ISAPNP='y' CONFIG_ISAPNP_KERNEL='y' CONFIG_ISA_DMA_API='y' CONFIG_L3='' CONFIG_MACH_ETI_B1='' CONFIG_MACH_ETI_C1='' CONFIG_MACH_NEO1973_GTA01='' CONFIG_MACH_POODLE='' CONFIG_MACH_SMDK2443='' CONFIG_MACH_TOSA='' CONFIG_MIPS='' CONFIG_PARISC='' CONFIG_PARPORT='y' CONFIG_PCI='y' CONFIG_PCMCIA='' CONFIG_PM='y' CONFIG_PNP='y' CONFIG_PNP_KERNEL='y' CONFIG_PPC32='' CONFIG_PPC64='' CONFIG_PPC='' CONFIG_PPC_PMAC='' CONFIG_PROC_FS='y' CONFIG_PS3_PS3AV='' CONFIG_PXA_SHARP_C7XX='' CONFIG_PXA_SHARP_CXX00='' CONFIG_RTC='' CONFIG_SBUS='' CONFIG_SGI='' CONFIG_SH_DMABRG='' CONFIG_SH_DREAMCAST='' CONFIG_SND='m' CONFIG_SND_AC97_CODEC='m' CONFIG_SND_AC97_POWER_SAVE='y' CONFIG_SND_AC97_POWER_SAVE_DEFAULT='0' CONFIG_SND_AD1816A='m' CONFIG_SND_AD1848='m' CONFIG_SND_AD1848_LIB='m' CONFIG_SND_AD1889='m' CONFIG_SND_ADLIB='m' CONFIG_SND_AICA='' CONFIG_SND_ALI5451='m' CONFIG_SND_ALS100='m' CONFIG_SND_ALS300='m' CONFIG_SND_ALS4000='m' CONFIG_SND_AOA='' CONFIG_SND_AOA_FABRIC_LAYOUT='' CONFIG_SND_AOA_ONYX='' CONFIG_SND_AOA_SOUNDBUS='' CONFIG_SND_AOA_SOUNDBUS_I2S='' CONFIG_SND_AOA_TAS='' CONFIG_SND_AOA_TOONIE='' CONFIG_SND_ARMAACI='' CONFIG_SND_ASIHPI='' CONFIG_SND_AT73C213='' CONFIG_SND_AT73C213_TARGET_BITRATE='' CONFIG_SND_AT91_SOC='' CONFIG_SND_AT91_SOC_ETI_B1_WM8731='' CONFIG_SND_AT91_SOC_ETI_SLAVE='' CONFIG_SND_AT91_SOC_SSC='' CONFIG_SND_ATIIXP='m' CONFIG_SND_ATIIXP_MODEM='m' CONFIG_SND_AU1X00='' CONFIG_SND_AU8810='m' CONFIG_SND_AU8820='m' CONFIG_SND_AU8830='m' CONFIG_SND_AZT2320='m' CONFIG_SND_AZT3328='m' CONFIG_SND_BIT32_EMUL='' CONFIG_SND_BT87X='m' CONFIG_SND_BT87X_OVERCLOCK='y' CONFIG_SND_CA0106='m' CONFIG_SND_CMI8330='m' CONFIG_SND_CMIPCI='m' CONFIG_SND_CS4231='m' CONFIG_SND_CS4231_LIB='m' CONFIG_SND_CS4232='m' CONFIG_SND_CS4236='m' CONFIG_SND_CS4281='m' CONFIG_SND_CS46XX='m' CONFIG_SND_CS46XX_NEW_DSP='y' CONFIG_SND_CS5530='m' CONFIG_SND_CS5535AUDIO='' CONFIG_SND_DARLA20='m' CONFIG_SND_DARLA24='m' CONFIG_SND_DATE='' CONFIG_SND_DEBUG='y' CONFIG_SND_DEBUG_DETECT='' CONFIG_SND_DEBUG_MEMORY='y' CONFIG_SND_DT019X='m' CONFIG_SND_DUMMY='m' CONFIG_SND_DYNAMIC_MINORS='' CONFIG_SND_ECHO3G='m' CONFIG_SND_EMU10K1='m' CONFIG_SND_EMU10K1X='m' CONFIG_SND_ENS1370='m' CONFIG_SND_ENS1371='m' CONFIG_SND_ES1688='m' CONFIG_SND_ES18XX='m' CONFIG_SND_ES1938='m' CONFIG_SND_ES1968='m' CONFIG_SND_ES968='m' CONFIG_SND_FM801='m' CONFIG_SND_FM801_TEA575X='m' CONFIG_SND_FM801_TEA575X_BOOL='y' CONFIG_SND_GINA20='m' CONFIG_SND_GINA24='m' CONFIG_SND_GUSCLASSIC='m' CONFIG_SND_GUSEXTREME='m' CONFIG_SND_GUSMAX='m' CONFIG_SND_GUS_SYNTH='m' CONFIG_SND_HARMONY='' CONFIG_SND_HDA_CODEC_ANALOG='y' CONFIG_SND_HDA_CODEC_ATIHDMI='y' CONFIG_SND_HDA_CODEC_CMEDIA='y' CONFIG_SND_HDA_CODEC_CONEXANT='y' CONFIG_SND_HDA_CODEC_REALTEK='y' CONFIG_SND_HDA_CODEC_SI3054='y' CONFIG_SND_HDA_CODEC_SIGMATEL='y' CONFIG_SND_HDA_CODEC_VIA='y' CONFIG_SND_HDA_GENERIC='y' CONFIG_SND_HDA_HWDEP='y' CONFIG_SND_HDA_INTEL='m' CONFIG_SND_HDA_POWER_SAVE='y' CONFIG_SND_HDA_POWER_SAVE_DEFAULT='0' CONFIG_SND_HDSP='m' CONFIG_SND_HDSPM='m' CONFIG_SND_HPET='' CONFIG_SND_HWDEP='m' CONFIG_SND_ICE1712='m' CONFIG_SND_ICE1724='m' CONFIG_SND_INDIGO='m' CONFIG_SND_INDIGODJ='m' CONFIG_SND_INDIGOIO='m' CONFIG_SND_INTEL8X0='m' CONFIG_SND_INTEL8X0M='m' CONFIG_SND_INTERWAVE='m' CONFIG_SND_INTERWAVE_STB='m' CONFIG_SND_KERNELDIR='/lib/modules/2.6.23.11/source' CONFIG_SND_KORG1212='m' CONFIG_SND_KORG1212_FIRMWARE_IN_KERNEL='y' CONFIG_SND_LAYLA20='m' CONFIG_SND_LAYLA24='m' CONFIG_SND_LOOPBACK='m' CONFIG_SND_MAESTRO3='m' CONFIG_SND_MAESTRO3_FIRMWARE_IN_KERNEL='y' CONFIG_SND_MIA='m' CONFIG_SND_MIRO='m' CONFIG_SND_MIXART='m' CONFIG_SND_MIXER_OSS='m' CONFIG_SND_ML403_AC97CR='' CONFIG_SND_MONA='m' CONFIG_SND_MPU401='m' CONFIG_SND_MPU401_UART='m' CONFIG_SND_MSND_PINNACLE='' CONFIG_SND_MTPAV='m' CONFIG_SND_MTS64='m' CONFIG_SND_MVERSION='' CONFIG_SND_NM256='m' CONFIG_SND_OPL3SA2='m' CONFIG_SND_OPL3_LIB='m' CONFIG_SND_OPL4_LIB='m' CONFIG_SND_OPTI92X_AD1848='m' CONFIG_SND_OPTI92X_CS4231='m' CONFIG_SND_OPTI93X='m' CONFIG_SND_OSSEMUL='y' CONFIG_SND_OXYGEN='m' CONFIG_SND_OXYGEN_LIB='m' CONFIG_SND_PC98_CS4232='' CONFIG_SND_PCM='m' CONFIG_SND_PCM_OSS='m' CONFIG_SND_PCM_OSS_PLUGINS='y' CONFIG_SND_PCM_XRUN_DEBUG='y' CONFIG_SND_PCSP='' CONFIG_SND_PCXHR='m' CONFIG_SND_PDAUDIOCF='' CONFIG_SND_PDPLUS='m' CONFIG_SND_PORTMAN2X4='m' CONFIG_SND_POWERMAC='' CONFIG_SND_POWERMAC_AUTO_DRC='' CONFIG_SND_PS3='' CONFIG_SND_PS3_DEFAULT_START_DELAY='' CONFIG_SND_PXA2XX_AC97='' CONFIG_SND_PXA2XX_I2SOUND='m' CONFIG_SND_PXA2XX_PCM='' CONFIG_SND_PXA2XX_SOC='' CONFIG_SND_PXA2XX_SOC_AC97='' CONFIG_SND_PXA2XX_SOC_CORGI='' CONFIG_SND_PXA2XX_SOC_I2S='' CONFIG_SND_PXA2XX_SOC_POODLE='' CONFIG_SND_PXA2XX_SOC_SPITZ='' CONFIG_SND_PXA2XX_SOC_TOSA='' CONFIG_SND_RAWMIDI='m' CONFIG_SND_RIPTIDE='m' CONFIG_SND_RME32='m' CONFIG_SND_RME9652='m' CONFIG_SND_RME96='m' CONFIG_SND_RTCTIMER='' CONFIG_SND_S3C2410='' CONFIG_SND_S3C2443_SOC_AC97='' CONFIG_SND_S3C24XX_SOC='' CONFIG_SND_S3C24XX_SOC_I2S='' CONFIG_SND_S3C24XX_SOC_LN2440SBC_ALC650='' CONFIG_SND_S3C24XX_SOC_NEO1973_WM8753='' CONFIG_SND_S3C24XX_SOC_SMDK2443_WM9710='' CONFIG_SND_SA11XX_UDA1341='' CONFIG_SND_SB16='m' CONFIG_SND_SB16_CSP='y' CONFIG_SND_SB16_CSP_FIRMWARE_IN_KERNEL='y' CONFIG_SND_SB16_DSP='m' CONFIG_SND_SB8='m' CONFIG_SND_SB8_DSP='m' CONFIG_SND_SBAWE='m' CONFIG_SND_SB_COMMON='m' CONFIG_SND_SC6000='m' CONFIG_SND_SEQUENCER='m' CONFIG_SND_SEQUENCER_OSS='y' CONFIG_SND_SEQ_DUMMY='m' CONFIG_SND_SEQ_RTCTIMER_DEFAULT='' CONFIG_SND_SERIALMIDI='' CONFIG_SND_SERIAL_U16550='m' CONFIG_SND_SGALAXY='m' CONFIG_SND_SH7760_AC97='' CONFIG_SND_SOC='m' CONFIG_SND_SOC_AC97_BUS='y' CONFIG_SND_SOC_AC97_CODEC='' CONFIG_SND_SOC_CS4270='' CONFIG_SND_SOC_CS4270_HWMUTE='' CONFIG_SND_SOC_CS4270_VD33_ERRATA='' CONFIG_SND_SOC_PCM_SH7760='' CONFIG_SND_SOC_SH4_HAC='' CONFIG_SND_SOC_SH4_SSI='' CONFIG_SND_SOC_TLV320AIC3X='' CONFIG_SND_SOC_WM8731='' CONFIG_SND_SOC_WM8750='' CONFIG_SND_SOC_WM8753='' CONFIG_SND_SOC_WM9712='' CONFIG_SND_SONICVIBES='m' CONFIG_SND_SSCAPE='m' CONFIG_SND_SUN_AMD7930='' CONFIG_SND_SUN_CS4231='' CONFIG_SND_SUN_DBRI='' CONFIG_SND_SUPPORT_OLD_API='y' CONFIG_SND_TIMER='m' CONFIG_SND_TRIDENT='m' CONFIG_SND_USB_AUDIO='m' CONFIG_SND_USB_CAIAQ='m' CONFIG_SND_USB_CAIAQ_INPUT='y' CONFIG_SND_USB_USX2Y='' CONFIG_SND_VERBOSE_PRINTK='y' CONFIG_SND_VERBOSE_PROCFS='y' CONFIG_SND_VERSION='1.0.15' CONFIG_SND_VIA82XX='m' CONFIG_SND_VIA82XX_MODEM='m' CONFIG_SND_VIRMIDI='m' CONFIG_SND_VIRTUOSO='m' CONFIG_SND_VX222='m' CONFIG_SND_VXPOCKET='' CONFIG_SND_VX_LIB='m' CONFIG_SND_WAVEFRONT='m' CONFIG_SND_WAVEFRONT_FIRMWARE_IN_KERNEL='y' CONFIG_SND_YMFPCI='m' CONFIG_SND_YMFPCI_FIRMWARE_IN_KERNEL='y' CONFIG_SOC_AU1000='' CONFIG_SOC_AU1100='' CONFIG_SOC_AU1500='' CONFIG_SOUND='m' CONFIG_SOUND_PRIME='' CONFIG_SPARC32='' CONFIG_SPARC64='' CONFIG_SPARC='' CONFIG_SUPERH64='' CONFIG_SUPERH='' CONFIG_USB='y' CONFIG_VIDEO_DEV='y' CONFIG_VIDEO_V4L1='y' CONFIG_X86='' CONFIG_X86_32='' CONFIG_X86_64='' CONFIG_X86_PC9800='' CONFIG_X86_PC='y' CONFIG_XILINX_VIRTEX='' CPP='gcc -E' CPPFLAGS='' CROSS_COMPILE='' DEFS='-DHAVE_CONFIG_H' ECHO_C='' ECHO_N='-n' ECHO_T='' EGREP='/usr/bin/grep -E' EXEEXT='' EXTRA_INCLUDES='' GENKSYMS='/sbin/genksyms -k 2.6.23' GREP='/usr/bin/grep' INSTALL_DATA='${INSTALL} -m 644' INSTALL_PROGRAM='${INSTALL}' INSTALL_SCRIPT='${INSTALL}' KERNEL_INC='-I/lib/modules/2.6.23.11/build/include -I/lib/modules/2.6.23.11/source/include' KLD='ld' LDFLAGS='' LIBOBJS='' LIBS='' LTLIBOBJS='' MAKE_ADDS='' NEW_KBUILD='y' OBJEXT='o' PACKAGE_BUGREPORT='' PACKAGE_NAME='' PACKAGE_STRING='' PACKAGE_TARNAME='' PACKAGE_VERSION='' PATH_SEPARATOR=':' RANLIB='ranlib' SHELL='/bin/sh' SRCDIR='/usr/src/alsa-driver' ac_ct_CC='gcc' bindir='${exec_prefix}/bin' build_alias='' c_opts='-O2 -march=i386 -Wdeclaration-after-statement -Wno-pointer-sign -DLINUX' datadir='${datarootdir}' datarootdir='${prefix}/share' docdir='${datarootdir}/doc/${PACKAGE}' dvidir='${docdir}' exec_prefix='${prefix}' host_alias='' htmldir='${docdir}' includedir='${prefix}/include' infodir='${datarootdir}/info' kaversion='2.6.23.11' kextraversion='.11' kpatchlevel='6' ksublevel='23' kversion='2' libdir='${exec_prefix}/lib' libexecdir='${exec_prefix}/libexec' localedir='${datarootdir}/locale' localstatedir='${prefix}/var' m_opts='' mandir='${datarootdir}/man' moddir='/lib/modules/2.6.23.11/kernel/sound' moddir_tree='y' modsubdir='kernel/sound' msmp='' oldincludedir='/usr/include' pdfdir='${docdir}' prefix='/usr' processor='x86_32' program_transform_name='s,x,x,' psdir='${docdir}' sbindir='${exec_prefix}/sbin' sharedstatedir='${prefix}/com' sysconfdir='${prefix}/etc' target_alias='' ## ----------- ## ## confdefs.h. ## ## ----------- ## #define PACKAGE_NAME "" #define PACKAGE_TARNAME "" #define PACKAGE_VERSION "" #define PACKAGE_STRING "" #define PACKAGE_BUGREPORT "" #define STDC_HEADERS 1 #define TIME_WITH_SYS_TIME 1 #define CONFIG_SND_MODULE 1 #define CONFIG_SND_KERNELDIR "/lib/modules/2.6.23.11/source" #define CONFIG_HAVE_DUMP_STACK 1 #define CONFIG_HAS_IOPORT 1 #define CONFIG_SND_VERBOSE_PROCFS 1 #define CONFIG_SND_VERBOSE_PRINTK 1 #define CONFIG_SND_DEBUG 1 #define CONFIG_SND_DEBUG_MEMORY 1 #define CONFIG_SND_ISA 1 #define CONFIG_ISAPNP_KERNEL 1 #define CONFIG_PNP_KERNEL 1 #define CONFIG_SND_ISAPNP 1 #define CONFIG_SND_PNP 1 #define CONFIG_HAVE_STRLCPY 1 #define CONFIG_HAVE_SNPRINTF 1 #define CONFIG_HAVE_VSNPRINTF 1 #define CONFIG_HAVE_SCNPRINTF 1 #define CONFIG_HAVE_SSCANF 1 #define CONFIG_HAVE_PDE 1 #define CONFIG_HAVE_PCI_CONSISTENT_DMA_MASK 1 #define CONFIG_HAVE_PCI_DEV_PRESENT 1 #define CONFIG_HAVE_MSLEEP 1 #define CONFIG_HAVE_MSLEEP_INTERRUPTIBLE 1 #define CONFIG_HAVE_MSECS_TO_JIFFIES 1 #define CONFIG_HAVE_VIDEO_GET_DRVDATA 1 #define CONFIG_HAVE_IO_REMAP_PFN_RANGE 1 #define CONFIG_HAVE_KCALLOC 1 #define CONFIG_HAVE_KSTRDUP 1 #define CONFIG_HAVE_KZALLOC 1 #define CONFIG_HAVE_PCI_SAVED_CONFIG 1 #define CONFIG_HAVE_NEW_PCI_SAVE_STATE 1 #define CONFIG_HAVE_REGISTER_SOUND_SPECIAL_DEVICE 1 #define CONFIG_SND_VERSION "1.0.15" #define CONFIG_SND_DATE "" #define CONFIG_SND_SEQUENCER_MODULE 1 #define CONFIG_SND_SEQ_DUMMY_MODULE 1 #define CONFIG_SND_OSSEMUL 1 #define CONFIG_SND_MIXER_OSS_MODULE 1 #define CONFIG_SND_PCM_OSS_MODULE 1 #define CONFIG_SND_SEQUENCER_OSS 1 #define CONFIG_SND_PCM_OSS_PLUGINS 1 #define CONFIG_SND_SUPPORT_OLD_API 1 #define CONFIG_SND_REMOVE_PAGE_RESERVE 1 #define CONFIG_SND_NESTED_CLASS_DEVICE 1 #define CONFIG_HAVE_GFP_T 1 #define CONFIG_HAVE_PNP_SUSPEND 1 #define CONFIG_SND_HAVE_NEW_IOCTL 1 #define CONFIG_SOUND_MODULE 1 #define CONFIG_SND_TIMER_MODULE 1 #define CONFIG_SND_PCM_MODULE 1 #define CONFIG_SND_HWDEP_MODULE 1 #define CONFIG_SND_RAWMIDI_MODULE 1 #define CONFIG_SND_SEQ_DUMMY_MODULE 1 #define CONFIG_SND_SUPPORT_OLD_API 1 #define CONFIG_PROC_FS_MODULE 1 #define CONFIG_SND_PCM_XRUN_DEBUG 1 #define CONFIG_HPET_MODULE 1 #define CONFIG_SND_MPU401_UART_MODULE 1 #define CONFIG_SND_OPL3_LIB_MODULE 1 #define CONFIG_SND_OPL4_LIB_MODULE 1 #define CONFIG_SND_VX_LIB_MODULE 1 #define CONFIG_SND_AC97_CODEC_MODULE 1 #define CONFIG_SND_DUMMY_MODULE 1 #define CONFIG_SND_VIRMIDI_MODULE 1 #define CONFIG_SND_MTPAV_MODULE 1 #define CONFIG_SND_MTS64_MODULE 1 #define CONFIG_PARPORT_MODULE 1 #define CONFIG_SND_SERIAL_U16550_MODULE 1 #define CONFIG_SND_MPU401_MODULE 1 #define CONFIG_SND_PORTMAN2X4_MODULE 1 #define CONFIG_SND_LOOPBACK_MODULE 1 #define CONFIG_X86_PC_MODULE 1 #define CONFIG_HIGH_RES_TIMERS_MODULE 1 #define CONFIG_SND_AD1848_LIB_MODULE 1 #define CONFIG_SND_CS4231_LIB_MODULE 1 #define CONFIG_SND_SB_COMMON_MODULE 1 #define CONFIG_SND_SB8_DSP_MODULE 1 #define CONFIG_SND_SB16_DSP_MODULE 1 #define CONFIG_SND_ADLIB_MODULE 1 #define CONFIG_SND_AD1816A_MODULE 1 #define CONFIG_PNP_MODULE 1 #define CONFIG_SND_AD1848_MODULE 1 #define CONFIG_SND_ALS100_MODULE 1 #define CONFIG_SND_AZT2320_MODULE 1 #define CONFIG_SND_CMI8330_MODULE 1 #define CONFIG_SND_CS4231_MODULE 1 #define CONFIG_SND_CS4232_MODULE 1 #define CONFIG_SND_CS4236_MODULE 1 #define CONFIG_SND_DT019X_MODULE 1 #define CONFIG_SND_ES968_MODULE 1 #define CONFIG_SND_ES1688_MODULE 1 #define CONFIG_SND_ES18XX_MODULE 1 #define CONFIG_SND_SC6000_MODULE 1 #define CONFIG_SND_GUS_SYNTH_MODULE 1 #define CONFIG_SND_GUSCLASSIC_MODULE 1 #define CONFIG_SND_GUSEXTREME_MODULE 1 #define CONFIG_SND_GUSMAX_MODULE 1 #define CONFIG_SND_INTERWAVE_MODULE 1 #define CONFIG_SND_INTERWAVE_STB_MODULE 1 #define CONFIG_SND_OPL3SA2_MODULE 1 #define CONFIG_SND_OPTI92X_AD1848_MODULE 1 #define CONFIG_SND_OPTI92X_CS4231_MODULE 1 #define CONFIG_SND_OPTI93X_MODULE 1 #define CONFIG_SND_MIRO_MODULE 1 #define CONFIG_SND_SB8_MODULE 1 #define CONFIG_SND_SB16_MODULE 1 #define CONFIG_SND_SBAWE_MODULE 1 #define CONFIG_SND_SB16_CSP 1 #define CONFIG_SND_SB16_CSP_FIRMWARE_IN_KERNEL 1 #define CONFIG_SND_SGALAXY_MODULE 1 #define CONFIG_SND_SSCAPE_MODULE 1 #define CONFIG_SND_WAVEFRONT_MODULE 1 #define CONFIG_SND_WAVEFRONT_FIRMWARE_IN_KERNEL 1 #define CONFIG_SND_AD1889_MODULE 1 #define CONFIG_SND_ALS300_MODULE 1 #define CONFIG_SND_ALS4000_MODULE 1 #define CONFIG_SND_ALI5451_MODULE 1 #define CONFIG_SND_ATIIXP_MODULE 1 #define CONFIG_SND_ATIIXP_MODEM_MODULE 1 #define CONFIG_SND_AU8810_MODULE 1 #define CONFIG_SND_AU8820_MODULE 1 #define CONFIG_SND_AU8830_MODULE 1 #define CONFIG_SND_AZT3328_MODULE 1 #define CONFIG_SND_BT87X_MODULE 1 #define CONFIG_SND_BT87X_OVERCLOCK 1 #define CONFIG_SND_CA0106_MODULE 1 #define CONFIG_SND_CMIPCI_MODULE 1 #define CONFIG_SND_CS4281_MODULE 1 #define CONFIG_SND_CS46XX_MODULE 1 #define CONFIG_SND_CS46XX_NEW_DSP 1 #define CONFIG_SND_CS5530_MODULE 1 #define CONFIG_SND_DARLA20_MODULE 1 #define CONFIG_SND_GINA20_MODULE 1 #define CONFIG_SND_LAYLA20_MODULE 1 #define CONFIG_SND_DARLA24_MODULE 1 #define CONFIG_SND_GINA24_MODULE 1 #define CONFIG_SND_LAYLA24_MODULE 1 #define CONFIG_SND_MONA_MODULE 1 #define CONFIG_SND_MIA_MODULE 1 #define CONFIG_SND_ECHO3G_MODULE 1 #define CONFIG_SND_INDIGO_MODULE 1 #define CONFIG_SND_INDIGOIO_MODULE 1 #define CONFIG_SND_INDIGODJ_MODULE 1 #define CONFIG_SND_EMU10K1_MODULE 1 #define CONFIG_SND_EMU10K1X_MODULE 1 #define CONFIG_SND_ENS1370_MODULE 1 #define CONFIG_SND_ENS1371_MODULE 1 #define CONFIG_SND_ES1938_MODULE 1 #define CONFIG_SND_ES1968_MODULE 1 #define CONFIG_SND_FM801_MODULE 1 #define CONFIG_SND_FM801_TEA575X_BOOL 1 #define CONFIG_SND_FM801_TEA575X_MODULE 1 #define CONFIG_SND_HDA_INTEL_MODULE 1 #define CONFIG_SND_HDA_HWDEP 1 #define CONFIG_SND_HDA_CODEC_REALTEK 1 #define CONFIG_SND_HDA_CODEC_ANALOG 1 #define CONFIG_SND_HDA_CODEC_SIGMATEL 1 #define CONFIG_SND_HDA_CODEC_VIA 1 #define CONFIG_SND_HDA_CODEC_ATIHDMI 1 #define CONFIG_SND_HDA_CODEC_CONEXANT 1 #define CONFIG_SND_HDA_CODEC_CMEDIA 1 #define CONFIG_SND_HDA_CODEC_SI3054 1 #define CONFIG_SND_HDA_GENERIC 1 #define CONFIG_SND_HDA_POWER_SAVE 1 #define CONFIG_SND_HDA_POWER_SAVE_DEFAULT 0 #define CONFIG_SND_HDSP_MODULE 1 #define CONFIG_SND_HDSPM_MODULE 1 #define CONFIG_SND_ICE1712_MODULE 1 #define CONFIG_SND_ICE1724_MODULE 1 #define CONFIG_SND_INTEL8X0_MODULE 1 #define CONFIG_SND_INTEL8X0M_MODULE 1 #define CONFIG_SND_KORG1212_MODULE 1 #define CONFIG_SND_KORG1212_FIRMWARE_IN_KERNEL 1 #define CONFIG_SND_MAESTRO3_MODULE 1 #define CONFIG_SND_MAESTRO3_FIRMWARE_IN_KERNEL 1 #define CONFIG_SND_MIXART_MODULE 1 #define CONFIG_SND_NM256_MODULE 1 #define CONFIG_SND_PCXHR_MODULE 1 #define CONFIG_SND_RIPTIDE_MODULE 1 #define CONFIG_SND_RME32_MODULE 1 #define CONFIG_SND_RME96_MODULE 1 #define CONFIG_SND_RME9652_MODULE 1 #define CONFIG_SND_SONICVIBES_MODULE 1 #define CONFIG_SND_TRIDENT_MODULE 1 #define CONFIG_SND_VIA82XX_MODULE 1 #define CONFIG_SND_VIA82XX_MODEM_MODULE 1 #define CONFIG_SND_VX222_MODULE 1 #define CONFIG_SND_YMFPCI_MODULE 1 #define CONFIG_SND_YMFPCI_FIRMWARE_IN_KERNEL 1 #define CONFIG_SND_AC97_POWER_SAVE 1 #define CONFIG_SND_AC97_POWER_SAVE_DEFAULT 0 #define CONFIG_SND_PDPLUS_MODULE 1 #define CONFIG_SND_OXYGEN_LIB_MODULE 1 #define CONFIG_SND_VIRTUOSO_MODULE 1 #define CONFIG_SND_OXYGEN_MODULE 1 #define CONFIG_SND_PXA2XX_I2SOUND_MODULE 1 #define CONFIG_SND_USB_AUDIO_MODULE 1 #define CONFIG_SND_USB_CAIAQ_MODULE 1 #define CONFIG_SND_USB_CAIAQ_INPUT 1 #define CONFIG_SND_SOC_AC97_BUS 1 #define CONFIG_SND_SOC_MODULE 1 configure: exit 0 -- Thank you again for your help, and please let me know if I can help in any way... -- Darryl House -------------- Original message ---------------------- From: Takashi Iwai <tiwai@suse.de> > At Thu, 20 Dec 2007 00:37:46 +0000, > forumjunk@comcast.net wrote: > > > > > > For VIA platforms, to avoid the driver compile error in pci.h, reconfigure > your kernel to remove SMP support, and set the architecture type to > PC-compatible. > > > > (you already know this, I'm sure): > > Recompile the kernel (as a paranoid, I always trash > /lib/modules/<kernel_version> before making modules_install). Install the > kernel, of course, and reconfigure your boot loader and/or initrd and reboot. > > > > There are still several fixes that need to be made to get all of this to > compile cleanly, but I haven't got the permanent fixes nailed down yet. I'm > almost positive that these are alsa-driver configure errors or omissions. I > can't (yet) find a kernel config that will avoid them. The fixes below are > harmless, and they will allow you to get the driver compiled. > > My guess is that the error of configure script is the only point we > need to fix. > > > Add this definition to the top section of acore/memory_wrapper.c after the > line that reads #include <linux/version.h> > > > > #define VMALLOC_VMADDR(x) ((unsigned long)(x)) > > > > Change these lines (45 and 46 or close to that) of acore/memory_wrapper.c > from: > > > > pmd = pmd_offset(pgd, lpage); > > pte = pte_offset(pmd, lpage); > > > > to > > > > pmd = pmd_offset((pud_t *)pgd, lpage); > > pte = pte_offset_kernel(pmd, lpage); > > > > The driver will then compile cleanly (at least with no errors or warnings > relating to any of these changes) > > Don't do this. This part shouldn't be compiled at all for recent > kernels. This is, again, the problem of configure script that > detected the codes wrongly. > > > So, could you guys show config.log? Otherwise it's hard to know > what's really wrong. > > > thanks, > > Takashi ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card?
@ 2007-12-20 0:37 forumjunk
2007-12-20 11:09 ` Takashi Iwai
0 siblings, 1 reply; 32+ messages in thread
From: forumjunk @ 2007-12-20 0:37 UTC (permalink / raw)
To: alsa-devel
For VIA platforms, to avoid the driver compile error in pci.h, reconfigure your kernel to remove SMP support, and set the architecture type to PC-compatible.
(you already know this, I'm sure):
Recompile the kernel (as a paranoid, I always trash /lib/modules/<kernel_version> before making modules_install). Install the kernel, of course, and reconfigure your boot loader and/or initrd and reboot.
There are still several fixes that need to be made to get all of this to compile cleanly, but I haven't got the permanent fixes nailed down yet. I'm almost positive that these are alsa-driver configure errors or omissions. I can't (yet) find a kernel config that will avoid them. The fixes below are harmless, and they will allow you to get the driver compiled.
Add this definition to the top section of acore/memory_wrapper.c after the line that reads #include <linux/version.h>
#define VMALLOC_VMADDR(x) ((unsigned long)(x))
Change these lines (45 and 46 or close to that) of acore/memory_wrapper.c from:
pmd = pmd_offset(pgd, lpage);
pte = pte_offset(pmd, lpage);
to
pmd = pmd_offset((pud_t *)pgd, lpage);
pte = pte_offset_kernel(pmd, lpage);
The driver will then compile cleanly (at least with no errors or warnings relating to any of these changes)
I will work more as time allows to find or create configure tests to make sure that the correct versions of these functions get included or patched.
^ permalink raw reply [flat|nested] 32+ messages in thread* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-20 0:37 forumjunk @ 2007-12-20 11:09 ` Takashi Iwai 2007-12-20 20:13 ` John Stile [not found] ` <1198174409.8838.2.camel@genx.localdomain> 0 siblings, 2 replies; 32+ messages in thread From: Takashi Iwai @ 2007-12-20 11:09 UTC (permalink / raw) To: forumjunk; +Cc: alsa-devel At Thu, 20 Dec 2007 00:37:46 +0000, forumjunk@comcast.net wrote: > > > For VIA platforms, to avoid the driver compile error in pci.h, reconfigure your kernel to remove SMP support, and set the architecture type to PC-compatible. > > (you already know this, I'm sure): > Recompile the kernel (as a paranoid, I always trash /lib/modules/<kernel_version> before making modules_install). Install the kernel, of course, and reconfigure your boot loader and/or initrd and reboot. > > There are still several fixes that need to be made to get all of this to compile cleanly, but I haven't got the permanent fixes nailed down yet. I'm almost positive that these are alsa-driver configure errors or omissions. I can't (yet) find a kernel config that will avoid them. The fixes below are harmless, and they will allow you to get the driver compiled. My guess is that the error of configure script is the only point we need to fix. > Add this definition to the top section of acore/memory_wrapper.c after the line that reads #include <linux/version.h> > > #define VMALLOC_VMADDR(x) ((unsigned long)(x)) > > Change these lines (45 and 46 or close to that) of acore/memory_wrapper.c from: > > pmd = pmd_offset(pgd, lpage); > pte = pte_offset(pmd, lpage); > > to > > pmd = pmd_offset((pud_t *)pgd, lpage); > pte = pte_offset_kernel(pmd, lpage); > > The driver will then compile cleanly (at least with no errors or warnings relating to any of these changes) Don't do this. This part shouldn't be compiled at all for recent kernels. This is, again, the problem of configure script that detected the codes wrongly. So, could you guys show config.log? Otherwise it's hard to know what's really wrong. thanks, Takashi ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-20 11:09 ` Takashi Iwai @ 2007-12-20 20:13 ` John Stile [not found] ` <1198174409.8838.2.camel@genx.localdomain> 1 sibling, 0 replies; 32+ messages in thread From: John Stile @ 2007-12-20 20:13 UTC (permalink / raw) To: Takashi Iwai; +Cc: forumjunk, alsa-devel On Thu, 2007-12-20 at 12:09 +0100, Takashi Iwai wrote: > At Thu, 20 Dec 2007 00:37:46 +0000, > forumjunk@comcast.net wrote: > > > > > > For VIA platforms, to avoid the driver compile error in pci.h, reconfigure your kernel to remove SMP support, and set the architecture type to PC-compatible. > > > > (you already know this, I'm sure): > > Recompile the kernel (as a paranoid, I always trash /lib/modules/<kernel_version> before making modules_install). Install the kernel, of course, and reconfigure your boot loader and/or initrd and reboot. > > > > There are still several fixes that need to be made to get all of this to compile cleanly, but I haven't got the permanent fixes nailed down yet. I'm almost positive that these are alsa-driver configure errors or omissions. I can't (yet) find a kernel config that will avoid them. The fixes below are harmless, and they will allow you to get the driver compiled. > > My guess is that the error of configure script is the only point we > need to fix. > > > Add this definition to the top section of acore/memory_wrapper.c after the line that reads #include <linux/version.h> > > > > #define VMALLOC_VMADDR(x) ((unsigned long)(x)) > > > > Change these lines (45 and 46 or close to that) of acore/memory_wrapper.c from: > > > > pmd = pmd_offset(pgd, lpage); > > pte = pte_offset(pmd, lpage); > > > > to > > > > pmd = pmd_offset((pud_t *)pgd, lpage); > > pte = pte_offset_kernel(pmd, lpage); > > > > The driver will then compile cleanly (at least with no errors or warnings relating to any of these changes) > > Don't do this. This part shouldn't be compiled at all for recent > kernels. This is, again, the problem of configure script that > detected the codes wrongly. > > > So, could you guys show config.log? Otherwise it's hard to know > what's really wrong. > I recompiled the kernel without SMP support, and as PC-compatible (per forumjunk@comcast.net). In config.log, vmalloc_to_page shows a warning starting at line 540. "function cpuid_count causes a warning: pointer targets in passing argument 4 of 'native_cpuid' differ in signedness". Since config.long is so long... I posted it here: http://pastebin.ca/825772 ^ permalink raw reply [flat|nested] 32+ messages in thread
[parent not found: <1198174409.8838.2.camel@genx.localdomain>]
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? [not found] ` <1198174409.8838.2.camel@genx.localdomain> @ 2007-12-21 9:08 ` Takashi Iwai 2007-12-21 17:57 ` John Stile 0 siblings, 1 reply; 32+ messages in thread From: Takashi Iwai @ 2007-12-21 9:08 UTC (permalink / raw) To: John Stile; +Cc: forumjunk, alsa-devel At Thu, 20 Dec 2007 10:13:29 -0800, John Stile wrote: > > On Thu, 2007-12-20 at 12:09 +0100, Takashi Iwai wrote: > > At Thu, 20 Dec 2007 00:37:46 +0000, > > forumjunk@comcast.net wrote: > > > > > > > > > For VIA platforms, to avoid the driver compile error in pci.h, reconfigure your kernel to remove SMP support, and set the architecture type to PC-compatible. > > > > > > (you already know this, I'm sure): > > > Recompile the kernel (as a paranoid, I always trash /lib/modules/<kernel_version> before making modules_install). Install the kernel, of course, and reconfigure your boot loader and/or initrd and reboot. > > > > > > There are still several fixes that need to be made to get all of this to compile cleanly, but I haven't got the permanent fixes nailed down yet. I'm almost positive that these are alsa-driver configure errors or omissions. I can't (yet) find a kernel config that will avoid them. The fixes below are harmless, and they will allow you to get the driver compiled. > > > > My guess is that the error of configure script is the only point we > > need to fix. > > > > > Add this definition to the top section of acore/memory_wrapper.c after the line that reads #include <linux/version.h> > > > > > > #define VMALLOC_VMADDR(x) ((unsigned long)(x)) > > > > > > Change these lines (45 and 46 or close to that) of acore/memory_wrapper.c from: > > > > > > pmd = pmd_offset(pgd, lpage); > > > pte = pte_offset(pmd, lpage); > > > > > > to > > > > > > pmd = pmd_offset((pud_t *)pgd, lpage); > > > pte = pte_offset_kernel(pmd, lpage); > > > > > > The driver will then compile cleanly (at least with no errors or warnings relating to any of these changes) > > > > Don't do this. This part shouldn't be compiled at all for recent > > kernels. This is, again, the problem of configure script that > > detected the codes wrongly. > > > > > > So, could you guys show config.log? Otherwise it's hard to know > > what's really wrong. > > > > > > thanks, > I recompiled the kernel without SMP support, and as PC-compatible (per > forumjunk@comcast.net). In config.log, vmalloc_to_page shows a warning > starting at line 540. "function cpuid_count causes a warning: pointer > targets in passing argument 4 of 'native_cpuid' differ in signedness". > --------------------------------------- > The config.log Thanks. Does the patch below fix the probelm? Run hgcompile after applying it. Takashi diff -r 414b1156a8b3 configure.in --- a/configure.in Tue Dec 18 16:09:20 2007 +0100 +++ b/configure.in Fri Dec 21 12:10:53 2007 +0100 @@ -1230,7 +1230,7 @@ esac dnl set ia32 (X86) case "$processor" in - i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*) + i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*|x86_32) if $KCC -mpreferred-stack-boundary=2 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then c_opts="-mpreferred-stack-boundary=2 $c_opts" CONFIG_X86=y ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-21 9:08 ` Takashi Iwai @ 2007-12-21 17:57 ` John Stile 2007-12-21 20:03 ` John Stile 0 siblings, 1 reply; 32+ messages in thread From: John Stile @ 2007-12-21 17:57 UTC (permalink / raw) To: Takashi Iwai; +Cc: forumjunk, alsa-devel On Fri, 2007-12-21 at 10:08 +0100, Takashi Iwai wrote: > At Thu, 20 Dec 2007 10:13:29 -0800, > John Stile wrote: > > > > On Thu, 2007-12-20 at 12:09 +0100, Takashi Iwai wrote: > > > At Thu, 20 Dec 2007 00:37:46 +0000, > > > forumjunk@comcast.net wrote: > > > > > > > > > > > > For VIA platforms, to avoid the driver compile error in pci.h, reconfigure your kernel to remove SMP support, and set the architecture type to PC-compatible. > > > > > > > > (you already know this, I'm sure): > > > > Recompile the kernel (as a paranoid, I always trash /lib/modules/<kernel_version> before making modules_install). Install the kernel, of course, and reconfigure your boot loader and/or initrd and reboot. > > > > > > > > There are still several fixes that need to be made to get all of this to compile cleanly, but I haven't got the permanent fixes nailed down yet. I'm almost positive that these are alsa-driver configure errors or omissions. I can't (yet) find a kernel config that will avoid them. The fixes below are harmless, and they will allow you to get the driver compiled. > > > > > > My guess is that the error of configure script is the only point we > > > need to fix. > > > > > > > Add this definition to the top section of acore/memory_wrapper.c after the line that reads #include <linux/version.h> > > > > > > > > #define VMALLOC_VMADDR(x) ((unsigned long)(x)) > > > > > > > > Change these lines (45 and 46 or close to that) of acore/memory_wrapper.c from: > > > > > > > > pmd = pmd_offset(pgd, lpage); > > > > pte = pte_offset(pmd, lpage); > > > > > > > > to > > > > > > > > pmd = pmd_offset((pud_t *)pgd, lpage); > > > > pte = pte_offset_kernel(pmd, lpage); > > > > > > > > The driver will then compile cleanly (at least with no errors or warnings relating to any of these changes) > > > > > > Don't do this. This part shouldn't be compiled at all for recent > > > kernels. This is, again, the problem of configure script that > > > detected the codes wrongly. > > > > > > > > > So, could you guys show config.log? Otherwise it's hard to know > > > what's really wrong. > > > > > > > > > thanks, > > I recompiled the kernel without SMP support, and as PC-compatible (per > > forumjunk@comcast.net). In config.log, vmalloc_to_page shows a warning > > starting at line 540. "function cpuid_count causes a warning: pointer > > targets in passing argument 4 of 'native_cpuid' differ in signedness". > > --------------------------------------- > > The config.log > > Thanks. Does the patch below fix the probelm? > Run hgcompile after applying it. > > > Takashi > > diff -r 414b1156a8b3 configure.in > --- a/configure.in Tue Dec 18 16:09:20 2007 +0100 > +++ b/configure.in Fri Dec 21 12:10:53 2007 +0100 > @@ -1230,7 +1230,7 @@ esac > > dnl set ia32 (X86) > case "$processor" in > - i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*) > + i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*|x86_32) > if $KCC -mpreferred-stack-boundary=2 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then > c_opts="-mpreferred-stack-boundary=2 $c_opts" > CONFIG_X86=y Thank you! Now I get a syntax error below. config.log can be found here: http://pastebin.ca/827290 pico alsa-driver # ./hgcompile utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri ver --versiondep /usr/src/alsa-driver/kconfig-vers --makeconf > toplevel.config.in can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri ver --versiondep /usr/src/alsa-driver/kconfig-vers --acinclude > acinclude.m4 can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri ver --versiondep /usr/src/alsa-driver/kconfig-vers --include > include/config1.h.in can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK ./configure --with-debug=full --with-isapnp=yes --with-sequencer=yes 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 ISO C89... 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 grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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... /usr/src/alsa-driver checking cross compile... checking for directory with kernel source... /lib/modules/2.6.23-gentoo-r3/source checking for directory with kernel build... /lib/modules/2.6.23-gentoo-r3/build checking for kernel linux/version.h... yes checking for kernel linux/autoconf.h... yes checking for kernel version... 2.6.23-gentoo-r3 checking for GCC version... Kernel compiler: gcc 4.1.2 (Gentoo 4.1.2 p1.0.2) Used compi ler: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) checking for built-in ALSA... no checking for existing ALSA module... no 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 for kernel linux/config.h... no Creating <linux/config.h>... checking to modify of kernel linux/kmod.h... no checking for kernel linux/utsrelease.h... yes 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/isa.h... yes checking for kernel linux/jiffies.h... yes checking for kernel linux/compat.h... yes checking for kernel linux/log2.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 linux/latency.h... yes checking for kernel linux/kthread.h... yes checking for kernel asm/irq_regs.h... yes checking for kernel module symbol versions... yes checking for has ioport support... yes checking for PCI support in kernel... yes checking for I2C driver in kernel... module checking for I2C_POWERMAC in kernel... unknown checking for firmware loader... module checking for input subsystem in kernel... yes checking for directory to store kernel modules... /lib/modules/2.6.23-gentoo-r3/kernel/ sound checking for verbose procfs... on checking for verbose printk... on checking for debug level... full checking for ISA support in kernel... yes checking for processor type... x86_32 ./configure: line 8001: syntax error near unexpected token `;;' ./configure: line 8001: ` ;;' ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-21 17:57 ` John Stile @ 2007-12-21 20:03 ` John Stile 2007-12-22 18:35 ` John Stile 0 siblings, 1 reply; 32+ messages in thread From: John Stile @ 2007-12-21 20:03 UTC (permalink / raw) To: Takashi Iwai; +Cc: forumjunk, alsa-devel On Fri, 2007-12-21 at 09:57 -0800, John Stile wrote: > On Fri, 2007-12-21 at 10:08 +0100, Takashi Iwai wrote: > > At Thu, 20 Dec 2007 10:13:29 -0800, > > John Stile wrote: > > > > > > On Thu, 2007-12-20 at 12:09 +0100, Takashi Iwai wrote: > > > > At Thu, 20 Dec 2007 00:37:46 +0000, > > > > forumjunk@comcast.net wrote: > > > > > > > > > > > > > > > For VIA platforms, to avoid the driver compile error in pci.h, reconfigure your kernel to remove SMP support, and set the architecture type to PC-compatible. > > > > > > > > > > (you already know this, I'm sure): > > > > > Recompile the kernel (as a paranoid, I always trash /lib/modules/<kernel_version> before making modules_install). Install the kernel, of course, and reconfigure your boot loader and/or initrd and reboot. > > > > > > > > > > There are still several fixes that need to be made to get all of this to compile cleanly, but I haven't got the permanent fixes nailed down yet. I'm almost positive that these are alsa-driver configure errors or omissions. I can't (yet) find a kernel config that will avoid them. The fixes below are harmless, and they will allow you to get the driver compiled. > > > > > > > > My guess is that the error of configure script is the only point we > > > > need to fix. > > > > > > > > > Add this definition to the top section of acore/memory_wrapper.c after the line that reads #include <linux/version.h> > > > > > > > > > > #define VMALLOC_VMADDR(x) ((unsigned long)(x)) > > > > > > > > > > Change these lines (45 and 46 or close to that) of acore/memory_wrapper.c from: > > > > > > > > > > pmd = pmd_offset(pgd, lpage); > > > > > pte = pte_offset(pmd, lpage); > > > > > > > > > > to > > > > > > > > > > pmd = pmd_offset((pud_t *)pgd, lpage); > > > > > pte = pte_offset_kernel(pmd, lpage); > > > > > > > > > > The driver will then compile cleanly (at least with no errors or warnings relating to any of these changes) > > > > > > > > Don't do this. This part shouldn't be compiled at all for recent > > > > kernels. This is, again, the problem of configure script that > > > > detected the codes wrongly. > > > > > > > > > > > > So, could you guys show config.log? Otherwise it's hard to know > > > > what's really wrong. > > > > > > > > > > > > thanks, > > > I recompiled the kernel without SMP support, and as PC-compatible (per > > > forumjunk@comcast.net). In config.log, vmalloc_to_page shows a warning > > > starting at line 540. "function cpuid_count causes a warning: pointer > > > targets in passing argument 4 of 'native_cpuid' differ in signedness". > > > --------------------------------------- > > > The config.log > > > > Thanks. Does the patch below fix the probelm? > > Run hgcompile after applying it. > > > > > > Takashi > > > > diff -r 414b1156a8b3 configure.in > > --- a/configure.in Tue Dec 18 16:09:20 2007 +0100 > > +++ b/configure.in Fri Dec 21 12:10:53 2007 +0100 > > @@ -1230,7 +1230,7 @@ esac > > > > dnl set ia32 (X86) > > case "$processor" in > > - i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*) > > + i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*|x86_32) > > if $KCC -mpreferred-stack-boundary=2 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then > > c_opts="-mpreferred-stack-boundary=2 $c_opts" > > CONFIG_X86=y > > Thank you! > Now I get a syntax error below. > config.log can be found here: http://pastebin.ca/827290 > > pico alsa-driver # ./hgcompile > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri > ver --versiondep /usr/src/alsa-driver/kconfig-vers --makeconf > toplevel.config.in > can't handle word INPUT=y properly, supposing it's OK > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri > ver --versiondep /usr/src/alsa-driver/kconfig-vers --acinclude > acinclude.m4 > can't handle word INPUT=y properly, supposing it's OK > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri > ver --versiondep /usr/src/alsa-driver/kconfig-vers --include > include/config1.h.in > can't handle word INPUT=y properly, supposing it's OK > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > ./configure --with-debug=full --with-isapnp=yes --with-sequencer=yes > 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 ISO C89... 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 grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/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... /usr/src/alsa-driver > checking cross compile... > checking for directory with kernel source... /lib/modules/2.6.23-gentoo-r3/source > checking for directory with kernel build... /lib/modules/2.6.23-gentoo-r3/build > checking for kernel linux/version.h... yes > checking for kernel linux/autoconf.h... yes > checking for kernel version... 2.6.23-gentoo-r3 > checking for GCC version... Kernel compiler: gcc 4.1.2 (Gentoo 4.1.2 p1.0.2) Used compi > ler: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) > checking for built-in ALSA... no > checking for existing ALSA module... no > 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 for kernel linux/config.h... no > Creating <linux/config.h>... > checking to modify of kernel linux/kmod.h... no > checking for kernel linux/utsrelease.h... yes > 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/isa.h... yes > checking for kernel linux/jiffies.h... yes > checking for kernel linux/compat.h... yes > checking for kernel linux/log2.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 linux/latency.h... yes > checking for kernel linux/kthread.h... yes > checking for kernel asm/irq_regs.h... yes > checking for kernel module symbol versions... yes > checking for has ioport support... yes > checking for PCI support in kernel... yes > checking for I2C driver in kernel... module > checking for I2C_POWERMAC in kernel... unknown > checking for firmware loader... module > checking for input subsystem in kernel... yes > checking for directory to store kernel modules... /lib/modules/2.6.23-gentoo-r3/kernel/ sound > checking for verbose procfs... on > checking for verbose printk... on > checking for debug level... full > checking for ISA support in kernel... yes > checking for processor type... x86_32 > ./configure: line 8001: syntax error near unexpected token `;;' > ./configure: line 8001: ` ;;' Whoops! I tried reapplied the changes to a fresh checkout, and now it builds just fine. I applied the change to: configure.in alsa-kernel/pci/hda/patch_via.c I have to wait until tonight to test. Thank you! ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-21 20:03 ` John Stile @ 2007-12-22 18:35 ` John Stile 2007-12-24 19:22 ` John Stile 0 siblings, 1 reply; 32+ messages in thread From: John Stile @ 2007-12-22 18:35 UTC (permalink / raw) To: Takashi Iwai; +Cc: forumjunk, alsa-devel On Fri, 2007-12-21 at 12:03 -0800, John Stile wrote: > On Fri, 2007-12-21 at 09:57 -0800, John Stile wrote: > > On Fri, 2007-12-21 at 10:08 +0100, Takashi Iwai wrote: > > > At Thu, 20 Dec 2007 10:13:29 -0800, > > > John Stile wrote: > > > > > > > > On Thu, 2007-12-20 at 12:09 +0100, Takashi Iwai wrote: > > > > > At Thu, 20 Dec 2007 00:37:46 +0000, > > > > > forumjunk@comcast.net wrote: > > > > > > > > > > > > > > > > > > For VIA platforms, to avoid the driver compile error in pci.h, reconfigure your kernel to remove SMP support, and set the architecture type to PC-compatible. > > > > > > > > > > > > (you already know this, I'm sure): > > > > > > Recompile the kernel (as a paranoid, I always trash /lib/modules/<kernel_version> before making modules_install). Install the kernel, of course, and reconfigure your boot loader and/or initrd and reboot. > > > > > > > > > > > > There are still several fixes that need to be made to get all of this to compile cleanly, but I haven't got the permanent fixes nailed down yet. I'm almost positive that these are alsa-driver configure errors or omissions. I can't (yet) find a kernel config that will avoid them. The fixes below are harmless, and they will allow you to get the driver compiled. > > > > > > > > > > My guess is that the error of configure script is the only point we > > > > > need to fix. > > > > > > > > > > > Add this definition to the top section of acore/memory_wrapper.c after the line that reads #include <linux/version.h> > > > > > > > > > > > > #define VMALLOC_VMADDR(x) ((unsigned long)(x)) > > > > > > > > > > > > Change these lines (45 and 46 or close to that) of acore/memory_wrapper.c from: > > > > > > > > > > > > pmd = pmd_offset(pgd, lpage); > > > > > > pte = pte_offset(pmd, lpage); > > > > > > > > > > > > to > > > > > > > > > > > > pmd = pmd_offset((pud_t *)pgd, lpage); > > > > > > pte = pte_offset_kernel(pmd, lpage); > > > > > > > > > > > > The driver will then compile cleanly (at least with no errors or warnings relating to any of these changes) > > > > > > > > > > Don't do this. This part shouldn't be compiled at all for recent > > > > > kernels. This is, again, the problem of configure script that > > > > > detected the codes wrongly. > > > > > > > > > > > > > > > So, could you guys show config.log? Otherwise it's hard to know > > > > > what's really wrong. > > > > > > > > > > > > > > > thanks, > > > > I recompiled the kernel without SMP support, and as PC-compatible (per > > > > forumjunk@comcast.net). In config.log, vmalloc_to_page shows a warning > > > > starting at line 540. "function cpuid_count causes a warning: pointer > > > > targets in passing argument 4 of 'native_cpuid' differ in signedness". > > > > --------------------------------------- > > > > The config.log > > > > > > Thanks. Does the patch below fix the probelm? > > > Run hgcompile after applying it. > > > > > > > > > Takashi > > > > > > diff -r 414b1156a8b3 configure.in > > > --- a/configure.in Tue Dec 18 16:09:20 2007 +0100 > > > +++ b/configure.in Fri Dec 21 12:10:53 2007 +0100 > > > @@ -1230,7 +1230,7 @@ esac > > > > > > dnl set ia32 (X86) > > > case "$processor" in > > > - i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*) > > > + i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*|x86_32) > > > if $KCC -mpreferred-stack-boundary=2 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then > > > c_opts="-mpreferred-stack-boundary=2 $c_opts" > > > CONFIG_X86=y > > > > Thank you! > > Now I get a syntax error below. > > config.log can be found here: http://pastebin.ca/827290 > > > > pico alsa-driver # ./hgcompile > > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri > > ver --versiondep /usr/src/alsa-driver/kconfig-vers --makeconf > toplevel.config.in > > can't handle word INPUT=y properly, supposing it's OK > > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri > > ver --versiondep /usr/src/alsa-driver/kconfig-vers --acinclude > acinclude.m4 > > can't handle word INPUT=y properly, supposing it's OK > > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri > > ver --versiondep /usr/src/alsa-driver/kconfig-vers --include > include/config1.h.in > > can't handle word INPUT=y properly, supposing it's OK > > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > > ./configure --with-debug=full --with-isapnp=yes --with-sequencer=yes > > 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 ISO C89... 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 grep that handles long lines and -e... /bin/grep > > checking for egrep... /bin/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... /usr/src/alsa-driver > > checking cross compile... > > checking for directory with kernel source... /lib/modules/2.6.23-gentoo-r3/source > > checking for directory with kernel build... /lib/modules/2.6.23-gentoo-r3/build > > checking for kernel linux/version.h... yes > > checking for kernel linux/autoconf.h... yes > > checking for kernel version... 2.6.23-gentoo-r3 > > checking for GCC version... Kernel compiler: gcc 4.1.2 (Gentoo 4.1.2 p1.0.2) Used compi > > ler: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) > > checking for built-in ALSA... no > > checking for existing ALSA module... no > > 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 for kernel linux/config.h... no > > Creating <linux/config.h>... > > checking to modify of kernel linux/kmod.h... no > > checking for kernel linux/utsrelease.h... yes > > 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/isa.h... yes > > checking for kernel linux/jiffies.h... yes > > checking for kernel linux/compat.h... yes > > checking for kernel linux/log2.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 linux/latency.h... yes > > checking for kernel linux/kthread.h... yes > > checking for kernel asm/irq_regs.h... yes > > checking for kernel module symbol versions... yes > > checking for has ioport support... yes > > checking for PCI support in kernel... yes > > checking for I2C driver in kernel... module > > checking for I2C_POWERMAC in kernel... unknown > > checking for firmware loader... module > > checking for input subsystem in kernel... yes > > checking for directory to store kernel modules... /lib/modules/2.6.23-gentoo-r3/kernel/ sound > > checking for verbose procfs... on > > checking for verbose printk... on > > checking for debug level... full > > checking for ISA support in kernel... yes > > checking for processor type... x86_32 > > ./configure: line 8001: syntax error near unexpected token `;;' > > ./configure: line 8001: ` ;;' > Whoops! I tried reapplied the changes to a fresh checkout, and now it > builds just fine. I applied the change to: > configure.in > alsa-kernel/pci/hda/patch_via.c > I have to wait until tonight to test. > Thank you! I have similar results to Darryl House after applying the 2 patches Error: ALSA lib pcm_dmix.c:829:(snd_pcm_dmix_open) unable to open slave play soxio: Failed writing `default': cannot open audio device ---------------------- procedure followed: # Download and compile the HG alsa-driver package: hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver cd alsa-driver hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel # Apply patches to: # alsa-driver/configure.in # AND # alsa-kernel/pci/hda/patch_via.c # Build kernel component ./hgcompile && make install popd # Load driver modprobe snd-hda-intel # Build HG alsa-libs and alsa-utils hg clone http://hg-mirror.alsa-project.org/alsa-lib alsa-lib pushd alsa-lib ./hgcompile && make install # Run config sh ./alsaconf/alsaconf # Select card: # VIA Technologies, Inc. VIA High Definition Audio Controller # Turn up the levels ./alsamixer/alsamixer # Try to play ./aplay/aplay /root/Track01.wav ALSA lib pcm_dmix.c:829:(snd_pcm_dmix_open) unable to open slave aplay: main:546: audio open error: Inappropriate ioctl for device # Strace aplay pico alsa-utils # strace -tt ./aplay/aplay /root/Track01.wav 10:36:55.550401 execve("./aplay/aplay", ["./aplay/aplay", "/root/Track01.wav"], [/* 41 vars */]) = 0 10:36:55.551561 brk(0) = 0x8055000 10:36:55.551879 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) 10:36:55.552129 open("/etc/ld.so.cache", O_RDONLY) = 3 10:36:55.552307 fstat64(3, {st_mode=S_IFREG|0644, st_size=114984, ...}) = 0 10:36:55.552572 mmap2(NULL, 114984, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f21000 10:36:55.552753 close(3) = 0 10:36:55.552928 open("/usr/lib/libasound.so.2", O_RDONLY) = 3 10:36:55.553108 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\365\1\0004\0\0\0"..., 512) = 512 10:36:55.553329 fstat64(3, {st_mode=S_IFREG|0755, st_size=2762708, ...}) = 0 10:36:55.553792 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f20000 10:36:55.554008 mmap2(NULL, 789320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e5f000 10:36:55.554186 mmap2(0xb7f1b000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xbb) = 0xb7f1b000 10:36:55.554605 close(3) = 0 10:36:55.554843 open("/lib/libm.so.6", O_RDONLY) = 3 10:36:55.555031 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p4\0\0004\0\0\0"..., 512) = 512 10:36:55.555254 fstat64(3, {st_mode=S_IFREG|0755, st_size=149256, ...}) = 0 10:36:55.555490 mmap2(NULL, 151680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e39000 10:36:55.555667 mmap2(0xb7e5d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) = 0xb7e5d000 10:36:55.555900 close(3) = 0 10:36:55.556071 open("/lib/libdl.so.2", O_RDONLY) = 3 10:36:55.556242 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n\0\0004\0\0\0"..., 512) = 512 10:36:55.556482 fstat64(3, {st_mode=S_IFREG|0755, st_size=9612, ...}) = 0 10:36:55.556680 mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e35000 10:36:55.556848 mmap2(0xb7e37000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7e37000 10:36:55.557068 close(3) = 0 10:36:55.557240 open("/lib/libpthread.so.0", O_RDONLY) = 3 10:36:55.557425 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 H\0\0004\0\0\0"..., 512) = 512 10:36:55.557638 fstat64(3, {st_mode=S_IFREG|0755, st_size=84168, ...}) = 0 10:36:55.557832 mmap2(NULL, 90592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e1e000 10:36:55.558000 mmap2(0xb7e31000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb7e31000 10:36:55.558213 mmap2(0xb7e33000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e33000 10:36:55.558425 close(3) = 0 10:36:55.558594 open("/lib/libc.so.6", O_RDONLY) = 3 10:36:55.558763 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@a\1\0004\0\0\0"..., 512) = 512 10:36:55.558973 fstat64(3, {st_mode=S_IFREG|0755, st_size=1237276, ...}) = 0 10:36:55.559172 mmap2(NULL, 1242576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cee000 10:36:55.559339 mmap2(0xb7e18000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12a) = 0xb7e18000 10:36:55.559540 mmap2(0xb7e1b000, 9680, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e1b000 10:36:55.560348 close(3) = 0 10:36:55.560635 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ced000 10:36:55.560857 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cec000 10:36:55.561037 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7cec6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 10:36:55.561568 mprotect(0xb7e18000, 8192, PROT_READ) = 0 10:36:55.561782 mprotect(0xb7e31000, 4096, PROT_READ) = 0 10:36:55.561968 mprotect(0xb7e37000, 4096, PROT_READ) = 0 10:36:55.562137 mprotect(0xb7e5d000, 4096, PROT_READ) = 0 10:36:55.562592 mprotect(0xb7f1b000, 8192, PROT_READ) = 0 10:36:55.562780 mprotect(0x8053000, 4096, PROT_READ) = 0 10:36:55.562936 mprotect(0xb7f59000, 4096, PROT_READ) = 0 10:36:55.563069 munmap(0xb7f21000, 114984) = 0 10:36:55.563221 set_tid_address(0xb7cec708) = 2705 10:36:55.563342 set_robust_list(0xb7cec710, 0xc) = 0 10:36:55.563550 rt_sigaction(SIGRTMIN, {0xb7e22320, [], SA_SIGINFO}, NULL, 8) = 0 10:36:55.563735 rt_sigaction(SIGRT_1, {0xb7e223a0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0 10:36:55.563891 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 10:36:55.564049 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 10:36:55.564260 uname({sys="Linux", node="pico", ...}) = 0 10:36:55.564849 brk(0) = 0x8055000 10:36:55.565006 brk(0x8076000) = 0x8076000 10:36:55.565286 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 10:36:55.565549 open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3 10:36:55.565747 fstat64(3, {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 10:36:55.565930 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000 10:36:55.566081 read(3, "#\n# ALSA library configuration "..., 4096) = 4096 10:36:55.568585 read(3, "r\n\t\t\t\tname defaults.pcm.device\n\t"..., 4096) = 4096 10:36:55.571159 read(3, " {\n\t\t\t@func refer\n\t\t\tname defaul"..., 4096) = 420 10:36:55.571703 read(3, "", 4096) = 0 10:36:55.571862 read(3, "", 4096) = 0 10:36:55.572039 close(3) = 0 10:36:55.572190 munmap(0xb7f3d000, 4096) = 0 10:36:55.572831 futex(0xb7e38070, FUTEX_WAKE, 2147483647) = 0 10:36:55.573297 access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory) 10:36:55.573513 access("/root/.asoundrc", R_OK) = -1 ENOENT (No such file or directory) 10:36:55.574099 open("/usr/share/alsa/cards/aliases.conf", O_RDONLY) = 3 10:36:55.574351 fstat64(3, {st_mode=S_IFREG|0644, st_size=1293, ...}) = 0 10:36:55.574618 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000 10:36:55.574798 read(3, "#\n# Define aliases for various "..., 4096) = 1293 10:36:55.575567 open("/usr/share/alsa/pcm/default.conf", O_RDONLY) = 4 10:36:55.575764 fstat64(4, {st_mode=S_IFREG|0644, st_size=762, ...}) = 0 10:36:55.575960 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 10:36:55.576127 read(4, "#\n# Default output\n#\n\npcm.!defau"..., 4096) = 762 10:36:55.576660 read(4, "", 4096) = 0 10:36:55.576833 close(4) = 0 10:36:55.576982 munmap(0xb7f3c000, 4096) = 0 10:36:55.577171 open("/usr/share/alsa/pcm/dmix.conf", O_RDONLY) = 4 10:36:55.577359 fstat64(4, {st_mode=S_IFREG|0644, st_size=1520, ...}) = 0 10:36:55.577576 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 10:36:55.577743 read(4, "#\n# dmix output\n#\n\npcm.!dmix {\n\t"..., 4096) = 1520 10:36:55.578570 read(4, "", 4096) = 0 10:36:55.578735 close(4) = 0 10:36:55.578883 munmap(0xb7f3c000, 4096) = 0 10:36:55.579063 open("/usr/share/alsa/pcm/dsnoop.conf", O_RDONLY) = 4 10:36:55.579251 fstat64(4, {st_mode=S_IFREG|0644, st_size=1532, ...}) = 0 10:36:55.579839 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 10:36:55.580080 read(4, "#\n# dsnoop\n#\n\npcm.!dsnoop {\n\t@ar"..., 4096) = 1532 10:36:55.581221 read(4, "", 4096) = 0 10:36:55.581501 close(4) = 0 10:36:55.581655 munmap(0xb7f3c000, 4096) = 0 10:36:55.581828 read(3, "", 4096) = 0 10:36:55.581981 read(3, "", 4096) = 0 10:36:55.582130 close(3) = 0 10:36:55.582273 munmap(0xb7f3d000, 4096) = 0 10:36:55.582648 open("/dev/snd/controlC0", O_RDONLY) = 3 10:36:55.582892 close(3) = 0 10:36:55.583108 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 10:36:55.583890 open("/dev/snd/controlC0", O_RDONLY) = 3 10:36:55.584219 close(3) = 0 10:36:55.584402 open("/dev/snd/controlC0", O_RDWR) = 3 10:36:55.584587 ioctl(3, USBDEVFS_CONTROL, 0xbfa50788) = 0 10:36:55.584798 ioctl(3, UI_DEV_CREATE, 0xbfa50760) = 0 10:36:55.584968 close(3) = 0 10:36:55.585608 access("/usr/share/alsa/cards/HDA-Intel.conf", R_OK) = 0 10:36:55.585867 open("/usr/share/alsa/cards/HDA-Intel.conf", O_RDONLY) = 3 10:36:55.586057 fstat64(3, {st_mode=S_IFREG|0644, st_size=2148, ...}) = 0 10:36:55.586272 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000 10:36:55.586484 read(3, "#\n# Configuration for the Intel "..., 4096) = 2148 10:36:55.586718 open("/usr/share/alsa/pcm/front.conf", O_RDONLY) = 4 10:36:55.586903 fstat64(4, {st_mode=S_IFREG|0644, st_size=752, ...}) = 0 10:36:55.587098 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 10:36:55.587263 read(4, "#\n# Hardware output from front s"..., 4096) = 752 10:36:55.587773 read(4, "", 4096) = 0 10:36:55.587936 close(4) = 0 10:36:55.588084 munmap(0xb7f3c000, 4096) = 0 10:36:55.588703 open("/usr/share/alsa/pcm/surround40.conf", O_RDONLY) = 4 10:36:55.588926 fstat64(4, {st_mode=S_IFREG|0644, st_size=877, ...}) = 0 10:36:55.589129 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 10:36:55.589299 read(4, "#\n# Hardware output from 4.0 sp"..., 4096) = 877 10:36:55.589857 read(4, "", 4096) = 0 10:36:55.590021 close(4) = 0 10:36:55.590168 munmap(0xb7f3c000, 4096) = 0 10:36:55.590348 open("/usr/share/alsa/pcm/surround41.conf", O_RDONLY) = 4 10:36:55.590550 fstat64(4, {st_mode=S_IFREG|0644, st_size=992, ...}) = 0 10:36:55.590752 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 10:36:55.590919 read(4, "#\n# Hardware output from 4.1 sp"..., 4096) = 992 10:36:55.591520 read(4, "", 4096) = 0 10:36:55.591683 close(4) = 0 10:36:55.591829 munmap(0xb7f3c000, 4096) = 0 10:36:55.592001 open("/usr/share/alsa/pcm/surround50.conf", O_RDONLY) = 4 10:36:55.592187 fstat64(4, {st_mode=S_IFREG|0644, st_size=992, ...}) = 0 10:36:55.592383 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 10:36:55.592852 read(4, "#\n# Hardware output from 5.0 sp"..., 4096) = 992 10:36:55.593710 read(4, "", 4096) = 0 10:36:55.593946 close(4) = 0 10:36:55.594097 munmap(0xb7f3c000, 4096) = 0 10:36:55.594291 open("/usr/share/alsa/pcm/surround51.conf", O_RDONLY) = 4 10:36:55.594725 fstat64(4, {st_mode=S_IFREG|0644, st_size=930, ...}) = 0 10:36:55.594944 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 10:36:55.595115 read(4, "#\n# Hardware output from 5.1 sp"..., 4096) = 930 10:36:55.595678 read(4, "", 4096) = 0 10:36:55.595843 close(4) = 0 10:36:55.595989 munmap(0xb7f3c000, 4096) = 0 10:36:55.596172 open("/usr/share/alsa/pcm/surround71.conf", O_RDONLY) = 4 10:36:55.596368 fstat64(4, {st_mode=S_IFREG|0644, st_size=978, ...}) = 0 10:36:55.596837 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 10:36:55.597018 read(4, "#\n# Hardware output from 7.1 sp"..., 4096) = 978 10:36:55.597610 read(4, "", 4096) = 0 10:36:55.597775 close(4) = 0 10:36:55.597922 munmap(0xb7f3c000, 4096) = 0 10:36:55.598191 open("/usr/share/alsa/pcm/iec958.conf", O_RDONLY) = 4 10:36:55.598387 fstat64(4, {st_mode=S_IFREG|0644, st_size=1213, ...}) = 0 10:36:55.598587 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 10:36:55.598754 read(4, "#\n# Hardware output from iec958"..., 4096) = 1213 10:36:55.599509 read(4, "", 4096) = 0 10:36:55.599727 close(4) = 0 10:36:55.599874 munmap(0xb7f3c000, 4096) = 0 10:36:55.600448 open("/usr/share/alsa/pcm/modem.conf", O_RDONLY) = 4 10:36:55.600652 fstat64(4, {st_mode=S_IFREG|0644, st_size=1314, ...}) = 0 10:36:55.600855 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 10:36:55.601025 read(4, "#\n# \"raw\" modem - phoneline\n#\n\np"..., 4096) = 1314 10:36:55.601764 read(4, "", 4096) = 0 10:36:55.601923 close(4) = 0 10:36:55.602068 munmap(0xb7f3c000, 4096) = 0 10:36:55.602309 read(3, "", 4096) = 0 10:36:55.602512 read(3, "", 4096) = 0 10:36:55.602662 close(3) = 0 10:36:55.602806 munmap(0xb7f3d000, 4096) = 0 10:36:55.602971 open("/dev/snd/controlC1", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.603178 open("/dev/aloadC1", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.603354 open("/dev/snd/controlC2", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.603550 open("/dev/aloadC2", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.603725 open("/dev/snd/controlC3", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.603909 open("/dev/aloadC3", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.604066 open("/dev/snd/controlC4", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.604226 open("/dev/aloadC4", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.604382 open("/dev/snd/controlC5", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.604868 open("/dev/aloadC5", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.605048 open("/dev/snd/controlC6", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.605227 open("/dev/aloadC6", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.605401 open("/dev/snd/controlC7", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.605578 open("/dev/aloadC7", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.605752 open("/dev/snd/controlC8", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.605929 open("/dev/aloadC8", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.606101 open("/dev/snd/controlC9", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.606279 open("/dev/aloadC9", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.606684 open("/dev/snd/controlC10", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.606883 open("/dev/aloadC10", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.607056 open("/dev/snd/controlC11", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.607234 open("/dev/aloadC11", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.607407 open("/dev/snd/controlC12", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.607590 open("/dev/aloadC12", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.607763 open("/dev/snd/controlC13", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.607940 open("/dev/aloadC13", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.608113 open("/dev/snd/controlC14", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.608292 open("/dev/aloadC14", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.608496 open("/dev/snd/controlC15", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.608676 open("/dev/aloadC15", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.608849 open("/dev/snd/controlC16", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.609028 open("/dev/aloadC16", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.609200 open("/dev/snd/controlC17", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.609379 open("/dev/aloadC17", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.612664 open("/dev/snd/controlC18", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.612894 open("/dev/aloadC18", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.613070 open("/dev/snd/controlC19", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.613250 open("/dev/aloadC19", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.613471 open("/dev/snd/controlC20", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.613656 open("/dev/aloadC20", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.613830 open("/dev/snd/controlC21", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.614010 open("/dev/aloadC21", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.614182 open("/dev/snd/controlC22", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.614365 open("/dev/aloadC22", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.614563 open("/dev/snd/controlC23", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.614742 open("/dev/aloadC23", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.614916 open("/dev/snd/controlC24", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.615095 open("/dev/aloadC24", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.615277 open("/dev/snd/controlC25", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.615473 open("/dev/aloadC25", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.615649 open("/dev/snd/controlC26", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.615829 open("/dev/aloadC26", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.616003 open("/dev/snd/controlC27", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.616183 open("/dev/aloadC27", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.616357 open("/dev/snd/controlC28", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.616819 open("/dev/aloadC28", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.617004 open("/dev/snd/controlC29", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.617183 open("/dev/aloadC29", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.617357 open("/dev/snd/controlC30", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.617558 open("/dev/aloadC30", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.617735 open("/dev/snd/controlC31", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.617913 open("/dev/aloadC31", O_RDONLY) = -1 ENOENT (No such file or directory) 10:36:55.618848 open("/dev/snd/controlC0", O_RDONLY) = 3 10:36:55.619145 close(3) = 0 10:36:55.619355 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 10:36:55.619924 open("/dev/snd/controlC0", O_RDONLY) = 3 10:36:55.620198 close(3) = 0 10:36:55.620367 open("/dev/snd/controlC0", O_RDWR) = 3 10:36:55.620865 ioctl(3, USBDEVFS_CONTROL, 0xbfa50288) = 0 10:36:55.621044 ioctl(3, UI_DEV_CREATE, 0xbfa50260) = 0 10:36:55.621200 close(3) = 0 10:36:55.623972 open("/dev/snd/controlC0", O_RDONLY) = 3 10:36:55.624394 close(3) = 0 10:36:55.624650 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 10:36:55.624985 open("/dev/snd/controlC0", O_RDONLY) = 3 10:36:55.625176 close(3) = 0 10:36:55.625334 open("/dev/snd/controlC0", O_RDWR) = 3 10:36:55.625530 ioctl(3, USBDEVFS_CONTROL, 0xbfa4fcf8) = 0 10:36:55.625693 ioctl(3, UI_DEV_CREATE, 0xbfa4fcd0) = 0 10:36:55.625848 close(3) = 0 10:36:55.626407 open("/dev/snd/controlC0", O_RDONLY) = 3 10:36:55.626666 close(3) = 0 10:36:55.626860 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 10:36:55.627179 open("/dev/snd/controlC0", O_RDONLY) = 3 10:36:55.627365 close(3) = 0 10:36:55.627539 open("/dev/snd/controlC0", O_RDWR) = 3 10:36:55.627707 ioctl(3, USBDEVFS_CONTROL, 0xbfa4fcf8) = 0 10:36:55.627868 ioctl(3, UI_DEV_CREATE, 0xbfa4fcd0) = 0 10:36:55.628023 close(3) = 0 10:36:55.628561 open("/dev/snd/controlC0", O_RDONLY) = 3 10:36:55.628789 close(3) = 0 10:36:55.628981 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 10:36:55.629293 open("/dev/snd/controlC0", O_RDONLY) = 3 10:36:55.629978 close(3) = 0 10:36:55.630187 open("/dev/snd/controlC0", O_RDWR) = 3 10:36:55.630381 ioctl(3, USBDEVFS_CONTROL, 0xbfa4fcf8) = 0 10:36:55.630802 ioctl(3, UI_DEV_CREATE, 0xbfa4fcd0) = 0 10:36:55.630967 close(3) = 0 10:36:55.631815 socket(PF_FILE, SOCK_STREAM, 0) = 3 10:36:55.632171 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 10:36:55.632348 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) 10:36:55.632587 close(3) = 0 10:36:55.632751 socket(PF_FILE, SOCK_STREAM, 0) = 3 10:36:55.632906 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 10:36:55.633060 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) 10:36:55.633271 close(3) = 0 10:36:55.633481 open("/etc/nsswitch.conf", O_RDONLY) = 3 10:36:55.633676 fstat64(3, {st_mode=S_IFREG|0644, st_size=508, ...}) = 0 10:36:55.633880 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000 10:36:55.634059 read(3, "# /etc/nsswitch.conf:\n# $Header:"..., 4096) = 508 10:36:55.634305 read(3, "", 4096) = 0 10:36:55.634485 close(3) = 0 10:36:55.634633 munmap(0xb7f3d000, 4096) = 0 10:36:55.634833 open("/etc/ld.so.cache", O_RDONLY) = 3 10:36:55.635010 fstat64(3, {st_mode=S_IFREG|0644, st_size=114984, ...}) = 0 10:36:55.635198 mmap2(NULL, 114984, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f21000 10:36:55.635362 close(3) = 0 10:36:55.635535 open("/lib/libnss_compat.so.2", O_RDONLY) = 3 10:36:55.635713 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\16\0\0004\0\0\0"..., 512) = 512 10:36:55.635912 fstat64(3, {st_mode=S_IFREG|0755, st_size=26260, ...}) = 0 10:36:55.636091 mmap2(NULL, 29252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ce4000 10:36:55.636250 mmap2(0xb7cea000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xb7cea000 10:36:55.636484 close(3) = 0 10:36:55.636645 open("/lib/libnsl.so.1", O_RDONLY) = 3 10:36:55.636802 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2001\0\0004\0\0\0"..., 512) = 512 10:36:55.636997 fstat64(3, {st_mode=S_IFREG|0755, st_size=79544, ...}) = 0 10:36:55.637182 mmap2(NULL, 92136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ccd000 10:36:55.637339 mmap2(0xb7ce0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7ce0000 10:36:55.637546 mmap2(0xb7ce2000, 6120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ce2000 10:36:55.637730 close(3) = 0 10:36:55.637978 mprotect(0xb7ce0000, 4096, PROT_READ) = 0 10:36:55.638140 mprotect(0xb7cea000, 4096, PROT_READ) = 0 10:36:55.638287 munmap(0xb7f21000, 114984) = 0 10:36:55.638496 open("/etc/ld.so.cache", O_RDONLY) = 3 10:36:55.638661 fstat64(3, {st_mode=S_IFREG|0644, st_size=114984, ...}) = 0 10:36:55.638834 mmap2(NULL, 114984, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f21000 10:36:55.638981 close(3) = 0 10:36:55.639134 open("/lib/libnss_nis.so.2", O_RDONLY) = 3 10:36:55.639287 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\31\0\0004\0\0\0"..., 512) = 512 10:36:55.639484 fstat64(3, {st_mode=S_IFREG|0755, st_size=34280, ...}) = 0 10:36:55.639806 mmap2(NULL, 37440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cc3000 10:36:55.639976 mmap2(0xb7ccb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7ccb000 10:36:55.640192 close(3) = 0 10:36:55.640361 open("/lib/libnss_files.so.2", O_RDONLY) = 3 10:36:55.640524 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \31\0\0004\0\0\0"..., 512) = 512 10:36:55.640721 fstat64(3, {st_mode=S_IFREG|0755, st_size=34244, ...}) = 0 10:36:55.640901 mmap2(NULL, 37528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cb9000 10:36:55.641055 mmap2(0xb7cc1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7cc1000 10:36:55.641260 close(3) = 0 10:36:55.641473 mprotect(0xb7cc1000, 4096, PROT_READ) = 0 10:36:55.641632 mprotect(0xb7ccb000, 4096, PROT_READ) = 0 10:36:55.641777 munmap(0xb7f21000, 114984) = 0 10:36:55.641968 open("/etc/group", O_RDONLY) = 3 10:36:55.642147 fcntl64(3, F_GETFD) = 0 10:36:55.642279 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 10:36:55.642778 _llseek(3, 0, [0], SEEK_CUR) = 0 10:36:55.642984 fstat64(3, {st_mode=S_IFREG|0644, st_size=713, ...}) = 0 10:36:55.643171 mmap2(NULL, 713, PROT_READ, MAP_SHARED, 3, 0) = 0xb7f3d000 10:36:55.643325 _llseek(3, 713, [713], SEEK_SET) = 0 10:36:55.643832 munmap(0xb7f3d000, 713) = 0 10:36:55.644019 close(3) = 0 10:36:55.644220 open("/dev/snd/controlC0", O_RDONLY) = 3 10:36:55.644645 close(3) = 0 10:36:55.644923 semget(0x56a4d5, 1, IPC_CREAT|0660) = 851970 10:36:55.645113 semctl(851970, 0, IPC_64|IPC_STAT, 0xbfa501f8) = 0 10:36:55.645270 semctl(851970, 0, IPC_64|IPC_SET, 0xbfa501f8) = 0 10:36:55.645427 semop(851970, 0xbfa503c2, 2) = 0 10:36:55.645586 shmget(0x56a4d5, 488, IPC_CREAT|0660) = 1048579 10:36:55.645768 shmat(1048579, 0, 0) = 0xb7f3d000 10:36:55.645964 mlock(0xb7f3d000, 488) = 0 10:36:55.646146 shmctl(1048579, IPC_64|IPC_STAT, 0xbfa50218) = 0 10:36:55.646300 shmctl(1048579, IPC_64|IPC_SET, 0xbfa50218) = 0 10:36:55.646711 open("/dev/snd/controlC0", O_RDONLY) = 3 10:36:55.646954 close(3) = 0 10:36:55.647131 open("/dev/snd/controlC0", O_RDWR) = 3 10:36:55.647296 ioctl(3, USBDEVFS_CONTROL, 0xbfa4ff68) = 0 10:36:55.647494 ioctl(3, 0x40045532, 0xbfa4ff64) = 0 10:36:55.647635 open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = 4 10:36:55.647836 ioctl(4, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0xbfa4ffb0) = 0 10:36:55.647986 close(3) = 0 10:36:55.648126 ioctl(4, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0xbfa4fdbc) = 0 10:36:55.648274 fcntl64(4, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) 10:36:55.648441 ioctl(4, AGPIOC_INFO, 0xbfa4ff68) = 0 10:36:55.648571 ioctl(4, AGPIOC_RELEASE or APM_IOC_SUSPEND, 0xbfa4ff60) = -1 ENOTTY (Inappropriate ioctl for device) 10:36:55.649304 write(2, "ALSA lib pcm_dmix.c:829:(snd_pcm"..., 44ALSA lib pcm_dmix.c:829:(snd_pcm_dmix_open) ) = 44 10:36:55.649587 write(2, "unable to open slave", 20unable to open slave) = 20 10:36:55.649915 write(2, "\n", 1 ) = 1 10:36:55.650106 shmdt(0) = -1 EINVAL (Invalid argument) 10:36:55.650261 shmdt(0xb7f3d000) = 0 10:36:55.650414 shmctl(1048579, IPC_64|IPC_STAT, 0xbfa5021c) = 0 10:36:55.650551 shmctl(1048579, IPC_64|IPC_RMID, 0) = 0 10:36:55.650704 semctl(851970, 0, IPC_64|IPC_RMID, 0xbfa50268) = 0 10:36:55.650968 write(2, "aplay: main:546: ", 17aplay: main:546: ) = 17 10:36:55.651198 write(2, "audio open error: Inappropriate "..., 48audio open error: Inappropriate ioctl for device) = 48 10:36:55.651390 write(2, "\n", 1 ) = 1 10:36:55.651690 exit_group(1) = ? pico alsa-utils # cat /proc/asound/card0/codec#0 Codec: VIA VIA VT1708 Address: 0 Vendor Id: 0x11061708 Subsystem Id: 0x11060300 Revision Id: 0x100700 No Modem Function Group found Default PCM: rates [0x0]: bits [0x0]: formats [0x0]: Default Amp-In caps: N/A Default Amp-Out caps: N/A Node 0x10 [Audio Output] wcaps 0x411: Stereo PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xa]: 16 24 formats [0x1]: PCM Power: 0x0 Node 0x11 [Audio Output] wcaps 0x411: Stereo PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xa]: 16 24 formats [0x1]: PCM Power: 0x0 Node 0x12 [Audio Output] wcaps 0x411: Stereo PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xa]: 16 24 formats [0x1]: PCM Power: 0x0 Node 0x13 [Audio Output] wcaps 0x411: Stereo PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xa]: 16 24 formats [0x1]: PCM Power: 0x0 Node 0x14 [Audio Output] wcaps 0x211: Stereo Digital PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xa]: 16 24 formats [0x5]: PCM AC3 Node 0x15 [Audio Input] wcaps 0x10051b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 Amp-In vals: [0x14 0x14] PCM: rates [0x440]: 48000 192000 bits [0xa]: 16 24 formats [0x1]: PCM Power: 0x0 Connection: 1 0x18 Node 0x16 [Audio Input] wcaps 0x100311: Stereo Digital PCM: rates [0x1f0]: 32000 44100 48000 88200 96000 bits [0xa]: 16 24 formats [0x5]: PCM AC3 Connection: 1 0x26 Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x06, mute=1 Amp-In vals: [0x1f 0x1f] [0x00 0x00] [0x9d 0x9d] [0x1e 0x1e] [0x00 0x00] [0x80 0x80] Connection: 6 0x10 0x24 0x1d 0x1e 0x21 0x13 Node 0x18 [Audio Selector] wcaps 0x300101: Stereo Connection: 5 0x17* 0x24 0x1d 0x1e 0x21 Node 0x19 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x00 0x00] Connection: 1 0x11 Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x00 0x00] Connection: 1 0x12 Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x00 0x00] Connection: 1 0x13 Node 0x1c [Pin Complex] wcaps 0x40010d: Stereo Amp-Out Amp-Out caps: N/A Amp-Out vals: [0x00 0x00] Pincap 0x081c: OUT HP Detect Pin Default 0x410110f2: [N/A] Line Out at Ext Rear Conn = 1/8, Color = Black EAPD: 0x0 Pin-ctls: 0x00: Connection: 1 0x19 Node 0x1d [Pin Complex] wcaps 0x400101: Stereo Pincap 0x08334: IN OUT Detect Pin Default 0x01a19026: [Jack] Mic at Ext Rear Conn = 1/8, Color = Pink EAPD: 0x0 Pin-ctls: 0x21: IN Connection: 1 0x1a Node 0x1e [Pin Complex] wcaps 0x400101: Stereo Pincap 0x08334: IN OUT Detect Pin Default 0x0181302e: [Jack] Line In at Ext Rear Conn = 1/8, Color = Blue EAPD: 0x0 Pin-ctls: 0x20: IN Connection: 1 0x19 Node 0x1f [Pin Complex] wcaps 0x40010d: Stereo Amp-Out Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x18 0x18] Pincap 0x081c: OUT HP Detect Pin Default 0x01014010: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Green EAPD: 0x0 Pin-ctls: 0x40: OUT Connection: 1 0x17 Node 0x20 [Pin Complex] wcaps 0x40010d: Stereo Amp-Out Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x081c: OUT HP Detect Pin Default 0x422140f0: [N/A] HP Out at Ext Front Conn = 1/8, Color = Green EAPD: 0x0 Pin-ctls: 0x40: OUT Connection: 1 0x17 Node 0x21 [Pin Complex] wcaps 0x400101: Stereo Pincap 0x08334: IN OUT Detect Pin Default 0x42a190f0: [N/A] Mic at Ext Front Conn = 1/8, Color = Pink EAPD: 0x0 Pin-ctls: 0x00: Connection: 1 0x1b Node 0x22 [Pin Complex] wcaps 0x400101: Stereo Pincap 0x0814: OUT Detect Pin Default 0x410160f1: [N/A] Line Out at Ext Rear Conn = 1/8, Color = Orange EAPD: 0x0 Pin-ctls: 0x00: Connection: 1 0x1a Node 0x23 [Pin Complex] wcaps 0x400101: Stereo Pincap 0x0814: OUT Detect Pin Default 0x410120f4: [N/A] Line Out at Ext Rear Conn = 1/8, Color = Grey EAPD: 0x0 Pin-ctls: 0x00: Connection: 1 0x1b Node 0x24 [Pin Complex] wcaps 0x400001: Stereo Pincap 0x0820: IN Pin Default 0x593301f7: [N/A] CD at Int ATAPI Conn = ATAPI, Color = Unknown EAPD: 0x0 Pin-ctls: 0x00: Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital Pincap 0x0810: OUT Pin Default 0x074411f0: [Jack] SPDIF Out at Ext Rear Panel Conn = RCA, Color = Black Pin-ctls: 0x40: OUT Connection: 1 0x14 Node 0x26 [Pin Complex] wcaps 0x400201: Stereo Digital Pincap 0x0810030: IN OUT EAPD Pin Default 0x07c421f0: [Jack] SPDIF In at Ext Rear Panel Conn = RCA, Color = Grey Pin-ctls: 0x20: IN Node 0x27 [Audio Input] wcaps 0x10051b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 Amp-In vals: [0x14 0x14] PCM: rates [0x440]: 48000 192000 bits [0xa]: 16 24 formats [0x1]: PCM Power: 0x0 Connection: 1 0x21 ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-22 18:35 ` John Stile @ 2007-12-24 19:22 ` John Stile 2008-01-02 20:41 ` John Stile 0 siblings, 1 reply; 32+ messages in thread From: John Stile @ 2007-12-24 19:22 UTC (permalink / raw) To: Takashi Iwai; +Cc: forumjunk, alsa-devel On Sat, 2007-12-22 at 10:35 -0800, John Stile wrote: > On Fri, 2007-12-21 at 12:03 -0800, John Stile wrote: > > On Fri, 2007-12-21 at 09:57 -0800, John Stile wrote: > > > On Fri, 2007-12-21 at 10:08 +0100, Takashi Iwai wrote: > > > > At Thu, 20 Dec 2007 10:13:29 -0800, > > > > John Stile wrote: > > > > > > > > > > On Thu, 2007-12-20 at 12:09 +0100, Takashi Iwai wrote: > > > > > > At Thu, 20 Dec 2007 00:37:46 +0000, > > > > > > forumjunk@comcast.net wrote: > > > > > > > > > > > > > > > > > > > > > For VIA platforms, to avoid the driver compile error in pci.h, reconfigure your kernel to remove SMP support, and set the architecture type to PC-compatible. > > > > > > > > > > > > > > (you already know this, I'm sure): > > > > > > > Recompile the kernel (as a paranoid, I always trash /lib/modules/<kernel_version> before making modules_install). Install the kernel, of course, and reconfigure your boot loader and/or initrd and reboot. > > > > > > > > > > > > > > There are still several fixes that need to be made to get all of this to compile cleanly, but I haven't got the permanent fixes nailed down yet. I'm almost positive that these are alsa-driver configure errors or omissions. I can't (yet) find a kernel config that will avoid them. The fixes below are harmless, and they will allow you to get the driver compiled. > > > > > > > > > > > > My guess is that the error of configure script is the only point we > > > > > > need to fix. > > > > > > > > > > > > > Add this definition to the top section of acore/memory_wrapper.c after the line that reads #include <linux/version.h> > > > > > > > > > > > > > > #define VMALLOC_VMADDR(x) ((unsigned long)(x)) > > > > > > > > > > > > > > Change these lines (45 and 46 or close to that) of acore/memory_wrapper.c from: > > > > > > > > > > > > > > pmd = pmd_offset(pgd, lpage); > > > > > > > pte = pte_offset(pmd, lpage); > > > > > > > > > > > > > > to > > > > > > > > > > > > > > pmd = pmd_offset((pud_t *)pgd, lpage); > > > > > > > pte = pte_offset_kernel(pmd, lpage); > > > > > > > > > > > > > > The driver will then compile cleanly (at least with no errors or warnings relating to any of these changes) > > > > > > > > > > > > Don't do this. This part shouldn't be compiled at all for recent > > > > > > kernels. This is, again, the problem of configure script that > > > > > > detected the codes wrongly. > > > > > > > > > > > > > > > > > > So, could you guys show config.log? Otherwise it's hard to know > > > > > > what's really wrong. > > > > > > > > > > > > > > > > > > thanks, > > > > > I recompiled the kernel without SMP support, and as PC-compatible (per > > > > > forumjunk@comcast.net). In config.log, vmalloc_to_page shows a warning > > > > > starting at line 540. "function cpuid_count causes a warning: pointer > > > > > targets in passing argument 4 of 'native_cpuid' differ in signedness". > > > > > --------------------------------------- > > > > > The config.log > > > > > > > > Thanks. Does the patch below fix the probelm? > > > > Run hgcompile after applying it. > > > > > > > > > > > > Takashi > > > > > > > > diff -r 414b1156a8b3 configure.in > > > > --- a/configure.in Tue Dec 18 16:09:20 2007 +0100 > > > > +++ b/configure.in Fri Dec 21 12:10:53 2007 +0100 > > > > @@ -1230,7 +1230,7 @@ esac > > > > > > > > dnl set ia32 (X86) > > > > case "$processor" in > > > > - i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*) > > > > + i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*|x86_32) > > > > if $KCC -mpreferred-stack-boundary=2 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then > > > > c_opts="-mpreferred-stack-boundary=2 $c_opts" > > > > CONFIG_X86=y > > > > > > Thank you! > > > Now I get a syntax error below. > > > config.log can be found here: http://pastebin.ca/827290 > > > > > > pico alsa-driver # ./hgcompile > > > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri > > > ver --versiondep /usr/src/alsa-driver/kconfig-vers --makeconf > toplevel.config.in > > > can't handle word INPUT=y properly, supposing it's OK > > > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > > > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri > > > ver --versiondep /usr/src/alsa-driver/kconfig-vers --acinclude > acinclude.m4 > > > can't handle word INPUT=y properly, supposing it's OK > > > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > > > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri > > > ver --versiondep /usr/src/alsa-driver/kconfig-vers --include > include/config1.h.in > > > can't handle word INPUT=y properly, supposing it's OK > > > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > > > ./configure --with-debug=full --with-isapnp=yes --with-sequencer=yes > > > 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 ISO C89... 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 grep that handles long lines and -e... /bin/grep > > > checking for egrep... /bin/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... /usr/src/alsa-driver > > > checking cross compile... > > > checking for directory with kernel source... /lib/modules/2.6.23-gentoo-r3/source > > > checking for directory with kernel build... /lib/modules/2.6.23-gentoo-r3/build > > > checking for kernel linux/version.h... yes > > > checking for kernel linux/autoconf.h... yes > > > checking for kernel version... 2.6.23-gentoo-r3 > > > checking for GCC version... Kernel compiler: gcc 4.1.2 (Gentoo 4.1.2 p1.0.2) Used compi > > > ler: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) > > > checking for built-in ALSA... no > > > checking for existing ALSA module... no > > > 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 for kernel linux/config.h... no > > > Creating <linux/config.h>... > > > checking to modify of kernel linux/kmod.h... no > > > checking for kernel linux/utsrelease.h... yes > > > 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/isa.h... yes > > > checking for kernel linux/jiffies.h... yes > > > checking for kernel linux/compat.h... yes > > > checking for kernel linux/log2.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 linux/latency.h... yes > > > checking for kernel linux/kthread.h... yes > > > checking for kernel asm/irq_regs.h... yes > > > checking for kernel module symbol versions... yes > > > checking for has ioport support... yes > > > checking for PCI support in kernel... yes > > > checking for I2C driver in kernel... module > > > checking for I2C_POWERMAC in kernel... unknown > > > checking for firmware loader... module > > > checking for input subsystem in kernel... yes > > > checking for directory to store kernel modules... /lib/modules/2.6.23-gentoo-r3/kernel/ sound > > > checking for verbose procfs... on > > > checking for verbose printk... on > > > checking for debug level... full > > > checking for ISA support in kernel... yes > > > checking for processor type... x86_32 > > > ./configure: line 8001: syntax error near unexpected token `;;' > > > ./configure: line 8001: ` ;;' > > Whoops! I tried reapplied the changes to a fresh checkout, and now it > > builds just fine. I applied the change to: > > configure.in > > alsa-kernel/pci/hda/patch_via.c > > I have to wait until tonight to test. > > Thank you! > I have similar results to Darryl House after applying the 2 patches > Error: > ALSA lib pcm_dmix.c:829:(snd_pcm_dmix_open) unable to open slave > play soxio: Failed writing `default': cannot open audio device > ---------------------- > procedure followed: > # Download and compile the HG alsa-driver package: > hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver > cd alsa-driver > hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel > # Apply patches to: > # alsa-driver/configure.in > # AND > # alsa-kernel/pci/hda/patch_via.c > # Build kernel component > ./hgcompile && make install > popd > # Load driver > modprobe snd-hda-intel > # Build HG alsa-libs and alsa-utils > hg clone http://hg-mirror.alsa-project.org/alsa-lib alsa-lib > pushd alsa-lib > ./hgcompile && make install > # Run config > sh ./alsaconf/alsaconf > # Select card: > # VIA Technologies, Inc. VIA High Definition Audio Controller > # Turn up the levels > ./alsamixer/alsamixer > # Try to play > ./aplay/aplay /root/Track01.wav > ALSA lib pcm_dmix.c:829:(snd_pcm_dmix_open) unable to open slave > aplay: main:546: audio open error: Inappropriate ioctl for device > # Strace aplay > pico alsa-utils # strace -tt ./aplay/aplay /root/Track01.wav > 10:36:55.550401 execve("./aplay/aplay", ["./aplay/aplay", "/root/Track01.wav"], [/* 41 vars */]) = 0 > 10:36:55.551561 brk(0) = 0x8055000 > 10:36:55.551879 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) > 10:36:55.552129 open("/etc/ld.so.cache", O_RDONLY) = 3 > 10:36:55.552307 fstat64(3, {st_mode=S_IFREG|0644, st_size=114984, ...}) = 0 > 10:36:55.552572 mmap2(NULL, 114984, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f21000 > 10:36:55.552753 close(3) = 0 > 10:36:55.552928 open("/usr/lib/libasound.so.2", O_RDONLY) = 3 > 10:36:55.553108 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\365\1\0004\0\0\0"..., 512) = 512 > 10:36:55.553329 fstat64(3, {st_mode=S_IFREG|0755, st_size=2762708, ...}) = 0 > 10:36:55.553792 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f20000 > 10:36:55.554008 mmap2(NULL, 789320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e5f000 > 10:36:55.554186 mmap2(0xb7f1b000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xbb) = 0xb7f1b000 > 10:36:55.554605 close(3) = 0 > 10:36:55.554843 open("/lib/libm.so.6", O_RDONLY) = 3 > 10:36:55.555031 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p4\0\0004\0\0\0"..., 512) = 512 > 10:36:55.555254 fstat64(3, {st_mode=S_IFREG|0755, st_size=149256, ...}) = 0 > 10:36:55.555490 mmap2(NULL, 151680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e39000 > 10:36:55.555667 mmap2(0xb7e5d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) = 0xb7e5d000 > 10:36:55.555900 close(3) = 0 > 10:36:55.556071 open("/lib/libdl.so.2", O_RDONLY) = 3 > 10:36:55.556242 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n\0\0004\0\0\0"..., 512) = 512 > 10:36:55.556482 fstat64(3, {st_mode=S_IFREG|0755, st_size=9612, ...}) = 0 > 10:36:55.556680 mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e35000 > 10:36:55.556848 mmap2(0xb7e37000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7e37000 > 10:36:55.557068 close(3) = 0 > 10:36:55.557240 open("/lib/libpthread.so.0", O_RDONLY) = 3 > 10:36:55.557425 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 H\0\0004\0\0\0"..., 512) = 512 > 10:36:55.557638 fstat64(3, {st_mode=S_IFREG|0755, st_size=84168, ...}) = 0 > 10:36:55.557832 mmap2(NULL, 90592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e1e000 > 10:36:55.558000 mmap2(0xb7e31000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb7e31000 > 10:36:55.558213 mmap2(0xb7e33000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e33000 > 10:36:55.558425 close(3) = 0 > 10:36:55.558594 open("/lib/libc.so.6", O_RDONLY) = 3 > 10:36:55.558763 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@a\1\0004\0\0\0"..., 512) = 512 > 10:36:55.558973 fstat64(3, {st_mode=S_IFREG|0755, st_size=1237276, ...}) = 0 > 10:36:55.559172 mmap2(NULL, 1242576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cee000 > 10:36:55.559339 mmap2(0xb7e18000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12a) = 0xb7e18000 > 10:36:55.559540 mmap2(0xb7e1b000, 9680, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e1b000 > 10:36:55.560348 close(3) = 0 > 10:36:55.560635 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ced000 > 10:36:55.560857 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cec000 > 10:36:55.561037 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7cec6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 > 10:36:55.561568 mprotect(0xb7e18000, 8192, PROT_READ) = 0 > 10:36:55.561782 mprotect(0xb7e31000, 4096, PROT_READ) = 0 > 10:36:55.561968 mprotect(0xb7e37000, 4096, PROT_READ) = 0 > 10:36:55.562137 mprotect(0xb7e5d000, 4096, PROT_READ) = 0 > 10:36:55.562592 mprotect(0xb7f1b000, 8192, PROT_READ) = 0 > 10:36:55.562780 mprotect(0x8053000, 4096, PROT_READ) = 0 > 10:36:55.562936 mprotect(0xb7f59000, 4096, PROT_READ) = 0 > 10:36:55.563069 munmap(0xb7f21000, 114984) = 0 > 10:36:55.563221 set_tid_address(0xb7cec708) = 2705 > 10:36:55.563342 set_robust_list(0xb7cec710, 0xc) = 0 > 10:36:55.563550 rt_sigaction(SIGRTMIN, {0xb7e22320, [], SA_SIGINFO}, NULL, 8) = 0 > 10:36:55.563735 rt_sigaction(SIGRT_1, {0xb7e223a0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0 > 10:36:55.563891 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 > 10:36:55.564049 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 > 10:36:55.564260 uname({sys="Linux", node="pico", ...}) = 0 > 10:36:55.564849 brk(0) = 0x8055000 > 10:36:55.565006 brk(0x8076000) = 0x8076000 > 10:36:55.565286 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > 10:36:55.565549 open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3 > 10:36:55.565747 fstat64(3, {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > 10:36:55.565930 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000 > 10:36:55.566081 read(3, "#\n# ALSA library configuration "..., 4096) = 4096 > 10:36:55.568585 read(3, "r\n\t\t\t\tname defaults.pcm.device\n\t"..., 4096) = 4096 > 10:36:55.571159 read(3, " {\n\t\t\t@func refer\n\t\t\tname defaul"..., 4096) = 420 > 10:36:55.571703 read(3, "", 4096) = 0 > 10:36:55.571862 read(3, "", 4096) = 0 > 10:36:55.572039 close(3) = 0 > 10:36:55.572190 munmap(0xb7f3d000, 4096) = 0 > 10:36:55.572831 futex(0xb7e38070, FUTEX_WAKE, 2147483647) = 0 > 10:36:55.573297 access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory) > 10:36:55.573513 access("/root/.asoundrc", R_OK) = -1 ENOENT (No such file or directory) > 10:36:55.574099 open("/usr/share/alsa/cards/aliases.conf", O_RDONLY) = 3 > 10:36:55.574351 fstat64(3, {st_mode=S_IFREG|0644, st_size=1293, ...}) = 0 > 10:36:55.574618 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000 > 10:36:55.574798 read(3, "#\n# Define aliases for various "..., 4096) = 1293 > 10:36:55.575567 open("/usr/share/alsa/pcm/default.conf", O_RDONLY) = 4 > 10:36:55.575764 fstat64(4, {st_mode=S_IFREG|0644, st_size=762, ...}) = 0 > 10:36:55.575960 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > 10:36:55.576127 read(4, "#\n# Default output\n#\n\npcm.!defau"..., 4096) = 762 > 10:36:55.576660 read(4, "", 4096) = 0 > 10:36:55.576833 close(4) = 0 > 10:36:55.576982 munmap(0xb7f3c000, 4096) = 0 > 10:36:55.577171 open("/usr/share/alsa/pcm/dmix.conf", O_RDONLY) = 4 > 10:36:55.577359 fstat64(4, {st_mode=S_IFREG|0644, st_size=1520, ...}) = 0 > 10:36:55.577576 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > 10:36:55.577743 read(4, "#\n# dmix output\n#\n\npcm.!dmix {\n\t"..., 4096) = 1520 > 10:36:55.578570 read(4, "", 4096) = 0 > 10:36:55.578735 close(4) = 0 > 10:36:55.578883 munmap(0xb7f3c000, 4096) = 0 > 10:36:55.579063 open("/usr/share/alsa/pcm/dsnoop.conf", O_RDONLY) = 4 > 10:36:55.579251 fstat64(4, {st_mode=S_IFREG|0644, st_size=1532, ...}) = 0 > 10:36:55.579839 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > 10:36:55.580080 read(4, "#\n# dsnoop\n#\n\npcm.!dsnoop {\n\t@ar"..., 4096) = 1532 > 10:36:55.581221 read(4, "", 4096) = 0 > 10:36:55.581501 close(4) = 0 > 10:36:55.581655 munmap(0xb7f3c000, 4096) = 0 > 10:36:55.581828 read(3, "", 4096) = 0 > 10:36:55.581981 read(3, "", 4096) = 0 > 10:36:55.582130 close(3) = 0 > 10:36:55.582273 munmap(0xb7f3d000, 4096) = 0 > 10:36:55.582648 open("/dev/snd/controlC0", O_RDONLY) = 3 > 10:36:55.582892 close(3) = 0 > 10:36:55.583108 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > 10:36:55.583890 open("/dev/snd/controlC0", O_RDONLY) = 3 > 10:36:55.584219 close(3) = 0 > 10:36:55.584402 open("/dev/snd/controlC0", O_RDWR) = 3 > 10:36:55.584587 ioctl(3, USBDEVFS_CONTROL, 0xbfa50788) = 0 > 10:36:55.584798 ioctl(3, UI_DEV_CREATE, 0xbfa50760) = 0 > 10:36:55.584968 close(3) = 0 > 10:36:55.585608 access("/usr/share/alsa/cards/HDA-Intel.conf", R_OK) = 0 > 10:36:55.585867 open("/usr/share/alsa/cards/HDA-Intel.conf", O_RDONLY) = 3 > 10:36:55.586057 fstat64(3, {st_mode=S_IFREG|0644, st_size=2148, ...}) = 0 > 10:36:55.586272 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000 > 10:36:55.586484 read(3, "#\n# Configuration for the Intel "..., 4096) = 2148 > 10:36:55.586718 open("/usr/share/alsa/pcm/front.conf", O_RDONLY) = 4 > 10:36:55.586903 fstat64(4, {st_mode=S_IFREG|0644, st_size=752, ...}) = 0 > 10:36:55.587098 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > 10:36:55.587263 read(4, "#\n# Hardware output from front s"..., 4096) = 752 > 10:36:55.587773 read(4, "", 4096) = 0 > 10:36:55.587936 close(4) = 0 > 10:36:55.588084 munmap(0xb7f3c000, 4096) = 0 > 10:36:55.588703 open("/usr/share/alsa/pcm/surround40.conf", O_RDONLY) = 4 > 10:36:55.588926 fstat64(4, {st_mode=S_IFREG|0644, st_size=877, ...}) = 0 > 10:36:55.589129 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > 10:36:55.589299 read(4, "#\n# Hardware output from 4.0 sp"..., 4096) = 877 > 10:36:55.589857 read(4, "", 4096) = 0 > 10:36:55.590021 close(4) = 0 > 10:36:55.590168 munmap(0xb7f3c000, 4096) = 0 > 10:36:55.590348 open("/usr/share/alsa/pcm/surround41.conf", O_RDONLY) = 4 > 10:36:55.590550 fstat64(4, {st_mode=S_IFREG|0644, st_size=992, ...}) = 0 > 10:36:55.590752 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > 10:36:55.590919 read(4, "#\n# Hardware output from 4.1 sp"..., 4096) = 992 > 10:36:55.591520 read(4, "", 4096) = 0 > 10:36:55.591683 close(4) = 0 > 10:36:55.591829 munmap(0xb7f3c000, 4096) = 0 > 10:36:55.592001 open("/usr/share/alsa/pcm/surround50.conf", O_RDONLY) = 4 > 10:36:55.592187 fstat64(4, {st_mode=S_IFREG|0644, st_size=992, ...}) = 0 > 10:36:55.592383 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > 10:36:55.592852 read(4, "#\n# Hardware output from 5.0 sp"..., 4096) = 992 > 10:36:55.593710 read(4, "", 4096) = 0 > 10:36:55.593946 close(4) = 0 > 10:36:55.594097 munmap(0xb7f3c000, 4096) = 0 > 10:36:55.594291 open("/usr/share/alsa/pcm/surround51.conf", O_RDONLY) = 4 > 10:36:55.594725 fstat64(4, {st_mode=S_IFREG|0644, st_size=930, ...}) = 0 > 10:36:55.594944 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > 10:36:55.595115 read(4, "#\n# Hardware output from 5.1 sp"..., 4096) = 930 > 10:36:55.595678 read(4, "", 4096) = 0 > 10:36:55.595843 close(4) = 0 > 10:36:55.595989 munmap(0xb7f3c000, 4096) = 0 > 10:36:55.596172 open("/usr/share/alsa/pcm/surround71.conf", O_RDONLY) = 4 > 10:36:55.596368 fstat64(4, {st_mode=S_IFREG|0644, st_size=978, ...}) = 0 > 10:36:55.596837 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > 10:36:55.597018 read(4, "#\n# Hardware output from 7.1 sp"..., 4096) = 978 > 10:36:55.597610 read(4, "", 4096) = 0 > 10:36:55.597775 close(4) = 0 > 10:36:55.597922 munmap(0xb7f3c000, 4096) = 0 > 10:36:55.598191 open("/usr/share/alsa/pcm/iec958.conf", O_RDONLY) = 4 > 10:36:55.598387 fstat64(4, {st_mode=S_IFREG|0644, st_size=1213, ...}) = 0 > 10:36:55.598587 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > 10:36:55.598754 read(4, "#\n# Hardware output from iec958"..., 4096) = 1213 > 10:36:55.599509 read(4, "", 4096) = 0 > 10:36:55.599727 close(4) = 0 > 10:36:55.599874 munmap(0xb7f3c000, 4096) = 0 > 10:36:55.600448 open("/usr/share/alsa/pcm/modem.conf", O_RDONLY) = 4 > 10:36:55.600652 fstat64(4, {st_mode=S_IFREG|0644, st_size=1314, ...}) = 0 > 10:36:55.600855 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > 10:36:55.601025 read(4, "#\n# \"raw\" modem - phoneline\n#\n\np"..., 4096) = 1314 > 10:36:55.601764 read(4, "", 4096) = 0 > 10:36:55.601923 close(4) = 0 > 10:36:55.602068 munmap(0xb7f3c000, 4096) = 0 > 10:36:55.602309 read(3, "", 4096) = 0 > 10:36:55.602512 read(3, "", 4096) = 0 > 10:36:55.602662 close(3) = 0 > 10:36:55.602806 munmap(0xb7f3d000, 4096) = 0 > 10:36:55.602971 open("/dev/snd/controlC1", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.603178 open("/dev/aloadC1", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.603354 open("/dev/snd/controlC2", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.603550 open("/dev/aloadC2", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.603725 open("/dev/snd/controlC3", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.603909 open("/dev/aloadC3", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.604066 open("/dev/snd/controlC4", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.604226 open("/dev/aloadC4", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.604382 open("/dev/snd/controlC5", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.604868 open("/dev/aloadC5", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.605048 open("/dev/snd/controlC6", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.605227 open("/dev/aloadC6", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.605401 open("/dev/snd/controlC7", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.605578 open("/dev/aloadC7", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.605752 open("/dev/snd/controlC8", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.605929 open("/dev/aloadC8", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.606101 open("/dev/snd/controlC9", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.606279 open("/dev/aloadC9", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.606684 open("/dev/snd/controlC10", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.606883 open("/dev/aloadC10", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.607056 open("/dev/snd/controlC11", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.607234 open("/dev/aloadC11", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.607407 open("/dev/snd/controlC12", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.607590 open("/dev/aloadC12", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.607763 open("/dev/snd/controlC13", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.607940 open("/dev/aloadC13", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.608113 open("/dev/snd/controlC14", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.608292 open("/dev/aloadC14", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.608496 open("/dev/snd/controlC15", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.608676 open("/dev/aloadC15", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.608849 open("/dev/snd/controlC16", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.609028 open("/dev/aloadC16", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.609200 open("/dev/snd/controlC17", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.609379 open("/dev/aloadC17", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.612664 open("/dev/snd/controlC18", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.612894 open("/dev/aloadC18", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.613070 open("/dev/snd/controlC19", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.613250 open("/dev/aloadC19", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.613471 open("/dev/snd/controlC20", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.613656 open("/dev/aloadC20", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.613830 open("/dev/snd/controlC21", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.614010 open("/dev/aloadC21", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.614182 open("/dev/snd/controlC22", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.614365 open("/dev/aloadC22", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.614563 open("/dev/snd/controlC23", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.614742 open("/dev/aloadC23", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.614916 open("/dev/snd/controlC24", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.615095 open("/dev/aloadC24", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.615277 open("/dev/snd/controlC25", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.615473 open("/dev/aloadC25", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.615649 open("/dev/snd/controlC26", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.615829 open("/dev/aloadC26", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.616003 open("/dev/snd/controlC27", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.616183 open("/dev/aloadC27", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.616357 open("/dev/snd/controlC28", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.616819 open("/dev/aloadC28", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.617004 open("/dev/snd/controlC29", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.617183 open("/dev/aloadC29", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.617357 open("/dev/snd/controlC30", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.617558 open("/dev/aloadC30", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.617735 open("/dev/snd/controlC31", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.617913 open("/dev/aloadC31", O_RDONLY) = -1 ENOENT (No such file or directory) > 10:36:55.618848 open("/dev/snd/controlC0", O_RDONLY) = 3 > 10:36:55.619145 close(3) = 0 > 10:36:55.619355 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > 10:36:55.619924 open("/dev/snd/controlC0", O_RDONLY) = 3 > 10:36:55.620198 close(3) = 0 > 10:36:55.620367 open("/dev/snd/controlC0", O_RDWR) = 3 > 10:36:55.620865 ioctl(3, USBDEVFS_CONTROL, 0xbfa50288) = 0 > 10:36:55.621044 ioctl(3, UI_DEV_CREATE, 0xbfa50260) = 0 > 10:36:55.621200 close(3) = 0 > 10:36:55.623972 open("/dev/snd/controlC0", O_RDONLY) = 3 > 10:36:55.624394 close(3) = 0 > 10:36:55.624650 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > 10:36:55.624985 open("/dev/snd/controlC0", O_RDONLY) = 3 > 10:36:55.625176 close(3) = 0 > 10:36:55.625334 open("/dev/snd/controlC0", O_RDWR) = 3 > 10:36:55.625530 ioctl(3, USBDEVFS_CONTROL, 0xbfa4fcf8) = 0 > 10:36:55.625693 ioctl(3, UI_DEV_CREATE, 0xbfa4fcd0) = 0 > 10:36:55.625848 close(3) = 0 > 10:36:55.626407 open("/dev/snd/controlC0", O_RDONLY) = 3 > 10:36:55.626666 close(3) = 0 > 10:36:55.626860 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > 10:36:55.627179 open("/dev/snd/controlC0", O_RDONLY) = 3 > 10:36:55.627365 close(3) = 0 > 10:36:55.627539 open("/dev/snd/controlC0", O_RDWR) = 3 > 10:36:55.627707 ioctl(3, USBDEVFS_CONTROL, 0xbfa4fcf8) = 0 > 10:36:55.627868 ioctl(3, UI_DEV_CREATE, 0xbfa4fcd0) = 0 > 10:36:55.628023 close(3) = 0 > 10:36:55.628561 open("/dev/snd/controlC0", O_RDONLY) = 3 > 10:36:55.628789 close(3) = 0 > 10:36:55.628981 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > 10:36:55.629293 open("/dev/snd/controlC0", O_RDONLY) = 3 > 10:36:55.629978 close(3) = 0 > 10:36:55.630187 open("/dev/snd/controlC0", O_RDWR) = 3 > 10:36:55.630381 ioctl(3, USBDEVFS_CONTROL, 0xbfa4fcf8) = 0 > 10:36:55.630802 ioctl(3, UI_DEV_CREATE, 0xbfa4fcd0) = 0 > 10:36:55.630967 close(3) = 0 > 10:36:55.631815 socket(PF_FILE, SOCK_STREAM, 0) = 3 > 10:36:55.632171 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > 10:36:55.632348 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) > 10:36:55.632587 close(3) = 0 > 10:36:55.632751 socket(PF_FILE, SOCK_STREAM, 0) = 3 > 10:36:55.632906 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > 10:36:55.633060 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) > 10:36:55.633271 close(3) = 0 > 10:36:55.633481 open("/etc/nsswitch.conf", O_RDONLY) = 3 > 10:36:55.633676 fstat64(3, {st_mode=S_IFREG|0644, st_size=508, ...}) = 0 > 10:36:55.633880 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000 > 10:36:55.634059 read(3, "# /etc/nsswitch.conf:\n# $Header:"..., 4096) = 508 > 10:36:55.634305 read(3, "", 4096) = 0 > 10:36:55.634485 close(3) = 0 > 10:36:55.634633 munmap(0xb7f3d000, 4096) = 0 > 10:36:55.634833 open("/etc/ld.so.cache", O_RDONLY) = 3 > 10:36:55.635010 fstat64(3, {st_mode=S_IFREG|0644, st_size=114984, ...}) = 0 > 10:36:55.635198 mmap2(NULL, 114984, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f21000 > 10:36:55.635362 close(3) = 0 > 10:36:55.635535 open("/lib/libnss_compat.so.2", O_RDONLY) = 3 > 10:36:55.635713 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\16\0\0004\0\0\0"..., 512) = 512 > 10:36:55.635912 fstat64(3, {st_mode=S_IFREG|0755, st_size=26260, ...}) = 0 > 10:36:55.636091 mmap2(NULL, 29252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ce4000 > 10:36:55.636250 mmap2(0xb7cea000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xb7cea000 > 10:36:55.636484 close(3) = 0 > 10:36:55.636645 open("/lib/libnsl.so.1", O_RDONLY) = 3 > 10:36:55.636802 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2001\0\0004\0\0\0"..., 512) = 512 > 10:36:55.636997 fstat64(3, {st_mode=S_IFREG|0755, st_size=79544, ...}) = 0 > 10:36:55.637182 mmap2(NULL, 92136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ccd000 > 10:36:55.637339 mmap2(0xb7ce0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7ce0000 > 10:36:55.637546 mmap2(0xb7ce2000, 6120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ce2000 > 10:36:55.637730 close(3) = 0 > 10:36:55.637978 mprotect(0xb7ce0000, 4096, PROT_READ) = 0 > 10:36:55.638140 mprotect(0xb7cea000, 4096, PROT_READ) = 0 > 10:36:55.638287 munmap(0xb7f21000, 114984) = 0 > 10:36:55.638496 open("/etc/ld.so.cache", O_RDONLY) = 3 > 10:36:55.638661 fstat64(3, {st_mode=S_IFREG|0644, st_size=114984, ...}) = 0 > 10:36:55.638834 mmap2(NULL, 114984, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f21000 > 10:36:55.638981 close(3) = 0 > 10:36:55.639134 open("/lib/libnss_nis.so.2", O_RDONLY) = 3 > 10:36:55.639287 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\31\0\0004\0\0\0"..., 512) = 512 > 10:36:55.639484 fstat64(3, {st_mode=S_IFREG|0755, st_size=34280, ...}) = 0 > 10:36:55.639806 mmap2(NULL, 37440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cc3000 > 10:36:55.639976 mmap2(0xb7ccb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7ccb000 > 10:36:55.640192 close(3) = 0 > 10:36:55.640361 open("/lib/libnss_files.so.2", O_RDONLY) = 3 > 10:36:55.640524 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \31\0\0004\0\0\0"..., 512) = 512 > 10:36:55.640721 fstat64(3, {st_mode=S_IFREG|0755, st_size=34244, ...}) = 0 > 10:36:55.640901 mmap2(NULL, 37528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cb9000 > 10:36:55.641055 mmap2(0xb7cc1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7cc1000 > 10:36:55.641260 close(3) = 0 > 10:36:55.641473 mprotect(0xb7cc1000, 4096, PROT_READ) = 0 > 10:36:55.641632 mprotect(0xb7ccb000, 4096, PROT_READ) = 0 > 10:36:55.641777 munmap(0xb7f21000, 114984) = 0 > 10:36:55.641968 open("/etc/group", O_RDONLY) = 3 > 10:36:55.642147 fcntl64(3, F_GETFD) = 0 > 10:36:55.642279 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 > 10:36:55.642778 _llseek(3, 0, [0], SEEK_CUR) = 0 > 10:36:55.642984 fstat64(3, {st_mode=S_IFREG|0644, st_size=713, ...}) = 0 > 10:36:55.643171 mmap2(NULL, 713, PROT_READ, MAP_SHARED, 3, 0) = 0xb7f3d000 > 10:36:55.643325 _llseek(3, 713, [713], SEEK_SET) = 0 > 10:36:55.643832 munmap(0xb7f3d000, 713) = 0 > 10:36:55.644019 close(3) = 0 > 10:36:55.644220 open("/dev/snd/controlC0", O_RDONLY) = 3 > 10:36:55.644645 close(3) = 0 > 10:36:55.644923 semget(0x56a4d5, 1, IPC_CREAT|0660) = 851970 > 10:36:55.645113 semctl(851970, 0, IPC_64|IPC_STAT, 0xbfa501f8) = 0 > 10:36:55.645270 semctl(851970, 0, IPC_64|IPC_SET, 0xbfa501f8) = 0 > 10:36:55.645427 semop(851970, 0xbfa503c2, 2) = 0 > 10:36:55.645586 shmget(0x56a4d5, 488, IPC_CREAT|0660) = 1048579 > 10:36:55.645768 shmat(1048579, 0, 0) = 0xb7f3d000 > 10:36:55.645964 mlock(0xb7f3d000, 488) = 0 > 10:36:55.646146 shmctl(1048579, IPC_64|IPC_STAT, 0xbfa50218) = 0 > 10:36:55.646300 shmctl(1048579, IPC_64|IPC_SET, 0xbfa50218) = 0 > 10:36:55.646711 open("/dev/snd/controlC0", O_RDONLY) = 3 > 10:36:55.646954 close(3) = 0 > 10:36:55.647131 open("/dev/snd/controlC0", O_RDWR) = 3 > 10:36:55.647296 ioctl(3, USBDEVFS_CONTROL, 0xbfa4ff68) = 0 > 10:36:55.647494 ioctl(3, 0x40045532, 0xbfa4ff64) = 0 > 10:36:55.647635 open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = 4 > 10:36:55.647836 ioctl(4, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0xbfa4ffb0) = 0 > 10:36:55.647986 close(3) = 0 > 10:36:55.648126 ioctl(4, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0xbfa4fdbc) = 0 > 10:36:55.648274 fcntl64(4, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) > 10:36:55.648441 ioctl(4, AGPIOC_INFO, 0xbfa4ff68) = 0 > 10:36:55.648571 ioctl(4, AGPIOC_RELEASE or APM_IOC_SUSPEND, 0xbfa4ff60) = -1 ENOTTY (Inappropriate ioctl for device) > 10:36:55.649304 write(2, "ALSA lib pcm_dmix.c:829:(snd_pcm"..., 44ALSA lib pcm_dmix.c:829:(snd_pcm_dmix_open) ) = 44 > 10:36:55.649587 write(2, "unable to open slave", 20unable to open slave) = 20 > 10:36:55.649915 write(2, "\n", 1 > ) = 1 > 10:36:55.650106 shmdt(0) = -1 EINVAL (Invalid argument) > 10:36:55.650261 shmdt(0xb7f3d000) = 0 > 10:36:55.650414 shmctl(1048579, IPC_64|IPC_STAT, 0xbfa5021c) = 0 > 10:36:55.650551 shmctl(1048579, IPC_64|IPC_RMID, 0) = 0 > 10:36:55.650704 semctl(851970, 0, IPC_64|IPC_RMID, 0xbfa50268) = 0 > 10:36:55.650968 write(2, "aplay: main:546: ", 17aplay: main:546: ) = 17 > 10:36:55.651198 write(2, "audio open error: Inappropriate "..., 48audio open error: Inappropriate ioctl for device) = 48 > 10:36:55.651390 write(2, "\n", 1 > ) = 1 > 10:36:55.651690 exit_group(1) = ? > > pico alsa-utils # cat /proc/asound/card0/codec#0 > Codec: VIA VIA VT1708 > Address: 0 > Vendor Id: 0x11061708 > Subsystem Id: 0x11060300 > Revision Id: 0x100700 > No Modem Function Group found > Default PCM: > rates [0x0]: > bits [0x0]: > formats [0x0]: > Default Amp-In caps: N/A > Default Amp-Out caps: N/A > Node 0x10 [Audio Output] wcaps 0x411: Stereo > PCM: > rates [0x7e0]: 44100 48000 88200 96000 176400 192000 > bits [0xa]: 16 24 > formats [0x1]: PCM > Power: 0x0 > Node 0x11 [Audio Output] wcaps 0x411: Stereo > PCM: > rates [0x7e0]: 44100 48000 88200 96000 176400 192000 > bits [0xa]: 16 24 > formats [0x1]: PCM > Power: 0x0 > Node 0x12 [Audio Output] wcaps 0x411: Stereo > PCM: > rates [0x7e0]: 44100 48000 88200 96000 176400 192000 > bits [0xa]: 16 24 > formats [0x1]: PCM > Power: 0x0 > Node 0x13 [Audio Output] wcaps 0x411: Stereo > PCM: > rates [0x7e0]: 44100 48000 88200 96000 176400 192000 > bits [0xa]: 16 24 > formats [0x1]: PCM > Power: 0x0 > Node 0x14 [Audio Output] wcaps 0x211: Stereo Digital > PCM: > rates [0x7e0]: 44100 48000 88200 96000 176400 192000 > bits [0xa]: 16 24 > formats [0x5]: PCM AC3 > Node 0x15 [Audio Input] wcaps 0x10051b: Stereo Amp-In > Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 > Amp-In vals: [0x14 0x14] > PCM: > rates [0x440]: 48000 192000 > bits [0xa]: 16 24 > formats [0x1]: PCM > Power: 0x0 > Connection: 1 > 0x18 > Node 0x16 [Audio Input] wcaps 0x100311: Stereo Digital > PCM: > rates [0x1f0]: 32000 44100 48000 88200 96000 > bits [0xa]: 16 24 > formats [0x5]: PCM AC3 > Connection: 1 > 0x26 > Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In > Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x06, mute=1 > Amp-In vals: [0x1f 0x1f] [0x00 0x00] [0x9d 0x9d] [0x1e 0x1e] [0x00 0x00] [0x80 0x80] > Connection: 6 > 0x10 0x24 0x1d 0x1e 0x21 0x13 > Node 0x18 [Audio Selector] wcaps 0x300101: Stereo > Connection: 5 > 0x17* 0x24 0x1d 0x1e 0x21 > Node 0x19 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out > Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 > Amp-Out vals: [0x00 0x00] > Connection: 1 > 0x11 > Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out > Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 > Amp-Out vals: [0x00 0x00] > Connection: 1 > 0x12 > Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out > Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 > Amp-Out vals: [0x00 0x00] > Connection: 1 > 0x13 > Node 0x1c [Pin Complex] wcaps 0x40010d: Stereo Amp-Out > Amp-Out caps: N/A > Amp-Out vals: [0x00 0x00] > Pincap 0x081c: OUT HP Detect > Pin Default 0x410110f2: [N/A] Line Out at Ext Rear > Conn = 1/8, Color = Black > EAPD: 0x0 > Pin-ctls: 0x00: > Connection: 1 > 0x19 > Node 0x1d [Pin Complex] wcaps 0x400101: Stereo > Pincap 0x08334: IN OUT Detect > Pin Default 0x01a19026: [Jack] Mic at Ext Rear > Conn = 1/8, Color = Pink > EAPD: 0x0 > Pin-ctls: 0x21: IN > Connection: 1 > 0x1a > Node 0x1e [Pin Complex] wcaps 0x400101: Stereo > Pincap 0x08334: IN OUT Detect > Pin Default 0x0181302e: [Jack] Line In at Ext Rear > Conn = 1/8, Color = Blue > EAPD: 0x0 > Pin-ctls: 0x20: IN > Connection: 1 > 0x19 > Node 0x1f [Pin Complex] wcaps 0x40010d: Stereo Amp-Out > Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 > Amp-Out vals: [0x18 0x18] > Pincap 0x081c: OUT HP Detect > Pin Default 0x01014010: [Jack] Line Out at Ext Rear > Conn = 1/8, Color = Green > EAPD: 0x0 > Pin-ctls: 0x40: OUT > Connection: 1 > 0x17 > Node 0x20 [Pin Complex] wcaps 0x40010d: Stereo Amp-Out > Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 > Amp-Out vals: [0x80 0x80] > Pincap 0x081c: OUT HP Detect > Pin Default 0x422140f0: [N/A] HP Out at Ext Front > Conn = 1/8, Color = Green > EAPD: 0x0 > Pin-ctls: 0x40: OUT > Connection: 1 > 0x17 > Node 0x21 [Pin Complex] wcaps 0x400101: Stereo > Pincap 0x08334: IN OUT Detect > Pin Default 0x42a190f0: [N/A] Mic at Ext Front > Conn = 1/8, Color = Pink > EAPD: 0x0 > Pin-ctls: 0x00: > Connection: 1 > 0x1b > Node 0x22 [Pin Complex] wcaps 0x400101: Stereo > Pincap 0x0814: OUT Detect > Pin Default 0x410160f1: [N/A] Line Out at Ext Rear > Conn = 1/8, Color = Orange > EAPD: 0x0 > Pin-ctls: 0x00: > Connection: 1 > 0x1a > Node 0x23 [Pin Complex] wcaps 0x400101: Stereo > Pincap 0x0814: OUT Detect > Pin Default 0x410120f4: [N/A] Line Out at Ext Rear > Conn = 1/8, Color = Grey > EAPD: 0x0 > Pin-ctls: 0x00: > Connection: 1 > 0x1b > Node 0x24 [Pin Complex] wcaps 0x400001: Stereo > Pincap 0x0820: IN > Pin Default 0x593301f7: [N/A] CD at Int ATAPI > Conn = ATAPI, Color = Unknown > EAPD: 0x0 > Pin-ctls: 0x00: > Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital > Pincap 0x0810: OUT > Pin Default 0x074411f0: [Jack] SPDIF Out at Ext Rear Panel > Conn = RCA, Color = Black > Pin-ctls: 0x40: OUT > Connection: 1 > 0x14 > Node 0x26 [Pin Complex] wcaps 0x400201: Stereo Digital > Pincap 0x0810030: IN OUT EAPD > Pin Default 0x07c421f0: [Jack] SPDIF In at Ext Rear Panel > Conn = RCA, Color = Grey > Pin-ctls: 0x20: IN > Node 0x27 [Audio Input] wcaps 0x10051b: Stereo Amp-In > Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 > Amp-In vals: [0x14 0x14] > PCM: > rates [0x440]: 48000 192000 > bits [0xa]: 16 24 > formats [0x1]: PCM > Power: 0x0 > Connection: 1 > 0x21 I'd like to get this card's spdif working. What else can I do to help? Although the driver loads, the user space tools can't use the card any more. Thank you. ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-24 19:22 ` John Stile @ 2008-01-02 20:41 ` John Stile 0 siblings, 0 replies; 32+ messages in thread From: John Stile @ 2008-01-02 20:41 UTC (permalink / raw) To: Takashi Iwai; +Cc: forumjunk, alsa-devel On Mon, 2007-12-24 at 11:22 -0800, John Stile wrote: > On Sat, 2007-12-22 at 10:35 -0800, John Stile wrote: > > On Fri, 2007-12-21 at 12:03 -0800, John Stile wrote: > > > On Fri, 2007-12-21 at 09:57 -0800, John Stile wrote: > > > > On Fri, 2007-12-21 at 10:08 +0100, Takashi Iwai wrote: > > > > > At Thu, 20 Dec 2007 10:13:29 -0800, > > > > > John Stile wrote: > > > > > > > > > > > > On Thu, 2007-12-20 at 12:09 +0100, Takashi Iwai wrote: > > > > > > > At Thu, 20 Dec 2007 00:37:46 +0000, > > > > > > > forumjunk@comcast.net wrote: > > > > > > > > > > > > > > > > > > > > > > > > For VIA platforms, to avoid the driver compile error in pci.h, reconfigure your kernel to remove SMP support, and set the architecture type to PC-compatible. > > > > > > > > > > > > > > > > (you already know this, I'm sure): > > > > > > > > Recompile the kernel (as a paranoid, I always trash /lib/modules/<kernel_version> before making modules_install). Install the kernel, of course, and reconfigure your boot loader and/or initrd and reboot. > > > > > > > > > > > > > > > > There are still several fixes that need to be made to get all of this to compile cleanly, but I haven't got the permanent fixes nailed down yet. I'm almost positive that these are alsa-driver configure errors or omissions. I can't (yet) find a kernel config that will avoid them. The fixes below are harmless, and they will allow you to get the driver compiled. > > > > > > > > > > > > > > My guess is that the error of configure script is the only point we > > > > > > > need to fix. > > > > > > > > > > > > > > > Add this definition to the top section of acore/memory_wrapper.c after the line that reads #include <linux/version.h> > > > > > > > > > > > > > > > > #define VMALLOC_VMADDR(x) ((unsigned long)(x)) > > > > > > > > > > > > > > > > Change these lines (45 and 46 or close to that) of acore/memory_wrapper.c from: > > > > > > > > > > > > > > > > pmd = pmd_offset(pgd, lpage); > > > > > > > > pte = pte_offset(pmd, lpage); > > > > > > > > > > > > > > > > to > > > > > > > > > > > > > > > > pmd = pmd_offset((pud_t *)pgd, lpage); > > > > > > > > pte = pte_offset_kernel(pmd, lpage); > > > > > > > > > > > > > > > > The driver will then compile cleanly (at least with no errors or warnings relating to any of these changes) > > > > > > > > > > > > > > Don't do this. This part shouldn't be compiled at all for recent > > > > > > > kernels. This is, again, the problem of configure script that > > > > > > > detected the codes wrongly. > > > > > > > > > > > > > > > > > > > > > So, could you guys show config.log? Otherwise it's hard to know > > > > > > > what's really wrong. > > > > > > > > > > > > > > > > > > > > > thanks, > > > > > > I recompiled the kernel without SMP support, and as PC-compatible (per > > > > > > forumjunk@comcast.net). In config.log, vmalloc_to_page shows a warning > > > > > > starting at line 540. "function cpuid_count causes a warning: pointer > > > > > > targets in passing argument 4 of 'native_cpuid' differ in signedness". > > > > > > --------------------------------------- > > > > > > The config.log > > > > > > > > > > Thanks. Does the patch below fix the probelm? > > > > > Run hgcompile after applying it. > > > > > > > > > > > > > > > Takashi > > > > > > > > > > diff -r 414b1156a8b3 configure.in > > > > > --- a/configure.in Tue Dec 18 16:09:20 2007 +0100 > > > > > +++ b/configure.in Fri Dec 21 12:10:53 2007 +0100 > > > > > @@ -1230,7 +1230,7 @@ esac > > > > > > > > > > dnl set ia32 (X86) > > > > > case "$processor" in > > > > > - i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*) > > > > > + i?86*|k?|crusoe|mcyrixiii|mwinchip|viac3_2|mcore2|geodegx*|x86_32) > > > > > if $KCC -mpreferred-stack-boundary=2 -S -o /dev/null -xc /dev/null >/dev/null 2>&1; then > > > > > c_opts="-mpreferred-stack-boundary=2 $c_opts" > > > > > CONFIG_X86=y > > > > > > > > Thank you! > > > > Now I get a syntax error below. > > > > config.log can be found here: http://pastebin.ca/827290 > > > > > > > > pico alsa-driver # ./hgcompile > > > > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri > > > > ver --versiondep /usr/src/alsa-driver/kconfig-vers --makeconf > toplevel.config.in > > > > can't handle word INPUT=y properly, supposing it's OK > > > > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > > > > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri > > > > ver --versiondep /usr/src/alsa-driver/kconfig-vers --acinclude > acinclude.m4 > > > > can't handle word INPUT=y properly, supposing it's OK > > > > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > > > > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-dri > > > > ver --versiondep /usr/src/alsa-driver/kconfig-vers --include > include/config1.h.in > > > > can't handle word INPUT=y properly, supposing it's OK > > > > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > > > > ./configure --with-debug=full --with-isapnp=yes --with-sequencer=yes > > > > 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 ISO C89... 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 grep that handles long lines and -e... /bin/grep > > > > checking for egrep... /bin/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... /usr/src/alsa-driver > > > > checking cross compile... > > > > checking for directory with kernel source... /lib/modules/2.6.23-gentoo-r3/source > > > > checking for directory with kernel build... /lib/modules/2.6.23-gentoo-r3/build > > > > checking for kernel linux/version.h... yes > > > > checking for kernel linux/autoconf.h... yes > > > > checking for kernel version... 2.6.23-gentoo-r3 > > > > checking for GCC version... Kernel compiler: gcc 4.1.2 (Gentoo 4.1.2 p1.0.2) Used compi > > > > ler: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) > > > > checking for built-in ALSA... no > > > > checking for existing ALSA module... no > > > > 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 for kernel linux/config.h... no > > > > Creating <linux/config.h>... > > > > checking to modify of kernel linux/kmod.h... no > > > > checking for kernel linux/utsrelease.h... yes > > > > 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/isa.h... yes > > > > checking for kernel linux/jiffies.h... yes > > > > checking for kernel linux/compat.h... yes > > > > checking for kernel linux/log2.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 linux/latency.h... yes > > > > checking for kernel linux/kthread.h... yes > > > > checking for kernel asm/irq_regs.h... yes > > > > checking for kernel module symbol versions... yes > > > > checking for has ioport support... yes > > > > checking for PCI support in kernel... yes > > > > checking for I2C driver in kernel... module > > > > checking for I2C_POWERMAC in kernel... unknown > > > > checking for firmware loader... module > > > > checking for input subsystem in kernel... yes > > > > checking for directory to store kernel modules... /lib/modules/2.6.23-gentoo-r3/kernel/ sound > > > > checking for verbose procfs... on > > > > checking for verbose printk... on > > > > checking for debug level... full > > > > checking for ISA support in kernel... yes > > > > checking for processor type... x86_32 > > > > ./configure: line 8001: syntax error near unexpected token `;;' > > > > ./configure: line 8001: ` ;;' > > > Whoops! I tried reapplied the changes to a fresh checkout, and now it > > > builds just fine. I applied the change to: > > > configure.in > > > alsa-kernel/pci/hda/patch_via.c > > > I have to wait until tonight to test. > > > Thank you! > > I have similar results to Darryl House after applying the 2 patches > > Error: > > ALSA lib pcm_dmix.c:829:(snd_pcm_dmix_open) unable to open slave > > play soxio: Failed writing `default': cannot open audio device > > ---------------------- > > procedure followed: > > # Download and compile the HG alsa-driver package: > > hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver > > cd alsa-driver > > hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel > > # Apply patches to: > > # alsa-driver/configure.in > > # AND > > # alsa-kernel/pci/hda/patch_via.c > > # Build kernel component > > ./hgcompile && make install > > popd > > # Load driver > > modprobe snd-hda-intel > > # Build HG alsa-libs and alsa-utils > > hg clone http://hg-mirror.alsa-project.org/alsa-lib alsa-lib > > pushd alsa-lib > > ./hgcompile && make install > > # Run config > > sh ./alsaconf/alsaconf > > # Select card: > > # VIA Technologies, Inc. VIA High Definition Audio Controller > > # Turn up the levels > > ./alsamixer/alsamixer > > # Try to play > > ./aplay/aplay /root/Track01.wav > > ALSA lib pcm_dmix.c:829:(snd_pcm_dmix_open) unable to open slave > > aplay: main:546: audio open error: Inappropriate ioctl for device > > # Strace aplay > > pico alsa-utils # strace -tt ./aplay/aplay /root/Track01.wav > > 10:36:55.550401 execve("./aplay/aplay", ["./aplay/aplay", "/root/Track01.wav"], [/* 41 vars */]) = 0 > > 10:36:55.551561 brk(0) = 0x8055000 > > 10:36:55.551879 access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory) > > 10:36:55.552129 open("/etc/ld.so.cache", O_RDONLY) = 3 > > 10:36:55.552307 fstat64(3, {st_mode=S_IFREG|0644, st_size=114984, ...}) = 0 > > 10:36:55.552572 mmap2(NULL, 114984, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f21000 > > 10:36:55.552753 close(3) = 0 > > 10:36:55.552928 open("/usr/lib/libasound.so.2", O_RDONLY) = 3 > > 10:36:55.553108 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0000\365\1\0004\0\0\0"..., 512) = 512 > > 10:36:55.553329 fstat64(3, {st_mode=S_IFREG|0755, st_size=2762708, ...}) = 0 > > 10:36:55.553792 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f20000 > > 10:36:55.554008 mmap2(NULL, 789320, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e5f000 > > 10:36:55.554186 mmap2(0xb7f1b000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0xbb) = 0xb7f1b000 > > 10:36:55.554605 close(3) = 0 > > 10:36:55.554843 open("/lib/libm.so.6", O_RDONLY) = 3 > > 10:36:55.555031 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p4\0\0004\0\0\0"..., 512) = 512 > > 10:36:55.555254 fstat64(3, {st_mode=S_IFREG|0755, st_size=149256, ...}) = 0 > > 10:36:55.555490 mmap2(NULL, 151680, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e39000 > > 10:36:55.555667 mmap2(0xb7e5d000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x23) = 0xb7e5d000 > > 10:36:55.555900 close(3) = 0 > > 10:36:55.556071 open("/lib/libdl.so.2", O_RDONLY) = 3 > > 10:36:55.556242 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0p\n\0\0004\0\0\0"..., 512) = 512 > > 10:36:55.556482 fstat64(3, {st_mode=S_IFREG|0755, st_size=9612, ...}) = 0 > > 10:36:55.556680 mmap2(NULL, 12412, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e35000 > > 10:36:55.556848 mmap2(0xb7e37000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x1) = 0xb7e37000 > > 10:36:55.557068 close(3) = 0 > > 10:36:55.557240 open("/lib/libpthread.so.0", O_RDONLY) = 3 > > 10:36:55.557425 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 H\0\0004\0\0\0"..., 512) = 512 > > 10:36:55.557638 fstat64(3, {st_mode=S_IFREG|0755, st_size=84168, ...}) = 0 > > 10:36:55.557832 mmap2(NULL, 90592, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7e1e000 > > 10:36:55.558000 mmap2(0xb7e31000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x13) = 0xb7e31000 > > 10:36:55.558213 mmap2(0xb7e33000, 4576, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e33000 > > 10:36:55.558425 close(3) = 0 > > 10:36:55.558594 open("/lib/libc.so.6", O_RDONLY) = 3 > > 10:36:55.558763 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0@a\1\0004\0\0\0"..., 512) = 512 > > 10:36:55.558973 fstat64(3, {st_mode=S_IFREG|0755, st_size=1237276, ...}) = 0 > > 10:36:55.559172 mmap2(NULL, 1242576, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cee000 > > 10:36:55.559339 mmap2(0xb7e18000, 12288, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12a) = 0xb7e18000 > > 10:36:55.559540 mmap2(0xb7e1b000, 9680, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7e1b000 > > 10:36:55.560348 close(3) = 0 > > 10:36:55.560635 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7ced000 > > 10:36:55.560857 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7cec000 > > 10:36:55.561037 set_thread_area({entry_number:-1 -> 6, base_addr:0xb7cec6c0, limit:1048575, seg_32bit:1, contents:0, read_exec_only:0, limit_in_pages:1, seg_not_present:0, useable:1}) = 0 > > 10:36:55.561568 mprotect(0xb7e18000, 8192, PROT_READ) = 0 > > 10:36:55.561782 mprotect(0xb7e31000, 4096, PROT_READ) = 0 > > 10:36:55.561968 mprotect(0xb7e37000, 4096, PROT_READ) = 0 > > 10:36:55.562137 mprotect(0xb7e5d000, 4096, PROT_READ) = 0 > > 10:36:55.562592 mprotect(0xb7f1b000, 8192, PROT_READ) = 0 > > 10:36:55.562780 mprotect(0x8053000, 4096, PROT_READ) = 0 > > 10:36:55.562936 mprotect(0xb7f59000, 4096, PROT_READ) = 0 > > 10:36:55.563069 munmap(0xb7f21000, 114984) = 0 > > 10:36:55.563221 set_tid_address(0xb7cec708) = 2705 > > 10:36:55.563342 set_robust_list(0xb7cec710, 0xc) = 0 > > 10:36:55.563550 rt_sigaction(SIGRTMIN, {0xb7e22320, [], SA_SIGINFO}, NULL, 8) = 0 > > 10:36:55.563735 rt_sigaction(SIGRT_1, {0xb7e223a0, [], SA_RESTART|SA_SIGINFO}, NULL, 8) = 0 > > 10:36:55.563891 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 > > 10:36:55.564049 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 > > 10:36:55.564260 uname({sys="Linux", node="pico", ...}) = 0 > > 10:36:55.564849 brk(0) = 0x8055000 > > 10:36:55.565006 brk(0x8076000) = 0x8076000 > > 10:36:55.565286 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > > 10:36:55.565549 open("/usr/share/alsa/alsa.conf", O_RDONLY) = 3 > > 10:36:55.565747 fstat64(3, {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > > 10:36:55.565930 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000 > > 10:36:55.566081 read(3, "#\n# ALSA library configuration "..., 4096) = 4096 > > 10:36:55.568585 read(3, "r\n\t\t\t\tname defaults.pcm.device\n\t"..., 4096) = 4096 > > 10:36:55.571159 read(3, " {\n\t\t\t@func refer\n\t\t\tname defaul"..., 4096) = 420 > > 10:36:55.571703 read(3, "", 4096) = 0 > > 10:36:55.571862 read(3, "", 4096) = 0 > > 10:36:55.572039 close(3) = 0 > > 10:36:55.572190 munmap(0xb7f3d000, 4096) = 0 > > 10:36:55.572831 futex(0xb7e38070, FUTEX_WAKE, 2147483647) = 0 > > 10:36:55.573297 access("/etc/asound.conf", R_OK) = -1 ENOENT (No such file or directory) > > 10:36:55.573513 access("/root/.asoundrc", R_OK) = -1 ENOENT (No such file or directory) > > 10:36:55.574099 open("/usr/share/alsa/cards/aliases.conf", O_RDONLY) = 3 > > 10:36:55.574351 fstat64(3, {st_mode=S_IFREG|0644, st_size=1293, ...}) = 0 > > 10:36:55.574618 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000 > > 10:36:55.574798 read(3, "#\n# Define aliases for various "..., 4096) = 1293 > > 10:36:55.575567 open("/usr/share/alsa/pcm/default.conf", O_RDONLY) = 4 > > 10:36:55.575764 fstat64(4, {st_mode=S_IFREG|0644, st_size=762, ...}) = 0 > > 10:36:55.575960 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > > 10:36:55.576127 read(4, "#\n# Default output\n#\n\npcm.!defau"..., 4096) = 762 > > 10:36:55.576660 read(4, "", 4096) = 0 > > 10:36:55.576833 close(4) = 0 > > 10:36:55.576982 munmap(0xb7f3c000, 4096) = 0 > > 10:36:55.577171 open("/usr/share/alsa/pcm/dmix.conf", O_RDONLY) = 4 > > 10:36:55.577359 fstat64(4, {st_mode=S_IFREG|0644, st_size=1520, ...}) = 0 > > 10:36:55.577576 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > > 10:36:55.577743 read(4, "#\n# dmix output\n#\n\npcm.!dmix {\n\t"..., 4096) = 1520 > > 10:36:55.578570 read(4, "", 4096) = 0 > > 10:36:55.578735 close(4) = 0 > > 10:36:55.578883 munmap(0xb7f3c000, 4096) = 0 > > 10:36:55.579063 open("/usr/share/alsa/pcm/dsnoop.conf", O_RDONLY) = 4 > > 10:36:55.579251 fstat64(4, {st_mode=S_IFREG|0644, st_size=1532, ...}) = 0 > > 10:36:55.579839 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > > 10:36:55.580080 read(4, "#\n# dsnoop\n#\n\npcm.!dsnoop {\n\t@ar"..., 4096) = 1532 > > 10:36:55.581221 read(4, "", 4096) = 0 > > 10:36:55.581501 close(4) = 0 > > 10:36:55.581655 munmap(0xb7f3c000, 4096) = 0 > > 10:36:55.581828 read(3, "", 4096) = 0 > > 10:36:55.581981 read(3, "", 4096) = 0 > > 10:36:55.582130 close(3) = 0 > > 10:36:55.582273 munmap(0xb7f3d000, 4096) = 0 > > 10:36:55.582648 open("/dev/snd/controlC0", O_RDONLY) = 3 > > 10:36:55.582892 close(3) = 0 > > 10:36:55.583108 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > > 10:36:55.583890 open("/dev/snd/controlC0", O_RDONLY) = 3 > > 10:36:55.584219 close(3) = 0 > > 10:36:55.584402 open("/dev/snd/controlC0", O_RDWR) = 3 > > 10:36:55.584587 ioctl(3, USBDEVFS_CONTROL, 0xbfa50788) = 0 > > 10:36:55.584798 ioctl(3, UI_DEV_CREATE, 0xbfa50760) = 0 > > 10:36:55.584968 close(3) = 0 > > 10:36:55.585608 access("/usr/share/alsa/cards/HDA-Intel.conf", R_OK) = 0 > > 10:36:55.585867 open("/usr/share/alsa/cards/HDA-Intel.conf", O_RDONLY) = 3 > > 10:36:55.586057 fstat64(3, {st_mode=S_IFREG|0644, st_size=2148, ...}) = 0 > > 10:36:55.586272 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000 > > 10:36:55.586484 read(3, "#\n# Configuration for the Intel "..., 4096) = 2148 > > 10:36:55.586718 open("/usr/share/alsa/pcm/front.conf", O_RDONLY) = 4 > > 10:36:55.586903 fstat64(4, {st_mode=S_IFREG|0644, st_size=752, ...}) = 0 > > 10:36:55.587098 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > > 10:36:55.587263 read(4, "#\n# Hardware output from front s"..., 4096) = 752 > > 10:36:55.587773 read(4, "", 4096) = 0 > > 10:36:55.587936 close(4) = 0 > > 10:36:55.588084 munmap(0xb7f3c000, 4096) = 0 > > 10:36:55.588703 open("/usr/share/alsa/pcm/surround40.conf", O_RDONLY) = 4 > > 10:36:55.588926 fstat64(4, {st_mode=S_IFREG|0644, st_size=877, ...}) = 0 > > 10:36:55.589129 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > > 10:36:55.589299 read(4, "#\n# Hardware output from 4.0 sp"..., 4096) = 877 > > 10:36:55.589857 read(4, "", 4096) = 0 > > 10:36:55.590021 close(4) = 0 > > 10:36:55.590168 munmap(0xb7f3c000, 4096) = 0 > > 10:36:55.590348 open("/usr/share/alsa/pcm/surround41.conf", O_RDONLY) = 4 > > 10:36:55.590550 fstat64(4, {st_mode=S_IFREG|0644, st_size=992, ...}) = 0 > > 10:36:55.590752 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > > 10:36:55.590919 read(4, "#\n# Hardware output from 4.1 sp"..., 4096) = 992 > > 10:36:55.591520 read(4, "", 4096) = 0 > > 10:36:55.591683 close(4) = 0 > > 10:36:55.591829 munmap(0xb7f3c000, 4096) = 0 > > 10:36:55.592001 open("/usr/share/alsa/pcm/surround50.conf", O_RDONLY) = 4 > > 10:36:55.592187 fstat64(4, {st_mode=S_IFREG|0644, st_size=992, ...}) = 0 > > 10:36:55.592383 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > > 10:36:55.592852 read(4, "#\n# Hardware output from 5.0 sp"..., 4096) = 992 > > 10:36:55.593710 read(4, "", 4096) = 0 > > 10:36:55.593946 close(4) = 0 > > 10:36:55.594097 munmap(0xb7f3c000, 4096) = 0 > > 10:36:55.594291 open("/usr/share/alsa/pcm/surround51.conf", O_RDONLY) = 4 > > 10:36:55.594725 fstat64(4, {st_mode=S_IFREG|0644, st_size=930, ...}) = 0 > > 10:36:55.594944 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > > 10:36:55.595115 read(4, "#\n# Hardware output from 5.1 sp"..., 4096) = 930 > > 10:36:55.595678 read(4, "", 4096) = 0 > > 10:36:55.595843 close(4) = 0 > > 10:36:55.595989 munmap(0xb7f3c000, 4096) = 0 > > 10:36:55.596172 open("/usr/share/alsa/pcm/surround71.conf", O_RDONLY) = 4 > > 10:36:55.596368 fstat64(4, {st_mode=S_IFREG|0644, st_size=978, ...}) = 0 > > 10:36:55.596837 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > > 10:36:55.597018 read(4, "#\n# Hardware output from 7.1 sp"..., 4096) = 978 > > 10:36:55.597610 read(4, "", 4096) = 0 > > 10:36:55.597775 close(4) = 0 > > 10:36:55.597922 munmap(0xb7f3c000, 4096) = 0 > > 10:36:55.598191 open("/usr/share/alsa/pcm/iec958.conf", O_RDONLY) = 4 > > 10:36:55.598387 fstat64(4, {st_mode=S_IFREG|0644, st_size=1213, ...}) = 0 > > 10:36:55.598587 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > > 10:36:55.598754 read(4, "#\n# Hardware output from iec958"..., 4096) = 1213 > > 10:36:55.599509 read(4, "", 4096) = 0 > > 10:36:55.599727 close(4) = 0 > > 10:36:55.599874 munmap(0xb7f3c000, 4096) = 0 > > 10:36:55.600448 open("/usr/share/alsa/pcm/modem.conf", O_RDONLY) = 4 > > 10:36:55.600652 fstat64(4, {st_mode=S_IFREG|0644, st_size=1314, ...}) = 0 > > 10:36:55.600855 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3c000 > > 10:36:55.601025 read(4, "#\n# \"raw\" modem - phoneline\n#\n\np"..., 4096) = 1314 > > 10:36:55.601764 read(4, "", 4096) = 0 > > 10:36:55.601923 close(4) = 0 > > 10:36:55.602068 munmap(0xb7f3c000, 4096) = 0 > > 10:36:55.602309 read(3, "", 4096) = 0 > > 10:36:55.602512 read(3, "", 4096) = 0 > > 10:36:55.602662 close(3) = 0 > > 10:36:55.602806 munmap(0xb7f3d000, 4096) = 0 > > 10:36:55.602971 open("/dev/snd/controlC1", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.603178 open("/dev/aloadC1", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.603354 open("/dev/snd/controlC2", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.603550 open("/dev/aloadC2", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.603725 open("/dev/snd/controlC3", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.603909 open("/dev/aloadC3", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.604066 open("/dev/snd/controlC4", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.604226 open("/dev/aloadC4", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.604382 open("/dev/snd/controlC5", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.604868 open("/dev/aloadC5", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.605048 open("/dev/snd/controlC6", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.605227 open("/dev/aloadC6", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.605401 open("/dev/snd/controlC7", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.605578 open("/dev/aloadC7", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.605752 open("/dev/snd/controlC8", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.605929 open("/dev/aloadC8", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.606101 open("/dev/snd/controlC9", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.606279 open("/dev/aloadC9", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.606684 open("/dev/snd/controlC10", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.606883 open("/dev/aloadC10", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.607056 open("/dev/snd/controlC11", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.607234 open("/dev/aloadC11", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.607407 open("/dev/snd/controlC12", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.607590 open("/dev/aloadC12", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.607763 open("/dev/snd/controlC13", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.607940 open("/dev/aloadC13", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.608113 open("/dev/snd/controlC14", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.608292 open("/dev/aloadC14", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.608496 open("/dev/snd/controlC15", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.608676 open("/dev/aloadC15", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.608849 open("/dev/snd/controlC16", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.609028 open("/dev/aloadC16", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.609200 open("/dev/snd/controlC17", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.609379 open("/dev/aloadC17", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.612664 open("/dev/snd/controlC18", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.612894 open("/dev/aloadC18", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.613070 open("/dev/snd/controlC19", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.613250 open("/dev/aloadC19", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.613471 open("/dev/snd/controlC20", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.613656 open("/dev/aloadC20", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.613830 open("/dev/snd/controlC21", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.614010 open("/dev/aloadC21", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.614182 open("/dev/snd/controlC22", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.614365 open("/dev/aloadC22", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.614563 open("/dev/snd/controlC23", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.614742 open("/dev/aloadC23", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.614916 open("/dev/snd/controlC24", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.615095 open("/dev/aloadC24", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.615277 open("/dev/snd/controlC25", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.615473 open("/dev/aloadC25", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.615649 open("/dev/snd/controlC26", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.615829 open("/dev/aloadC26", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.616003 open("/dev/snd/controlC27", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.616183 open("/dev/aloadC27", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.616357 open("/dev/snd/controlC28", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.616819 open("/dev/aloadC28", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.617004 open("/dev/snd/controlC29", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.617183 open("/dev/aloadC29", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.617357 open("/dev/snd/controlC30", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.617558 open("/dev/aloadC30", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.617735 open("/dev/snd/controlC31", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.617913 open("/dev/aloadC31", O_RDONLY) = -1 ENOENT (No such file or directory) > > 10:36:55.618848 open("/dev/snd/controlC0", O_RDONLY) = 3 > > 10:36:55.619145 close(3) = 0 > > 10:36:55.619355 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > > 10:36:55.619924 open("/dev/snd/controlC0", O_RDONLY) = 3 > > 10:36:55.620198 close(3) = 0 > > 10:36:55.620367 open("/dev/snd/controlC0", O_RDWR) = 3 > > 10:36:55.620865 ioctl(3, USBDEVFS_CONTROL, 0xbfa50288) = 0 > > 10:36:55.621044 ioctl(3, UI_DEV_CREATE, 0xbfa50260) = 0 > > 10:36:55.621200 close(3) = 0 > > 10:36:55.623972 open("/dev/snd/controlC0", O_RDONLY) = 3 > > 10:36:55.624394 close(3) = 0 > > 10:36:55.624650 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > > 10:36:55.624985 open("/dev/snd/controlC0", O_RDONLY) = 3 > > 10:36:55.625176 close(3) = 0 > > 10:36:55.625334 open("/dev/snd/controlC0", O_RDWR) = 3 > > 10:36:55.625530 ioctl(3, USBDEVFS_CONTROL, 0xbfa4fcf8) = 0 > > 10:36:55.625693 ioctl(3, UI_DEV_CREATE, 0xbfa4fcd0) = 0 > > 10:36:55.625848 close(3) = 0 > > 10:36:55.626407 open("/dev/snd/controlC0", O_RDONLY) = 3 > > 10:36:55.626666 close(3) = 0 > > 10:36:55.626860 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > > 10:36:55.627179 open("/dev/snd/controlC0", O_RDONLY) = 3 > > 10:36:55.627365 close(3) = 0 > > 10:36:55.627539 open("/dev/snd/controlC0", O_RDWR) = 3 > > 10:36:55.627707 ioctl(3, USBDEVFS_CONTROL, 0xbfa4fcf8) = 0 > > 10:36:55.627868 ioctl(3, UI_DEV_CREATE, 0xbfa4fcd0) = 0 > > 10:36:55.628023 close(3) = 0 > > 10:36:55.628561 open("/dev/snd/controlC0", O_RDONLY) = 3 > > 10:36:55.628789 close(3) = 0 > > 10:36:55.628981 stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8612, ...}) = 0 > > 10:36:55.629293 open("/dev/snd/controlC0", O_RDONLY) = 3 > > 10:36:55.629978 close(3) = 0 > > 10:36:55.630187 open("/dev/snd/controlC0", O_RDWR) = 3 > > 10:36:55.630381 ioctl(3, USBDEVFS_CONTROL, 0xbfa4fcf8) = 0 > > 10:36:55.630802 ioctl(3, UI_DEV_CREATE, 0xbfa4fcd0) = 0 > > 10:36:55.630967 close(3) = 0 > > 10:36:55.631815 socket(PF_FILE, SOCK_STREAM, 0) = 3 > > 10:36:55.632171 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > > 10:36:55.632348 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) > > 10:36:55.632587 close(3) = 0 > > 10:36:55.632751 socket(PF_FILE, SOCK_STREAM, 0) = 3 > > 10:36:55.632906 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0 > > 10:36:55.633060 connect(3, {sa_family=AF_FILE, path="/var/run/nscd/socket"}, 110) = -1 ENOENT (No such file or directory) > > 10:36:55.633271 close(3) = 0 > > 10:36:55.633481 open("/etc/nsswitch.conf", O_RDONLY) = 3 > > 10:36:55.633676 fstat64(3, {st_mode=S_IFREG|0644, st_size=508, ...}) = 0 > > 10:36:55.633880 mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0xb7f3d000 > > 10:36:55.634059 read(3, "# /etc/nsswitch.conf:\n# $Header:"..., 4096) = 508 > > 10:36:55.634305 read(3, "", 4096) = 0 > > 10:36:55.634485 close(3) = 0 > > 10:36:55.634633 munmap(0xb7f3d000, 4096) = 0 > > 10:36:55.634833 open("/etc/ld.so.cache", O_RDONLY) = 3 > > 10:36:55.635010 fstat64(3, {st_mode=S_IFREG|0644, st_size=114984, ...}) = 0 > > 10:36:55.635198 mmap2(NULL, 114984, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f21000 > > 10:36:55.635362 close(3) = 0 > > 10:36:55.635535 open("/lib/libnss_compat.so.2", O_RDONLY) = 3 > > 10:36:55.635713 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\200\16\0\0004\0\0\0"..., 512) = 512 > > 10:36:55.635912 fstat64(3, {st_mode=S_IFREG|0755, st_size=26260, ...}) = 0 > > 10:36:55.636091 mmap2(NULL, 29252, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ce4000 > > 10:36:55.636250 mmap2(0xb7cea000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x5) = 0xb7cea000 > > 10:36:55.636484 close(3) = 0 > > 10:36:55.636645 open("/lib/libnsl.so.1", O_RDONLY) = 3 > > 10:36:55.636802 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\2001\0\0004\0\0\0"..., 512) = 512 > > 10:36:55.636997 fstat64(3, {st_mode=S_IFREG|0755, st_size=79544, ...}) = 0 > > 10:36:55.637182 mmap2(NULL, 92136, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7ccd000 > > 10:36:55.637339 mmap2(0xb7ce0000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x12) = 0xb7ce0000 > > 10:36:55.637546 mmap2(0xb7ce2000, 6120, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0xb7ce2000 > > 10:36:55.637730 close(3) = 0 > > 10:36:55.637978 mprotect(0xb7ce0000, 4096, PROT_READ) = 0 > > 10:36:55.638140 mprotect(0xb7cea000, 4096, PROT_READ) = 0 > > 10:36:55.638287 munmap(0xb7f21000, 114984) = 0 > > 10:36:55.638496 open("/etc/ld.so.cache", O_RDONLY) = 3 > > 10:36:55.638661 fstat64(3, {st_mode=S_IFREG|0644, st_size=114984, ...}) = 0 > > 10:36:55.638834 mmap2(NULL, 114984, PROT_READ, MAP_PRIVATE, 3, 0) = 0xb7f21000 > > 10:36:55.638981 close(3) = 0 > > 10:36:55.639134 open("/lib/libnss_nis.so.2", O_RDONLY) = 3 > > 10:36:55.639287 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0`\31\0\0004\0\0\0"..., 512) = 512 > > 10:36:55.639484 fstat64(3, {st_mode=S_IFREG|0755, st_size=34280, ...}) = 0 > > 10:36:55.639806 mmap2(NULL, 37440, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cc3000 > > 10:36:55.639976 mmap2(0xb7ccb000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7ccb000 > > 10:36:55.640192 close(3) = 0 > > 10:36:55.640361 open("/lib/libnss_files.so.2", O_RDONLY) = 3 > > 10:36:55.640524 read(3, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0 \31\0\0004\0\0\0"..., 512) = 512 > > 10:36:55.640721 fstat64(3, {st_mode=S_IFREG|0755, st_size=34244, ...}) = 0 > > 10:36:55.640901 mmap2(NULL, 37528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0xb7cb9000 > > 10:36:55.641055 mmap2(0xb7cc1000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x7) = 0xb7cc1000 > > 10:36:55.641260 close(3) = 0 > > 10:36:55.641473 mprotect(0xb7cc1000, 4096, PROT_READ) = 0 > > 10:36:55.641632 mprotect(0xb7ccb000, 4096, PROT_READ) = 0 > > 10:36:55.641777 munmap(0xb7f21000, 114984) = 0 > > 10:36:55.641968 open("/etc/group", O_RDONLY) = 3 > > 10:36:55.642147 fcntl64(3, F_GETFD) = 0 > > 10:36:55.642279 fcntl64(3, F_SETFD, FD_CLOEXEC) = 0 > > 10:36:55.642778 _llseek(3, 0, [0], SEEK_CUR) = 0 > > 10:36:55.642984 fstat64(3, {st_mode=S_IFREG|0644, st_size=713, ...}) = 0 > > 10:36:55.643171 mmap2(NULL, 713, PROT_READ, MAP_SHARED, 3, 0) = 0xb7f3d000 > > 10:36:55.643325 _llseek(3, 713, [713], SEEK_SET) = 0 > > 10:36:55.643832 munmap(0xb7f3d000, 713) = 0 > > 10:36:55.644019 close(3) = 0 > > 10:36:55.644220 open("/dev/snd/controlC0", O_RDONLY) = 3 > > 10:36:55.644645 close(3) = 0 > > 10:36:55.644923 semget(0x56a4d5, 1, IPC_CREAT|0660) = 851970 > > 10:36:55.645113 semctl(851970, 0, IPC_64|IPC_STAT, 0xbfa501f8) = 0 > > 10:36:55.645270 semctl(851970, 0, IPC_64|IPC_SET, 0xbfa501f8) = 0 > > 10:36:55.645427 semop(851970, 0xbfa503c2, 2) = 0 > > 10:36:55.645586 shmget(0x56a4d5, 488, IPC_CREAT|0660) = 1048579 > > 10:36:55.645768 shmat(1048579, 0, 0) = 0xb7f3d000 > > 10:36:55.645964 mlock(0xb7f3d000, 488) = 0 > > 10:36:55.646146 shmctl(1048579, IPC_64|IPC_STAT, 0xbfa50218) = 0 > > 10:36:55.646300 shmctl(1048579, IPC_64|IPC_SET, 0xbfa50218) = 0 > > 10:36:55.646711 open("/dev/snd/controlC0", O_RDONLY) = 3 > > 10:36:55.646954 close(3) = 0 > > 10:36:55.647131 open("/dev/snd/controlC0", O_RDWR) = 3 > > 10:36:55.647296 ioctl(3, USBDEVFS_CONTROL, 0xbfa4ff68) = 0 > > 10:36:55.647494 ioctl(3, 0x40045532, 0xbfa4ff64) = 0 > > 10:36:55.647635 open("/dev/snd/pcmC0D0p", O_RDWR|O_NONBLOCK) = 4 > > 10:36:55.647836 ioctl(4, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0xbfa4ffb0) = 0 > > 10:36:55.647986 close(3) = 0 > > 10:36:55.648126 ioctl(4, AGPIOC_ACQUIRE or APM_IOC_STANDBY, 0xbfa4fdbc) = 0 > > 10:36:55.648274 fcntl64(4, F_GETFL) = 0x802 (flags O_RDWR|O_NONBLOCK) > > 10:36:55.648441 ioctl(4, AGPIOC_INFO, 0xbfa4ff68) = 0 > > 10:36:55.648571 ioctl(4, AGPIOC_RELEASE or APM_IOC_SUSPEND, 0xbfa4ff60) = -1 ENOTTY (Inappropriate ioctl for device) > > 10:36:55.649304 write(2, "ALSA lib pcm_dmix.c:829:(snd_pcm"..., 44ALSA lib pcm_dmix.c:829:(snd_pcm_dmix_open) ) = 44 > > 10:36:55.649587 write(2, "unable to open slave", 20unable to open slave) = 20 > > 10:36:55.649915 write(2, "\n", 1 > > ) = 1 > > 10:36:55.650106 shmdt(0) = -1 EINVAL (Invalid argument) > > 10:36:55.650261 shmdt(0xb7f3d000) = 0 > > 10:36:55.650414 shmctl(1048579, IPC_64|IPC_STAT, 0xbfa5021c) = 0 > > 10:36:55.650551 shmctl(1048579, IPC_64|IPC_RMID, 0) = 0 > > 10:36:55.650704 semctl(851970, 0, IPC_64|IPC_RMID, 0xbfa50268) = 0 > > 10:36:55.650968 write(2, "aplay: main:546: ", 17aplay: main:546: ) = 17 > > 10:36:55.651198 write(2, "audio open error: Inappropriate "..., 48audio open error: Inappropriate ioctl for device) = 48 > > 10:36:55.651390 write(2, "\n", 1 > > ) = 1 > > 10:36:55.651690 exit_group(1) = ? > > > > pico alsa-utils # cat /proc/asound/card0/codec#0 > > Codec: VIA VIA VT1708 > > Address: 0 > > Vendor Id: 0x11061708 > > Subsystem Id: 0x11060300 > > Revision Id: 0x100700 > > No Modem Function Group found > > Default PCM: > > rates [0x0]: > > bits [0x0]: > > formats [0x0]: > > Default Amp-In caps: N/A > > Default Amp-Out caps: N/A > > Node 0x10 [Audio Output] wcaps 0x411: Stereo > > PCM: > > rates [0x7e0]: 44100 48000 88200 96000 176400 192000 > > bits [0xa]: 16 24 > > formats [0x1]: PCM > > Power: 0x0 > > Node 0x11 [Audio Output] wcaps 0x411: Stereo > > PCM: > > rates [0x7e0]: 44100 48000 88200 96000 176400 192000 > > bits [0xa]: 16 24 > > formats [0x1]: PCM > > Power: 0x0 > > Node 0x12 [Audio Output] wcaps 0x411: Stereo > > PCM: > > rates [0x7e0]: 44100 48000 88200 96000 176400 192000 > > bits [0xa]: 16 24 > > formats [0x1]: PCM > > Power: 0x0 > > Node 0x13 [Audio Output] wcaps 0x411: Stereo > > PCM: > > rates [0x7e0]: 44100 48000 88200 96000 176400 192000 > > bits [0xa]: 16 24 > > formats [0x1]: PCM > > Power: 0x0 > > Node 0x14 [Audio Output] wcaps 0x211: Stereo Digital > > PCM: > > rates [0x7e0]: 44100 48000 88200 96000 176400 192000 > > bits [0xa]: 16 24 > > formats [0x5]: PCM AC3 > > Node 0x15 [Audio Input] wcaps 0x10051b: Stereo Amp-In > > Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 > > Amp-In vals: [0x14 0x14] > > PCM: > > rates [0x440]: 48000 192000 > > bits [0xa]: 16 24 > > formats [0x1]: PCM > > Power: 0x0 > > Connection: 1 > > 0x18 > > Node 0x16 [Audio Input] wcaps 0x100311: Stereo Digital > > PCM: > > rates [0x1f0]: 32000 44100 48000 88200 96000 > > bits [0xa]: 16 24 > > formats [0x5]: PCM AC3 > > Connection: 1 > > 0x26 > > Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In > > Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x06, mute=1 > > Amp-In vals: [0x1f 0x1f] [0x00 0x00] [0x9d 0x9d] [0x1e 0x1e] [0x00 0x00] [0x80 0x80] > > Connection: 6 > > 0x10 0x24 0x1d 0x1e 0x21 0x13 > > Node 0x18 [Audio Selector] wcaps 0x300101: Stereo > > Connection: 5 > > 0x17* 0x24 0x1d 0x1e 0x21 > > Node 0x19 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out > > Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 > > Amp-Out vals: [0x00 0x00] > > Connection: 1 > > 0x11 > > Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out > > Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 > > Amp-Out vals: [0x00 0x00] > > Connection: 1 > > 0x12 > > Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out > > Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 > > Amp-Out vals: [0x00 0x00] > > Connection: 1 > > 0x13 > > Node 0x1c [Pin Complex] wcaps 0x40010d: Stereo Amp-Out > > Amp-Out caps: N/A > > Amp-Out vals: [0x00 0x00] > > Pincap 0x081c: OUT HP Detect > > Pin Default 0x410110f2: [N/A] Line Out at Ext Rear > > Conn = 1/8, Color = Black > > EAPD: 0x0 > > Pin-ctls: 0x00: > > Connection: 1 > > 0x19 > > Node 0x1d [Pin Complex] wcaps 0x400101: Stereo > > Pincap 0x08334: IN OUT Detect > > Pin Default 0x01a19026: [Jack] Mic at Ext Rear > > Conn = 1/8, Color = Pink > > EAPD: 0x0 > > Pin-ctls: 0x21: IN > > Connection: 1 > > 0x1a > > Node 0x1e [Pin Complex] wcaps 0x400101: Stereo > > Pincap 0x08334: IN OUT Detect > > Pin Default 0x0181302e: [Jack] Line In at Ext Rear > > Conn = 1/8, Color = Blue > > EAPD: 0x0 > > Pin-ctls: 0x20: IN > > Connection: 1 > > 0x19 > > Node 0x1f [Pin Complex] wcaps 0x40010d: Stereo Amp-Out > > Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 > > Amp-Out vals: [0x18 0x18] > > Pincap 0x081c: OUT HP Detect > > Pin Default 0x01014010: [Jack] Line Out at Ext Rear > > Conn = 1/8, Color = Green > > EAPD: 0x0 > > Pin-ctls: 0x40: OUT > > Connection: 1 > > 0x17 > > Node 0x20 [Pin Complex] wcaps 0x40010d: Stereo Amp-Out > > Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 > > Amp-Out vals: [0x80 0x80] > > Pincap 0x081c: OUT HP Detect > > Pin Default 0x422140f0: [N/A] HP Out at Ext Front > > Conn = 1/8, Color = Green > > EAPD: 0x0 > > Pin-ctls: 0x40: OUT > > Connection: 1 > > 0x17 > > Node 0x21 [Pin Complex] wcaps 0x400101: Stereo > > Pincap 0x08334: IN OUT Detect > > Pin Default 0x42a190f0: [N/A] Mic at Ext Front > > Conn = 1/8, Color = Pink > > EAPD: 0x0 > > Pin-ctls: 0x00: > > Connection: 1 > > 0x1b > > Node 0x22 [Pin Complex] wcaps 0x400101: Stereo > > Pincap 0x0814: OUT Detect > > Pin Default 0x410160f1: [N/A] Line Out at Ext Rear > > Conn = 1/8, Color = Orange > > EAPD: 0x0 > > Pin-ctls: 0x00: > > Connection: 1 > > 0x1a > > Node 0x23 [Pin Complex] wcaps 0x400101: Stereo > > Pincap 0x0814: OUT Detect > > Pin Default 0x410120f4: [N/A] Line Out at Ext Rear > > Conn = 1/8, Color = Grey > > EAPD: 0x0 > > Pin-ctls: 0x00: > > Connection: 1 > > 0x1b > > Node 0x24 [Pin Complex] wcaps 0x400001: Stereo > > Pincap 0x0820: IN > > Pin Default 0x593301f7: [N/A] CD at Int ATAPI > > Conn = ATAPI, Color = Unknown > > EAPD: 0x0 > > Pin-ctls: 0x00: > > Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital > > Pincap 0x0810: OUT > > Pin Default 0x074411f0: [Jack] SPDIF Out at Ext Rear Panel > > Conn = RCA, Color = Black > > Pin-ctls: 0x40: OUT > > Connection: 1 > > 0x14 > > Node 0x26 [Pin Complex] wcaps 0x400201: Stereo Digital > > Pincap 0x0810030: IN OUT EAPD > > Pin Default 0x07c421f0: [Jack] SPDIF In at Ext Rear Panel > > Conn = RCA, Color = Grey > > Pin-ctls: 0x20: IN > > Node 0x27 [Audio Input] wcaps 0x10051b: Stereo Amp-In > > Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 > > Amp-In vals: [0x14 0x14] > > PCM: > > rates [0x440]: 48000 192000 > > bits [0xa]: 16 24 > > formats [0x1]: PCM > > Power: 0x0 > > Connection: 1 > > 0x21 > > I'd like to get this card's spdif working. What else can I do to help? > Although the driver loads, the user space tools can't use the card any > more. Thank you. > Should I assume at this point no more work will be done on the snd-hda-intel driver to fixing SPDIF-in for the vt1708 sound card? Thank you for all your work so far. ^ permalink raw reply [flat|nested] 32+ messages in thread
* snd-hda-intel support for SPDIF-in wiht vt1708 card? @ 2007-12-17 18:27 John Stile 2007-12-18 13:04 ` Takashi Iwai 0 siblings, 1 reply; 32+ messages in thread From: John Stile @ 2007-12-17 18:27 UTC (permalink / raw) To: alsa-devel I am trying to use a Via VT1708 audio card ( uses the snd-hda-intel.ko driver) to record from SPDIF-in. An off-list reply to my posting to alsa-users list suggested that snd-hda-intel.ko might not support SPDIF-in with the VT1708 card, which brought me here. Can someone who works on the Intel HDA driver tell me if it supports SPDIF-in on the VT1708 audio card? Should 'arecord -L' show "Digital Audio Input"? Environment: Audio Card: VT1708 ALSA version: 1.0.15 (as gentoo packages) Driver: snd-hda-intel.ko (In-kernel) Kernel: 2.6.23-gentoo-r3 Distribution: Gentoo Systemboard: PX10000G (VIA pico-itx) Case: Serener GS-L08 case ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-17 18:27 John Stile @ 2007-12-18 13:04 ` Takashi Iwai 2007-12-18 16:28 ` John Stile 0 siblings, 1 reply; 32+ messages in thread From: Takashi Iwai @ 2007-12-18 13:04 UTC (permalink / raw) To: John Stile; +Cc: alsa-devel At Mon, 17 Dec 2007 10:27:27 -0800, John Stile wrote: > > I am trying to use a Via VT1708 audio card ( uses the snd-hda-intel.ko > driver) to record from SPDIF-in. > > An off-list reply to my posting to alsa-users list suggested that > snd-hda-intel.ko might not support SPDIF-in with the VT1708 card, which > brought me here. > > Can someone who works on the Intel HDA driver tell me if it supports > SPDIF-in on the VT1708 audio card? It should be, but not tested well, I guess. The driver enables the SPDIF-in capability when BIOS sets the pin information properly. Check /proc/asound/card0/codec#* file whether you have any (activated) input pin node that supports SPDIF-in. Takashi ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-18 13:04 ` Takashi Iwai @ 2007-12-18 16:28 ` John Stile 2007-12-18 15:05 ` Takashi Iwai 0 siblings, 1 reply; 32+ messages in thread From: John Stile @ 2007-12-18 16:28 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel On Tue, 2007-12-18 at 14:04 +0100, Takashi Iwai wrote: > At Mon, 17 Dec 2007 10:27:27 -0800, > John Stile wrote: > > > > I am trying to use a Via VT1708 audio card ( uses the snd-hda-intel.ko > > driver) to record from SPDIF-in. > > > > An off-list reply to my posting to alsa-users list suggested that > > snd-hda-intel.ko might not support SPDIF-in with the VT1708 card, which > > brought me here. > > > > Can someone who works on the Intel HDA driver tell me if it supports > > SPDIF-in on the VT1708 audio card? > > It should be, but not tested well, I guess. > > The driver enables the SPDIF-in capability when BIOS sets the pin > information properly. Check /proc/asound/card0/codec#* file whether > you have any (activated) input pin node that supports SPDIF-in. > > > Takashi Thank you for your reply! The output of your command is below. spdif-out=Node 0x25 spdif-in=Node 0x26 Neither labeled inactive, but spdif-in doesn't list a "Connection" line. I have the latest bios: 1.03 (2007/08/23) (a beta bios is available). Do I try the beta bios? pico ~ # cat /proc/asound/card0/codec#0 Codec: VIA VIA VT1708 Address: 0 Vendor Id: 0x11061708 Subsystem Id: 0x11060300 Revision Id: 0x100700 No Modem Function Group found Default PCM: rates [0x0]: bits [0x0]: formats [0x0]: Default Amp-In caps: N/A Default Amp-Out caps: N/A Node 0x10 [Audio Output] wcaps 0x411: Stereo PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xa]: 16 24 formats [0x1]: PCM Power: 0x0 Node 0x11 [Audio Output] wcaps 0x411: Stereo PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xa]: 16 24 formats [0x1]: PCM Power: 0x0 Node 0x12 [Audio Output] wcaps 0x411: Stereo PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xa]: 16 24 formats [0x1]: PCM Power: 0x0 Node 0x13 [Audio Output] wcaps 0x411: Stereo PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xa]: 16 24 formats [0x1]: PCM Power: 0x0 Node 0x14 [Audio Output] wcaps 0x211: Stereo Digital PCM: rates [0x7e0]: 44100 48000 88200 96000 176400 192000 bits [0xa]: 16 24 formats [0x5]: PCM AC3 Node 0x15 [Audio Input] wcaps 0x10051b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 Amp-In vals: [0x14 0x14] PCM: rates [0x440]: 48000 192000 bits [0xa]: 16 24 formats [0x1]: PCM Power: 0x0 Connection: 1 0x18 Node 0x16 [Audio Input] wcaps 0x100311: Stereo Digital PCM: rates [0x1f0]: 32000 44100 48000 88200 96000 bits [0xa]: 16 24 formats [0x5]: PCM AC3 Connection: 1 0x26 Node 0x17 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x06, mute=1 Amp-In vals: [0x1b 0x1b] [0x00 0x00] [0x04 0x04] [0x1b 0x1b] [0x00 0x00] [0x80 0x80] Connection: 6 0x10 0x24 0x1d 0x1e 0x21 0x13 Node 0x18 [Audio Selector] wcaps 0x300101: Stereo Connection: 5 0x17 0x24 0x1d* 0x1e 0x21 Node 0x19 [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x00 0x00] Connection: 1 0x11 Node 0x1a [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x00 0x00] Connection: 1 0x12 Node 0x1b [Audio Selector] wcaps 0x30010d: Stereo Amp-Out Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x00 0x00] Connection: 1 0x13 Node 0x1c [Pin Complex] wcaps 0x40010d: Stereo Amp-Out Amp-Out caps: N/A Amp-Out vals: [0x00 0x00] Pincap 0x081c: OUT HP Detect Pin Default 0x410110f2: [N/A] Line Out at Ext Rear Conn = 1/8, Color = Black Pin-ctls: 0x00: Connection: 1 0x19 Node 0x1d [Pin Complex] wcaps 0x400101: Stereo Pincap 0x08334: IN OUT Detect Pin Default 0x01a19026: [Jack] Mic at Ext Rear Conn = 1/8, Color = Pink Pin-ctls: 0x21: IN Connection: 1 0x1a Node 0x1e [Pin Complex] wcaps 0x400101: Stereo Pincap 0x08334: IN OUT Detect Pin Default 0x0181302e: [Jack] Line In at Ext Rear Conn = 1/8, Color = Blue Pin-ctls: 0x20: IN Connection: 1 0x19 Node 0x1f [Pin Complex] wcaps 0x40010d: Stereo Amp-Out Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x17 0x17] Pincap 0x081c: OUT HP Detect Pin Default 0x01014010: [Jack] Line Out at Ext Rear Conn = 1/8, Color = Green Pin-ctls: 0x40: OUT Connection: 1 0x17 Node 0x20 [Pin Complex] wcaps 0x40010d: Stereo Amp-Out Amp-Out caps: ofs=0x1b, nsteps=0x1b, stepsize=0x06, mute=1 Amp-Out vals: [0x80 0x80] Pincap 0x081c: OUT HP Detect Pin Default 0x422140f0: [N/A] HP Out at Ext Front Conn = 1/8, Color = Green Pin-ctls: 0x40: OUT Connection: 1 0x17 Node 0x21 [Pin Complex] wcaps 0x400101: Stereo Pincap 0x08334: IN OUT Detect Pin Default 0x42a190f0: [N/A] Mic at Ext Front Conn = 1/8, Color = Pink Pin-ctls: 0x00: Connection: 1 0x1b Node 0x22 [Pin Complex] wcaps 0x400101: Stereo Pincap 0x0814: OUT Detect Pin Default 0x410160f1: [N/A] Line Out at Ext Rear Conn = 1/8, Color = Orange Pin-ctls: 0x00: Connection: 1 0x1a Node 0x23 [Pin Complex] wcaps 0x400101: Stereo Pincap 0x0814: OUT Detect Pin Default 0x410120f4: [N/A] Line Out at Ext Rear Conn = 1/8, Color = Grey Pin-ctls: 0x00: Connection: 1 0x1b Node 0x24 [Pin Complex] wcaps 0x400001: Stereo Pincap 0x0820: IN Pin Default 0x593301f7: [N/A] CD at Int ATAPI Conn = ATAPI, Color = Unknown Pin-ctls: 0x00: Node 0x25 [Pin Complex] wcaps 0x400301: Stereo Digital Pincap 0x0810: OUT Pin Default 0x074411f0: [Jack] SPDIF Out at Ext Rear Panel Conn = RCA, Color = Black Pin-ctls: 0x40: OUT Connection: 1 0x14 Node 0x26 [Pin Complex] wcaps 0x400201: Stereo Digital Pincap 0x0810030: IN OUT EAPD Pin Default 0x07c421f0: [Jack] SPDIF In at Ext Rear Panel Conn = RCA, Color = Grey Pin-ctls: 0x00: Node 0x27 [Audio Input] wcaps 0x10051b: Stereo Amp-In Amp-In caps: ofs=0x00, nsteps=0x14, stepsize=0x06, mute=1 Amp-In vals: [0x14 0x14] PCM: rates [0x440]: 48000 192000 bits [0xa]: 16 24 formats [0x1]: PCM Power: 0x0 Connection: 1 0x21 ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-18 16:28 ` John Stile @ 2007-12-18 15:05 ` Takashi Iwai 2007-12-19 4:49 ` John Stile 0 siblings, 1 reply; 32+ messages in thread From: Takashi Iwai @ 2007-12-18 15:05 UTC (permalink / raw) To: John Stile; +Cc: alsa-devel At Tue, 18 Dec 2007 08:28:06 -0800, John Stile wrote: > > On Tue, 2007-12-18 at 14:04 +0100, Takashi Iwai wrote: > > At Mon, 17 Dec 2007 10:27:27 -0800, > > John Stile wrote: > > > > > > I am trying to use a Via VT1708 audio card ( uses the snd-hda-intel.ko > > > driver) to record from SPDIF-in. > > > > > > An off-list reply to my posting to alsa-users list suggested that > > > snd-hda-intel.ko might not support SPDIF-in with the VT1708 card, which > > > brought me here. > > > > > > Can someone who works on the Intel HDA driver tell me if it supports > > > SPDIF-in on the VT1708 audio card? > > > > It should be, but not tested well, I guess. > > > > The driver enables the SPDIF-in capability when BIOS sets the pin > > information properly. Check /proc/asound/card0/codec#* file whether > > you have any (activated) input pin node that supports SPDIF-in. > > > > > > Takashi > Thank you for your reply! > The output of your command is below. > spdif-out=Node 0x25 > spdif-in=Node 0x26 > Neither labeled inactive, > but spdif-in doesn't list a "Connection" line. Just because it's only for input (thus it has no "source"). > I have the latest bios: 1.03 (2007/08/23) (a beta bios is available). > Do I try the beta bios? I don't think so. Likely a driver bug. How about the patch below (against the latest HG version)? Takashi diff -r 2d3893cf030c pci/hda/patch_via.c --- a/pci/hda/patch_via.c Tue Dec 18 15:42:53 2007 +0100 +++ b/pci/hda/patch_via.c Tue Dec 18 17:48:00 2007 +0100 @@ -568,25 +568,27 @@ static int via_init(struct hda_codec *co if (IS_VT1708_VENDORID(codec->vendor_id)) { snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, - 0x40); + PIN_OUT); snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0, AC_VERB_SET_EAPD_BTLENABLE, 0x02); } else if (IS_VT1709_10CH_VENDORID(codec->vendor_id) || IS_VT1709_6CH_VENDORID(codec->vendor_id)) { snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, - 0x40); + PIN_OUT); snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0, AC_VERB_SET_EAPD_BTLENABLE, 0x02); } else if (IS_VT1708B_8CH_VENDORID(codec->vendor_id) || IS_VT1708B_4CH_VENDORID(codec->vendor_id)) { snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0, AC_VERB_SET_PIN_WIDGET_CONTROL, - 0x40); + PIN_OUT); snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0, AC_VERB_SET_EAPD_BTLENABLE, 0x02); } - } + } else /* enable SPDIF-input pin */ + snd_hda_codec_write(codec, spec->autocfg.dig_in_pin, 0, + AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN); return 0; } ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-18 15:05 ` Takashi Iwai @ 2007-12-19 4:49 ` John Stile 2007-12-19 9:30 ` Takashi Iwai 0 siblings, 1 reply; 32+ messages in thread From: John Stile @ 2007-12-19 4:49 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel On Tue, 2007-12-18 at 16:05 +0100, Takashi Iwai wrote: > At Tue, 18 Dec 2007 08:28:06 -0800, > John Stile wrote: > > > > On Tue, 2007-12-18 at 14:04 +0100, Takashi Iwai wrote: > > > At Mon, 17 Dec 2007 10:27:27 -0800, > > > John Stile wrote: > > > > > > > > I am trying to use a Via VT1708 audio card ( uses the snd-hda-intel.ko > > > > driver) to record from SPDIF-in. > > > > > > > > An off-list reply to my posting to alsa-users list suggested that > > > > snd-hda-intel.ko might not support SPDIF-in with the VT1708 card, which > > > > brought me here. > > > > > > > > Can someone who works on the Intel HDA driver tell me if it supports > > > > SPDIF-in on the VT1708 audio card? > > > > > > It should be, but not tested well, I guess. > > > > > > The driver enables the SPDIF-in capability when BIOS sets the pin > > > information properly. Check /proc/asound/card0/codec#* file whether > > > you have any (activated) input pin node that supports SPDIF-in. > > > > > > > > > Takashi > > Thank you for your reply! > > The output of your command is below. > > spdif-out=Node 0x25 > > spdif-in=Node 0x26 > > Neither labeled inactive, > > but spdif-in doesn't list a "Connection" line. > > Just because it's only for input (thus it has no "source"). > > > I have the latest bios: 1.03 (2007/08/23) (a beta bios is available). > > Do I try the beta bios? > > I don't think so. Likely a driver bug. > How about the patch below (against the latest HG version)? > > > Takashi > > diff -r 2d3893cf030c pci/hda/patch_via.c > --- a/pci/hda/patch_via.c Tue Dec 18 15:42:53 2007 +0100 > +++ b/pci/hda/patch_via.c Tue Dec 18 17:48:00 2007 +0100 > @@ -568,25 +568,27 @@ static int via_init(struct hda_codec *co > if (IS_VT1708_VENDORID(codec->vendor_id)) { > snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0, > AC_VERB_SET_PIN_WIDGET_CONTROL, > - 0x40); > + PIN_OUT); > snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0, > AC_VERB_SET_EAPD_BTLENABLE, 0x02); > } else if (IS_VT1709_10CH_VENDORID(codec->vendor_id) || > IS_VT1709_6CH_VENDORID(codec->vendor_id)) { > snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0, > AC_VERB_SET_PIN_WIDGET_CONTROL, > - 0x40); > + PIN_OUT); > snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0, > AC_VERB_SET_EAPD_BTLENABLE, 0x02); > } else if (IS_VT1708B_8CH_VENDORID(codec->vendor_id) || > IS_VT1708B_4CH_VENDORID(codec->vendor_id)) { > snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0, > AC_VERB_SET_PIN_WIDGET_CONTROL, > - 0x40); > + PIN_OUT); > snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0, > AC_VERB_SET_EAPD_BTLENABLE, 0x02); > } > - } > + } else /* enable SPDIF-input pin */ > + snd_hda_codec_write(codec, spec->autocfg.dig_in_pin, 0, > + AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN); > > return 0; > } After making the changes by hand the compile failed. This is the output: gcc utils/mod-deps.c -o utils/mod-deps utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-driver --versiondep /usr/src/alsa-driver/kconfig-vers --makeconf > toplevel.config.in can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-driver --versiondep /usr/src/alsa-driver/kconfig-vers --acinclude > acinclude.m4 can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-driver --versiondep /usr/src/alsa-driver/kconfig-vers --include > include/config1.h.in can't handle word INPUT=y properly, supposing it's OK can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK ./configure --with-debug=full --with-isapnp=yes --with-sequencer=yes 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 ISO C89... 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 grep that handles long lines and -e... /bin/grep checking for egrep... /bin/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... /usr/src/alsa-driver checking cross compile... checking for directory with kernel source... /lib/modules/2.6.23-gentoo-r3/source checking for directory with kernel build... /lib/modules/2.6.23-gentoo-r3/build checking for kernel linux/version.h... yes checking for kernel linux/autoconf.h... yes checking for kernel version... 2.6.23-gentoo-r3 checking for GCC version... Kernel compiler: gcc 4.1.2 (Gentoo 4.1.2 p1.0.2) Used compiler: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) 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 for kernel linux/config.h... no Creating <linux/config.h>... checking to modify of kernel linux/kmod.h... no checking for kernel linux/utsrelease.h... yes 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/isa.h... yes checking for kernel linux/jiffies.h... yes checking for kernel linux/compat.h... yes checking for kernel linux/log2.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 linux/latency.h... yes checking for kernel linux/kthread.h... yes checking for kernel asm/irq_regs.h... yes checking for kernel module symbol versions... yes checking for has ioport support... yes checking for PCI support in kernel... yes checking for I2C driver in kernel... module checking for I2C_POWERMAC in kernel... unknown checking for firmware loader... module checking for input subsystem in kernel... yes checking for directory to store kernel modules... /lib/modules/2.6.23-gentoo-r3/kernel/sound checking for verbose procfs... on checking for verbose printk... on checking for debug level... full checking for ISA support in kernel... yes checking for processor type... x86_32 checking for ISA DMA API... yes checking for SMP... yes checking for Video device support in kernel... yes 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... no checking for old kmod... no checking for PDE... no checking for pci_set_consistent_dma_mask... no checking for pci_dev_present... no 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 video_get_drvdata... no checking for V4L1 layer... yes checking for io_remap_pfn_range... no checking for new io_remap_page_range... no checking for kcalloc... no checking for kstrdup... yes 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 driver version... 1.0.15 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... no checking for HPET support... no 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 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 IRQ handler... no checking for gfp_t... no checking for PnP suspend/resume... no checking for new unlocked/compat_ioctl... no checking for x86-compatible PC... yes checking for High-Res timers... 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 power management... yes checking for CONFIG_HAS_DMA... yes checking for which soundcards to compile driver for... all configure: creating ./config.status config.status: creating version config.status: creating Makefile.conf config.status: WARNING: Makefile.conf.in seems to ignore the --datarootdir setting 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/i2c-id_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... make[1]: Entering directory `/usr/src/alsa-driver/acore' copying file alsa-kernel/core/info.c patching file info.c Hunk #8 succeeded at 535 with fuzz 2. copying file alsa-kernel/core/pcm.c patching file pcm.c copying file alsa-kernel/core/pcm_native.c patching file pcm_native.c Hunk #4 succeeded at 1602 (offset 2 lines). Hunk #5 succeeded at 2857 (offset 17 lines). Hunk #6 succeeded at 2877 (offset 17 lines). Hunk #7 succeeded at 2907 (offset 17 lines). Hunk #8 succeeded at 2934 (offset 17 lines). Hunk #9 succeeded at 2950 (offset 17 lines). Hunk #10 succeeded at 2980 (offset 17 lines). Hunk #11 succeeded at 3066 (offset 17 lines). Hunk #12 succeeded at 3085 (offset 17 lines). Hunk #13 succeeded at 3099 (offset 17 lines). Hunk #14 succeeded at 3157 (offset 17 lines). Hunk #15 succeeded at 3185 (offset 17 lines). Hunk #16 succeeded at 3243 (offset 17 lines). Hunk #17 succeeded at 3272 (offset 17 lines). Hunk #18 succeeded at 3302 (offset 17 lines). Hunk #19 succeeded at 3379 (offset 17 lines). Hunk #20 succeeded at 3411 (offset 17 lines). Hunk #21 succeeded at 3477 (offset 17 lines). Hunk #22 succeeded at 3506 (offset 17 lines). Hunk #23 succeeded at 3547 (offset 17 lines). Hunk #24 succeeded at 3697 (offset 17 lines). copying file alsa-kernel/core/control.c patching file control.c Hunk #3 succeeded at 719 (offset 1 line). Hunk #4 succeeded at 786 (offset 1 line). Hunk #5 succeeded at 1394 (offset 1 line). copying file alsa-kernel/core/hwdep.c patching file hwdep.c copying file alsa-kernel/core/init.c patching file init.c Hunk #2 succeeded at 264 (offset 41 lines). Hunk #3 succeeded at 290 with fuzz 2 (offset 41 lines). copying file alsa-kernel/core/rawmidi.c patching file rawmidi.c Hunk #2 succeeded at 1289 (offset -1 lines). Hunk #3 succeeded at 1373 (offset -1 lines). copying file alsa-kernel/core/sound.c patching file sound.c copying file alsa-kernel/core/timer.c patching file timer.c Hunk #2 succeeded at 992 (offset 6 lines). Hunk #3 succeeded at 1914 (offset 19 lines). Hunk #4 succeeded at 1959 (offset 19 lines). copying file alsa-kernel/core/memalloc.c patching file memalloc.c copying file alsa-kernel/core/misc.c patching file misc.c Hunk #2 succeeded at 30 (offset -1 lines). Hunk #3 succeeded at 96 (offset -1 lines). make[2]: Entering directory `/usr/src/alsa-driver/acore/ioctl32' make[2]: Leaving directory `/usr/src/alsa-driver/acore/ioctl32' make[2]: Entering directory `/usr/src/alsa-driver/acore/oss' copying file alsa-kernel/core/oss/mixer_oss.c patching file mixer_oss.c copying file alsa-kernel/core/oss/pcm_oss.c patching file pcm_oss.c Hunk #2 succeeded at 2590 (offset 33 lines). Hunk #3 succeeded at 2641 (offset 33 lines). Hunk #4 succeeded at 2764 (offset 33 lines). Hunk #5 succeeded at 2947 (offset 33 lines). Hunk #6 succeeded at 3074 (offset 33 lines). make[2]: Leaving directory `/usr/src/alsa-driver/acore/oss' make[2]: Entering directory `/usr/src/alsa-driver/acore/seq' copying file alsa-kernel/core/seq/seq.c patching file seq.c Hunk #1 succeeded at 57 (offset 6 lines). copying file alsa-kernel/core/seq/seq_clientmgr.c patching file seq_clientmgr.c Hunk #3 succeeded at 2205 (offset -1 lines). Hunk #4 succeeded at 2553 (offset -1 lines). copying file alsa-kernel/core/seq/seq_memory.c patching file seq_memory.c Hunk #3 succeeded at 248 (offset 3 lines). make[3]: Entering directory `/usr/src/alsa-driver/acore/seq/oss' copying file alsa-kernel/core/seq/oss/seq_oss.c patching file seq_oss.c make[3]: Leaving directory `/usr/src/alsa-driver/acore/seq/oss' make[2]: Leaving directory `/usr/src/alsa-driver/acore/seq' make[1]: Leaving directory `/usr/src/alsa-driver/acore' make[1]: Entering directory `/usr/src/alsa-driver/i2c' make[2]: Entering directory `/usr/src/alsa-driver/i2c/l3' make[2]: Leaving directory `/usr/src/alsa-driver/i2c/l3' make[2]: Entering directory `/usr/src/alsa-driver/i2c/other' copying file alsa-kernel/i2c/other/tea575x-tuner.c patching file tea575x-tuner.c make[2]: Leaving directory `/usr/src/alsa-driver/i2c/other' make[1]: Leaving directory `/usr/src/alsa-driver/i2c' make[1]: Entering directory `/usr/src/alsa-driver/drivers' copying file alsa-kernel/drivers/mts64.c patching file mts64.c Hunk #1 succeeded at 834 (offset 4 lines). Hunk #2 succeeded at 1093 (offset 6 lines). copying file alsa-kernel/drivers/portman2x4.c patching file portman2x4.c Hunk #2 succeeded at 882 (offset 2 lines). make[2]: Entering directory `/usr/src/alsa-driver/drivers/mpu401' copying file alsa-kernel/drivers/mpu401/mpu401.c patching file mpu401.c make[2]: Leaving directory `/usr/src/alsa-driver/drivers/mpu401' make[2]: Entering directory `/usr/src/alsa-driver/drivers/opl3' copying file alsa-kernel/drivers/opl3/opl3_lib.c patching file opl3_lib.c Hunk #1 succeeded at 435 (offset 2 lines). make[2]: Leaving directory `/usr/src/alsa-driver/drivers/opl3' make[2]: Entering directory `/usr/src/alsa-driver/drivers/opl4' make[2]: Leaving directory `/usr/src/alsa-driver/drivers/opl4' make[2]: Entering directory `/usr/src/alsa-driver/drivers/pcsp' make[2]: Leaving directory `/usr/src/alsa-driver/drivers/pcsp' make[2]: Entering directory `/usr/src/alsa-driver/drivers/vx' make[2]: Leaving directory `/usr/src/alsa-driver/drivers/vx' make[1]: Leaving directory `/usr/src/alsa-driver/drivers' make[1]: Entering directory `/usr/src/alsa-driver/isa' make[2]: Entering directory `/usr/src/alsa-driver/isa/ad1816a' make[2]: Leaving directory `/usr/src/alsa-driver/isa/ad1816a' make[2]: Entering directory `/usr/src/alsa-driver/isa/ad1848' make[2]: Leaving directory `/usr/src/alsa-driver/isa/ad1848' make[2]: Entering directory `/usr/src/alsa-driver/isa/cs423x' make[2]: Leaving directory `/usr/src/alsa-driver/isa/cs423x' make[2]: Entering directory `/usr/src/alsa-driver/isa/es1688' make[2]: Leaving directory `/usr/src/alsa-driver/isa/es1688' make[2]: Entering directory `/usr/src/alsa-driver/isa/gus' make[2]: Leaving directory `/usr/src/alsa-driver/isa/gus' make[2]: Entering directory `/usr/src/alsa-driver/isa/msnd' make[2]: Leaving directory `/usr/src/alsa-driver/isa/msnd' make[2]: Entering directory `/usr/src/alsa-driver/isa/opti9xx' make[2]: Leaving directory `/usr/src/alsa-driver/isa/opti9xx' make[2]: Entering directory `/usr/src/alsa-driver/isa/sb' copying file alsa-kernel/isa/sb/sb16_csp.c patching file sb16_csp.c Hunk #1 succeeded at 730 (offset 7 lines). make[2]: Leaving directory `/usr/src/alsa-driver/isa/sb' make[2]: Entering directory `/usr/src/alsa-driver/isa/wavefront' copying file alsa-kernel/isa/wavefront/wavefront_fx.c patching file wavefront_fx.c copying file alsa-kernel/isa/wavefront/wavefront_synth.c patching file wavefront_synth.c make[2]: Leaving directory `/usr/src/alsa-driver/isa/wavefront' make[1]: Leaving directory `/usr/src/alsa-driver/isa' make[1]: Entering directory `/usr/src/alsa-driver/synth' make[2]: Entering directory `/usr/src/alsa-driver/synth/emux' make[2]: Leaving directory `/usr/src/alsa-driver/synth/emux' make[1]: Leaving directory `/usr/src/alsa-driver/synth' make[1]: Entering directory `/usr/src/alsa-driver/pci' copying file alsa-kernel/pci/ad1889.c patching file ad1889.c Hunk #1 succeeded at 53 with fuzz 2 (offset 1 line). copying file alsa-kernel/pci/atiixp.c patching file atiixp.c copying file alsa-kernel/pci/atiixp_modem.c patching file atiixp_modem.c copying file alsa-kernel/pci/bt87x.c patching file bt87x.c copying file alsa-kernel/pci/cmipci.c patching file cmipci.c Hunk #1 succeeded at 3132 (offset 197 lines). Hunk #2 succeeded at 3427 (offset 209 lines). copying file alsa-kernel/pci/ens1370.c patching file ens1370.c Hunk #1 succeeded at 2118 (offset -32 lines). Hunk #2 succeeded at 2494 (offset -32 lines). copying file alsa-kernel/pci/fm801.c patching file fm801.c copying file alsa-kernel/pci/intel8x0.c patching file intel8x0.c Hunk #2 succeeded at 704 (offset 3 lines). Hunk #3 succeeded at 715 (offset 3 lines). Hunk #4 succeeded at 3093 (offset 82 lines). copying file alsa-kernel/pci/maestro3.c patching file maestro3.c Hunk #1 succeeded at 2747 (offset 1 line). Hunk #2 succeeded at 2933 (offset 1 line). copying file alsa-kernel/pci/via82xx.c patching file via82xx.c Hunk #1 succeeded at 2433 (offset -1 lines). Hunk #2 succeeded at 2443 (offset -1 lines). Hunk #3 succeeded at 2458 (offset -1 lines). Hunk #4 succeeded at 2469 (offset -1 lines). Hunk #5 succeeded at 2480 (offset -1 lines). Hunk #6 succeeded at 2563 (offset -1 lines). copying file alsa-kernel/pci/via82xx_modem.c patching file via82xx_modem.c make[2]: Entering directory `/usr/src/alsa-driver/pci/ac97' copying file alsa-kernel/pci/ac97/ac97_codec.c patching file ac97_codec.c Hunk #2 succeeded at 1911 (offset 7 lines). Hunk #3 succeeded at 1923 (offset 7 lines). Hunk #4 succeeded at 1947 (offset 7 lines). make[2]: Leaving directory `/usr/src/alsa-driver/pci/ac97' make[2]: Entering directory `/usr/src/alsa-driver/pci/ali5451' copying file alsa-kernel/pci/ali5451/ali5451.c patching file ali5451.c Hunk #1 succeeded at 2209 (offset -8 lines). Hunk #2 succeeded at 2379 (offset -8 lines). make[2]: Leaving directory `/usr/src/alsa-driver/pci/ali5451' make[2]: Entering directory `/usr/src/alsa-driver/pci/asihpi' make[2]: Leaving directory `/usr/src/alsa-driver/pci/asihpi' make[2]: Entering directory `/usr/src/alsa-driver/pci/au88x0' copying file alsa-kernel/pci/au88x0/au88x0.c patching file au88x0.c Hunk #2 succeeded at 342 (offset 1 line). make[2]: Leaving directory `/usr/src/alsa-driver/pci/au88x0' make[2]: Entering directory `/usr/src/alsa-driver/pci/ca0106' copying file alsa-kernel/pci/ca0106/ca0106_main.c patching file ca0106_main.c Hunk #1 succeeded at 169 (offset 4 lines). Hunk #2 succeeded at 1361 (offset 44 lines). Hunk #3 succeeded at 1730 (offset 49 lines). make[2]: Leaving directory `/usr/src/alsa-driver/pci/ca0106' make[2]: Entering directory `/usr/src/alsa-driver/pci/cs46xx' make[2]: Leaving directory `/usr/src/alsa-driver/pci/cs46xx' make[2]: Entering directory `/usr/src/alsa-driver/pci/cs5535audio' make[2]: Leaving directory `/usr/src/alsa-driver/pci/cs5535audio' make[2]: Entering directory `/usr/src/alsa-driver/pci/echoaudio' copying file alsa-kernel/pci/echoaudio/echoaudio.c patching file echoaudio.c Hunk #1 succeeded at 1897 (offset -29 lines). Hunk #2 succeeded at 1960 (offset -29 lines). copying file alsa-kernel/pci/echoaudio/darla20.c patching file darla20.c Hunk #2 succeeded at 107 (offset 2 lines). copying file alsa-kernel/pci/echoaudio/darla24.c patching file darla24.c Hunk #2 succeeded at 114 (offset 2 lines). copying file alsa-kernel/pci/echoaudio/echo3g.c patching file echo3g.c Hunk #2 succeeded at 128 (offset 4 lines). copying file alsa-kernel/pci/echoaudio/gina20.c patching file gina20.c Hunk #2 succeeded at 111 (offset 2 lines). copying file alsa-kernel/pci/echoaudio/gina24.c patching file gina24.c Hunk #2 succeeded at 135 (offset 6 lines). copying file alsa-kernel/pci/echoaudio/indigo.c patching file indigo.c Hunk #2 succeeded at 113 (offset 3 lines). copying file alsa-kernel/pci/echoaudio/indigodj.c patching file indigodj.c Hunk #2 succeeded at 113 (offset 3 lines). copying file alsa-kernel/pci/echoaudio/indigoio.c patching file indigoio.c Hunk #2 succeeded at 114 (offset 3 lines). copying file alsa-kernel/pci/echoaudio/layla20.c patching file layla20.c Hunk #2 succeeded at 121 (offset 3 lines). copying file alsa-kernel/pci/echoaudio/layla24.c patching file layla24.c Hunk #2 succeeded at 133 (offset 6 lines). copying file alsa-kernel/pci/echoaudio/mia.c patching file mia.c Hunk #2 succeeded at 126 (offset 3 lines). copying file alsa-kernel/pci/echoaudio/mona.c patching file mona.c Hunk #2 succeeded at 144 (offset 9 lines). make[2]: Leaving directory `/usr/src/alsa-driver/pci/echoaudio' make[2]: Entering directory `/usr/src/alsa-driver/pci/emu10k1' copying file alsa-kernel/pci/emu10k1/emu10k1_main.c patching file emu10k1_main.c Hunk #4 succeeded at 1399 (offset 35 lines). Hunk #5 succeeded at 1432 (offset 35 lines). Hunk #6 succeeded at 1740 (offset 37 lines). copying file alsa-kernel/pci/emu10k1/emu10k1x.c patching file emu10k1x.c Hunk #2 succeeded at 1630 (offset -5 lines). make[2]: Leaving directory `/usr/src/alsa-driver/pci/emu10k1' make[2]: Entering directory `/usr/src/alsa-driver/pci/hda' copying file alsa-kernel/pci/hda/hda_codec.c patching file hda_codec.c Hunk #2 succeeded at 279 (offset 22 lines). Hunk #3 succeeded at 317 (offset 22 lines). Hunk #4 succeeded at 332 (offset 22 lines). Hunk #5 succeeded at 348 (offset 22 lines). make[2]: Leaving directory `/usr/src/alsa-driver/pci/hda' make[2]: Entering directory `/usr/src/alsa-driver/pci/ice1712' make[2]: Leaving directory `/usr/src/alsa-driver/pci/ice1712' make[2]: Entering directory `/usr/src/alsa-driver/pci/korg1212' copying file alsa-kernel/pci/korg1212/korg1212.c patching file korg1212.c Hunk #1 succeeded at 2353 (offset 10 lines). Hunk #2 succeeded at 2514 (offset 10 lines). make[2]: Leaving directory `/usr/src/alsa-driver/pci/korg1212' make[2]: Entering directory `/usr/src/alsa-driver/pci/mixart' make[2]: Leaving directory `/usr/src/alsa-driver/pci/mixart' make[2]: Entering directory `/usr/src/alsa-driver/pci/nm256' make[2]: Leaving directory `/usr/src/alsa-driver/pci/nm256' make[2]: Entering directory `/usr/src/alsa-driver/pci/oxygen' make[2]: Leaving directory `/usr/src/alsa-driver/pci/oxygen' make[2]: Entering directory `/usr/src/alsa-driver/pci/pcxhr' make[2]: Leaving directory `/usr/src/alsa-driver/pci/pcxhr' make[2]: Entering directory `/usr/src/alsa-driver/pci/pdplus' make[2]: Leaving directory `/usr/src/alsa-driver/pci/pdplus' make[2]: Entering directory `/usr/src/alsa-driver/pci/riptide' copying file alsa-kernel/pci/riptide/riptide.c patching file riptide.c Hunk #1 succeeded at 1279 (offset 10 lines). Hunk #2 succeeded at 2236 (offset 10 lines). make[2]: Leaving directory `/usr/src/alsa-driver/pci/riptide' make[2]: Entering directory `/usr/src/alsa-driver/pci/rme9652' make[2]: Leaving directory `/usr/src/alsa-driver/pci/rme9652' make[2]: Entering directory `/usr/src/alsa-driver/pci/trident' make[2]: Leaving directory `/usr/src/alsa-driver/pci/trident' make[2]: Entering directory `/usr/src/alsa-driver/pci/vx222' make[2]: Leaving directory `/usr/src/alsa-driver/pci/vx222' make[2]: Entering directory `/usr/src/alsa-driver/pci/ymfpci' copying file alsa-kernel/pci/ymfpci/ymfpci_main.c patching file ymfpci_main.c Hunk #2 succeeded at 2049 (offset -4 lines). Hunk #3 succeeded at 2071 (offset -4 lines). Hunk #4 succeeded at 2411 (offset -4 lines). make[2]: Leaving directory `/usr/src/alsa-driver/pci/ymfpci' make[1]: Leaving directory `/usr/src/alsa-driver/pci' make[1]: Entering directory `/usr/src/alsa-driver/aoa' make[2]: Entering directory `/usr/src/alsa-driver/aoa/codecs' make[2]: Leaving directory `/usr/src/alsa-driver/aoa/codecs' make[2]: Entering directory `/usr/src/alsa-driver/aoa/core' make[2]: Leaving directory `/usr/src/alsa-driver/aoa/core' make[2]: Entering directory `/usr/src/alsa-driver/aoa/fabrics' make[2]: Leaving directory `/usr/src/alsa-driver/aoa/fabrics' make[2]: Entering directory `/usr/src/alsa-driver/aoa/soundbus' make[3]: Entering directory `/usr/src/alsa-driver/aoa/soundbus/i2sbus' make[3]: Leaving directory `/usr/src/alsa-driver/aoa/soundbus/i2sbus' make[2]: Leaving directory `/usr/src/alsa-driver/aoa/soundbus' make[1]: Leaving directory `/usr/src/alsa-driver/aoa' make[1]: Entering directory `/usr/src/alsa-driver/soc' make[2]: Entering directory `/usr/src/alsa-driver/soc/at91' make[2]: Leaving directory `/usr/src/alsa-driver/soc/at91' make[2]: Entering directory `/usr/src/alsa-driver/soc/codecs' make[2]: Leaving directory `/usr/src/alsa-driver/soc/codecs' make[2]: Entering directory `/usr/src/alsa-driver/soc/pxa' make[2]: Leaving directory `/usr/src/alsa-driver/soc/pxa' make[2]: Entering directory `/usr/src/alsa-driver/soc/s3c24xx' make[2]: Leaving directory `/usr/src/alsa-driver/soc/s3c24xx' make[2]: Entering directory `/usr/src/alsa-driver/soc/sh' make[2]: Leaving directory `/usr/src/alsa-driver/soc/sh' make[1]: Leaving directory `/usr/src/alsa-driver/soc' make[1]: Entering directory `/usr/src/alsa-driver/usb' copying file alsa-kernel/usb/usbaudio.c patching file usbaudio.c Hunk #3 succeeded at 659 with fuzz 2 (offset -10 lines). Hunk #4 succeeded at 686 with fuzz 2 (offset -10 lines). Hunk #5 succeeded at 767 (offset -10 lines). Hunk #6 succeeded at 782 (offset -10 lines). Hunk #7 succeeded at 1160 (offset -10 lines). Hunk #8 succeeded at 2082 (offset 3 lines). Hunk #9 succeeded at 2101 (offset 3 lines). Hunk #10 succeeded at 2118 (offset 3 lines). Hunk #11 succeeded at 2675 (offset 13 lines). Hunk #12 succeeded at 2747 (offset 13 lines). Hunk #13 succeeded at 3035 (offset 17 lines). Hunk #14 succeeded at 3106 (offset 17 lines). Hunk #15 succeeded at 3227 (offset 69 lines). Hunk #16 succeeded at 3245 (offset 69 lines). Hunk #17 succeeded at 3259 (offset 69 lines). Hunk #18 succeeded at 3272 (offset 69 lines). Hunk #19 succeeded at 3476 (offset 77 lines). Hunk #20 succeeded at 3569 (offset 79 lines). Hunk #21 succeeded at 3706 (offset 78 lines). Hunk #22 succeeded at 3727 (offset 78 lines). Hunk #23 succeeded at 3748 (offset 78 lines). copying file alsa-kernel/usb/usbmidi.c patching file usbmidi.c Hunk #2 succeeded at 226 (offset 1 line). Hunk #3 succeeded at 250 (offset 1 line). Hunk #4 succeeded at 343 (offset 1 line). Hunk #5 succeeded at 1450 (offset 88 lines). Hunk #6 succeeded at 1798 (offset 92 lines). copying file alsa-kernel/usb/usbmixer.c patching file usbmixer.c Hunk #3 succeeded at 1730 (offset 4 lines). Hunk #4 succeeded at 1779 (offset 4 lines). Hunk #5 succeeded at 1800 (offset 4 lines). make[2]: Entering directory `/usr/src/alsa-driver/usb/caiaq' copying file alsa-kernel/usb/caiaq/caiaq-audio.c patching file caiaq-audio.c Hunk #1 succeeded at 462 (offset -2 lines). Hunk #2 succeeded at 520 (offset -2 lines). copying file alsa-kernel/usb/caiaq/caiaq-device.c patching file caiaq-device.c Hunk #1 succeeded at 114 (offset 14 lines). Hunk #2 succeeded at 364 (offset 65 lines). copying file alsa-kernel/usb/caiaq/caiaq-input.c patching file caiaq-input.c make[2]: Leaving directory `/usr/src/alsa-driver/usb/caiaq' make[2]: Entering directory `/usr/src/alsa-driver/usb/usx2y' copying file alsa-kernel/usb/usx2y/usX2Yhwdep.c patching file usX2Yhwdep.c copying file alsa-kernel/usb/usx2y/usbusx2y.c patching file usbusx2y.c copying file alsa-kernel/usb/usx2y/usbusx2yaudio.c patching file usbusx2yaudio.c Hunk #10 succeeded at 1057 (offset -1 lines). copying file alsa-kernel/usb/usx2y/usx2yhwdeppcm.c patching file usx2yhwdeppcm.c make[2]: Leaving directory `/usr/src/alsa-driver/usb/usx2y' make[1]: Leaving directory `/usr/src/alsa-driver/usb' make[1]: Entering directory `/usr/src/alsa-driver/pcmcia' make[2]: Entering directory `/usr/src/alsa-driver/pcmcia/pdaudiocf' make[2]: Leaving directory `/usr/src/alsa-driver/pcmcia/pdaudiocf' make[2]: Entering directory `/usr/src/alsa-driver/pcmcia/vx' make[2]: Leaving directory `/usr/src/alsa-driver/pcmcia/vx' make[1]: Leaving directory `/usr/src/alsa-driver/pcmcia' make[1]: Entering directory `/usr/src/alsa-driver/misc' make[1]: Leaving directory `/usr/src/alsa-driver/misc' make dep make[1]: Entering directory `/usr/src/alsa-driver' make[2]: Entering directory `/usr/src/alsa-driver/acore' make[3]: Entering directory `/usr/src/alsa-driver/acore/ioctl32' make[3]: Leaving directory `/usr/src/alsa-driver/acore/ioctl32' make[3]: Entering directory `/usr/src/alsa-driver/acore/oss' make[3]: Leaving directory `/usr/src/alsa-driver/acore/oss' make[3]: Entering directory `/usr/src/alsa-driver/acore/seq' make[4]: Entering directory `/usr/src/alsa-driver/acore/seq/oss' make[4]: Leaving directory `/usr/src/alsa-driver/acore/seq/oss' make[3]: Leaving directory `/usr/src/alsa-driver/acore/seq' make[2]: Leaving directory `/usr/src/alsa-driver/acore' make[2]: Entering directory `/usr/src/alsa-driver/i2c' make[3]: Entering directory `/usr/src/alsa-driver/i2c/l3' make[3]: Leaving directory `/usr/src/alsa-driver/i2c/l3' make[3]: Entering directory `/usr/src/alsa-driver/i2c/other' make[3]: Leaving directory `/usr/src/alsa-driver/i2c/other' make[2]: Leaving directory `/usr/src/alsa-driver/i2c' make[2]: Entering directory `/usr/src/alsa-driver/drivers' make[3]: Entering directory `/usr/src/alsa-driver/drivers/mpu401' make[3]: Leaving directory `/usr/src/alsa-driver/drivers/mpu401' make[3]: Entering directory `/usr/src/alsa-driver/drivers/opl3' make[3]: Leaving directory `/usr/src/alsa-driver/drivers/opl3' make[3]: Entering directory `/usr/src/alsa-driver/drivers/opl4' make[3]: Leaving directory `/usr/src/alsa-driver/drivers/opl4' make[3]: Entering directory `/usr/src/alsa-driver/drivers/pcsp' make[3]: Leaving directory `/usr/src/alsa-driver/drivers/pcsp' make[3]: Entering directory `/usr/src/alsa-driver/drivers/vx' make[3]: Leaving directory `/usr/src/alsa-driver/drivers/vx' make[2]: Leaving directory `/usr/src/alsa-driver/drivers' make[2]: Entering directory `/usr/src/alsa-driver/isa' make[3]: Entering directory `/usr/src/alsa-driver/isa/ad1816a' make[3]: Leaving directory `/usr/src/alsa-driver/isa/ad1816a' make[3]: Entering directory `/usr/src/alsa-driver/isa/ad1848' make[3]: Leaving directory `/usr/src/alsa-driver/isa/ad1848' make[3]: Entering directory `/usr/src/alsa-driver/isa/cs423x' make[3]: Leaving directory `/usr/src/alsa-driver/isa/cs423x' make[3]: Entering directory `/usr/src/alsa-driver/isa/es1688' make[3]: Leaving directory `/usr/src/alsa-driver/isa/es1688' make[3]: Entering directory `/usr/src/alsa-driver/isa/gus' make[3]: Leaving directory `/usr/src/alsa-driver/isa/gus' make[3]: Entering directory `/usr/src/alsa-driver/isa/msnd' make[3]: Leaving directory `/usr/src/alsa-driver/isa/msnd' make[3]: Entering directory `/usr/src/alsa-driver/isa/opti9xx' make[3]: Leaving directory `/usr/src/alsa-driver/isa/opti9xx' make[3]: Entering directory `/usr/src/alsa-driver/isa/sb' make[3]: Leaving directory `/usr/src/alsa-driver/isa/sb' make[3]: Entering directory `/usr/src/alsa-driver/isa/wavefront' make[3]: Leaving directory `/usr/src/alsa-driver/isa/wavefront' make[2]: Leaving directory `/usr/src/alsa-driver/isa' make[2]: Entering directory `/usr/src/alsa-driver/synth' make[3]: Entering directory `/usr/src/alsa-driver/synth/emux' make[3]: Leaving directory `/usr/src/alsa-driver/synth/emux' make[2]: Leaving directory `/usr/src/alsa-driver/synth' make[2]: Entering directory `/usr/src/alsa-driver/pci' make[3]: Entering directory `/usr/src/alsa-driver/pci/ac97' make[3]: Leaving directory `/usr/src/alsa-driver/pci/ac97' make[3]: Entering directory `/usr/src/alsa-driver/pci/ali5451' make[3]: Leaving directory `/usr/src/alsa-driver/pci/ali5451' make[3]: Entering directory `/usr/src/alsa-driver/pci/asihpi' make[3]: Leaving directory `/usr/src/alsa-driver/pci/asihpi' make[3]: Entering directory `/usr/src/alsa-driver/pci/au88x0' make[3]: Leaving directory `/usr/src/alsa-driver/pci/au88x0' make[3]: Entering directory `/usr/src/alsa-driver/pci/ca0106' make[3]: Leaving directory `/usr/src/alsa-driver/pci/ca0106' make[3]: Entering directory `/usr/src/alsa-driver/pci/cs46xx' make[3]: Leaving directory `/usr/src/alsa-driver/pci/cs46xx' make[3]: Entering directory `/usr/src/alsa-driver/pci/cs5535audio' make[3]: Leaving directory `/usr/src/alsa-driver/pci/cs5535audio' make[3]: Entering directory `/usr/src/alsa-driver/pci/echoaudio' make[3]: Leaving directory `/usr/src/alsa-driver/pci/echoaudio' make[3]: Entering directory `/usr/src/alsa-driver/pci/emu10k1' make[3]: Leaving directory `/usr/src/alsa-driver/pci/emu10k1' make[3]: Entering directory `/usr/src/alsa-driver/pci/hda' make[3]: Leaving directory `/usr/src/alsa-driver/pci/hda' make[3]: Entering directory `/usr/src/alsa-driver/pci/ice1712' make[3]: Leaving directory `/usr/src/alsa-driver/pci/ice1712' make[3]: Entering directory `/usr/src/alsa-driver/pci/korg1212' make[3]: Leaving directory `/usr/src/alsa-driver/pci/korg1212' make[3]: Entering directory `/usr/src/alsa-driver/pci/mixart' make[3]: Leaving directory `/usr/src/alsa-driver/pci/mixart' make[3]: Entering directory `/usr/src/alsa-driver/pci/nm256' make[3]: Leaving directory `/usr/src/alsa-driver/pci/nm256' make[3]: Entering directory `/usr/src/alsa-driver/pci/oxygen' make[3]: Leaving directory `/usr/src/alsa-driver/pci/oxygen' make[3]: Entering directory `/usr/src/alsa-driver/pci/pcxhr' make[3]: Leaving directory `/usr/src/alsa-driver/pci/pcxhr' make[3]: Entering directory `/usr/src/alsa-driver/pci/pdplus' make[3]: Leaving directory `/usr/src/alsa-driver/pci/pdplus' make[3]: Entering directory `/usr/src/alsa-driver/pci/riptide' make[3]: Leaving directory `/usr/src/alsa-driver/pci/riptide' make[3]: Entering directory `/usr/src/alsa-driver/pci/rme9652' make[3]: Leaving directory `/usr/src/alsa-driver/pci/rme9652' make[3]: Entering directory `/usr/src/alsa-driver/pci/trident' make[3]: Leaving directory `/usr/src/alsa-driver/pci/trident' make[3]: Entering directory `/usr/src/alsa-driver/pci/vx222' make[3]: Leaving directory `/usr/src/alsa-driver/pci/vx222' make[3]: Entering directory `/usr/src/alsa-driver/pci/ymfpci' make[3]: Leaving directory `/usr/src/alsa-driver/pci/ymfpci' make[2]: Leaving directory `/usr/src/alsa-driver/pci' make[2]: Entering directory `/usr/src/alsa-driver/aoa' make[3]: Entering directory `/usr/src/alsa-driver/aoa/codecs' make[3]: Leaving directory `/usr/src/alsa-driver/aoa/codecs' make[3]: Entering directory `/usr/src/alsa-driver/aoa/core' make[3]: Leaving directory `/usr/src/alsa-driver/aoa/core' make[3]: Entering directory `/usr/src/alsa-driver/aoa/fabrics' make[3]: Leaving directory `/usr/src/alsa-driver/aoa/fabrics' make[3]: Entering directory `/usr/src/alsa-driver/aoa/soundbus' make[4]: Entering directory `/usr/src/alsa-driver/aoa/soundbus/i2sbus' make[4]: Leaving directory `/usr/src/alsa-driver/aoa/soundbus/i2sbus' make[3]: Leaving directory `/usr/src/alsa-driver/aoa/soundbus' make[2]: Leaving directory `/usr/src/alsa-driver/aoa' make[2]: Entering directory `/usr/src/alsa-driver/soc' make[3]: Entering directory `/usr/src/alsa-driver/soc/at91' make[3]: Leaving directory `/usr/src/alsa-driver/soc/at91' make[3]: Entering directory `/usr/src/alsa-driver/soc/codecs' make[3]: Leaving directory `/usr/src/alsa-driver/soc/codecs' make[3]: Entering directory `/usr/src/alsa-driver/soc/pxa' make[3]: Leaving directory `/usr/src/alsa-driver/soc/pxa' make[3]: Entering directory `/usr/src/alsa-driver/soc/s3c24xx' make[3]: Leaving directory `/usr/src/alsa-driver/soc/s3c24xx' make[3]: Entering directory `/usr/src/alsa-driver/soc/sh' make[3]: Leaving directory `/usr/src/alsa-driver/soc/sh' make[2]: Leaving directory `/usr/src/alsa-driver/soc' make[2]: Entering directory `/usr/src/alsa-driver/usb' make[3]: Entering directory `/usr/src/alsa-driver/usb/caiaq' make[3]: Leaving directory `/usr/src/alsa-driver/usb/caiaq' make[3]: Entering directory `/usr/src/alsa-driver/usb/usx2y' make[3]: Leaving directory `/usr/src/alsa-driver/usb/usx2y' make[2]: Leaving directory `/usr/src/alsa-driver/usb' make[2]: Entering directory `/usr/src/alsa-driver/pcmcia' make[3]: Entering directory `/usr/src/alsa-driver/pcmcia/pdaudiocf' make[3]: Leaving directory `/usr/src/alsa-driver/pcmcia/pdaudiocf' make[3]: Entering directory `/usr/src/alsa-driver/pcmcia/vx' make[3]: Leaving directory `/usr/src/alsa-driver/pcmcia/vx' make[2]: Leaving directory `/usr/src/alsa-driver/pcmcia' make[2]: Entering directory `/usr/src/alsa-driver/misc' make[2]: Leaving directory `/usr/src/alsa-driver/misc' make[1]: Leaving directory `/usr/src/alsa-driver' make -C /lib/modules/2.6.23-gentoo-r3/source SUBDIRS=/usr/src/alsa-driver CPP="gcc -E" CC="gcc" modules make[1]: Entering directory `/usr/src/linux-2.6.23-gentoo-r3' CC [M] /usr/src/alsa-driver/acore/hwdep.o In file included from /usr/src/alsa-driver/include/adriver.h:930, from /usr/src/alsa-driver/include/sound/driver.h:42, from /usr/src/alsa-driver/acore/hwdep.c:22: include/linux/pci.h:556: error: expected identifier or '(' before numeric constant In file included from /usr/src/alsa-driver/include/sound/driver.h:42, from /usr/src/alsa-driver/acore/hwdep.c:22: /usr/src/alsa-driver/include/adriver.h: In function 'snd_pci_orig_save_state': /usr/src/alsa-driver/include/adriver.h:1172: error: too many arguments to function 'pci_save_state' /usr/src/alsa-driver/include/adriver.h: In function 'snd_pci_orig_restore_state': /usr/src/alsa-driver/include/adriver.h:1176: error: too many arguments to function 'pci_restore_state' make[3]: *** [/usr/src/alsa-driver/acore/hwdep.o] Error 1 make[2]: *** [/usr/src/alsa-driver/acore] Error 2 make[1]: *** [_module_/usr/src/alsa-driver] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.23-gentoo-r3' make: *** [compile] Error 2 ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-19 4:49 ` John Stile @ 2007-12-19 9:30 ` Takashi Iwai 2007-12-19 16:21 ` John Stile 0 siblings, 1 reply; 32+ messages in thread From: Takashi Iwai @ 2007-12-19 9:30 UTC (permalink / raw) To: John Stile; +Cc: alsa-devel At Tue, 18 Dec 2007 20:49:28 -0800, John Stile wrote: > > On Tue, 2007-12-18 at 16:05 +0100, Takashi Iwai wrote: > > At Tue, 18 Dec 2007 08:28:06 -0800, > > John Stile wrote: > > > > > > On Tue, 2007-12-18 at 14:04 +0100, Takashi Iwai wrote: > > > > At Mon, 17 Dec 2007 10:27:27 -0800, > > > > John Stile wrote: > > > > > > > > > > I am trying to use a Via VT1708 audio card ( uses the snd-hda-intel.ko > > > > > driver) to record from SPDIF-in. > > > > > > > > > > An off-list reply to my posting to alsa-users list suggested that > > > > > snd-hda-intel.ko might not support SPDIF-in with the VT1708 card, which > > > > > brought me here. > > > > > > > > > > Can someone who works on the Intel HDA driver tell me if it supports > > > > > SPDIF-in on the VT1708 audio card? > > > > > > > > It should be, but not tested well, I guess. > > > > > > > > The driver enables the SPDIF-in capability when BIOS sets the pin > > > > information properly. Check /proc/asound/card0/codec#* file whether > > > > you have any (activated) input pin node that supports SPDIF-in. > > > > > > > > > > > > Takashi > > > Thank you for your reply! > > > The output of your command is below. > > > spdif-out=Node 0x25 > > > spdif-in=Node 0x26 > > > Neither labeled inactive, > > > but spdif-in doesn't list a "Connection" line. > > > > Just because it's only for input (thus it has no "source"). > > > > > I have the latest bios: 1.03 (2007/08/23) (a beta bios is available). > > > Do I try the beta bios? > > > > I don't think so. Likely a driver bug. > > How about the patch below (against the latest HG version)? > > > > > > Takashi > > > > diff -r 2d3893cf030c pci/hda/patch_via.c > > --- a/pci/hda/patch_via.c Tue Dec 18 15:42:53 2007 +0100 > > +++ b/pci/hda/patch_via.c Tue Dec 18 17:48:00 2007 +0100 > > @@ -568,25 +568,27 @@ static int via_init(struct hda_codec *co > > if (IS_VT1708_VENDORID(codec->vendor_id)) { > > snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0, > > AC_VERB_SET_PIN_WIDGET_CONTROL, > > - 0x40); > > + PIN_OUT); > > snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0, > > AC_VERB_SET_EAPD_BTLENABLE, 0x02); > > } else if (IS_VT1709_10CH_VENDORID(codec->vendor_id) || > > IS_VT1709_6CH_VENDORID(codec->vendor_id)) { > > snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0, > > AC_VERB_SET_PIN_WIDGET_CONTROL, > > - 0x40); > > + PIN_OUT); > > snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0, > > AC_VERB_SET_EAPD_BTLENABLE, 0x02); > > } else if (IS_VT1708B_8CH_VENDORID(codec->vendor_id) || > > IS_VT1708B_4CH_VENDORID(codec->vendor_id)) { > > snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0, > > AC_VERB_SET_PIN_WIDGET_CONTROL, > > - 0x40); > > + PIN_OUT); > > snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0, > > AC_VERB_SET_EAPD_BTLENABLE, 0x02); > > } > > - } > > + } else /* enable SPDIF-input pin */ > > + snd_hda_codec_write(codec, spec->autocfg.dig_in_pin, 0, > > + AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN); > > > > return 0; > > } > > After making the changes by hand the compile failed. The problem is irrelevant with my patch. The build looks broken on your system anyway. > This is the output: > gcc utils/mod-deps.c -o utils/mod-deps > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-driver --versiondep /usr/src/alsa-driver/kconfig-vers --makeconf > toplevel.config.in > can't handle word INPUT=y properly, supposing it's OK > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-driver --versiondep /usr/src/alsa-driver/kconfig-vers --acinclude > acinclude.m4 > can't handle word INPUT=y properly, supposing it's OK > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-driver --versiondep /usr/src/alsa-driver/kconfig-vers --include > include/config1.h.in > can't handle word INPUT=y properly, supposing it's OK > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > ./configure --with-debug=full --with-isapnp=yes --with-sequencer=yes > 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 ISO C89... 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 grep that handles long lines and -e... /bin/grep > checking for egrep... /bin/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... /usr/src/alsa-driver > checking cross compile... > checking for directory with kernel source... /lib/modules/2.6.23-gentoo-r3/source > checking for directory with kernel build... /lib/modules/2.6.23-gentoo-r3/build > checking for kernel linux/version.h... yes > checking for kernel linux/autoconf.h... yes > checking for kernel version... 2.6.23-gentoo-r3 > checking for GCC version... Kernel compiler: gcc 4.1.2 (Gentoo 4.1.2 p1.0.2) Used compiler: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) > 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 for kernel linux/config.h... no > Creating <linux/config.h>... > checking to modify of kernel linux/kmod.h... no > checking for kernel linux/utsrelease.h... yes > 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/isa.h... yes > checking for kernel linux/jiffies.h... yes > checking for kernel linux/compat.h... yes > checking for kernel linux/log2.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 linux/latency.h... yes > checking for kernel linux/kthread.h... yes > checking for kernel asm/irq_regs.h... yes > checking for kernel module symbol versions... yes > checking for has ioport support... yes > checking for PCI support in kernel... yes > checking for I2C driver in kernel... module > checking for I2C_POWERMAC in kernel... unknown > checking for firmware loader... module > checking for input subsystem in kernel... yes > checking for directory to store kernel modules... /lib/modules/2.6.23-gentoo-r3/kernel/sound > checking for verbose procfs... on > checking for verbose printk... on > checking for debug level... full > checking for ISA support in kernel... yes > checking for processor type... x86_32 > checking for ISA DMA API... yes > checking for SMP... yes > checking for Video device support in kernel... yes > 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... no The configure doesn't check properly from here on. Check config.log. You must have relevant compile error messages. Takashi ^ permalink raw reply [flat|nested] 32+ messages in thread
* Re: snd-hda-intel support for SPDIF-in wiht vt1708 card? 2007-12-19 9:30 ` Takashi Iwai @ 2007-12-19 16:21 ` John Stile 0 siblings, 0 replies; 32+ messages in thread From: John Stile @ 2007-12-19 16:21 UTC (permalink / raw) To: Takashi Iwai; +Cc: alsa-devel On Wed, 2007-12-19 at 10:30 +0100, Takashi Iwai wrote: > At Tue, 18 Dec 2007 20:49:28 -0800, > John Stile wrote: > > > > On Tue, 2007-12-18 at 16:05 +0100, Takashi Iwai wrote: > > > At Tue, 18 Dec 2007 08:28:06 -0800, > > > John Stile wrote: > > > > > > > > On Tue, 2007-12-18 at 14:04 +0100, Takashi Iwai wrote: > > > > > At Mon, 17 Dec 2007 10:27:27 -0800, > > > > > John Stile wrote: > > > > > > > > > > > > I am trying to use a Via VT1708 audio card ( uses the snd-hda-intel.ko > > > > > > driver) to record from SPDIF-in. > > > > > > > > > > > > An off-list reply to my posting to alsa-users list suggested that > > > > > > snd-hda-intel.ko might not support SPDIF-in with the VT1708 card, which > > > > > > brought me here. > > > > > > > > > > > > Can someone who works on the Intel HDA driver tell me if it supports > > > > > > SPDIF-in on the VT1708 audio card? > > > > > > > > > > It should be, but not tested well, I guess. > > > > > > > > > > The driver enables the SPDIF-in capability when BIOS sets the pin > > > > > information properly. Check /proc/asound/card0/codec#* file whether > > > > > you have any (activated) input pin node that supports SPDIF-in. > > > > > > > > > > > > > > > Takashi > > > > Thank you for your reply! > > > > The output of your command is below. > > > > spdif-out=Node 0x25 > > > > spdif-in=Node 0x26 > > > > Neither labeled inactive, > > > > but spdif-in doesn't list a "Connection" line. > > > > > > Just because it's only for input (thus it has no "source"). > > > > > > > I have the latest bios: 1.03 (2007/08/23) (a beta bios is available). > > > > Do I try the beta bios? > > > > > > I don't think so. Likely a driver bug. > > > How about the patch below (against the latest HG version)? > > > > > > > > > Takashi > > > > > > diff -r 2d3893cf030c pci/hda/patch_via.c > > > --- a/pci/hda/patch_via.c Tue Dec 18 15:42:53 2007 +0100 > > > +++ b/pci/hda/patch_via.c Tue Dec 18 17:48:00 2007 +0100 > > > @@ -568,25 +568,27 @@ static int via_init(struct hda_codec *co > > > if (IS_VT1708_VENDORID(codec->vendor_id)) { > > > snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0, > > > AC_VERB_SET_PIN_WIDGET_CONTROL, > > > - 0x40); > > > + PIN_OUT); > > > snd_hda_codec_write(codec, VT1708_DIGIN_PIN, 0, > > > AC_VERB_SET_EAPD_BTLENABLE, 0x02); > > > } else if (IS_VT1709_10CH_VENDORID(codec->vendor_id) || > > > IS_VT1709_6CH_VENDORID(codec->vendor_id)) { > > > snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0, > > > AC_VERB_SET_PIN_WIDGET_CONTROL, > > > - 0x40); > > > + PIN_OUT); > > > snd_hda_codec_write(codec, VT1709_DIGIN_PIN, 0, > > > AC_VERB_SET_EAPD_BTLENABLE, 0x02); > > > } else if (IS_VT1708B_8CH_VENDORID(codec->vendor_id) || > > > IS_VT1708B_4CH_VENDORID(codec->vendor_id)) { > > > snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0, > > > AC_VERB_SET_PIN_WIDGET_CONTROL, > > > - 0x40); > > > + PIN_OUT); > > > snd_hda_codec_write(codec, VT1708B_DIGIN_PIN, 0, > > > AC_VERB_SET_EAPD_BTLENABLE, 0x02); > > > } > > > - } > > > + } else /* enable SPDIF-input pin */ > > > + snd_hda_codec_write(codec, spec->autocfg.dig_in_pin, 0, > > > + AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_IN); > > > > > > return 0; > > > } > > > > After making the changes by hand the compile failed. > > The problem is irrelevant with my patch. > The build looks broken on your system anyway. > > > This is the output: > > gcc utils/mod-deps.c -o utils/mod-deps > > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-driver --versiondep /usr/src/alsa-driver/kconfig-vers --makeconf > toplevel.config.in > > can't handle word INPUT=y properly, supposing it's OK > > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-driver --versiondep /usr/src/alsa-driver/kconfig-vers --acinclude > acinclude.m4 > > can't handle word INPUT=y properly, supposing it's OK > > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > > utils/mod-deps --basedir /usr/src/alsa-driver/alsa-kernel --hiddendir /usr/src/alsa-driver --versiondep /usr/src/alsa-driver/kconfig-vers --include > include/config1.h.in > > can't handle word INPUT=y properly, supposing it's OK > > can't handle word INPUT=SND_USB_CAIAQ properly, supposing it's OK > > ./configure --with-debug=full --with-isapnp=yes --with-sequencer=yes > > 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 ISO C89... 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 grep that handles long lines and -e... /bin/grep > > checking for egrep... /bin/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... /usr/src/alsa-driver > > checking cross compile... > > checking for directory with kernel source... /lib/modules/2.6.23-gentoo-r3/source > > checking for directory with kernel build... /lib/modules/2.6.23-gentoo-r3/build > > checking for kernel linux/version.h... yes > > checking for kernel linux/autoconf.h... yes > > checking for kernel version... 2.6.23-gentoo-r3 > > checking for GCC version... Kernel compiler: gcc 4.1.2 (Gentoo 4.1.2 p1.0.2) Used compiler: gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.0.2) > > 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 for kernel linux/config.h... no > > Creating <linux/config.h>... > > checking to modify of kernel linux/kmod.h... no > > checking for kernel linux/utsrelease.h... yes > > 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/isa.h... yes > > checking for kernel linux/jiffies.h... yes > > checking for kernel linux/compat.h... yes > > checking for kernel linux/log2.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 linux/latency.h... yes > > checking for kernel linux/kthread.h... yes > > checking for kernel asm/irq_regs.h... yes > > checking for kernel module symbol versions... yes > > checking for has ioport support... yes > > checking for PCI support in kernel... yes > > checking for I2C driver in kernel... module > > checking for I2C_POWERMAC in kernel... unknown > > checking for firmware loader... module > > checking for input subsystem in kernel... yes > > checking for directory to store kernel modules... /lib/modules/2.6.23-gentoo-r3/kernel/sound > > checking for verbose procfs... on > > checking for verbose printk... on > > checking for debug level... full > > checking for ISA support in kernel... yes > > checking for processor type... x86_32 > > checking for ISA DMA API... yes > > checking for SMP... yes > > checking for Video device support in kernel... yes > > 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... no > > The configure doesn't check properly from here on. > Check config.log. You must have relevant compile error messages. I kept good notes of my procedure. Does any of the stuff below look wrong? # # Remove all installed alsa stuff # emerge --unmerge alsa-headers emerge --unmerge alsa-lib emerge --unmerge alsa-utils emerge --unmerge alsa-tools emerge --unmerge alsa-firmware emerge --unmerge alsa-oss emerge --unmerge alsa-plugins emerge --unmmerge media-sound/alsamixergui eix -I alsa # <empty> # # Remove alsa from init system # rc-update delete alsasound rm -rf /etc/init.d/alsasound # # Rebuild kernel with only minimal alsa support # Device Drivers ---> Sound ---> <*> Sound card support Advanced Linux Sound Architecture ---> <M> Advanced Linux Sound Architecture <M> Sequencer support <M> OSS Mixer API <M> OSS PCM (digital audio) API [*] OSS PCM (digital audio) API - Include plugin system [*] OSS Sequencer API <M> RTC Timer support [*] Use RTC as default sequencer timer [*] Support old ALSA API PCI devices ---> <none selected> # # Install Hg alsa stuff here # cd /usr/src # # Download alsa-lib and alsa-utils from http://www.alsa-project.org/ # wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.15.tar.bz2 wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.15.tar.bz2 tar xvf alsa-lib* tar xvf alsa-utils* # # Install mercurial # emerge --update --newuse --deep mercurial # # Checkout mercruial alsa repo # cd /usr/src hg clone http://hg-mirror.alsa-project.org/alsa-driver alsa-driver pushd alsa-driver hg clone http://hg-mirror.alsa-project.org/alsa-kernel alsa-kernel # # Patch # # Apply Takashi's changes by hand (patch -p1 didn't work). # # # Build it up # cd /usr/src/alsa-driver ./hgcompile <compile failed> ^ permalink raw reply [flat|nested] 32+ messages in thread
end of thread, other threads:[~2008-01-09 17:49 UTC | newest]
Thread overview: 32+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-01-07 18:40 snd-hda-intel support for SPDIF-in wiht vt1708 card? Darryl House
2008-01-08 7:35 ` John Stile
2008-01-08 7:42 ` Takashi Iwai
2008-01-08 8:21 ` John Stile
2008-01-08 16:38 ` John Stile
2008-01-08 16:50 ` Takashi Iwai
2008-01-08 17:57 ` John Stile
2008-01-09 7:39 ` Takashi Iwai
[not found] ` <1199873213.9681.50.camel@genx.localdomain>
2008-01-09 16:29 ` Takashi Iwai
2008-01-09 17:49 ` John Stile
-- strict thread matches above, loose matches on Subject: below --
2008-01-02 22:31 Darryl House
2008-01-02 22:38 ` John Stile
2008-01-07 13:43 ` Takashi Iwai
2007-12-21 22:59 Darryl House
2007-12-21 19:09 Darryl House
2007-12-20 19:17 forumjunk
2007-12-20 0:37 forumjunk
2007-12-20 11:09 ` Takashi Iwai
2007-12-20 20:13 ` John Stile
[not found] ` <1198174409.8838.2.camel@genx.localdomain>
2007-12-21 9:08 ` Takashi Iwai
2007-12-21 17:57 ` John Stile
2007-12-21 20:03 ` John Stile
2007-12-22 18:35 ` John Stile
2007-12-24 19:22 ` John Stile
2008-01-02 20:41 ` John Stile
2007-12-17 18:27 John Stile
2007-12-18 13:04 ` Takashi Iwai
2007-12-18 16:28 ` John Stile
2007-12-18 15:05 ` Takashi Iwai
2007-12-19 4:49 ` John Stile
2007-12-19 9:30 ` Takashi Iwai
2007-12-19 16:21 ` John Stile
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox