LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: rr19xx

声卡驱动ALSA安装指南-第三版=》03年06月08日更新

[复制链接]
 楼主| 发表于 2003-10-26 12:31:39 | 显示全部楼层

回复 lin_sir01

你是指gamix中的声音控制开关吗?它位于音量条下面,是个小方块。只有选中,它对应的声音控制项才会有声音。
 楼主| 发表于 2003-10-26 12:35:07 | 显示全部楼层

回复 firefox

请问你用来放MPG,AVI,ASF的软件是什么?mplayer?或xine?因为你其它都能听到声音,估计是你播放软件的设置问题。请正确设置声音输出插件。
 楼主| 发表于 2003-10-26 12:37:29 | 显示全部楼层

回复 harrytina

有可能是xmms的问题。请卸载rh带的xmms,到xmms官方网站下载相应的xmms1.2.8rpm包或源码包安装。
发表于 2003-10-26 12:58:36 | 显示全部楼层
我用的是alsamixer  谢谢 rr19xx帮助

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2003-10-27 09:14:23 | 显示全部楼层

怎样卸载声卡

已经装了alsa驱动,但是想换一个声卡,怎样作呢?
 楼主| 发表于 2003-10-27 13:34:14 | 显示全部楼层

回复 lin_sir01

alsamixer没有声音控制开关,当音量为0即静音,因此不必选择。我看你的抓图,应该能听到声音了啊。
 楼主| 发表于 2003-10-27 14:16:09 | 显示全部楼层

回复 harrytina

如果只想用一块声卡,那么先删除/etc/asound.state文件,然后执行alsaconf,重新配置声卡,选择你想用的声卡即可。
如果两块声卡均想使用,请先删除/etc/asound.state文件,然后按指南所说,手动编辑/etc/modules.conf文件即可。
发表于 2003-10-29 22:00:12 | 显示全部楼层
当我运行./alsaconf并配置后:
Loading driver...
Starting sound driver: snd-intel8x0 /lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.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.20-8/kernel/sound/pci/snd-intel8x0.o: insmod /lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o failed
/lib/modules/2.4.20-8/kernel/sound/pci/snd-intel8x0.o: insmod snd-intel8x0 failed
done
Setting default volumes...
Saving the mixer setup used for this in /etc/asound.state.
/usr/sbin/alsactl: save_state:1061: No soundcards found...
===============================================================================

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

Have a lot of fun!

如何解决?
P4PE板载AD1980声卡
dmesg后显示

