Skip to contentSkip to conversation

problem with ALSA 1.09 and 2.6 kernel (AGNULA/Demudi)

DISCUSSION Dave Phillips 3 participants 6 messages Jul 27, 2005 – Jul 28, 2005

lore
Share & tools
lore
#1 lore raw
In reply to Dave Phillips

At Wed, 27 Jul 2005 08:34:13 -0400,

Quoted 4 lines · Dave Phillips

/proc/asound/cards' reports no soundcards in the system. Ditto if I load the snd-pcaudiocf module. Still no soundcard. I'll try loading the Midisport after I get basic services working. :)

pdaudiocf is a pccard driver. It's usually loaded via cardmgr. Adding a config file pdaudiocf.conf (found in alsa-drivers) to /etc/pcmcia should work. 2.6.13 kernel will require even no longer such a config file.

Takashi

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#0 lore raw

Greetings:

Here's the hardware:

HP Omnibook 4150 with NeoMagic NM256AV media chipset Midisport 2x2 USB MIDI interface
CoreSound PDAudioCF PCMCIA digital audio input card

Here's the software:

AGNULA/Demudi 1.2.1 with 2.6.12 multimedia kernel ALSA 1.0.9rc2

Here's the trouble:

Although the snd-nm256 module loads without complaint 'cat
/proc/asound/cards' reports no soundcards in the system. Ditto if I load the snd-pcaudiocf module. Still no soundcard. I'll try loading the Midisport after I get basic services working. :)

I've tried loading the snd-cs4232 module instead (I've used it for
this machine under the 2.4 kernels with no troubles) but it fails with these messages:

   demudi:/home/dlphilp# modprobe snd-cs4232
   FATAL: Error inserting snd_cs4232    

(/lib/modules/2.6.12-3-multimedia-686/kernel/sound/isa/cs423x/snd-cs4232.ko): No such device
FATAL: Error running install command for snd_cs4232

I've appended relevant messages from dmesg and lsmod below. I'm not in
a rush to get this working and I'm willing to spend time on it, so any suggestions will be greatly appreciated. Guenter Geiger suggested that I may need to load some extra kernel options but at this time I don't know which to try. Any advice out there ? :)

Best regards,

Dave Phillips

demudi:/home/dlphilp# lsmod |grep snd
snd_pdaudiocf          17988  0
snd_ak4117             10240  1 snd_pdaudiocf
snd_nm256              70368  0
snd_ac97_codec         83320  1 snd_nm256
snd_ad1848_lib         17920  0
pcmcia                 28480  7 snd_pdaudiocf,serial_cs,pcnet_cs
pcmcia_core            52628  6 snd_pdaudiocf,serial_cs,pcnet_cs,pcmcia,yenta_socket,rsrc_nonstatic
snd_opl3_lib           11648  0
snd_hwdep               9632  1 snd_opl3_lib
snd_cs4231_lib         27776  0
snd_pcm_oss            53792  0
snd_mixer_oss          19200  1 snd_pcm_oss
snd_pcm                96580  7 snd_pdaudiocf,snd_ak4117,snd_nm256,snd_ac97_codec,snd_ad1848_lib,snd_cs4231_lib,snd_pcm_oss
snd_page_alloc         10116  2 snd_cs4231_lib,snd_pcm
snd_mpu401_uart         8832  0
snd_seq_dummy           3844  0
snd_seq_oss            36416  0
snd_seq_midi            9248  0
snd_rawmidi            26400  2 snd_mpu401_uart,snd_seq_midi
snd_seq_midi_event      8320  2 snd_seq_oss,snd_seq_midi
snd_seq                55888  9 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              26148  4 snd_opl3_lib,snd_cs4231_lib,snd_pcm,snd_seq
snd_seq_device          8716  6 snd_opl3_lib,snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
snd                    58404  18 snd_pdaudiocf,snd_ak4117,snd_nm256,snd_ac97_codec,snd_ad1848_lib,snd_opl3_lib,snd_hwdep,snd_cs4231_lib,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_mpu401_uart,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore              10624  1 snd
demudi:/home/dlphilp# dmesg |grep CS4232
CS4232 soundcard not found or device busy
demudi:/home/dlphilp# dmesg |grep acpi shpchp: acpi_shpchprm:get_device PCI ROOT HID fail=0x1001

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#2 lore raw
In reply to Takashi Iwai

