PDA

View Full Version : problems with alsa alsa-autoconfig doesn't seem to work



dzogchen
04-04-2004, 04:28 PM
I am being driven slightly crazy trying to get the sound working on my HD install of knoppix 3.3.

It seems to work fine from the live CD

after reading the threads, I have run /etc/init.d/alsa-autoconfig (many times!) - it says

Building card database..
Configuring emu10k1...
Running update-modules...
Creating snddevices...
Setting default volumes......

no sound though.... And yes, I did check aumix - the volume WASN'T up, it was at zero - but that didn't help either

modprobe emu10k1 tells me:
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: init_module: No such device
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
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: insmod /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o failed
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: insmod emu10k1 failed

It looks as though the soundcard isn't seen by isapnp or a scan of the PCI bus- it doesn't see the built-in sound either - however the game port on the soundcard is seen!!

here is dmesg

Linux version 2.4.24-xfs (root@Knoppix) (gcc version 2.95.4 20011002 (Debian prerelease)) #1 SMP Mi Feb 4 01:03:50 CET 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001bff0000 (usable)
BIOS-e820: 000000001bff0000 - 000000001bff3000 (ACPI NVS)
BIOS-e820: 000000001bff3000 - 000000001c000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
user-defined physical RAM map:
user: 0000000000000000 - 000000000009f800 (usable)
user: 000000000009f800 - 00000000000a0000 (reserved)
user: 00000000000f0000 - 0000000000100000 (reserved)
user: 0000000000100000 - 000000001bff0000 (usable)
0MB HIGHMEM available.
447MB LOWMEM available.
found SMP MP-table at 000f6080
hm, page 000f6000 reserved twice.
hm, page 000f7000 reserved twice.
hm, page 000f1000 reserved twice.
hm, page 000f2000 reserved twice.
On node 0 totalpages: 114672
zone(0): 4096 pages.
zone(1): 110576 pages.
zone(2): 0 pages.
ACPI: RSDP (v000 KM400 ) @ 0x000f7b50
ACPI: RSDT (v001 KM400 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1bff3000
ACPI: FADT (v001 KM400 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1bff3040
ACPI: MADT (v001 KM400 AWRDACPI 0x42302e31 AWRD 0x00000000) @ 0x1bff8280
ACPI: DSDT (v001 KM400 AWRDACPI 0x00001000 MSFT 0x0100000e) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 Pentium(tm) Pro APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] polarity[0x1] trigger[0x1] lint[0x1])
Using ACPI for processor (LAPIC) configuration information
Intel MultiProcessor Specification v1.4
Virtual Wire compatibility mode.
OEM ID: OEM00000 Product ID: PROD00000000 APIC at: 0xFEE00000
I/O APIC #2 Version 17 at 0xFEC00000.
Enabling APIC mode: Flat. Using 1 I/O APICs
Processors: 1
Kernel command line: hda=scsi hdb=scsi hdc=scsi hdd=scsi hde=scsi hdf=scsi hdg=scsi hdh=scsi lang=en nomce alsa initrd=initrd.gz mem=458688K
ide_setup: hda=scsi
ide_setup: hdb=scsi
ide_setup: hdc=scsi
ide_setup: hdd=scsi
ide_setup: hde=scsi
ide_setup: hdf=scsi
ide_setup: hdg=scsi
ide_setup: hdh=scsi
Initializing CPU#0
Detected 2158.108 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 4299.16 BogoMIPS
Memory: 450296k/458688k available (1278k kernel code, 8004k reserved, 547k data, 136k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 32768 (order: 5, 131072 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: Common caps: 0383fbff c1c3fbff 00000000 00000000
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
Checking for popad bug... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: After generic, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: Common caps: 0383fbff c1c3fbff 00000000 00000000
CPU0: AMD Athlon(tm) XP 3000+ stepping 00
per-CPU timeslice cutoff: 1462.56 usecs.
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Error: only one processor found.
ENABLING IO-APIC IRQs
Setting 2 in the phys_id_present_map
...changing IO-APIC physical APIC ID to 2 ... ok.
init IO_APIC IRQs
IO-APIC (apicid-pin) 2-0, 2-3, 2-5, 2-10, 2-11, 2-17, 2-22 not connected.
..TIMER: vector=0x31 pin1=2 pin2=0
number of MP IRQ sources: 22.
number of IO-APIC #2 registers: 24.
testing the IO APIC.......................

IO APIC #2......
.... register #00: 02000000
....... : physical APIC id: 02
....... : Delivery Type: 0
....... : LTS : 0
.... register #01: 00178003
....... : max redirection entries: 0017
....... : PRQ implemented: 1
....... : IO APIC version: 0003
.... IRQ redirection table:
NR Log Phy Mask Trig IRR Pol Stat Dest Deli Vect:
00 000 00 1 0 0 0 0 0 0 00
01 001 01 0 0 0 0 0 1 1 39
02 001 01 0 0 0 0 0 1 1 31
03 000 00 1 0 0 0 0 0 0 00
04 001 01 0 0 0 0 0 1 1 41
05 000 00 1 0 0 0 0 0 0 00
06 001 01 0 0 0 0 0 1 1 49
07 001 01 0 0 0 0 0 1 1 51
08 001 01 0 0 0 0 0 1 1 59
09 001 01 0 0 0 0 0 1 1 61
0a 000 00 1 0 0 0 0 0 0 00
0b 000 00 1 0 0 0 0 0 0 00
0c 001 01 0 0 0 0 0 1 1 69
0d 001 01 0 0 0 0 0 1 1 71
0e 001 01 0 0 0 0 0 1 1 79
0f 001 01 0 0 0 0 0 1 1 81
10 001 01 1 1 0 1 0 1 1 89
11 000 00 1 0 0 0 0 0 0 00
12 001 01 1 1 0 1 0 1 1 91
13 001 01 1 1 0 1 0 1 1 99
14 001 01 1 1 0 1 0 1 1 A1
15 001 01 1 1 0 1 0 1 1 A9
16 000 00 1 0 0 0 0 0 0 00
17 001 01 1 1 0 1 0 1 1 B1
IRQ to pin mappings:
IRQ0 -> 0:2
IRQ1 -> 0:1
IRQ4 -> 0:4
IRQ6 -> 0:6
IRQ7 -> 0:7
IRQ8 -> 0:8
IRQ9 -> 0:9
IRQ12 -> 0:12
IRQ13 -> 0:13
IRQ14 -> 0:14
IRQ15 -> 0:15
IRQ16 -> 0:16
IRQ18 -> 0:18
IRQ19 -> 0:19
IRQ20 -> 0:20
IRQ21 -> 0:21
IRQ23 -> 0:23
.................................... done.
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 2158.0116 MHz.
..... host bus clock speed is 332.0017 MHz.
cpu: 0, clocks: 3320017, slice: 1660008
CPU0<T0:3320016,T1:1660000,D:8,S:1660008,C:3320017>
Waiting on wait_init_idle (map = 0x0)
All processors have done init_idle
PCI: PCI BIOS revision 2.10 entry at 0xfbd70, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router VIA [1106/3227] at 00:11.0
PCI->APIC IRQ transform: (B0,I10,P0) -> 18
PCI->APIC IRQ transform: (B0,I11,P0) -> 19
PCI->APIC IRQ transform: (B0,I15,P1) -> 20
PCI->APIC IRQ transform: (B0,I15,P0) -> 20
PCI->APIC IRQ transform: (B0,I16,P0) -> 21
PCI->APIC IRQ transform: (B0,I16,P0) -> 21
PCI->APIC IRQ transform: (B0,I16,P1) -> 21
PCI->APIC IRQ transform: (B0,I16,P1) -> 21
PCI->APIC IRQ transform: (B0,I16,P2) -> 21
PCI->APIC IRQ transform: (B0,I18,P0) -> 23
PCI->APIC IRQ transform: (B1,I0,P0) -> 16
PCI: Via IRQ fixup for 00:10.0, from 255 to 5
PCI: Via IRQ fixup for 00:10.1, from 255 to 5
PCI: Via IRQ fixup for 00:10.2, from 255 to 5
PCI: Via IRQ fixup for 00:10.3, from 255 to 5
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
pty: 256 Unix98 ptys configured
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
VP_IDE: IDE controller at PCI slot 00:0f.1
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt8237 (rev 00) IDE UDMA133 controller on pci00:0f.1
ide0: BM-DMA at 0xb400-0xb407, BIOS settings: hda:DMA, hdb:DMA
ide1: BM-DMA at 0xb408-0xb40f, BIOS settings: hdc:DMA, hdd:DMA
hda: SAMSUNG SP1604N, ATA DISK drive
hdb: IBM-DPTA-372050, ATA DISK drive
hdc: HP DVD Writer 300c, ATAPI CD/DVD-ROM drive
hdd: ASUS CD-S480/AH, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: host protected area => 1
hda: 312581808 sectors (160042 MB) w/2048KiB Cache, CHS=19457/255/63
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 40088160 sectors (20525 MB) w/1961KiB Cache, CHS=2495/255/63
ide-cd: passing drive hdc to ide-scsi emulation.
ide-cd: passing drive hdd to ide-scsi emulation.
hdc: attached ide-scsi driver.
hdd: attached ide-scsi driver.
Partition check:
hda: hda1 hda2
hdb: hdb1 hdb2 < hdb5 >
ide: late registration of driver.
Promise Fasttrak(tm) Softwareraid driver 0.03beta: No raid array found
Highpoint HPT370 Softwareraid driver for linux version 0.02
Guestimating sector 312560384 for superblock
Guestimating sector 40087135 for superblock
driver for Silicon Image(tm) Medley(tm) hardware version 0.0.1: No raid array found
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
Vendor: HP Model: DVD Writer 300c Rev: 9h04
Type: CD-ROM ANSI SCSI revision: 02
Vendor: ASUS Model: CD-S480/AH Rev: 0.87
Type: CD-ROM ANSI SCSI revision: 02
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
Attached scsi CD-ROM sr1 at scsi0, channel 0, id 1, lun 0
sr0: scsi3-mmc drive: 40x/40x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.12
sr1: scsi3-mmc drive: 48x/48x cd/rw xa/form2 cdda tray
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 144k freed
VFS: Mounted root (ext2 filesystem).
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,65), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 136k freed
Adding Swap: 489940k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,65), internal journal
Real Time Clock Driver v1.10e
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 01:17:44 Feb 4 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: USB UHCI at I/O 0xb800, IRQ 21
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xbc00, IRQ 21
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xc000, IRQ 21
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 3
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: USB UHCI at I/O 0xc400, IRQ 21
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 4
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Serial driver version 5.05c (2001-07-08) with MANY_PORTS SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
gameport0: Emu10k1 Gameport at 0x9400 size 8 speed 1217 kHz
via-rhine.c:v1.10-LK1.1.19 July-12-2003 Written by Donald Becker
http://www.scyld.com/network/via-rhine.html
eth0: VIA VT6102 Rhine-II at 0xea002000, 00:0e:a6:4b:77:4f, IRQ 23.
eth0: MII PHY found at address 1, status 0x786d advertising 05e1 Link 45e1.
NTFS driver v1.1.22 [Flags: R/W MODULE]
ttyS1: LSR safety check engaged!
ttyS1: LSR safety check engaged!
eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.
eth0: Setting full-duplex based on MII #1 link partner capability of 45e1.


