Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
ALSA Problem (Device not found when using recommended Driver
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
Cyris
n00b
n00b


Joined: 17 Apr 2002
Posts: 68
Location: Texas

PostPosted: Sat Feb 26, 2005 6:23 am    Post subject: ALSA Problem (Device not found when using recommended Driver Reply with quote

Below is what my system tells me I have so I configure my kernel to have that card builtin to it.


Code:
kilo root # lspci | grep -i audio
0000:02:0a.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97] (rev 09)
kilo root #


Then I edit my make.conf file with the ens1371 driver that the ALSA database tells me to use.

Then I installed alsa and alsa-utils. Followed the instructions to a "T" but when I try and start alsa up I get this error.

Code:
kilo root # /etc/init.d/alsasound start
 * Loading ALSA modules...
 *   Loading: snd-card-0...
/lib/modules/2.4.28-gentoo-r5/kernel/sound/pci/snd-ens1371.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.28-gentoo-r5/kernel/sound/pci/snd-ens1371.o: insmod /lib/modules/2.4.28-gentoo-r5/kernel/sound/pci/snd-ens1371.o failed
/lib/modules/2.4.28-gentoo-r5/kernel/sound/pci/snd-ens1371.o: insmod snd-card-0 failed                                                                    [ !! ]
 *   Loading: snd-mixer-oss...                                            [ ok ]
 *   Loading: snd-pcm-oss...                                              [ ok ]
 *   Loading: snd-seq-oss...                                              [ ok ]
 * ERROR: Failed to load necessary drivers                                [ ok ]
 * Restoring Mixer Levels...
 * No mixer config in /etc/asound.state, you have to unmute your card!    [ ok
]kilo root #


What am I doing wrong. How can it not find the device when it so obviiously is there.
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Sat Feb 26, 2005 10:56 am    Post subject: Reply with quote

So what's in dmesg...
Unless you're using openmosix, I can't think why you'd want a 2.4 kernel. I would recommend 2.6.10-ck5. I imagine it will simply work if you upgrade to a 2.6 kernel.
Back to top
View user's profile Send private message
Revellion
Tux's lil' helper
Tux's lil' helper


Joined: 14 Sep 2004
Posts: 87
Location: Sweden

PostPosted: Sat Feb 26, 2005 3:06 pm    Post subject: Reply with quote

well first of all the alsasound script is 100% redundant when you have your soundcard driver as builtin, only thing you might need is additions to 2 files in /etc/conf.d (i use my emu10k1 as builtin ;) )

/etc/conf.d/local.start
Code:
alsactl restore


/etc/conf.d/local.stop
Code:
alsactl store


or if you wanna be nicer you can make a init script instead for it, but this is the quick and dirty 99% working solution ;)
_________________
Gentoo 2006.0 + NPTL + 2.6.15-r1-sources + gcc 3.4.4 100% built. glibc 2.3.5.
Back to top
View user's profile Send private message
Cyris
n00b
n00b


Joined: 17 Apr 2002
Posts: 68
Location: Texas

PostPosted: Sat Feb 26, 2005 3:56 pm    Post subject: Reply with quote

Well, I tried your suggestion first Revelliion, but I still get no soundcard found on boot up. I am going to upgrade my kernel today and leave my card unchecked in the config and see what that does. Thanks for the replies folks.

Here is the output from dmesg
Code:

Linux version 2.4.28-gentoo-r5 (root@livecd) (gcc version 3.3.4 20040623 (Gentoo Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)) #2 Fri Feb 11 22:56:58 Local time zone must be set--see zic manu
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000e0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000000ffc0000 (usable)
 BIOS-e820: 000000000ffc0000 - 000000000fff8000 (ACPI data)
 BIOS-e820: 000000000fff8000 - 0000000010000000 (ACPI NVS)
 BIOS-e820: 00000000ffb80000 - 00000000ffc00000 (reserved)
 BIOS-e820: 00000000fff00000 - 0000000100000000 (reserved)
