Need to fix bugs causes compiling error. One is related to Open Sound System Emuration. The other is caused by patches.
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
alsa-driver (Ubuntu) |
Expired
|
Undecided
|
Unassigned |
Bug Description
This source cannot be used with module-assistant
because this source includes some bugs causes compiling error.
You can see this error in the process below.
1. $ sudo apt-get install module-assistant;
2. $ sudo module-assistant prepare;
3. $ sudo module-assistant update;
4. $ sudo module-assistant auto-install alsa;
5. failed.
The bugs in this source are classified two parts below.
1. Open Sound System Emulation issue
2. troubles by modification when creating package
1. Open Sound System Emulation issue
Ubuntu's generic kernel has no options related to Open Sound System.
You can see the kernel configuration in /boot/config-
if you use 2.6.38-11-generic kernel.
$ cat /boot/config-
# CONFIG_
# CONFIG_
# CONFIG_SND_PCM_OSS is not set
# CONFIG_
So Open Sound System Emuration should be disabled in ALSA, too.
But as a default, this source enable it.
As a result, even if we are success to compile the source and install them,
then modprobe reject to call them with errors.
For example:
$ dmesg;
[ 3.015889] snd: Unknown symbol unregister_
[ 3.016859] snd: Unknown symbol register_
[ 3.019419] snd_timer: Unknown symbol snd_info_register (err 0)
[ 3.019473] snd_timer: Unknown symbol snd_info_
[ 3.019556] snd_timer: Unknown symbol snd_info_free_entry (err 0)
[ 3.019697] snd_timer: Unknown symbol __snd_printk (err 0)
[ 3.019750] snd_timer: Unknown symbol snd_iprintf (err 0)
[ 3.019827] snd_timer: Unknown symbol snd_ecards_limit (err 0)
[ 3.019908] snd_timer: Unknown symbol snd_oss_
[ 3.019961] snd_timer: Unknown symbol snd_unregister_
[ 3.020049] snd_timer: Unknown symbol snd_device_new (err 0)
[ 3.022230] snd_timer: Unknown symbol snd_register_
To avoid this, it's good to enable --with-oss=no option in configure script
or put some equivalent codes into configure script.
The latter is good to use this with module-assistant.
2. troubles by modification when creating package
I generated diff between this source and original ALSA source and realized two modification.
2-1. half-finished replacement of macros
In this source, @CONFIG_
Two files still include @CONFIG_
because @CONFIG_
Files:
/include/
/include/
To avoid this, it's good to modify the lines in these two files of this source.
(I've already reported this but it was expired
Compile error with "@CONFIG_
https:/
2-2. Some files are removed because of debian packaging policy.
Some files related to five modules are removed. But as a default,
they are compile target although missing makefile.
modules:
- cs46xx
- cs46xx-new-dep
- maestro3
- ymfpci
- korg1212
To solve this, it's to good to exclude these modules by configure option
or disable some codes related to them in configure script.
The latter is good to use this source with module-assistant.
This source makes no sence and currently we need to use the original alsa source.
I hope you to put high priority to this bug and release modified package as soon as possible.
Regards
ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: alsa-source 1.0.24+
ProcVersionSign
Uname: Linux 2.6.38-8-lowlatency i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: AD198x Analog [AD198x Analog]
Subdevices: 2/2
Subdevice #0: subdevice #0
Subdevice #1: subdevice #1
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xfe020000 irq 44'
Mixer name : 'Analog Devices AD1984'
Components : 'HDA:11d41984,
Controls : 31
Simple ctrls : 19
Card29.Amixer.info:
Card hw:29 'ThinkPadEC'
Mixer name : 'ThinkPad EC 7MHT25WW-1.03'
Components : ''
Controls : 1
Simple ctrls : 1
Card29.
Simple mixer control 'Console',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
CurrentDmesg:
[ 34.525939] e1000e 0000:00:19.0: eth0: 10/100 speed: disabling TSO
[ 34.526147] ADDRCONF(
[ 38.614492] EXT4-fs (sda1): re-mounted. Opts: errors=
[ 38.706488] EXT4-fs (sda2): re-mounted. Opts: commit=0
[ 44.706066] eth0: no IPv6 routers present
Date: Wed Aug 24 00:55:29 2011
InstallationMedia: Ubuntu-Studio 11.04 "Natty Narwhal" - Alpha i386 (20110112)
PackageArchitec
ProcEnviron:
LANGUAGE=
LANG=ja_JP.UTF-8
SHELL=/bin/bash
SourcePackage: alsa-driver
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 10/09/2009
dmi.bios.vendor: LENOVO
dmi.bios.version: 7NETC1WW (2.21 )
dmi.board.name: 7675A63
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 7675A63
dmi.product.
dmi.sys.vendor: LENOVO
description: | updated |
summary: |
Need to fix bugs causes compiling error. One is related to Open Sound - System Emuration. The other is caused by modification when creating - package. + System Emuration. The other is caused by patches. |
Changed in alsa-driver (Ubuntu): | |
status: | New → Confirmed |
Your bug report does not entirely correspond to my experience, using the Alsa-Ubuntu source available available below.
At point 2-1 you mention the files below are to be edited. However, the first does not seem to exist in that directory but only in the one below. The second is only created after the package is configured. linux/pci_ ids_compat. h linux/i2c_ id.h
/include/
/include/
Your cure does correspond to my experience. However, it needs to be applied to the files mentioned below. Thereafter the compile fails as described in your bug-report at 2-2 which does correspond to my experience. pci_ids_ compat. h.in i2c-id_ compat. h.in
include/
include/
Source package Alsa-Ubuntu: www.voyage. hk/dists/ 0.7/alsa- driver/ alsa-source_ 1.0.24+ dfsg-0ubuntu1_ all.deb
http://
Regards