any suggestions would be appreciated. I'm thinking of trying a different PCI slot in case it might solve some IRQ conflict, but at this point i'm just guessing and trying anything......

dzogchen
04-04-2004, 06:27 PM
here is a little more info - I ran /etc/init.d/alsa-autoconfig again and then insmod emu10k1 in hopes of getting mor einfo on the problem

The REALLY wierd thing is that on bootup, I see info on alsa and the emu10k1 module flash by on the screen - something like "module loaded with warnings" but I don't see any of that info in any logs that I look at!

My CD player can see the CDs, and they appear to play but there is no sound. Another wierd thing - i CAN play an mp3 that lives on the WinDoz side of my system....




root@GarabDorje:/home/michael# /etc/init.d/alsa-autoconfig
Preparing modules for alsa...
Building card database..
Configuring emu10k1...
Running update-modules...
Creating snddevices...
Setting default volumes...
root@GarabDorje:/home/michael# insmod emu10k1
Using /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol sound_unload_mididev
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_hw_control
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_panning
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol ac97_probe_codec
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol sound_alloc_mididev
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol ac97_alloc_codec
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_ioctl
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_start_note
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_kill_note
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol sequencer_init
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_devs
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_reset
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_aftertouch
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_close
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_set_instr
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_send_sysex
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_controller
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_bender
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol ac97_read_proc
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_open
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_setup_voice
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol midi_synth_load_patch
/lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: /lib/modules/2.4.24-xfs/kernel/drivers/sound/emu10k1/emu10k1.o: unresolved symbol ac97_release_codec

