Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sound Card Not Supported
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
fender1212
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 165

PostPosted: Tue Oct 12, 2004 5:45 am    Post subject: Sound Card Not Supported Reply with quote

I have an Ensoniq 5880 Audio PCI sound card, but the kernel doesn't specifically support this (am currently not getting any sound) i compiled it with support for the only two Ensoniq cards that they supported but that didn;t do anything, and i really don't want to enable pci hotplugging, so any help would be most appreciated
Back to top
View user's profile Send private message
pjp
Administrator
Administrator


Joined: 16 Apr 2002
Posts: 20585

PostPosted: Tue Oct 12, 2004 5:54 am    Post subject: Reply with quote

Moved from Other Things Gentoo.
_________________
Quis separabit? Quo animo?
Back to top
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Tue Oct 12, 2004 6:48 am    Post subject: Reply with quote

On my system lspci -v:

Code:
...
0000:00:0d.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 02)
        Subsystem: Ensoniq Creative Sound Blaster AudioPCI128
        Flags: bus master, slow devsel, latency 32, IRQ 9
        I/O ports at 9400
        Capabilities: [dc] Power Management version 1
...



It uses the 'snd_ens1371' driver (vanilla-kernel 2.6.7)!
Back to top
View user's profile Send private message
fender1212
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 165

PostPosted: Tue Oct 12, 2004 10:28 pm    Post subject: Reply with quote

well i compiled my kernel with the ensoniq1371 driver, but i don't get sound at all. where is that code from?
Back to top
View user's profile Send private message
fender1212
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 165

PostPosted: Wed Oct 13, 2004 12:56 am    Post subject: Reply with quote

whoops sorry didn't read the first line, well heres my lspci -v:

0000:00:0f.0 Multimedia audio controller: Ensoniq 5880 AudioPCI (rev 04)
Subsystem: Ensoniq Sound Blaster 16PCI 4.1ch
Flags: bus master, slow devsel, latency 96, IRQ 5
I/O ports at 1040
Capabilities: [dc] Power Management version 2
Back to top
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Wed Oct 13, 2004 7:17 am    Post subject: Reply with quote

I search the forum, with google and google groups. All I found was that it should work with one of the two Ensoniq drivers (ens1370/ens1371).

Please bring your system up and do a modprobe snd-ens1370/modprobe snd-ens1371. Are there any error messages.
Look into your syslog and try dmesg. Post any messages you get relating to sound.

If you can't get it to work shutdown your computer and have a closer look to your soundcard. Hope you can find the name of the soundchip.
Back to top
View user's profile Send private message
fender1212
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 165

PostPosted: Wed Oct 13, 2004 2:58 pm    Post subject: Reply with quote

alright well i did modprobe and

Code:

bash-2.05b# modprobe snd-ens1371
FATAL: Module snd_ens1371 not found.
bash-2.05b# modprobe snd-ens1370
FATAL: Module snd_ens1370 not found.
bash-2.05b#

but i double checked and i know i compiled the kernel with support for snd-ens1371 driver, so just to make sure i recompiled the kernel with support again, and it gave me the same error, so i did dmesg and here it is

Code:

Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
via-rhine.c:v1.10-LK1.1.20-2.6 May-23-2004 Written by Donald Becker
PCI: Enabling device 0000:00:0d.0 (0114 -> 0117)
PCI: Found IRQ 11 for device 0000:00:0d.0
PCI: Sharing IRQ 11 with 0000:01:00.0
eth0: VIA VT86C100A Rhine at 0x1080, 00:50:ba:c3:f4:9f, IRQ 11.
eth0: MII PHY found at address 8, status 0x782d advertising 05e1 Link 40a1.
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
PIIX4: IDE controller at PCI slot 0000:00:07.1
PIIX4: chipset revision 1
PIIX4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0x1000-0x1007, BIOS settings: hda:DMA, hdb:pio
    ide1: BM-DMA at 0x1008-0x100f, BIOS settings: hdc:pio, hdd:DMA
hda: Maxtor 91728D8, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hdc: TOSHIBA DVD-ROM SD-M1202, ATAPI CD/DVD-ROM drive
hdd: HL-DT-ST GCE-8525B, ATAPI CD/DVD-ROM drive
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 128KiB
hda: 33750864 sectors (17280 MB) w/512KiB Cache, CHS=33483/16/63, UDMA(33)
 /dev/ide/host0/bus0/target0/lun0: p1 p2 p3
hdc: ATAPI 32X DVD-ROM drive, 256kB Cache, DMA
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache, UDMA(33)
libata version 1.02 loaded.
ieee1394: raw1394: /dev/raw1394 device initialized
USB Universal Host Controller Interface driver v2.2
PCI: Found IRQ 9 for device 0000:00:07.2
uhci_hcd 0000:00:07.2: Intel Corp. 82371AB/EB/MB PIIX4 USB
uhci_hcd 0000:00:07.2: irq 9, io base 00001020
uhci_hcd 0000:00:07.2: new USB bus registered, assigned bus number 1
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
usbcore: registered new driver usblp
drivers/usb/class/usblp.c: v0.13: USB Printer Device Class driver
Initializing USB Mass Storage driver...
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
usbcore: registered new driver usbhid
drivers/usb/input/hid-core.c: v2.0:USB HID core driver
Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17 14:31:44 2004
 UTC).
PCI: Enabling device 0000:00:0f.0 (0104 -> 0105)
PCI: Found IRQ 5 for device 0000:00:0f.0
ALSA device list:
  #0: Ensoniq AudioPCI ENS1371 at 0x1040, irq 5