Linux version 2.4.20-8 (root@localhost.localdomain) (gcc version 3.2.2 20030222 (Red Hat Linux 3.2.2-5)) #6 三 10月 29 17:00:26 CST 2003
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000000ffec000 (usable)
BIOS-e820: 000000000ffec000 - 000000000ffef000 (ACPI data)
BIOS-e820: 000000000ffef000 - 000000000ffff000 (reserved)
BIOS-e820: 000000000ffff000 - 0000000010000000 (ACPI NVS)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
255MB LOWMEM available.
On node 0 totalpages: 65516
zone(0): 4096 pages.
zone(1): 61420 pages.
zone(2): 0 pages.
Kernel command line: ro root=LABEL=/ hdc=ide-scsi
ide_setup: hdc=ide-scsi
Initializing CPU#0
Detected 2500.225 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 4993.84 BogoMIPS
Memory: 252516k/262064k available (1643k kernel code, 7116k reserved, 1122k data, 140k 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: Trace cache: 12K uops, L1 D cache: 8K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU:     After generic, caps: bfebfbff 00000000 00000000 00000000
CPU:             Common caps: bfebfbff 00000000 00000000 00000000
CPU: Intel(R) Celeron(R) CPU 2.00GHz stepping 07
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 0xf1e40, last bus=2
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: Ignoring BAR0-3 of IDE controller 00:1f.1
Transparent bridge - Intel Corp. 82801BA/CA/DB PCI Bridge
PCI: Using IRQ router PIIX [8086/24c0] 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
IA-32 Microcode Update Driver: v1.11 <tigran@veritas.com>
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
BIOS EDD facility v0.09 2003-Jan-22, 1 devices found
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
Journalled Block Device driver loaded
NTFS driver v1.1.22 [Flags: R/O]
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS0 at 0x03f8 (irq = 4) is a 16550A
ttyS1 at 0x02f8 (irq = 3) is a 16550A
Real Time Clock Driver v1.10e
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
NET4: Frame Diverter 0.46
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Uniform Multi-Platform E-IDE driver Revision: 7.00beta-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ICH4: IDE controller at PCI slot 00:1f.1
PCI: Found IRQ 9 for device 00:1f.1
PCI: Sharing IRQ 9 with 00:1d.2
ICH4: chipset revision 2
ICH4: not 100% native mode: will probe irqs later
    ide0: BM-DMA at 0xf000-0xf007, BIOS settings: hdaMA, hdb:pio
    ide1: BM-DMA at 0xf008-0xf00f, BIOS settings: hdcMA, hddMA
hda: ST380021A, ATA DISK drive
blk: queue c0434860, I/O limit 4095Mb (mask 0xffffffff)
hdc: LITE-ON LTR-48126S, ATAPI CD/DVD-ROM drive
hdd: ATAPI-CD ROM-DRIVE-52MAX, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: host protected area => 1
hda: 156301488 sectors (80026 MB) w/2048KiB Cache, CHS=9729/255/63, UDMA(100)
ide-floppy driver 0.99.newide
Partition check:
hda: hda1 hda2 < hda5 hda6 hda7 hda8 hda9 hda10 hda11 >
ide-floppy driver 0.99.newide
Intel 810 + AC97 Audio, version 0.24, 16:37:33 Oct 29 2003
PCI: Found IRQ 5 for device 00:1f.5
PCI: Setting latency timer of device 00:1f.5 to 64
i810: Intel ICH4 found at IO 0xb400 and 0xb800, MEM 0xf0800000 and 0xf0000000, IRQ 5
i810: Intel ICH4 mmio at 0xd080d000 and 0xd080f000
i810_audio: Primary codec has ID 0
i810_audio: Audio Controller supports 6 channels.
i810_audio: Defaulting to base 2 channel mode.
i810_audio: Resetting connection 0
i810_audio: Connection 0 with codec id 0
ac97_codec: AC97 Audio codec, id: ADS112 (Unknown)
i810_audio: AC'97 codec 0 supports AMAP, total channels = 6
I2O Core - (C) Copyright 1999 Red Hat Software
I2O: Event thread created as pid 11
Linux I2O PCI support (c) 1999 Red Hat Software.
i2o: Checking for PCI I2O controllers...
I2O configuration manager v 0.04.
  (C) Copyright 1999 Red Hat Software
I2O Block Storage OSM v0.9
   (c) Copyright 1999-2001 Red Hat Software.
i2o_block: Checking for Boot device...
i2o_block: Checking for I2O Block devices...
I2O LAN OSM (C) 1999 University of Helsinki.
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
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)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 83k freed
VFS: Mounted root (ext2 filesystem).
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Freeing unused kernel memory: 140k freed
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 11 for device 00:1d.7
PCI: Setting latency timer of device 00:1d.7 to 64
ehci-hcd 00:1d.7: Intel Corp. 82801DB USB EHCI Controller
ehci-hcd 00:1d.7: irq 11, pci mem d082c000
usb.c: new USB bus registered, assigned bus number 1
ehci-hcd 00:1d.7: enabled 64bit PCI DMA
PCI: 00:1d.7 PCI cache line size set incorrectly (0 bytes) by BIOS/FW.
PCI: 00:1d.7 PCI cache line size corrected to 128.
ehci-hcd 00:1d.7: USB 2.0 enabled, EHCI 1.00, driver 2003-Jan-22
hub.c: USB hub found
hub.c: 6 ports detected
usb-uhci.c: $Revision: 1.275 $ time 17:59:01 Mar 13 2003
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 10 for device 00:1d.0
PCI: Sharing IRQ 10 with 01:00.0
PCI: Setting latency timer of device 00:1d.0 to 64
usb-uhci.c: USB UHCI at I/O 0xd800, IRQ 10
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
PCI: Found IRQ 9 for device 00:1d.1
PCI: Setting latency timer of device 00:1d.1 to 64
usb-uhci.c: USB UHCI at I/O 0xd400, IRQ 9
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
PCI: Found IRQ 9 for device 00:1d.2
PCI: Sharing IRQ 9 with 00:1f.1
PCI: Setting latency timer of device 00:1d.2 to 64
usb-uhci.c: USB UHCI at I/O 0xd000, IRQ 9
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
usb.c: registered new driver hiddev
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
mice: PS/2 mouse device common for all mice
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,10), internal journal
Adding Swap: 530104k swap-space (priority -1)
hub.c: new USB device 00:1d.1-1, assigned address 2
input0: USB HID v1.10 Mouse [Logitech USB-PS/2 Optical Mouse] on usb3:2.0
hdd: ATAPI 52X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
SCSI subsystem driver Revision: 1.00
scsi0 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: LITE-ON   Model: LTR-48126S        Rev: 2S0D
  Type:   CD-ROM                             ANSI SCSI revision: 02
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
Attached scsi CD-ROM sr0 at scsi0, channel 0, id 0, lun 0
sr0: scsi3-mmc drive: 206x/48x writer cd/rw xa/form2 cdda tray
ip_tables: (C) 2000-2002 Netfilter core team
Broadcom 4401 Ethernet Driver bcm4400 ver. 1.0.1 (08/26/02)
divert: allocating divert_blk for eth0
PCI: Found IRQ 9 for device 02:05.0
eth0: Broadcom BCM4401 100Base-T found at mem f1000000, IRQ 9, node addr 00e018b98566
ip_tables: (C) 2000-2002 Netfilter core team
bcm4400: eth0 NIC Link is Down
bcm4400: eth0 NIC Link is Up, 10 Mbps half duplex
NETDEV WATCHDOG: eth0: transmit timed out
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
lp0: using parport0 (polling).
lp0: console ready
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
Intel ICH soundcard not found or device busy
 楼主| 发表于 2003-10-29 22:13:27 | 显示全部楼层