fingers99
04-04-2004, 06:27 PM
Could well be an irq issue. I'd try setting the bios to "non plug and play OS" and run

/etc/init.d/alsa-autoconfig

again.

Stephen
04-04-2004, 07:15 PM
You do not want the emu10k1 module loaded at all it will interfere with the alsa. If you have an onboard sound card then check to make sure that you have disabled it in the BIOS then try the alsa. You can also check in the /etc/modutils/alsa (it may be alsa1 in knoppix IIRC) and see if the settings are similar to this.



>$ cat /etc/modutils/alsa
### DEBCONF MAGIC
# This file was automatically generated by alsa-base's debconf stuff

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-emu10k1

alias snd-slot-0 snd-card-0
alias sound-slot-0 snd-slot-0


If you use lsmod then you should see similar to this when the alsa is in use.




>$ lsmod
Module Size Used by
snd_pcm_oss 48516 0
snd_mixer_oss 15936 2 snd_pcm_oss
nvidia 2070376 12
apm 15268 2
snd_emu10k1 63172 1
snd_rawmidi 19648 1 snd_emu10k1
snd_pcm 83520 2 snd_pcm_oss,snd_emu10k1
snd_timer 20928 1 snd_pcm
snd_seq_device 6596 2 snd_emu10k1,snd_rawmidi
snd_ac97_codec 54724 1 snd_emu10k1
snd_page_alloc 9540 2 snd_emu10k1,snd_pcm
snd_util_mem 3456 1 snd_emu10k1
snd_hwdep 7296 1 snd_emu10k1
snd 46468 10 snd_pcm_oss,snd_mixer_oss,snd_emu10k1,snd_rawmidi, snd_pcm,snd_timer,snd_seq_device,snd_ac97_codec,sn d_util_mem,snd_hwdep

[snip ..]



And lspci -v as root should show similar to this.



HappyTux:/home/stephen# lspci -v
[snip...]

00:0f.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 05)
Subsystem: Creative Labs CT4850 SBLive! Value
Flags: bus master, medium devsel, latency 64, IRQ 10
I/O ports at c400 [size=32]
Capabilities: [dc] Power Management version 1

00:0f.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 05)
Subsystem: Creative Labs Gameport Joystick
Flags: bus master, medium devsel, latency 64
I/O ports at dc00 [size=8]
Capabilities: [dc] Power Management version 1

[snip... ]


And have you gone into the Control Center in KDE and then Sound & Multimedia -> Sound System -> Hardware tab and changed the setting from Autodetect to ALSA then applied the changes the Autodetect seems not to work for me.

dzogchen
04-04-2004, 07:38 PM
I tried disabling PnP - didn't help - I then tried disabling the on-board sound, and that didn't work either. Looking at the info below and comparing it to Stephen's, the difference I see is that "Module used by" seems to be 0 on mine and a number on his

I didn't change the KDE control center stuff yet, I'm more of a fluxbox guy - for sound stuff I used XMMS (which worked fine on Live CD)

here's some more info: Note - this was run after turning off on-board sound

An interesting note is that the sound worked on the live CD with both cards enabled... and that info showed up in /etc/modutils/alsa-0.9-knoppix IIRC

lspci -v |more
00:0a.0 Multimedia audio controller: Creative Labs SB Live! EMU10k1 (rev 08)
Subsystem: Creative Labs CT4832 SBLive! Value
Flags: bus master, medium devsel, latency 32, IRQ 18
I/O ports at 9000 [size=32]
Capabilities: [dc] Power Management version 1

00:0a.1 Input device controller: Creative Labs SB Live! MIDI/Game Port (rev 08)
Subsystem: Creative Labs Gameport Joystick
Flags: bus master, medium devsel, latency 32
I/O ports at 9400 [size=8]
Capabilities: [dc] Power Management version 1





root@GarabDorje:/home/michael# lsmod
Module Size Used by Not tainted
parport_pc 24840 1 (autoclean)
lp 7492 0 (autoclean)
parport 22496 1 (autoclean) [parport_pc lp]
snd-pcm-oss 36804 0 (unused)
snd-mixer-oss 11088 0 [snd-pcm-oss]
autofs4 8756 0 (unused)
af_packet 13512 0
ntfs 50944 0 (unused)
msdos 4652 0 (unused)
nls_iso8859-1 2844 0 (unused)
nls_cp437 4348 0 (unused)
snd-emu10k1 62644 0
snd-pcm 57408 0 [snd-pcm-oss snd-emu10k1]
snd-timer 15044 0 [snd-pcm]
snd-hwdep 4576 0 [snd-emu10k1]
snd-util-mem 1168 0 [snd-emu10k1]
snd-page-alloc 5328 0 [snd-emu10k1 snd-pcm]
snd-ac97-codec 39852 0 [snd-emu10k1]
snd-rawmidi 12416 0 [snd-emu10k1]
snd-seq-device 3700 0 [snd-emu10k1 snd-rawmidi]
snd 29732 0 [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-hwdep snd-util-mem snd-ac97-codec snd-rawmidi snd-seq-device]
soundcore 3428 6 [snd]
via-rhine 12304 1
mii 2240 0 [via-rhine]
crc32 2816 0 [via-rhine]
emu10k1-gp 1224 0 (unused)
gameport 1388 0 [emu10k1-gp]
serial 51940 0
usb-uhci 21836 0 (unused)
usbcore 57824 0 [usb-uhci]
apm 9768 1
rtc 6940 0
ext3 63972 1
jbd 46164 1 [ext3]