oprofile: using timer interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
ip_conntrack version 2.1 (768 buckets, 6144 max) - 296 bytes per conntrack
ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>.  http://snowman.net/proje
cts/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
ReiserFS: hda3: found reiserfs format "3.6" with standard journal
ReiserFS: hda3: using ordered data mode
ReiserFS: hda3: journal params: device hda3, size 8192, journal first block 18,
max trans len 1024, max batch 900, max commit age 30, max trans age 30
ReiserFS: hda3: checking transaction log (hda3)
ReiserFS: hda3: Using r5 hash to sort names
VFS: Mounted root (reiserfs filesystem) readonly.
Mounted devfs on /dev
Freeing unused kernel memory: 400k freed
Adding 506036k swap on /dev/hda2.  Priority:-1 extents:1
nvidia: module license 'NVIDIA' taints kernel.
0: nvidia: loading NVIDIA Linux x86 NVIDIA Kernel Module  1.0-5336  Wed Jan 14 1
8:29:26 PST 2004
agpgart: Found an AGP 1.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V2 device at 0000:00:00.0 into 2x mode
agpgart: Putting AGP V2 device at 0000:01:00.0 into 2x mode
bash-2.05b#


so i guess it's loading the ens1371 driver, or adding it to a list or something?????? again any help here would be greatly appreciated
Back to top
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Wed Oct 13, 2004 3:30 pm    Post subject: Reply with quote

Code:
...
Advanced Linux Sound Architecture Driver Version 1.0.4 (Mon May 17 14:31:44 2004
 UTC).
PCI: Enabling device 0000:00:0f.0 (0104 -> 0105)
PCI: Found IRQ 5 for device 0000:00:0f.0
ALSA device list:
  #0: Ensoniq AudioPCI ENS1371 at 0x1040, irq 5


Ok your card seems to be recognized by the kernel!
I guess you cannot load the modules because you compiled the support for it into the kernel and NOT as module. There should be no problem! :-)


Code:
$ cat /proc/asound/cards
0 [AudioPCI       ]: ENS1371 - Ensoniq AudioPCI
                     Ensoniq AudioPCI ENS1371 at 0xd000, irq 10

$ emerge alsa-utils
...
$ /etc/init.d/alsasound start

$ alsamixer

$ aplay /usr/share/sounds/alsa/test.wav


May be a helpful guide: http://www.gentoo.org/doc/en/alsa-guide.xml
Back to top
View user's profile Send private message
fender1212
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 165

PostPosted: Thu Oct 14, 2004 10:56 pm    Post subject: Reply with quote

alright i typed the first thing and got

Code:

bash-2.05b# /etc/init.d/alsasound start
 * ALSA Detected...
 * Restoring Mixer Levels
 * No mixer config in /etc/asound.state, you have to unmute your card!    [ ok ]


i have no clue how to unmute my sound card, anyway, i continued and typed alsamixer, and got

Code:

lqqqqqqqqqqqqqqqqqqq[AlsaMixer v1.0.6 (Press Escape to quit)]qqqqqqqqqqqqqqqqqqk
x Card: Ensoniq AudioPCI                                                       x
x Chip: SigmaTel STAC9708/11                                                   x
x Item: Master [Off]                                                           x
x                                                                              x
x                                                                              x
x    lMMk     lMMk      lMMk     lqqk     lqqk      lMMk              lMMk     x
x    x  x     x  x      x  x     x  x     x  x      x  x              x  x     x
x    x  x     x  x      x  x     x  x     x  x      x  x              x  x     x
x    x  x     x  x      x  x     x  x     x  x      x  x              x  x     x
x    x  x     x  x      x  x     x  x     x  x      x  x              x  x     x
x    x  x     x  x      x  x     x  x     x  x      x  x              x  x     x
x    x  x     x  x      x  x     x  x     x  x      x  x              x  x     x
x    x  x     x  x      x  x     x  x     x  x      x  x              x  x     x
x    x  x     x  x      x  x     x  x     x  x      x  x              x  x     x
x    x  x     x  x      x  x     x  x     x  x      x  x    pre 3D    x  x     x
x    x  x     x  x      x  x     x  x     x  x      x  x              x  x     x
x    x  x     x  x      x  x     x  x     x  x      x  x              x  x     x
x    x  x     x  x      x  x     x  x     x  x      x  x              x  x     x
x    mqqj     mqqj      mqqj     mqqj     mqqj      mqqj              mqqj     x
x    0<>0       0                  0        0       0<>0              0<>0     x
x < Master >Master M  3D Contr 3D Contr 3D Contr    PCM    PCM Out  Surround   x
x                                                                              x
mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj


this showed that my master was off, yet i failed to figure out how to turn it on. again any help would be appreciated
Back to top
View user's profile Send private message
hecatomb
Guru
Guru


Joined: 02 Sep 2004
Posts: 525

PostPosted: Fri Oct 15, 2004 5:39 am    Post subject: Reply with quote

There exist helpful things under linux called man-pages. :-)

Code:
$ man alsamixer
...
       M  toggles  muting  for the current channel (both left and
       right). You can mute left and right independently by using
       , (or <) and
...
Back to top
View user's profile Send private message
blueillusion
Tux's lil' helper
Tux's lil' helper


Joined: 17 Jun 2004
Posts: 138

PostPosted: Fri Oct 15, 2004 7:34 am    Post subject: Reply with quote

this is one of the first pages i looked at RIGHT after i installed my first gentoo install:
http://www.gentoo.org/doc/en/alsa-guide.xml
Back to top
View user's profile Send private message
fender1212
Apprentice
Apprentice


Joined: 20 Sep 2004
Posts: 165

PostPosted: Sun Oct 17, 2004 6:15 pm    Post subject: Reply with quote

alright it's all working perfect, thanks for all the help
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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