255MB LOWMEM available.
On node 0 totalpages: 65472
zone(0): 4096 pages.
zone(1): 61376 pages.
zone(2): 0 pages.
Kernel command line: root=/dev/hdb4 vga=791
Initializing CPU#0
Detected 996.696 MHz processor.
Console: colour dummy device 80x25
Calibrating delay loop... 1985.74 BogoMIPS
Memory: 255596k/261888k available (2012k kernel code, 5904k reserved, 322k data, 136k init, 0k highmem)
Dentry cache hash table entries: 32768 (order: 6, 262144 bytes)
Inode cache hash table entries: 16384 (order: 5, 131072 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 65536 (order: 6, 262144 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: 0383f9ff 00000000 00000000 00000000
CPU:             Common caps: 0383f9ff 00000000 00000000 00000000
CPU: Intel Pentium III (Coppermine) stepping 0a
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfda95, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Probing PCI hardware (bus 00)
Transparent bridge - Intel Corp. 82801BA/CA/DB/EB PCI Bridge
PCI: Using IRQ router PIIX/ICH [8086/2440] at 00:1f.0
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
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
vesafb: framebuffer at 0xf2000000, mapped to 0xd0800000, size 3072k
vesafb: mode is 1024x768x16, linelength=2048, pages=0
vesafb: protected mode interface info at c000:0393
vesafb: scrolling: redraw
vesafb: directcolor: size=0:5:6:5, shift=0:11:5:0
Console: switching to colour frame buffer device 128x48
fb0: VESA VGA frame buffer device
pty: 256 Unix98 ptys configured
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
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
loop: loaded (max 8 devices)
Linux agpgart interface v0.99 (c) Jeff Hartmann
agpgart: Maximum main memory to use for agp memory: 203M
agpgart: agpgart: Detected an Intel i815, but could not find the secondary device. Assuming a non-integrated video card.
agpgart: Detected Intel i815 chipset
agpgart: AGP aperture is 64M @ 0xf8000000
[drm] Initialized tdfx 1.0.0 20010216 on minor 0
[drm] AGP 0.99 Aperture @ 0xf8000000 64MB
[drm] Initialized radeon 1.7.0 20020828 on minor 1
[drm] AGP 0.99 Aperture @ 0xf8000000 64MB
[drm] Initialized i810 1.2.1 20020211 on minor 2
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH2: IDE controller at PCI slot 00:1f.1
ICH2: chipset revision 2
ICH2: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xffa0-0xffa7, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xffa8-0xffaf, BIOS settings: hdc:DMA, hdd:DMA
hda: ST320410A, ATA DISK drive
hdb: ST380011A, ATA DISK drive
blk: queue c03eb120, I/O limit 4095Mb (mask 0xffffffff)
blk: queue c03eb260, I/O limit 4095Mb (mask 0xffffffff)
hdc: PCRW804, ATAPI CD/DVD-ROM drive
hdd: DVDROM 10X, 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: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=2434/255/63, UDMA(100)
hdb: attached ide-disk driver.
hdb: host protected area => 1
hdb: 156250000 sectors (80000 MB) w/2048KiB Cache, CHS=9726/255/63, UDMA(100)
hdc: attached ide-cdrom driver.
hdc: ATAPI 32X CD-ROM CD-R/RW drive, 2048kB Cache, DMA
Uniform CD-ROM driver Revision: 3.12
hdd: attached ide-cdrom driver.
hdd: ATAPI DVD-ROM drive, 512kB Cache, UDMA(33)
Partition check:
 /dev/ide/host0/bus0/target0/lun0: p1
 /dev/ide/host0/bus0/target1/lun0: p1 p2 p3 p4
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2
es1371: version v0.32 time 22:43:55 Feb 11 2005
es1371: found chip, vendor id 0x1274 device id 0x1371 revision 0x09
es1371: found es1371 rev 9 at io 0xdf00 irq 11
es1371: features: joystick 0x0
ac97_codec: AC97 Audio codec, id: CRY20 (Cirrus Logic CS4297A rev B)
Linux Kernel Card Services 3.1.22
  options:  [pci] [cardbus] [pm]
usb.c: registered new driver hub
host/uhci.c: USB Universal Host Controller Interface driver v1.1
PCI: Found IRQ 3 for device 00:1f.2
PCI: Setting latency timer of device 00:1f.2 to 64
host/uhci.c: USB UHCI at I/O 0xef40, IRQ 3
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 9 for device 00:1f.4
PCI: Setting latency timer of device 00:1f.4 to 64
host/uhci.c: USB UHCI at I/O 0xef80, IRQ 9
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver hid
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
usb.c: registered new driver usbscanner
scanner.c: 0.4.16:USB Scanner Driver
Initializing USB Mass Storage driver...
usb.c: registered new driver usb-storage
USB Mass Storage support registered.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 16384 bind 32768)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
ds: no socket drivers loaded!
reiserfs: found format "3.6" with standard journal
reiserfs:warning: CONFIG_REISERFS_CHECK is set ON
reiserfs:warning: - it is slow mode for debugging.
reiserfs: checking transaction log (device ide0(3,68)) ...
for (ide0(3,68))
ide0(3,68): journal-1153: found in header: first_unflushed_offset 394, last_flushed_trans_id 15487
ide0(3,68): journal-1206: Starting replay from offset 394, trans_id 15488
ide0(3,68): journal-1299: Setting newest_mount_id to 21
ide0(3,68):Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 136k freed
Adding Swap: 979956k swap-space (priority -1)
3c59x: Donald Becker and others. www.scyld.com/network/vortex.html
See Documentation/networking/vortex.txt
02:0b.0: 3Com PCI 3c905C Tornado at 0xdc00. Vers LK1.1.18-ac
 00:04:76:39:ae:9d, IRQ 9
  product code 5058 rev 00.14 date 07-17-01
  Internal config register is 1800000, transceivers 0xa.
  8K byte-wide RAM 5:3 Rx:Tx split, autoselect/Autonegotiate interface.
  MII transceiver found at address 24, status 782d.
  Enabling bus-master transmits and whole-frame receives.
02:0b.0: scatter/gather enabled. h/w checksums enabled
Back to top
View user's profile Send private message
Revellion
Tux's lil' helper
Tux's lil' helper


Joined: 14 Sep 2004
Posts: 87
Location: Sweden

PostPosted: Sat Feb 26, 2005 4:08 pm    Post subject: Reply with quote

oh sorry, i thought you only had the problems with the volume, curse my ignorance :(

well in the dmesg i see no ALSA at all, from my dmesg in the relevant part it says

Code:
Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 2004 UTC).
ACPI: PCI interrupt 0000:02:03.0[A] -> GSI 3 (level, low) -> IRQ 3
ALSA device list:
  #0: Sound Blaster Audigy2 (rev.4) at 0xd000, irq 3


You do have ALSA + the driver as builtin right?

judging from your dmsg output it seems you don't got ALSA built into your kernel :\
_________________
Gentoo 2006.0 + NPTL + 2.6.15-r1-sources + gcc 3.4.4 100% built. glibc 2.3.5.
Back to top
View user's profile Send private message
thebigslide
l33t
l33t


Joined: 23 Dec 2004
Posts: 792
Location: under a car or on top of a keyboard

PostPosted: Sun Feb 27, 2005 5:54 am    Post subject: Reply with quote

The reason alsa isn't in the kernel is because it isn't built in. It's not part of the 2.4 kernels, only the 2.6. Please upgrade your kernel to 2.6.x if you want the alsa drivers built in.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum