Skip to contentSkip to conversation

ALSA in 2.5.x

DISCUSSION Peter L Jones 2 participants 7 messages Oct 2, 2002

lore
Share & tools
lore
#0 lore raw

Hi all,

I was wondering when we can expect an update to ALSA in the kernel source - we're still on -rc2, aren't we? Now that 2.5.x is getting a little more useable, I'd like to start running it again (I stopped at 2.5.25 as it really did become too dangerous). But I want ALSA :-)

I'm currently compiling 2.5.40 with _no sound_. However, for some reason, make modules_install comes back with:

make[3]: Entering directory `/usr/src/linux-2.5/linux/sound/core/oss' Installing modules in /lib/modules/2.5.40/kernel/sound/core/oss
cp: cannot stat `snd-mixer-oss.o': No such file or directory
cp: cannot stat `snd-pcm-oss.o': No such file or directory

I'm not up to speed on the kernel configuration language, so I've no idea where to start looking... Any clues?

Ta.

-- Peter

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#1 lore raw

On Wednesday 02 Oct 2002 11:17, I wrote:
[SNIP]

Quoted 2 lines

I'm currently compiling 2.5.40 with _no sound_. However, for some reason, make modules_install comes back with:

Uh, not quite true -- the config bug fooled me. I'd actually config'd ALSA in with oss-emulation.

-- Peter

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#2 lore raw
In reply to Peter L Jones
Quoted 10 lines · Peter L Jones

Hi all,

I was wondering when we can expect an update to ALSA in the kernel source - we're still on -rc2, aren't we? Now that 2.5.x is getting a little more useable, I'd like to start running it again (I stopped at 2.5.25 as it really did become too dangerous). But I want ALSA :-)

I'm currently compiling 2.5.40 with _no sound_. However, for some reason, make modules_install comes back with:

Quoted 7 lines

make[3]: Entering directory `/usr/src/linux-2.5/linux/sound/core/oss' Installing modules in /lib/modules/2.5.40/kernel/sound/core/oss
cp: cannot stat `snd-mixer-oss.o': No such file or directory
cp: cannot stat `snd-pcm-oss.o': No such file or directory

I'm not up to speed on the kernel configuration language, so I've no idea where to start looking... Any clues?

ALSA tree was fully synced with kernel yesterday. Not all changes are in 2.5.40. Please, wait for 2.5.41 or get the kernel sources from BitKeeper repository of 2.5.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#3 lore raw
Quoted 7 lines · Jaroslav Kysela
Quoted 6 lines · Peter L Jones

Hi all,

I was wondering when we can expect an update to ALSA in the kernel source
- we're still on -rc2, aren't we? Now that 2.5.x is getting a little more useable, I'd like to start running it again (I stopped at 2.5.25 as it really did become too dangerous). But I want ALSA :-)

[snip]

Quoted 3 lines

ALSA tree was fully synced with kernel yesterday. Not all changes are in 2.5.40. Please, wait for 2.5.41 or get the kernel sources from BitKeeper repository of 2.5.

Thanks Jaroslav! I'll see if I can get to a .41 bk snapshot before Linus pushes .41 proper out the door.

-- Peter

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#4 lore raw
In reply to Jaroslav Kysela

On Wednesday 02 Oct 2002 11:44, Jaroslav Kysela wrote:
[snip]

Quoted 7 lines

ALSA tree was fully synced with kernel yesterday. Not all changes are in 2.5.40. Please, wait for 2.5.41 or get the kernel sources from BitKeeper repository of 2.5.

Jaroslav

Jaroslav,

I've patched up to 2.5.40bk1 snapshot and I'm about to give ALSA a quick try.

RTC Timer Support is greyed out for me in xconfig -- it's not marked "EXPERIMENTAL" in the display (I've not got as far as turning experimental on yet) and the help text doesn't say it relies on any other option. Is this a config problem?

Ta.

-- Peter

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#5 lore raw
Quoted 10 lines · Peter L Jones

On Wednesday 02 Oct 2002 11:44, Jaroslav Kysela wrote:
[snip]

Quoted 7 lines

ALSA tree was fully synced with kernel yesterday. Not all changes are in 2.5.40. Please, wait for 2.5.41 or get the kernel sources from BitKeeper repository of 2.5.

Jaroslav

Quoted 8 lines

Jaroslav,

I've patched up to 2.5.40bk1 snapshot and I'm about to give ALSA a quick try.

RTC Timer Support is greyed out for me in xconfig -- it's not marked "EXPERIMENTAL" in the display (I've not got as far as turning experimental on yet) and the help text doesn't say it relies on any other option. Is this a config problem?

Yes, you need to select RTC timer code in other menu (CONFIG_RTC) at first.

Jaroslav

-----
Jaroslav Kysela <[email protected]>
Linux Kernel Sound Maintainer
ALSA Project http://www.alsa-project.org
SuSE Linux http://www.suse.com

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf

#6 lore raw
In reply to Jaroslav Kysela

On Wednesday 02 Oct 2002 11:44, Jaroslav Kysela wrote:
[snip]

Quoted 5 lines

ALSA tree was fully synced with kernel yesterday. Not all changes are in 2.5.40. Please, wait for 2.5.41 or get the kernel sources from BitKeeper repository of 2.5.

Jaroslav

Takashi,

The USB Audio/MIDI driver is out of date in 2.5.40bk1.

I'd go in and start coding a fix but it looks a little scary in there... (Okay, I admit it - I'm getting really rusty at C; these ".member = val" initialisers just look weird to me...)

-- Peter

Here's the usb_driver structure (from usb.h) with the usbaudio.c warnings/errors:

struct usb_driver {
        struct module *owner;
        const char *name;

        int (*probe) (struct usb_interface *intf,
                      const struct usb_device_id *id);
usbaudio.c:1311: warning: initialization from incompatible pointer type
ALSA: static void * usb_audio_probe(struct usb_device *dev, 
ALSA:                               unsigned int ifnum,
ALSA:                               const struct usb_device_id *id);
        void (*disconnect) (struct usb_interface *intf);

usbaudio.c:1312: warning: initialization from incompatible pointer type
ALSA: static void usb_audio_disconnect(struct usb_device *dev,
ALSA: void *ptr);

int (*ioctl) (struct usb_interface *intf, unsigned int code, void

*buf);
        const struct usb_device_id *id_table;
        struct device_driver driver;
        struct semaphore serialize;

ALSA: .driver_list = LIST_HEAD_INIT(usb_audio_driver.driver_list),
ALSA: usbaudio.c:1313: structure has no member named `driver_list' };

-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf