Re: any Libretto 100/110CT users out there?
Hi,
Kernel build finally completed - apparently sucessfully, though I
havn't tried booting into it yet... so I have now tried a reboot...
Sadly something still seems to be going wrong:
% cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17 14:31:44 2004 UTC).
Compiled on Aug 16 2005 for kernel 2.6.8-2-386.
% cat /proc/asound/cards
--- no soundcards ---
A trawl through /var/log/kern.log gives
Jan 27 07:41:25 localhost kernel: Yamaha OPL3-SA soundcard not found or device busy
And checking my loaded modules:
% lsmod
Module Size Used by
.
snd_opl3_lib 9728 0
snd_hwdep 9092 1 snd_opl3_lib
snd_cs4231_lib 24832 0
snd_mpu401_uart 7296 0
snd_rawmidi 23204 1 snd_mpu401_uart
snd_seq_device 7944 2 snd_opl3_lib,snd_rawmidi
snd_pcm_oss 48168 0
snd_mixer_oss 16640 1 snd_pcm_oss
snd_pcm 85384 2 snd_cs4231_lib,snd_pcm_oss
snd_page_alloc 11144 2 snd_cs4231_lib,snd_pcm
snd_timer 23300 3 snd_opl3_lib,snd_cs4231_lib,snd_pcm
snd 50660 11 snd_opl3_lib,snd_hwdep,snd_cs4231_lib,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
soundcore 9824 1 snd
Which does seem rather different to what you listed in your earlier
post:
----------------8<--------------
Module Size Used by
. wlan_wep 2976 1
. toshiba 1976 0
snd_mixer_oss 9728 0
. snd_opl3sa2 4512 0
snd_opl3_lib 4320 1 snd_opl3sa2
snd_hwdep 3392 1 snd_opl3_lib
snd_cs4231_lib 12128 1 snd_opl3sa2
snd_mpu401_uart 2240 1 snd_opl3sa2
snd_rawmidi 10112 1 snd_mpu401_uart
snd_seq_device 3340 2 snd_opl3_lib,snd_rawmidi
snd_pcm 42856 2 snd_opl3sa2,snd_cs4231_lib
snd_timer 10564 3 snd_opl3_lib,snd_cs4231_lib,snd_pcm
snd_page_alloc 4104 2 snd_cs4231_lib,snd_pcm
. ath_pci 42972 0
. ath_rate_sample 8392 1 ath_pci
. wlan 79804 4 wlan_wep,ath_pci,ath_rate_sample
. ath_hal 133520 3 ath_pci,ath_rate_sample
-------------8<-------------
I have highlighted the modules which are are at variance on the
two systems. Here are my modules again, with the ones you don't list
highlighted:
snd_opl3_lib 9728 0
snd_hwdep 9092 1 snd_opl3_lib
snd_cs4231_lib 24832 0
snd_mpu401_uart 7296 0
snd_rawmidi 23204 1 snd_mpu401_uart
snd_seq_device 7944 2 snd_opl3_lib,snd_rawmidi
. snd_pcm_oss 48168 0
snd_mixer_oss 16640 1 snd_pcm_oss
snd_pcm 85384 2 snd_cs4231_lib,snd_pcm_oss
snd_page_alloc 11144 2 snd_cs4231_lib,snd_pcm
snd_timer 23300 3 snd_opl3_lib,snd_cs4231_lib,snd_pcm
. snd 50660 11 snd_opl3_lib,snd_hwdep,snd_cs4231_lib,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
. soundcore 9824 1 snd
There seem to be two drivers in the source tree:
# locate opl3sa2|grep .c$
/usr/src/kernel-source-2.6.8/sound/isa/opl3sa2.c
/usr/src/kernel-source-2.6.8/sound/isa/snd-opl3sa2.mod.c
/usr/src/kernel-source-2.6.8/sound/oss/opl3sa2.c
/usr/src/kernel-source-2.6.8/sound/oss/opl3sa2.mod.c
Grepping for the error string quoted above indicates that the
'isa' version is the one being loaded, which I am guessing is
the correct one.
As a final test, I tried a manual load, and get:
# modprobe snd-opl3sa2 dma1=1 dma2=0 irq=5 midi_port=0x330 fm_port=0x388 wss_port=0x530 sb_port=0x220 port=0x370 opl3sa3_ymode=3
FATAL: Error inserting snd_opl3sa2 (/lib/modules/2.6.8-2-386/kernel/sound/isa/snd-opl3sa2.ko): No such device
FATAL: Error running install command for snd_opl3sa2
Glancing at the source, it seems that the following is failing:
int dev, cards = 0;
for (dev = 0; dev < SNDRV_CARDS; dev++) {
if (!enable[dev])
continue;
#ifdef CONFIG_PNP
if (isapnp[dev])
continue;
#endif
if (snd_opl3sa2_probe(dev, NULL, NULL) >= 0)
cards++;
}
#ifdef CONFIG_PNP
cards += pnp_register_card_driver(&opl3sa2_pnpc_driver);
#endif
with 'cards' left as zero. It also seems to be compiled
with 'CONFIG_PNP' set.
Any ideas?
Regards,
DigbyT
P.S. I see you are loading a 'toshiba' module. Should I be
using that too? What does it do?
On Fri, Jan 27, 2006 at 01:32:18AM +0100, Richard Mittendorfer wrote:
> Also sprach Digby Tarvin <digbyt@acm.org> (Fri, 27 Jan 2006 00:17:56
> +0000):
> > P.S. It just occured to me while re-entering these lines back
> > into /etc/modules ...
> >
> > > > > /etc/modules
> > > > > -------------8<-----------
> > > > > snd-opl3sa2 dma1=1 dma2=0 irq=5 midi_port=0x330 fm_port=0x388
> > > > > wss_port=0x530 sb_port=0x220 port=0x370 opl3sa3_ymode=3
> > > > > snd_mixer_oss
> >
> > The first two lines aren't a single line that has just wrapped in
> > the mail program are they? It just occured to me that it didn't
> > seem to make much sense otherwise....
>
> uups, soooorry. Sure they are. modinfo snd-opl3sa2
>
> > If so it might explain what went wrong with my first attempt...
>
> indeed :)
>
> > Regards,
> > DigbyT
>
> sl ritch
--
Digby R. S. Tarvin digbyt(at)digbyt.com
http://www.digbyt.com
Reply to: