LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1812|回复: 15

关于gentoo的声音问题[已解决]

[复制链接]
发表于 2005-1-2 12:39:37 | 显示全部楼层 |阅读模式
安装了两次,第一次是声音图标上有一个红叉,提示没有声音设备,第二次那个红叉没有
了,但用xmmx播放mp3没有声音,用realplayer播放也没有,很郁闷
我的声卡是板载的ac97,但在配置内核的时候没有找到,所以选了尽量多的支持
兄弟们指教该怎么解决
 楼主| 发表于 2005-1-2 12:48:50 | 显示全部楼层
#lspci
提示没有那个文件或目录
#dmesg
有以下输出
Linux version 2.6.9-gentoo-r1 (root@livecd) (gcc version 3.3.4 20040623 (Gento
o Linux 3.3.4-r1, ssp-3.3.2-2, pie-8.7.6)) #1 SMP Wed Dec 29 20:44:04 GMT 2004

BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 000000001fff0000 (usable)
BIOS-e820: 000000001fff0000 - 000000001fff3000 (ACPI NVS)
BIOS-e820: 000000001fff3000 - 0000000020000000 (ACPI data)
BIOS-e820: 00000000fec00000 - 00000000fec01000 (reserved)
BIOS-e820: 00000000fee00000 - 00000000fee01000 (reserved)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
511MB LOWMEM available.
found SMP MP-table at 000f4d10
On node 0 totalpages: 131056
  DMA zone: 4096 pages, LIFO batch:1
  Normal zone: 126960 pages, LIFO batch:16
  HighMem zone: 0 pages, LIFO batch:1
