Re: ALSA problems sarge 2.4.25
* lebbatdot@cogeco.ca (lebbatdot@cogeco.ca) wrote:
> * David (dbree@duo-county.com) wrote:
> > On Tue, Apr 06, 2004 at 08:19:12AM -0500, lebbatdot@cogeco.ca wrote:
> > > ALl
> > > I have been trying to get ALSA working on my admitadly old IBM 300PL for
> > > the last while. Extensive Googling and several kernel recompiles later
> > > I think I am in reverse!
> > > I am running sarge kernel version 2.4.25
> > > Here is the output of aadebug from the ALSA website
> > >
> > > Loaded Modules --------------------------------------------
> > > snd 34276 0
> > >
> > > Modules Conf ----------------------------------------------
> > > alias char-major-116 snd
> > > alias char-major-14 soundcore
> > > options snd major=116 cards_limit=4
> > > alias sound-service-0-0 snd-mixer-oss
> > > alias sound-service-0-1 snd-seq-oss
> > > alias sound-service-0-3 snd-pcm-oss
> > > alias sound-service-0-8 snd-seq-oss
> > > alias sound-service-0-12 snd-pcm-oss
> > > alias /dev/dsp* snd-pcm-oss
> > > alias snd-card-0 snd-cs46xx
> > > alias snd-card-1 snd-ens1370
> > > alias snd-slot-0 snd-card-0
> > > alias sound-slot-0 snd-slot-0
> > > alias snd-slot-1 snd-card-1
> > > alias sound-slot-1 snd-slot-1
> > >
> > > ANy ideas on what to try next?
> > >
> > >
> > > Help appreciated
> >
> > Perhaps your sound card requires some options. try
> > "modinfo <your-card>". I had a problem similar to this after an upgrade
> > of alsa, and I go it working by adding a line as follows to my
> > /etc/alsa/modutils/1.0 file:
> >
> > options snd-sgalaxy index=0 id=CARD_0 sbport=0x220 wssport=0x530 irq=10 dma1=0
> >
> > and then running "update-modules".
> >
> > Your line will be different - my card is an s3, but you get the idea.
> > This may not "stick" after an upgrade. My alsa was working and then
> > suddenly quit after an upgrade ( or maybe after going from 0.9 to 1.0) -
> > the driver refused to load-
> > or maybe the options line was being found somewhere else, but anyway,
> > after doing the above, my alsa began working again.
> >
> >
> > --
> > To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> > with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Thanks for the reply Dave but it seems in this kernel version the
> modules are not even loading., I just get a failed message after
> /etc/init.d/alsa start. I do not see any info using modinfo, as I
> believe the modules are not even there?
>
> Here is modinfo on the snd module
> sarge:~# modinfo snd
> filename: /lib/modules/2.4.25alsa3/alsa/snd.o
> description: "Advanced Linux Sound Architecture driver for soundcards."
> author: "Jaroslav Kysela <perex@suse.cz>"
> license: "GPL"
> parm: major int, description "Major # for sound driver."
> parm: cards_limit int, description "Count of auto-loadable
> soundcards."
> parm: device_mode int, description "Device file permission mask
> for devfs."
> sarge:~#
>
> Another thing is I cannot see where to engage debug on the alsa module?
> There is a reference to it when one does the dpkg install on a web page
> but I do not see that option when I install it from the testing (sarge)
> apt site.
>
> I find the lack of any errors being generated in any logs that I look at
> disconcering, not sure how to turn them on.
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.orga
Well just discovered some more things, ran the modinfo on the file
sarge:~# modinfo /usr/src/modules/alsa-driver/alsa-kernel/pci/ens1370.c
/usr/src/modules/alsa-driver/alsa-kernel/pci/ens1370.c:
/usr/src/modules/alsa-driver/alsa-kernel/pci/ens1370.c is not an ELF
file
Well not sure how modinfo is supposed to work, so try again :-)
sarge:~# modinfo /lib/modules/2.4.25-1-386/kernel/drivers/sound/es1370.o
filename: /lib/modules/2.4.25-1-386/kernel/drivers/sound/es1370.o
description: "ES1370 AudioPCI Driver"
author: "Thomas M. Sailer, sailer@ife.ee.ethz.ch,
hb9jnx@hb9w.che.eu"
license: "GPL"
parm: joystick int array (min = 1, max = 5), description "if 1
enables joystick interface (still need separate driver)"
parm: lineout int array (min = 1, max = 5), description "if 1 the
LINE input is converted to LINE out"
parm: micbias int array (min = 1, max = 5), description "sets the
+5V bias for an electret microphone"
Well more interesting, not sure what the heck I should do with it
Look for the 4236 file
sarge:~# find / -name *4236*
/home/lebatdot/CS4236B
/usr/src/modules/alsa-driver/isa/cs423x/cs4236.c
/usr/src/modules/alsa-driver/isa/cs423x/cs4236_lib.c
/usr/src/modules/alsa-driver/alsa-kernel/isa/cs423x/cs4236.c
/usr/src/modules/alsa-driver/alsa-kernel/isa/cs423x/cs4236_lib.c
/usr/src/modules/alsa-driver/debian/alsa-modules-2.4.25alsa2/lib/modules/2.4.25alsa2/alsa/snd-cs4236-lib.o
/usr/src/modules/alsa-driver/debian/alsa-modules-2.4.25alsa2/lib/modules/2.4.25alsa2/alsa/snd-cs4236.o
/usr/src/modules/alsa-driver/debian/alsa-modules-2.4.25alsa3/lib/modules/2.4.25alsa3/alsa/snd-cs4236-lib.o
/usr/src/modules/alsa-driver/debian/alsa-modules-2.4.25alsa3/lib/modules/2.4.25alsa3/alsa/snd-cs4236.o
/etc/init.d/CS4236B
/lib/modules/2.4.25alsa2/alsa/snd-cs4236-lib.o
/lib/modules/2.4.25alsa2/alsa/snd-cs4236.o
/lib/modules/2.4.25alsa3/alsa/snd-cs4236-lib.o
/lib/modules/2.4.25alsa3/alsa/snd-cs4236.o
sarge:~# modinfo /lib/modules/2.4.25alsa3/alsa/snd-cs4236.o
filename: /lib/modules/2.4.25alsa3/alsa/snd-cs4236.o
description: "Cirrus Logic CS4235-9"
author: "Jaroslav Kysela <perex@suse.cz>"
license: "GPL"
parm: index int array (min = 1, max = 8), description "Index
value for CS4236+ soundcard."
parm: id string array (min = 1, max = 8), description "ID string
for CS4236+ soundcard."
parm: enable int array (min = 1, max = 8), description "Enable
CS4236+ soundcard."
parm: isapnp int array (min = 1, max = 8), description "ISA PnP
detection for specified soundcard."
parm: port long array (min = 1, max = 8), description "Port # for
CS4236+ driver."
parm: cport long array (min = 1, max = 8), description "Control
port # for CS4236+ driver."
parm: mpu_port long array (min = 1, max = 8), description
"MPU-401 port # for CS4236+ driver."
parm: fm_port long array (min = 1, max = 8), description "FM port
# for CS4236+ driver."
parm: sb_port long array (min = 1, max = 8), description "SB port
# for CS4236+ driver (optional)."
parm: irq int array (min = 1, max = 8), description "IRQ # for
CS4236+ driver."
parm: mpu_irq int array (min = 1, max = 8), description "MPU-401
IRQ # for CS4236+ driver."
parm: dma1 int array (min = 1, max = 8), description "DMA1 # for
CS4236+ driver."
parm: dma2 int array (min = 1, max = 8), description "DMA2 # for
CS4236+ driver."
sarge:~#
Hmmm lots more stuff, now what to do?
Reply to: