All of lore.kernel.org
 help / color / mirror / Atom feed
* alsaconf -L - where's Waldo?
@ 2003-03-21 13:50 Mark Knecht
  2003-03-21 13:59 ` Takashi Iwai
  0 siblings, 1 reply; 6+ messages in thread
From: Mark Knecht @ 2003-03-21 13:50 UTC (permalink / raw)
  To: Alsa-Devel

Hi,
   The --help option says that I can get a log file from alsaconf using
the -L option. If I look in /tmp while alsaconf is running, I see some
files, but when alsaconf has finished, the files are gone...


[mark@Wizard mark]$ ls /tmp
alsaconf.3nMgvm  alsaconf.txNTFm  ksocket-mark  orbit-mark   
ssh-XX7Jn9me
alsaconf.Ef6KCm  kde-mark         mcop-mark     ssh-XX1CS1IB 
ssh-XXIbrHpS
[mark@Wizard mark]$ ls /tmp
kde-mark  ksocket-mark  mcop-mark  orbit-mark  ssh-XX1CS1IB 
ssh-XX7Jn9me  ssh-XXIbrHpS
[mark@Wizard mark]$

Is this file possibly put somewhere else? I'm trying to figure out why
alsaconf is complaining about this card.

Loading driver..
Starting sound driver snd-hdsp
/lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
init_module: No such device
/lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o: insmod /lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o failed
/lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o: insmod snd-hdsp failed
                                                           [FAILED]
Setting default volumes..
===============================================================================

 Now ALSA is ready to use.
 For adjustment of volumes, please use alsamixer or gamix.

 Have a lot of fun!                                   │
[root@Wizard etc]# │




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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: alsaconf -L - where's Waldo?
  2003-03-21 13:50 alsaconf -L - where's Waldo? Mark Knecht
@ 2003-03-21 13:59 ` Takashi Iwai
  2003-03-21 16:17   ` NEW hdsp 9652 problems - {WAS: alsaconf -L - where's Waldo?) Mark Knecht
  0 siblings, 1 reply; 6+ messages in thread
From: Takashi Iwai @ 2003-03-21 13:59 UTC (permalink / raw)
  To: Mark Knecht; +Cc: Alsa-Devel

At 21 Mar 2003 05:50:47 -0800,
Mark Knecht wrote:
> 
> Hi,
>    The --help option says that I can get a log file from alsaconf using
> the -L option. If I look in /tmp while alsaconf is running, I see some
> files, but when alsaconf has finished, the files are gone...

yep, they are temporary working directories.

> 
> [mark@Wizard mark]$ ls /tmp
> alsaconf.3nMgvm  alsaconf.txNTFm  ksocket-mark  orbit-mark   
> ssh-XX7Jn9me
> alsaconf.Ef6KCm  kde-mark         mcop-mark     ssh-XX1CS1IB 
> ssh-XXIbrHpS
> [mark@Wizard mark]$ ls /tmp
> kde-mark  ksocket-mark  mcop-mark  orbit-mark  ssh-XX1CS1IB 
> ssh-XX7Jn9me  ssh-XXIbrHpS
> [mark@Wizard mark]$
> 
> Is this file possibly put somewhere else? I'm trying to figure out why
> alsaconf is complaining about this card.

/tmp/alsaconf.log is created only when the legacy cards are probed.
it's for a deubgging purpose only...


> Loading driver..
> Starting sound driver snd-hdsp
> /lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
>       You may find more information in syslog or the output from dmesg
> init_module: No such device
> /lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o: insmod /lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o failed
> /lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o: insmod snd-hdsp failed

do you already have another sound module?
alsaconf can configure only the first device (i.e. index=0).
configuring more than one card is not supported yet.


Takashi


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

^ permalink raw reply	[flat|nested] 6+ messages in thread

* NEW hdsp 9652 problems - {WAS: alsaconf -L - where's Waldo?)
  2003-03-21 13:59 ` Takashi Iwai
@ 2003-03-21 16:17   ` Mark Knecht
  2003-03-21 16:39     ` Justin Cormack
  2003-03-21 17:45     ` Paul Davis
  0 siblings, 2 replies; 6+ messages in thread
From: Mark Knecht @ 2003-03-21 16:17 UTC (permalink / raw)
  To: Takashi Iwai; +Cc: Alsa-Devel

Takashi,
   I have two sound devices (on-board Via device and an RME HDSP 9652)
but I only want to configure the RME. Currently alsaconf finds the RME,
attempts to install the drivers, and then the drivers fail saying they
cannot find the cards. I had hoped that possibly the log file would give
me more information on why. I suppose it will not if it's only for ISA
devices. (BTW - alsaconf does find this Via chip and can configure it
correctly.)

   I think that the --help for alsaconf should make this more clear.
Currently it says:

 -L|--log       logging on /tmp/alsaconf.log

No idea it only covers ISA devcies.

OK, so I start with a clean /etc/modules.conf looking like this:

alias parport_lowlevel parport_pc
alias eth0 bcm4400
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci

lspci -v shows:

<SNIP>
00:0e.0 Multimedia audio controller: Xilinx, Inc. RME Hammerfall DSP
(rev 68)
        Flags: bus master, medium devsel, latency 32, IRQ 10
        Memory at e9800000 (32-bit, non-prefetchable) [size=64K]
<SNIP>

I then run alsaconf. It shows the hdsp and the via82xx. I choose the
hdsp and get the following:

Loading driver..
Starting sound driver snd-hdsp
/lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
      You may find more information in syslog or the output from dmesg
init_module: No such device
/lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o: insmod /lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o failed
/lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o: insmod snd-hdsp failed
                                                           [FAILED]
Setting default volumes..
===============================================================================

 Now ALSA is ready to use.
 For adjustment of volumes, please use alsamixer or gamix.

 Have a lot of fun!                                         │
[root@Wizard etc]#

modules.conf now looks like:

alias parport_lowlevel parport_pc
alias eth0 bcm4400
alias usb-controller ehci-hcd
alias usb-controller1 usb-uhci
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF verion 0.9.0 ---
alias char-major-116 snd
alias snd-card-0 snd-hdsp
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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
options snd major=116 cards_limit=1 device_mode=0666
options snd-hdsp index=0
# --- END: Generated by ALSACONF, do not edit.

The card is not recognized on reboot either. dmesg shows a log string of
these messages:


Hammerfall memory allocator: buffers allocated for 1 cards
RME Hammerfall-DSP: no cards found
Hammerfall memory allocator: buffers allocated for 1 cards
RME Hammerfall-DSP: no cards found


Now, this all worked fine on the previous 2.4.19-1.ll kernel from the
PlanetCCRMA site **BEFORE** I updated firmware on the HDSP 9652 for new
Win XP driver support. After updating firmware for the card, the
alsaconf program I had for the 2.4.19-1.ll kernel no longer recognized
the card at all and cannot write anything in modules.conf.

I have a new PC in my studio, using a newer kernel from the Planet not
released widely yet. (2.4.20-1.12.ll.acpi) The kernel is dated Sunday,
Feb. 2nd. The alsa RPM is dated Feb. 18th and appears to be alsa
0.9.0-45, if that makes sense. I understand some of this might be
Fernando's numbering system for the Planet.

The alsaconf that comes with this kernel recognizes the card, but the
driver doesn't load and says there's no card.

Chicken & egg problem apparently...

Thanks for any help you can provide.

Cheers,
Mark






On Fri, 2003-03-21 at 05:59, Takashi Iwai wrote:
> At 21 Mar 2003 05:50:47 -0800,
> Mark Knecht wrote:
> > 
> > Hi,
> >    The --help option says that I can get a log file from alsaconf using
> > the -L option. If I look in /tmp while alsaconf is running, I see some
> > files, but when alsaconf has finished, the files are gone...
> 
> yep, they are temporary working directories.
> 
> > 
> > [mark@Wizard mark]$ ls /tmp
> > alsaconf.3nMgvm  alsaconf.txNTFm  ksocket-mark  orbit-mark   
> > ssh-XX7Jn9me
> > alsaconf.Ef6KCm  kde-mark         mcop-mark     ssh-XX1CS1IB 
> > ssh-XXIbrHpS
> > [mark@Wizard mark]$ ls /tmp
> > kde-mark  ksocket-mark  mcop-mark  orbit-mark  ssh-XX1CS1IB 
> > ssh-XX7Jn9me  ssh-XXIbrHpS
> > [mark@Wizard mark]$
> > 
> > Is this file possibly put somewhere else? I'm trying to figure out why
> > alsaconf is complaining about this card.
> 
> /tmp/alsaconf.log is created only when the legacy cards are probed.
> it's for a deubgging purpose only...
> 
> 
> > Loading driver..
> > Starting sound driver snd-hdsp
> > /lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o: Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
> >       You may find more information in syslog or the output from dmesg
> > init_module: No such device
> > /lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o: insmod /lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o failed
> > /lib/modules/2.4.20-1.12.ll.acpi/kernel/drivers/sound/pci/rme9652/snd-hdsp.o: insmod snd-hdsp failed
> 
> do you already have another sound module?
> alsaconf can configure only the first device (i.e. index=0).
> configuring more than one card is not supported yet.
> 
> 
> Takashi




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open!
Get cracking and register here for some mind boggling fun and
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: NEW hdsp 9652 problems - {WAS: alsaconf -L - where's Waldo?)
  2003-03-21 16:17   ` NEW hdsp 9652 problems - {WAS: alsaconf -L - where's Waldo?) Mark Knecht
@ 2003-03-21 16:39     ` Justin Cormack
  2003-03-21 17:40       ` Mark Knecht
  2003-03-21 17:45     ` Paul Davis
  1 sibling, 1 reply; 6+ messages in thread
From: Justin Cormack @ 2003-03-21 16:39 UTC (permalink / raw)
  To: Mark Knecht; +Cc: Takashi Iwai, Alsa-Devel

On Fri, 2003-03-21 at 16:17, Mark Knecht wrote:
> Takashi,
>    I have two sound devices (on-board Via device and an RME HDSP 9652)
> but I only want to configure the RME. Currently alsaconf finds the RME,
> attempts to install the drivers, and then the drivers fail saying they
> cannot find the cards. I had hoped that possibly the log file would give
> me more information on why. I suppose it will not if it's only for ISA
> devices. (BTW - alsaconf does find this Via chip and can configure it
> correctly.)

You need a more recent version of the driver, probably the cvs version
for this card. The configurator probably checks the PCI id but not the
revision nuumber.




-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: NEW hdsp 9652 problems - {WAS: alsaconf -L - where's Waldo?)
  2003-03-21 16:39     ` Justin Cormack
@ 2003-03-21 17:40       ` Mark Knecht
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Knecht @ 2003-03-21 17:40 UTC (permalink / raw)
  To: Justin Cormack; +Cc: Alsa-Devel

On Fri, 2003-03-21 at 08:39, Justin Cormack wrote:
> On Fri, 2003-03-21 at 16:17, Mark Knecht wrote:
> > Takashi,
> >    I have two sound devices (on-board Via device and an RME HDSP 9652)
> > but I only want to configure the RME. Currently alsaconf finds the RME,
> > attempts to install the drivers, and then the drivers fail saying they
> > cannot find the cards. I had hoped that possibly the log file would give
> > me more information on why. I suppose it will not if it's only for ISA
> > devices. (BTW - alsaconf does find this Via chip and can configure it
> > correctly.)
> 
> You need a more recent version of the driver, probably the cvs version
> for this card. The configurator probably checks the PCI id but not the
> revision nuumber.

Justin,
   Thanks for the reply. It makes sense to me, however, since I use the
PlanetCCRMA flow, and alsa is supplied as an RPM, I have no way (that I
know of) to just get a new driver, compile it and try it out. I need a
new RPM, I think.

   Thanks for the ideas!

Cheers,
Mark



-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: NEW hdsp 9652 problems - {WAS: alsaconf -L - where's Waldo?)
  2003-03-21 16:17   ` NEW hdsp 9652 problems - {WAS: alsaconf -L - where's Waldo?) Mark Knecht
  2003-03-21 16:39     ` Justin Cormack
@ 2003-03-21 17:45     ` Paul Davis
  1 sibling, 0 replies; 6+ messages in thread
From: Paul Davis @ 2003-03-21 17:45 UTC (permalink / raw)
  To: Mark Knecht; +Cc: Takashi Iwai, Alsa-Devel

>Now, this all worked fine on the previous 2.4.19-1.ll kernel from the
>PlanetCCRMA site **BEFORE** I updated firmware on the HDSP 9652 for new
>Win XP driver support. After updating firmware for the card, the
>alsaconf program I had for the 2.4.19-1.ll kernel no longer recognized
>the card at all and cannot write anything in modules.conf.

you cannot use the current ALSA driver with the new firmware.

i submitted a patch to handle the new firmware, but it has not been
put into CVS yet. meanwhile, thomas charbonnel has extended the work i
did and added some more stuff, and so we are working on a "mega-patch"
that fixes lots of issues with full H-DSP support.

once thomas gets his tasklet problems fixed (for MIDI I/O without
affecting PCM latency), we'll submit the patch again.

--p


-------------------------------------------------------
This SF.net email is sponsored by:Crypto Challenge is now open! 
Get cracking and register here for some mind boggling fun and 
the chance of winning an Apple iPod:
http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2003-03-21 17:45 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-03-21 13:50 alsaconf -L - where's Waldo? Mark Knecht
2003-03-21 13:59 ` Takashi Iwai
2003-03-21 16:17   ` NEW hdsp 9652 problems - {WAS: alsaconf -L - where's Waldo?) Mark Knecht
2003-03-21 16:39     ` Justin Cormack
2003-03-21 17:40       ` Mark Knecht
2003-03-21 17:45     ` Paul Davis

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.