and this:

root@GarabDorje:/etc/modutils# cat alsa-0.9-knoppix |more
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 0.9.0-knoppix ---
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
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_gid=29 device_mode=0660
options snd-emu10k1 index=0
# --- END: Generated by ALSACONF, do not edit. ---

fingers99
04-04-2004, 07:56 PM
One thing that worked for me (although the /etc/init.d/alsa-autoconfig stuff did too) and for Cuddles (where it seems to have solved some of the issues she had around ALSA) is to install from a CD booted with

boot: knoppix alsa

from a Konsole.

Why this works is beyond me............ :shock:

Stephen
04-04-2004, 07:57 PM
root@GarabDorje:/etc/modutils# cat alsa-0.9-knoppix |more
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 0.9.0-knoppix ---
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
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_gid=29 device_mode=0660
options snd-emu10k1 index=0
# --- END: Generated by ALSACONF, do not edit. ---

Even though it says do not edit I would put this in it anyway it is missing the /dev/dsp and snd-slot-0 aliases then run the update-modules again.


alias snd-slot-0 snd-card-0
alias /dev/dsp* snd-pcm-oss

dzogchen
04-04-2004, 08:14 PM
One thing that worked for me (although the /etc/init.d/alsa-autoconfig stuff did too) and for Cuddles (where it seems to have solved some of the issues she had around ALSA) is to install from a CD booted with

boot: knoppix alsa

from a Konsole.

Why this works is beyond me............ :shock:

That is what I did based on reading various threads.....

dzogchen
04-04-2004, 08:19 PM
Even though it says do not edit I would put this in it anyway it is missing the /dev/dsp and snd-slot-0 aliases then run the update-modules again.


alias snd-slot-0 snd-card-0
alias /dev/dsp* snd-pcm-oss


Did it, rebooted, didn't work

What about the Used by 0 issue (where yours reads used by 1 or 2) referred to in a previous post in relation to the lsmod command? I don't know what that implies.

Stephen
04-04-2004, 08:41 PM
Did it, rebooted, didn't work

What about the Used by 0 issue (where yours reads used by 1 or 2) referred to in a previous post in relation to the lsmod command? I don't know what that implies.

That tells you the module is in use. What does the lsmod command look like now was there any change? You should go into KDE and check to see if the sound works there just to make sure it is not fluxbox.

dzogchen
04-04-2004, 08:53 PM
That tells you the module is in use. What does the lsmod command look like now was there any change? You should go into KDE and check to see if the sound works there just to make sure it is not fluxbox.

Sending this from KDE - here is the message that showed up on startup (i had previously set the Kcontrol setting to ALSA)

Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (No such file or directory)
The sound server will continue, using the null output device.

here is the new lsmod - i don't see any changes:


michael@GarabDorje:~$ lsmod
Module Size Used by Not tainted
snd-seq 39536 0 (autoclean)
parport_pc 24840 1 (autoclean)
lp 7492 0 (autoclean)
parport 22496 1 (autoclean) [parport_pc lp]
snd-pcm-oss 36804 0
snd-mixer-oss 11088 0 [snd-pcm-oss]
autofs4 8756 0 (unused)
af_packet 13512 0
ntfs 50944 1
msdos 4652 0 (unused)
nls_iso8859-1 2844 1
nls_cp437 4348 0 (unused)
snd-emu10k1 62644 0
snd-pcm 57408 0 [snd-pcm-oss snd-emu10k1]
snd-timer 15044 0 [snd-seq snd-pcm]
snd-hwdep 4576 0 [snd-emu10k1]
snd-util-mem 1168 0 [snd-emu10k1]
snd-page-alloc 5328 0 [snd-emu10k1 snd-pcm]
snd-ac97-codec 39852 0 [snd-emu10k1]
snd-rawmidi 12416 0 [snd-emu10k1]
snd-seq-device 3700 0 [snd-seq snd-emu10k1 snd-rawmidi]
snd 29732 0 [snd-seq snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-hwdep snd-util-mem snd-ac97-codec snd-rawmidi snd-seq-device]
soundcore 3428 6 [snd]
via-rhine 12304 1
mii 2240 0 [via-rhine]
crc32 2816 0 [via-rhine]
emu10k1-gp 1224 0 (unused)
gameport 1388 0 [emu10k1-gp]
serial 51940 0
usb-uhci 21836 0 (unused)
usbcore 57824 0 [usb-uhci]
apm 9768 1
rtc 6940 0
ext3 63972 1
jbd 46164 1 [ext3]

Stephen
04-05-2004, 12:23 AM
Sending this from KDE - here is the message that showed up on startup (i had previously set the Kcontrol setting to ALSA)

Sound server informational message:
Error while initializing the sound driver:
device: default can't be opened for playback (No such file or directory)
The sound server will continue, using the null output device.

here is the new lsmod - i don't see any changes:


This one has me puzzled the only difference I can see between your card and mine is a higher revision number but the card number is lower and it is using a higher IRQ. Speaking of irq try when you boot at the lilo screen use Linux pci=biosirq change the linux for whatever the name of the kernel you will boot is as it appears on the screen if no lilo screen appears use the SHIFT key IIRC to get a boot: prompt where you can type it in you may also want to try noapic or noacpi here as well. That default line in the error above looks strange as well was there the option in hardware tab for you to select the EMU10K1 WaveTable mixer device? It seems like the devices are not getting created when you run the alsa-autoconfig. And just to be sure you are a member of the audio group to check use groups in a console window.

dzogchen
04-05-2004, 02:05 AM
Aargh

No luck - I tried your suggestion but no change.... I am now wondering if I should try to pull the SBLive and just use the onboard Via 88 chip -- my understanding is that it is supported

This has been my first Linux install in 2 years, and has been quite frustrating. My last was a libranet install that I migrated to Sid. I will end up migrating to Sid if I can ever get this running right.... To top it all off, I want to bag knx-alsa and use a standard setup so I can try jack and ardour, so this is not an auspicious beginning, if you know what I mean

Stephen
04-05-2004, 06:27 AM
Aargh

No luck - I tried your suggestion but no change.... I am now wondering if I should try to pull the SBLive and just use the onboard Via 88 chip -- my understanding is that it is supported

Well it is a possibility but the sblive should be supported too and it seems to not want to work, it can't hurt to try though.



This has been my first Linux install in 2 years, and has been quite frustrating. My last was a libranet install that I migrated to Sid. I will end up migrating to Sid if I can ever get this running right.... To top it all off, I want to bag knx-alsa and use a standard setup so I can try jack and ardour, so this is not an auspicious beginning, if you know what I mean

Yeah definitely know what you mean it is not a good start at all. Your probably better off with a proper setup for alsa hopefully you will not run into the same problem as you have now if you try it otherwise you are no further ahead you still will have to track it down.

dzogchen
04-05-2004, 02:20 PM
Update

I have some sound now - I can play music from the hard drive, both wav and mp3.

If i have XMMS preferences set to OSS, it works. Set to alsa, it doesn't, and complains about not finding a device (can't recall exact wording: at work now)

Neither one can access audio on CD - even though I can see the tracks. Maybe an fstab issue on that? or something in /dev?



Why would OSS work and not ALSA?

eris_pluvia
08-03-2004, 05:33 PM
Update

I have some sound now - I can play music from the hard drive, both wav and mp3.

If i have XMMS preferences set to OSS, it works. Set to alsa, it doesn't, and complains about not finding a device (can't recall exact wording: at work now)

Neither one can access audio on CD - even though I can see the tracks. Maybe an fstab issue on that? or something in /dev?

Why would OSS work and not ALSA?

I'm so desperate as you are. I saw the whole thread and your troubles are identical to mine for one year. The only difference is that I successed sooner in working PCM-sound.

I can't play midi. Moreover, 'amixer' and 'amidi -l' reports no soundcard is present !!! So, it's not about loading sound banks (loader does not find the card...) I've tried all the tricks thar people said to you...

Snif!

Eris Pluvia

Joe999
08-05-2004, 06:37 AM
I have a similar problem. Alsa works fine if I boot from cd, but on hdinstall, even after running autoconfig, no luck. Oddly, it works for me with an install of the very first (not ct) release of 3.4, but none of the 3.4's after that.