Hi Takashi:

Some updates: I now have the CS4232, the PDAudioCF (Thank you!), and
the Midisport 2x2 working with Demudi 1.2.1 and ALSA 1.0.9rc2. My final hurdle shouldn't be too difficult to get over:

   demudi:/home/dlphilp# modprobe snd-virmidi
   FATAL: Error inserting snd_virmidi

(/lib/modules/2.6.12-3-multimedia-686/kernel/sound/drivers/snd-virmidi.ko): No such device

The snd-seq-virmidi module is loaded. What am I missing ?

Best,

dp

Quoted 8 lines · Takashi Iwai

At Wed, 27 Jul 2005 08:34:13 -0400,

Quoted 3 lines · Dave Phillips

/proc/asound/cards' reports no soundcards in the system. Ditto if I load the snd-pcaudiocf module. Still no soundcard. I'll try loading the Midisport after I get basic services working. :)

Quoted 10 lines

pdaudiocf is a pccard driver. It's usually loaded via cardmgr. Adding a config file pdaudiocf.conf (found in alsa-drivers) to /etc/pcmcia should work. 2.6.13 kernel will require even no longer such a config file.

Takashi

-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click

#3 lore raw
Quoted 9 lines · Dave Phillips

Some updates: I now have the CS4232, the PDAudioCF (Thank you!), and
the Midisport 2x2 working with Demudi 1.2.1 and ALSA 1.0.9rc2. My final hurdle shouldn't be too difficult to get over:

    demudi:/home/dlphilp# modprobe snd-virmidi
    FATAL: Error inserting snd_virmidi

(/lib/modules/2.6.12-3-multimedia-686/kernel/sound/drivers/snd-virmidi.ko):
No such device

Any error message in the system log?

Probably the index option isn't set correctly? How does your modprobe.conf (or whatever Demudi uses) look now?

Regards,
Clemens

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

#5 lore raw
In reply to Dave Phillips

At Thu, 28 Jul 2005 10:05:21 -0400,

Quoted 7 lines · Dave Phillips

Greetings:

No helpful message in /var/log/syslog.

From the reports of other users I've concluded that snd-virmidi is
broken in 2.6.12.

It works fine here.
Make sure that you have no module options for snd-virmidi in /etc/modprobe.conf, /etc/modprobe.conf.local and /etc/modprobe.d/* files.

Quoted 10 lines

I added this line to /etc/modprobe.d/alsa-base :

install snd-virmidi modprobe --ignore-install snd-virmidi && /lib/alsa/modprobe-post-install snd-virmidi

I ran update-modules and tried 'modprobe snd-virmidi' again but
received the same error.

If this is a known problem is there a patch for recompiling ALSA for
the 2.6.12 kernel ?

NO, I don't remember.

Takashi

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf

#4 lore raw
In reply to Clemens Ladisch

Greetings:

No helpful message in /var/log/syslog.

From the reports of other users I've concluded that snd-virmidi is
broken in 2.6.12. I added this line to /etc/modprobe.d/alsa-base :

install snd-virmidi modprobe --ignore-install snd-virmidi && /lib/alsa/modprobe-post-install snd-virmidi

I ran update-modules and tried 'modprobe snd-virmidi' again but
received the same error.

If this is a known problem is there a patch for recompiling ALSA for
the 2.6.12 kernel ?

Best regards,

dp

Quoted 15 lines · Clemens Ladisch
Quoted 11 lines · Dave Phillips

Some updates: I now have the CS4232, the PDAudioCF (Thank you!), and
the Midisport 2x2 working with Demudi 1.2.1 and ALSA 1.0.9rc2. My final hurdle shouldn't be too difficult to get over:

   demudi:/home/dlphilp# modprobe snd-virmidi
   FATAL: Error inserting snd_virmidi

(/lib/modules/2.6.12-3-multimedia-686/kernel/sound/drivers/snd-virmidi.ko):
No such device

Quoted 11 lines

Any error message in the system log?

Probably the index option isn't set correctly? How does your modprobe.conf (or whatever Demudi uses) look now?

Regards,
Clemens

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf