[gentoo-user] alsa doesn't want work

2003-07-02 Thread Alberto Bert
Hi,

I'm trying to set alsa sound. I followed instructions by gentoo, but
when I lsmod, no alsa is loaded.

/etc/init.d/alsasound start   -   already running

I even tryed to put it in modules.autoload but at boot time it shows me
failed to load alsasound

Please, could anyone help me?

Alb

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] alsa doesn't want work

2003-07-02 Thread Mark Knecht
/etc/init.d/alsasound stop
/etc/init.d/alsasound start

or...

/etc/init.d/alsasound restart

Look in /var/log/messages for more clues as to what problems it's having.
(Also dmesg I suppose...)

- Mark

 -Original Message-
 From: Alberto Bert [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 02, 2003 9:06 AM
 To: [EMAIL PROTECTED]
 Subject: [gentoo-user] alsa doesn't want work


 Hi,

 I'm trying to set alsa sound. I followed instructions by gentoo, but
 when I lsmod, no alsa is loaded.

 /etc/init.d/alsasound start   -   already running

 I even tryed to put it in modules.autoload but at boot time it shows me
 failed to load alsasound

 Please, could anyone help me?

 Alb

 --
 [EMAIL PROTECTED] mailing list





--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] alsa doesn't want work

2003-07-02 Thread Mark Knecht
BTW - alsasound is really 2 parts:

1) alsa itself
2) the alsa drivers for you sound card

Both have to be loaded to get sound.

Please send lsmod results

- Mark

 -Original Message-
 From: Alberto Bert [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 02, 2003 9:06 AM
 To: [EMAIL PROTECTED]
 Subject: [gentoo-user] alsa doesn't want work
 
 
 Hi,
 
 I'm trying to set alsa sound. I followed instructions by gentoo, but
 when I lsmod, no alsa is loaded.
 
 /etc/init.d/alsasound start   -   already running
 
 I even tryed to put it in modules.autoload but at boot time it shows me
 failed to load alsasound
 
 Please, could anyone help me?
 
 Alb
 
 --
 [EMAIL PROTECTED] mailing list
 
 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] alsa doesn't want work

2003-07-02 Thread Alberto Bert
On Jul 02 at 09:24AM-0700, Mark Knecht wrote:
 /etc/init.d/alsasound stop

ALSA driver is not loaded

 /etc/init.d/alsasound start

alsa starts

 Look in /var/log/messages for more clues as to what problems it's having.

it does not exists

 (Also dmesg I suppose...)

nothing concerning alsa

I'm really confused, I cannot mount the module

Alberto

  -Original Message-
  From: Alberto Bert [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 02, 2003 9:06 AM
  To: [EMAIL PROTECTED]
  Subject: [gentoo-user] alsa doesn't want work
 
 
  Hi,
 
  I'm trying to set alsa sound. I followed instructions by gentoo, but
  when I lsmod, no alsa is loaded.
 
  /etc/init.d/alsasound start   -   already running
 
  I even tryed to put it in modules.autoload but at boot time it shows me
  failed to load alsasound
 
  Please, could anyone help me?
 
  Alb
 
  --
  [EMAIL PROTECTED] mailing list
 
 
 
 
 
 --
 [EMAIL PROTECTED] mailing list

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] alsa doesn't want work

2003-07-02 Thread Alberto Bert
On Jul 02 at 09:25AM-0700, Mark Knecht wrote:
 BTW - alsasound is really 2 parts:
 
 1) alsa itself
 2) the alsa drivers for you sound card
 
 Both have to be loaded to get sound.
 
 Please send lsmod results

cpad  ... ... (unused)  (still I cannot make it working for similar reasons)
nvidia ... ... (unused)(I'm in console)

Alb
  -Original Message-
  From: Alberto Bert [mailto:[EMAIL PROTECTED]
  Sent: Wednesday, July 02, 2003 9:06 AM
  To: [EMAIL PROTECTED]
  Subject: [gentoo-user] alsa doesn't want work
  
  
  Hi,
  
  I'm trying to set alsa sound. I followed instructions by gentoo, but
  when I lsmod, no alsa is loaded.
  
  /etc/init.d/alsasound start   -   already running
  
  I even tryed to put it in modules.autoload but at boot time it shows me
  failed to load alsasound
  
  Please, could anyone help me?

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] alsa doesn't want work

2003-07-02 Thread Kai Lindenberg
Hi Alberto,

Am Mittwoch, 2. Juli 2003 18:06 schrieb Alberto Bert:
 I'm trying to set alsa sound. I followed instructions by gentoo,
 but when I lsmod, no alsa is loaded.

 /etc/init.d/alsasound start   -   already running

 I even tryed to put it in modules.autoload but at boot time it
 shows me failed to load alsasound

 Please, could anyone help me?

Are you still using the ToshSat5200?
Please send the output of lspci -vv, maybe your irq-routing is 
still not working.
Do you have enabled the support for soundcards in the kernel?

Kai


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] alsa doesn't want work

2003-07-02 Thread Alberto Bert
On Jul 02 at 06:45PM+0200, Kai Lindenberg wrote:
 Hi Alberto,
 
 Am Mittwoch, 2. Juli 2003 18:06 schrieb Alberto Bert:
  I'm trying to set alsa sound. I followed instructions by gentoo,
  but when I lsmod, no alsa is loaded.
 
  /etc/init.d/alsasound start   -   already running
 
  I even tryed to put it in modules.autoload but at boot time it
  shows me failed to load alsasound
 
  Please, could anyone help me?
 
 Are you still using the ToshSat5200?

yes

 Please send the output of lspci -vv, maybe your irq-routing is 
 still not working.

at the end of the mail

 Do you have enabled the support for soundcards in the kernel?

yes, like it is written in gentoo alsa guide. I enableb as module sound
support and no driver selected.

But should I also load sound-support module? I didn't! It is not
written...

And what it's more surprising (and I'm warried) after the compilation
of the kernel descripted in that documentation, I haven't got any more
bzImage in my /usr/src/linux/arch/i386/boot !!!

And furthermore if it would be there should I copy it in /boot ?

GRRR

Alb


00:00.0 Host bridge: Intel Corp. 82845 845 (Brookdale) Chipset Host Bridge (rev 04)
Subsystem: Toshiba America Info Systems: Unknown device 0001
Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort+ SERR- PERR-
Latency: 0
Region 0: Memory at e000 (32-bit, prefetchable) [size=256M]
Capabilities: [e4] #09 [d104]
Capabilities: [a0] AGP version 2.0
Status: RQ=31 SBA+ 64bit- FW+ Rate=x1,x2,x4
Command: RQ=0 SBA- AGP+ 64bit- FW- Rate=x4

00:01.0 PCI bridge: Intel Corp. 82845 845 (Brookdale) Chipset AGP Bridge (rev 04) 
(prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap- 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 64
Bus: primary=00, secondary=01, subordinate=01, sec-latency=64
Memory behind bridge: fd00-fdff
Prefetchable memory behind bridge: d7f0-dfff
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- Reset- FastB2B-

00:1d.0 USB Controller: Intel Corp. 82801CA/CAM USB (Hub #1) (rev 02) (prog-if 00 
[UHCI])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 0
Interrupt: pin A routed to IRQ 10
Region 4: I/O ports at 1000 [size=32]

00:1e.0 PCI bridge: Intel Corp. 82801BAM/CAM PCI Bridge (rev 42) (prog-if 00 [Normal 
decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=fast TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 0
Bus: primary=00, secondary=02, subordinate=04, sec-latency=64
I/O behind bridge: d000-dfff
Memory behind bridge: fce0-fcef
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- Reset- FastB2B-

00:1f.0 ISA bridge: Intel Corp. 82801CAM ISA Bridge (LPC) (rev 02)
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 0

00:1f.1 IDE interface: Intel Corp. 82801CAM IDE U100 (rev 02) (prog-if 8a [Master SecP 
PriP])
Subsystem: Toshiba America Info Systems: Unknown device 0001
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 0
Interrupt: pin A routed to IRQ 11
Region 0: I/O ports at cff8 [size=8]
Region 1: I/O ports at cff4 [size=4]
Region 2: I/O ports at cfe8 [size=8]
Region 3: I/O ports at cfe4 [size=4]
Region 4: I/O ports at cfa0 [size=16]
Region 5: Memory at 2000 (32-bit, non-prefetchable) [size=1K]

00:1f.5 Multimedia audio controller: Intel Corp. 82801CA/CAM AC'97 Audio Controller 
(rev 02)
Subsystem: Toshiba America Info Systems: Unknown device 0002
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- 
SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium TAbort- TAbort- 
MAbort- SERR- PERR-
Latency: 0
Interrupt: pin B routed to IRQ 11
Region 0: I/O ports at 1400 [size=256]
Region 1: I/O ports at 1040 [size=64]

00:1f.6 Modem: Intel Corp. 82801CA/CAM AC'97 Modem Controller (rev 02) (prog-if 00 
[Generic])
Subsystem: Toshiba 

Re: [gentoo-user] alsa doesn't want work

2003-07-02 Thread Alberto Bert
On Jul 02 at 06:45PM+0200, Kai Lindenberg wrote:
 Hi Alberto,
 
 Am Mittwoch, 2. Juli 2003 18:06 schrieb Alberto Bert:
  I'm trying to set alsa sound. I followed instructions by gentoo,
  but when I lsmod, no alsa is loaded.
 
  /etc/init.d/alsasound start   -   already running
 
  I even tryed to put it in modules.autoload but at boot time it
  shows me failed to load alsasound
 
  Please, could anyone help me?
 
 Are you still using the ToshSat5200?
 Please send the output of lspci -vv, maybe your irq-routing is 
 still not working.
 Do you have enabled the support for soundcards in the kernel?

ok, now I recompiled the kernel with modules (sound as module and no
soud card selected) The difference is that now I cannot use soud any
more (as espected, I guess) mpg321 says me: no default libao available.

BTW: is libao just for oss?

BUT still i cannot load alsa :-(
in dmesg there is nothing concerning alsa and if i try to modprobe it
(alsa or alsasound) it cannot find it, it's just because it's not a real
module but just a script?

If yes what can i do toload what i need to play music?
If I follow alsa gentoo doc it doen't work, maybe I'm doing
somethingstupid again...

Alb

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] alsa doesn't want work

2003-07-02 Thread Mark Knecht


 ok, now I recompiled the kernel with modules (sound as module and no
 soud card selected) The difference is that now I cannot use soud any
 more (as espected, I guess) mpg321 says me: no default libao available.

 BTW: is libao just for oss?

 BUT still i cannot load alsa :-(

Please, provide the contents of /etc/modules.conf, /etc/modules.autoload and
/etc/modules.d/alsa

These three will let us understand what you are actually telling alsa to do.


 in dmesg there is nothing concerning alsa and if i try to modprobe it
 (alsa or alsasound) it cannot find it, it's just because it's not a real
 module but just a script?

 If yes what can i do toload what i need to play music?
 If I follow alsa gentoo doc it doen't work, maybe I'm doing
 somethingstupid again...

Don't take it personally. IT IS ALSA! ALSA IS VERY DIFFICULT (And
doesn't work very well with some hardware...)

- Mark




--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] alsa doesn't want work

2003-07-02 Thread Alberto Bert
On Jul 02 at 11:15AM-0700, Mark Knecht wrote:
 
 
  ok, now I recompiled the kernel with modules (sound as module and no
  soud card selected) The difference is that now I cannot use soud any
  more (as espected, I guess) mpg321 says me: no default libao available.
 
  BTW: is libao just for oss?
 
  BUT still i cannot load alsa :-(
 
 Please, provide the contents of /etc/modules.conf, /etc/modules.autoload and
 /etc/modules.d/alsa
 
 These three will let us understand what you are actually telling alsa to do.

at the end of the mail (thanks)

I didn't pu alsa in modules.autoload, but I used:

rc-update add alsasound boot

but as I can understand, alsasound it's just a script, not a module, and
it should load several other modules...

 in dmesg there is nothing concerning alsa and if i try to modprobe it
 (alsa or alsasound) it cannot find it, it's just because it's not a real
  module but just a script?
 
  If yes what can i do toload what i need to play music?
  If I follow alsa gentoo doc it doen't work, maybe I'm doing
  somethingstupid again...
 
 Don't take it personally. IT IS ALSA! ALSA IS VERY DIFFICULT (And
 doesn't work very well with some hardware...)

ok, so what I'm now asking to myself is: do I really need it? Can it
really make my music better that oss?

Alb

modules.conf:

### This file is automatically generated by modules-update
#
# Please do not edit this file directly. If you want to change or add
# anything please take a look at the files in /etc/modules.d and read
# the manpage for modules-update.
#
### modules-update: start processing /etc/modules.d/aliases
# Aliases to tell insmod/modprobe which modules to use 

# Uncomment the network protocols you don't want loaded:
# alias net-pf-1 off# Unix
# alias net-pf-2 off# IPv4
# alias net-pf-3 off# Amateur Radio AX.25
# alias net-pf-4 off# IPX
# alias net-pf-5 off# DDP / appletalk
# alias net-pf-6 off# Amateur Radio NET/ROM
# alias net-pf-9 off# X.25
# alias net-pf-10 off   # IPv6
# alias net-pf-11 off   # ROSE / Amateur Radio X.25 PLP
# alias net-pf-19 off   # Acorn Econet

alias char-major-10-175 agpgart
alias char-major-10-200 tun
alias char-major-81 bttv
alias char-major-108ppp_generic
alias /dev/ppp  ppp_generic
alias tty-ldisc-3   ppp_async
alias tty-ldisc-14  ppp_synctty
alias ppp-compress-21   bsd_comp
alias ppp-compress-24   ppp_deflate
alias ppp-compress-26   ppp_deflate

# Crypto modules (see http://www.kerneli.org/)
alias loop-xfer-gen-0   loop_gen
alias loop-xfer-3   loop_fish2
alias loop-xfer-gen-10  loop_gen
alias cipher-2  des
alias cipher-3  fish2
alias cipher-4  blowfish
alias cipher-6  idea
alias cipher-7  serp6f
alias cipher-8  mars6
alias cipher-11 rc62
alias cipher-15 dfc2
alias cipher-16 rijndael
alias cipher-17 rc5

# Support for i2c and lm_sensors
alias char-major-89i2c-dev

# Old nvidia support ...
alias char-major-195 NVdriver 
alias /dev/nvidiactl char-major-195 

### modules-update: end processing /etc/modules.d/aliases

### modules-update: start processing /etc/modules.d/alsa
# Alsa 0.9.X kernel modules' configuration file.
# $Header: 
/home/cvsroot/gentoo-x86/media-sound/alsa-driver/files/alsa-modules.conf-rc,v 1.1 
2002/12/21 06:31:52 agenkin Exp $

# ALSA portion
alias char-major-116 snd
# OSS/Free portion
alias char-major-14 soundcore

##
## IMPORTANT:
## You need to customise this section for your specific sound card(s)
## and then run `update-modules' command.
## Read alsa-driver's INSTALL file in /usr/share/doc for more info.
##
##  ALSA portion
alias snd-card-0 snd-intel8x0
## alias snd-card-1 snd-ens1371
##  OSS/Free portion
## alias sound-slot-0 snd-card-0
## alias sound-slot-1 snd-card-1
##

# OSS/Free portion - card #1
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
##  OSS/Free portion - card #2
## alias sound-service-1-0 snd-mixer-oss
## alias sound-service-1-3 snd-pcm-oss
## alias sound-service-1-12 snd-pcm-oss

alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

# Set this to the correct number of cards.
options snd cards_limit=1

### modules-update: end processing /etc/modules.d/alsa

### modules-update: start processing /etc/modules.d/i386
alias parport_lowlevel parport_pc
alias char-major-10-144 nvram
alias binfmt-0064 binfmt_aout
alias char-major-10-135 rtc

### modules-update: end processing /etc/modules.d/i386

### modules-update: start processing /etc/modules.d/nvidia
# Nvidia drivers support
alias char-major-195 nvidia
alias /dev/nvidiactl char-major-195

# To tweak the driver the following options can be used, note that
# you should be careful, as it could cause instability!!
#
#   To enable 

Re: [gentoo-user] alsa doesn't want work

2003-07-02 Thread Alberto Bert
:-)))

I'm on the right way, I can now see alsa modules!
I repeated the instruction (but recompiling the kernel)
What I should do it was to re-emerge alsa-utils, aparently.

I'll keep you informed.
Alb

--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] alsa doesn't want work

2003-07-02 Thread Mark Knecht
If you recompile the kernel, then you must recompile Alsa...

 -Original Message-
 From: Alberto Bert [mailto:[EMAIL PROTECTED]
 Sent: Wednesday, July 02, 2003 12:03 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [gentoo-user] alsa doesn't want work
 
 
 :-)))
 
 I'm on the right way, I can now see alsa modules!
 I repeated the instruction (but recompiling the kernel)
 What I should do it was to re-emerge alsa-utils, aparently.
 
 I'll keep you informed.
 Alb
 
 --
 [EMAIL PROTECTED] mailing list
 
 


--
[EMAIL PROTECTED] mailing list