DMI 2.3 present.
ACPI: RSDP (v000 GBT                                   ) @ 0x000f6680
ACPI: RSDT (v001 GBT    AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1fff3000
ACPI: FADT (v001 GBT    AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1fff3040
ACPI: MADT (v001 GBT    AWRDACPI 0x42302e31 AWRD 0x01010101) @ 0x1fff7380
ACPI: DSDT (v001 GBT    AWRDACPI 0x00001000 MSFT 0x0100000c) @ 0x00000000
ACPI: Local APIC address 0xfee00000
ACPI: LAPIC (acpi_id[0x00] lapic_id[0x00] enabled)
Processor #0 6:10 APIC version 16
ACPI: LAPIC_NMI (acpi_id[0x00] dfl dfl lint[0x1])
ACPI: IOAPIC (id[0x02] address[0xfec00000] gsi_base[0])
IOAPIC[0]: apic_id 2, version 3, address 0xfec00000, GSI 0-23
ACPI: INT_SRC_OVR (bus 0 bus_irq 0 global_irq 2 dfl dfl)
ACPI: INT_SRC_OVR (bus 0 bus_irq 9 global_irq 9 low level)
ACPI: IRQ0 used by override.
ACPI: IRQ2 used by override.
ACPI: IRQ9 used by override.
Enabling APIC mode:  Flat.  Using 1 I/O APICs
Using ACPI (MADT) for SMP configuration information
Built 1 zonelists
Kernel command line: root=/dev/hda12 vga=792
Initializing CPU#0
CPU 0 irqstacks, hard=c0556000 soft=c054e000
PID hash table entries: 2048 (order: 11, 32768 bytes)
Detected 1836.386 MHz processor.
Using tsc for high-res timesource
Console: colour VGA+ 80x25
Dentry cache hash table entries: 131072 (order: 7, 524288 bytes)
Inode-cache hash table entries: 65536 (order: 6, 262144 bytes)
Memory: 513796k/524224k available (2959k kernel code, 9888k reserved, 1113k da
ta, 308k init, 0k highmem)
Checking if this processor honours the WP bit even in supervisor mode... Ok.

Calibrating delay loop... 3620.86 BogoMIPS (lpj=1810432)
Mount-cache hash table entries: 512 (order: 0, 4096 bytes)
CPU: After generic identify, caps: 0383fbff c1c3fbff 00000000 00000000
CPU: After vendor identify, caps:  0383fbff c1c3fbff 00000000 00000000
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 512K (64 bytes/line)
CPU: After all inits, caps:        0383fbff c1c3fbff 00000000 00000020
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
CPU0: AMD Athlon(tm) XP 2500+ stepping 00
per-CPU timeslice cutoff: 1462.88 usecs.
task migration cache decay timeout: 2 msecs.
Total of 1 processors activated (3620.86 BogoMIPS).
ENABLING IO-APIC IRQs
..TIMER: vector=0x31 pin1=2 pin2=-1
Brought up 1 CPUs
NET: Registered protocol family 16
EISA bus registered
PCI: PCI BIOS revision 2.10 entry at 0xfa0f0, last bus=1
PCI: Using configuration type 1
mtrr: v2.0 (20020519)
ACPI: Subsystem revision 20040816
ACPI: Interpreter enabled
ACPI: Using IOAPIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (00:00)
PCI: Probing PCI hardware (bus 00)
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Link [LNKA] (IRQs 1 3 4 5 6 7 *10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKB] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [LNKC] (IRQs 1 3 4 *5 6 7 10 11 12 14 15)
ACPI: PCI Interrupt Link [LNKD] (IRQs 1 3 4 5 6 7 10 *11 12 14 15)
ACPI: PCI Interrupt Link [ALKA] (IRQs 20) *0, disabled.
ACPI: PCI Interrupt Link [ALKB] (IRQs 21) *0, disabled.
ACPI: PCI Interrupt Link [ALKC] (IRQs 22) *0, disabled.
ACPI: PCI Interrupt Link [ALKD] (IRQs 23) *0, disabled.
Linux Plug and Play Support v0.97 (c) Adam Belay
SCSI subsystem initialized
Linux Kernel Card Services
  options:  [pci] [cardbus] [pm]
usbcore: registered new driver usbfs
usbcore: registered new driver hub
PCI: Using ACPI for IRQ routing
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 19 (level, low) -> IRQ 19
ACPI: PCI Interrupt Link [ALKA] BIOS reported IRQ 0, using IRQ 20
ACPI: PCI Interrupt Link [ALKA] enabled at IRQ 20
ACPI: PCI interrupt 0000:00:0f.0[A] -> GSI 20 (level, low) -> IRQ 20
ACPI: PCI Interrupt Link [ALKB] BIOS reported IRQ 0, using IRQ 21
ACPI: PCI Interrupt Link [ALKB] enabled at IRQ 21
ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 21
ACPI: PCI interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 21
ACPI: PCI interrupt 0000:00:10.2 -> GSI 21 (level, low) -> IRQ 21
ACPI: PCI interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 21
ACPI: PCI Interrupt Link [ALKC] BIOS reported IRQ 0, using IRQ 22
ACPI: PCI Interrupt Link [ALKC] enabled at IRQ 22
ACPI: PCI interrupt 0000:00:11.5[C] -> GSI 22 (level, low) -> IRQ 22
ACPI: PCI interrupt 0000:01:00.0[A] -> GSI 16 (level, low) -> IRQ 16
Machine check exception polling timer started.
audit: initializing netlink socket (disabled)
audit(1104431532.538:0): initialized
devfs: 2004-01-31 Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x1
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
NTFS driver 2.1.20 [Flags: R/O].
PCI: Via IRQ fixup for 0000:00:10.0, from 10 to 5
PCI: Via IRQ fixup for 0000:00:10.1, from 10 to 5
PCI: Via IRQ fixup for 0000:00:10.2, from 11 to 5
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
inotify init: minor=63
lp: driver loaded but no devices found
Linux agpgart interface v0.100 (c) Dave Jones
ACPI: Power Button (FF) [PWRF]
ACPI: Processor [CPU0] (supports C1)
serio: i8042 AUX port at 0x60,0x64 irq 12
serio: i8042 KBD port at 0x60,0x64 irq 1
Serial: 8250/16550 driver $Revision: 1.90 $ 14 ports, IRQ sharing disabled
ttyS0 at I/O 0x3f8 (irq = 4) is a 16550A
ttyS1 at I/O 0x2f8 (irq = 3) is a 16550A
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard on isa0060/serio0
input: ImPS/2 Generic Wheel Mouse on isa0060/serio1
parport0: PC-style at 0x378 [PCSPP(,...)]
lp0: using parport0 (polling).
Using anticipatory io scheduler
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
8139cp: 10/100 PCI Ethernet driver v1.2 (Mar 22, 2004)
8139cp: pci dev 0000:00:0b.0 (id 10ec:8139 rev 10) is not an 8139C+ compatible
chip
8139cp: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.27
ACPI: PCI interrupt 0000:00:0b.0[A] -> GSI 19 (level, low) -> IRQ 19
eth0: RealTek RTL8139 at 0xd000, 00:a1:b0:13:dc:7e, IRQ 19
eth0:  Identified 8139 chip type 'RTL-8100'
Uniform Multi-Platform E-IDE driver Revision: 7.00alpha2
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Probing IDE interface ide0...
hda: WDC WD800BB-00DKA0, ATA DISK drive
Probing IDE interface ide1...
hdc: ATAPI CDRW 52X32, ATAPI CD/DVD-ROM drive
hdd: DVD-ROM 16X, ATAPI CD/DVD-ROM drive
Probing IDE interface ide2...
ide2: Wait for ready failed before probe !
Probing IDE interface ide3...
ide3: Wait for ready failed before probe !
Probing IDE interface ide4...
ide4: Wait for ready failed before probe !
Probing IDE interface ide5...
ide5: Wait for ready failed before probe !
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: max request size: 1024KiB
hda: Host Protected Area detected.
        current capacity is 156299375 sectors (80025 MB)
        native  capacity is 156301488 sectors (80026 MB)
hda: 156299375 sectors (80025 MB) w/2048KiB Cache, CHS=16383/255/63
hda: cache flushes supported
/dev/ide/host0/bus0/target0/lun0: p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11 p12 >

hdc: ATAPI 52X CD-ROM CD-R/RW drive, 2048kB Cache
Uniform CD-ROM driver Revision: 3.20
hdd: ATAPI 50X DVD-ROM drive, 256kB Cache
libata version 1.02 loaded.
ieee1394: raw1394: /dev/raw1394 device initialized
Intel ISA PCIC probe: not found.
Device 'i823650' does not have a release() function, it is broken and must be
fixed.
Badness in device_release at drivers/base/core.c:85
[<c0211528>] kobject_cleanup+0x98/0xa0
[<c0211530>] kobject_release+0x0/0x10
[<c021191a>] kref_put+0x3a/0xa0
[<c021155e>] kobject_put+0x1e/0x30
[<c021155e>] kobject_put+0x1e/0x30
[<c0211530>] kobject_release+0x0/0x10
[<c0519a4a>] init_i82365+0x1ca/0x200
[<c02197ba>] pci_register_driver+0x7a/0xa0
[<c04fc99b>] do_initcalls+0x2b/0xc0
[<c010057c>] init+0x8c/0x1e0
[<c01004f0>] init+0x0/0x1e0
[<c01032d1>] kernel_thread_helper+0x5/0x14
Databook TCIC-2 PCMCIA probe: not found.
ACPI: PCI interrupt 0000:00:10.4[C] -> GSI 21 (level, low) -> IRQ 21
ehci_hcd 0000:00:10.4: VIA Technologies, Inc. USB 2.0
ehci_hcd 0000:00:10.4: irq 21, pci mem e080e000
ehci_hcd 0000:00:10.4: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:10.4: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 6 ports detected
USB Universal Host Controller Interface driver v2.2
ACPI: PCI interrupt 0000:00:10.0[A] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.0: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controlle
r
uhci_hcd 0000:00:10.0: irq 21, io base 0000d800
uhci_hcd 0000:00:10.0: new USB bus registered, assigned bus number 2
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:10.1[A] -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.1: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controlle
r (#2)
uhci_hcd 0000:00:10.1: irq 21, io base 0000dc00
uhci_hcd 0000:00:10.1: new USB bus registered, assigned bus number 3
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 2 ports detected
ACPI: PCI interrupt 0000:00:10.2 -> GSI 21 (level, low) -> IRQ 21
uhci_hcd 0000:00:10.2: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controlle
r (#3)
uhci_hcd 0000:00:10.2: irq 21, io base 0000e000
uhci_hcd 0000:00:10.2: new USB bus registered, assigned bus number 4
hub 4-0:1.0: USB hub found
hub 4-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
EISA: Probing bus 0 at eisa0
es1371: version v0.32 time 20:41:41 Dec 29 2004
Advanced Linux Sound Architecture Driver Version 1.0.6 (Sun Aug 15 07:17:53 20
04 UTC).
no UART detected at 0x1
MTVAP port 0x378 is busy
ALSA device list:
  #0: Dummy 1
  #1: Virtual MIDI Card 1
oprofile: using NMI interrupt.
NET: Registered protocol family 2
IP: routing cache hash table of 4096 buckets, 32Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
ip_conntrack version 2.1 (4095 buckets, 32760 max) - 304 bytes per conntrack

ip_tables: (C) 2000-2002 Netfilter core team
ipt_recent v0.3.1: Stephen Frost <sfrost@snowman.net>.  http://snowman.net/pro
jects/ipt_recent/
arp_tables: (C) 2002 David S. Miller
NET: Registered protocol family 1
NET: Registered protocol family 17
ACPI: (supports S0 S1 S4 S5)
ACPI wakeup devices:  
PCI0 USB0 USB1 USB2 USB6 USB7 USB8 USB9 LAN0 UAR1 LPT1  
EXT3-fs: mounted filesystem with ordered data mode.
VFS: Mounted root (ext3 filesystem) readonly.
kjournald starting.  Commit interval 5 seconds
Mounted devfs on /dev
Freeing unused kernel memory: 308k freed
Adding 771080k swap on /dev/hda11.  Priority:-1 extents:1
EXT3 FS on hda12, internal journal
Unable to load NLS charset cp936
FAT: codepage cp936 not found
NTFS-fs error (device hda5): parse_options(): Unrecognized mount option coedpa
ge.
NTFS-fs warning (device hda5): parse_options(): Option iocharset is deprecated
. Please use option nls=<charsetname> in the future.
Unable to load NLS charset gb2312
NTFS-fs error (device hda5): parse_options(): NLS character set gb2312 not fou
nd.
NTFS-fs warning (device hda6): parse_options(): Option iocharset is deprecated
. Please use option nls=<charsetname> in the future.
Unable to load NLS charset gb18030
NTFS-fs error (device hda6): parse_options(): NLS character set gb18030 not fo
und.
Unable to load NLS charset cp936
NTFS-fs error (device hda7): parse_options(): NLS character set cp936 not foun
d.
NTFS-fs warning (device hda8): parse_options(): Option utf8 is no longer suppo
rted, using option nls=utf8. Please use option nls=utf8 in the future and make
sure utf8 is compiled either as a module or into the kernel.
Unable to load NLS charset utf8
NTFS-fs error (device hda8): parse_options(): NLS character set utf8 not found
.
NTFS-fs warning (device hda9): parse_options(): Option iocharset is deprecated
. Please use option nls=<charsetname> in the future.
Unable to load NLS charset gb2312
NTFS-fs error (device hda9): parse_options(): NLS character set gb2312 not fou
nd.
eth0: link up, 10Mbps, half-duplex, lpa 0x0000
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: bad data from KBC - timeout
psmouse.c: Wheel Mouse at isa0060/serio1/input0 lost synchronization, throwing
3 bytes away.

兄弟们帮忙啊
发表于 2005-1-2 13:28:16 | 显示全部楼层
 楼主| 发表于 2005-1-2 20:53:28 | 显示全部楼层
我是按这里做的http://gentoo.linuxsir.cn/doc/cn/alsa-guide.xml
但还是不行啊,我的声卡是主板集成的ac97,在配置ALSA时该怎么写啊
#nano -w /etc/modules.d/alsa
alias snd-card-0 snd-via82xx
via82xx用什么代替呢
大哥兄弟们帮忙看一下啊
发表于 2005-1-2 21:28:13 | 显示全部楼层
楼主先把静音关了先。
发表于 2005-1-2 21:57:06 | 显示全部楼层
# lspci | grep -i audio
显示什么?
 楼主| 发表于 2005-1-2 22:03:58 | 显示全部楼层
Post by hutigers
楼主先把静音关了先。


我确定没有处在静音状态下
 楼主| 发表于 2005-1-2 22:06:01 | 显示全部楼层
Post by kohno
# lspci | grep -i audio
显示什么?

# lspci | grep -i audio
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 60)
发表于 2005-1-2 22:28:45 | 显示全部楼层
Post by saint02
在配置ALSA时该怎么写啊
#nano -w /etc/modules.d/alsa
alias snd-card-0 snd-via82xx
via82xx用什么代替呢

试试snd-intel8x0
 楼主| 发表于 2005-1-2 22:40:44 | 显示全部楼层
Post by kohno
试试snd-intel8x0


但用 lspci | grep -i audio不是显示是VIA Technologies, Inc. VT8233 AC97 Audio Controller 吗

今天还emerge了一下alsa-drivers,刚才再用 lspci
# lspci
0000:00:00.0 Host bridge: VIA Technologies, Inc. VT8377 [KT400 AGP] Host Bridge (rev 80)
0000:00:01.0 PCI bridge: VIA Technologies, Inc.: Unknown device b198
0000:00:0b.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
0000:00:0f.0 IDE interface: VIA Technologies, Inc. VT82C586/B/686A/B PIPC Bus Master IDE (rev 06)
0000:00:10.0 USB Controller: VIA Technologies, Inc. USB (rev 81)
0000:00:10.1 USB Controller: VIA Technologies, Inc. USB (rev 81)
0000:00:10.2 USB Controller: VIA Technologies, Inc. USB (rev 81)
0000:00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
0000:00:11.0 ISA bridge: VIA Technologies, Inc.: Unknown device 3227
0000:00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233 AC97 Audio Controller (rev 60)
0000:01:00.0 VGA compatible controller: nVidia Corporation: Unknown device 0322 (rev a1)
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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