回复 功夫猫

请重启系统,然后执行lsmod,看alsa有否加载,如果没有,请删除/etc/asound.state文件,然后执行alsaconf,再次配置声卡。
发表于 2003-10-30 10:17:24 | 显示全部楼层
[root@localhost root]# lsmod
Module                  Size  Used by    Not tainted
snd                    43300   0  (unused)
parport_pc             19076   1  (autoclean)
lp                      8996   0  (autoclean)
parport                37056   1  (autoclean) [parport_pc lp]
autofs                 13268   0  (autoclean) (unused)
bcm4400                30848   1
sg                     36524   0  (autoclean)
sr_mod                 18136   0  (autoclean)
ide-scsi               12208   0
scsi_mod              107160   3  [sg sr_mod ide-scsi]
ide-cd                 35708   0
cdrom                  33728   0  [sr_mod ide-cd]
nls_cp936             124956   2  (autoclean)
keybdev                 2944   0  (unused)
mousedev                5492   1
hid                    22148   0  (unused)
input                   5856   0  [keybdev mousedev hid]
usb-uhci               26348   0  (unused)
ehci-hcd               19976   0  (unused)
usbcore                78784   1  [hid usb-uhci ehci-hcd]

另:/etc/asound.state文件不存在

另见:http://www.linuxsir.cn/bbs/showthread.php?threadid=70297
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表