LinuxSir.cn,穿越时空的Linuxsir!

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

alsa时好时坏,不知道是怎么一回事

[复制链接]
发表于 2009-3-19 09:44:25 | 显示全部楼层 |阅读模式
受不了xfs的速度,重新装了一遍系统,改用ext4,但是声音总是有问题,有的时候启动有声音,有时没有,也没显示啥错误,alsamixer也能用,就是没法改音量,好奇怪啊,原来的系统下面是好好的啊,还有在X下面老显示:Xlib:  extension "Generic Event Extension" missing on display ":0.0".但又不影响使用
发表于 2009-3-19 10:44:36 | 显示全部楼层
这个提示应该问题不大,我原来也出现这提示的,后来不管它,现在又没了
再安装个pulseaudio比较好,这样就可以混音了,如一边听音乐,一边看视频。
回复 支持 反对

使用道具 举报

发表于 2009-3-19 11:26:24 | 显示全部楼层
Post by autumnc;1963035
受不了xfs的速度,重新装了一遍系统,改用ext4,但是声音总是有问题,有的时候启动有声音,有时没有,也没显示啥错误,alsamixer也能用,就是没法改音量,好奇怪啊,原来的系统下面是好好的啊,还有在X下面老显示:Xlib:  extension "Generic Event Extension" missing on display ":0.0".但又不影响使用


Xlib:  extension "Generic Event Extension" missing on display ":0.0"
这个问题我也一直有,我去老外的论坛看了下,说这是一个waring.正常,等以后升级就好了。
回复 支持 反对

使用道具 举报

发表于 2009-3-19 11:54:13 | 显示全部楼层
楼主和我遇到了一样的问题,rc.conf改一下就行了,把你的贴上来,我帮你改~~~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-19 14:24:10 | 显示全部楼层
#
# /etc/rc.conf - Main Configuration for Arch Linux
#

# -----------------------------------------------------------------------
# LOCALIZATION
# -----------------------------------------------------------------------
#
# LOCALE: available languages can be listed with the 'locale -a' command
# HARDWARECLOCK: set to "UTC" or "localtime"
# USEDIRECTISA: use direct I/O requests instead of /dev/rtc for hwclock
# TIMEZONE: timezones are found in /usr/share/zoneinfo
# KEYMAP: keymaps are found in /usr/share/kbd/keymaps
# CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
# CONSOLEMAP: found in /usr/share/kbd/consoletrans
# USECOLOR: use ANSI color sequences in startup messages
#
LOCALE="en_US.utf8"
HARDWARECLOCK="local"
USEDIRECTISA="no"
TIMEZONE="Asia/Shanghai"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USEcolor="yes"

# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# MOD_AUTOLOAD: Allow autoloading of modules at boot and when needed
# MOD_BLACKLIST: Prevent udev from loading these modules
# MODULES: Modules to load at boot-up. Prefix with a ! to blacklist.
#
# NOTE: Use of 'MOD_BLACKLIST' is deprecated. Please use ! in the MODULES array.
#
MOD_AUTOLOAD="yes"
#MOD_BLACKLIST=() #deprecated
MODULES=(acpi-cpufreq sony-laptop)

# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
# HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
#
HOSTNAME="ArchLinux"

# Use 'ifconfig -a' or 'ls /sys/class/net/' to see all available interfaces.
#
# Interfaces to start at boot-up (in this order)
# Declare each interface then list in INTERFACES
#   - prefix an entry in INTERFACES with a ! to disable it
#   - no hyphens in your interface names - Bash doesn't like it
#
# DHCP:     Set your interface to "dhcp" (eth0="dhcp")
# Wireless: See network profiles below
#
eth0="dhcp"
wlan0="dhcp"
INTERFACES=(eth0 wlan0)

# Routes to start at boot-up (in this order)
# Declare each route then list in ROUTES
#   - prefix an entry in ROUTES with a ! to disable it
#
gateway="default gw 192.168.0.1"
ROUTES=(!gateway)

# Enable these network profiles at boot-up.  These are only useful
# if you happen to need multiple network configurations (ie, laptop users)
#   - set to 'menu' to present a menu during boot-up (dialog package required)
#   - prefix an entry with a ! to disable it
#
# Network profiles are found in /etc/network.d
#
# This now requires the netcfg package
#
#NETWORKS=(main)

# -----------------------------------------------------------------------
# DAEMONS
# -----------------------------------------------------------------------
#
# Daemons to start at boot-up (in this order)
#   - prefix a daemon with a ! to disable it
#   - prefix a daemon with a @ to start it up in the background
#
DAEMONS=(syslog-ng network netfs crond dbus hal alsa cpufreq mpd)
回复 支持 反对

使用道具 举报

发表于 2009-3-19 14:54:44 | 显示全部楼层
覆盖你的rc.conf,再贴一下lsmod的回显~~~

本帖子中包含更多资源

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

x
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-19 16:07:34 | 显示全部楼层
好像可以了,谢谢楼上的
回复 支持 反对

使用道具 举报

发表于 2009-3-19 16:34:03 | 显示全部楼层
Post by autumnc;1963174
好像可以了,谢谢楼上的

再贴一下lsmod的回显~~~
回复 支持 反对

使用道具 举报

发表于 2009-3-19 19:23:18 | 显示全部楼层
关键是改动MODULES部分吗?
回复 支持 反对

使用道具 举报

发表于 2009-3-19 20:19:21 | 显示全部楼层
我的alsamixer也是调节音量无效,都是直接用音箱调节的。要怎么改?

  1. MODULES=(!8139cp 8139too mii loop ipv6 tun fuse slhc ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-intel8x0 soundcore vboxdrv )
复制代码

  1. $ lsmod | grep snd
  2. snd_intel8x0           30876  3
  3. snd_ac97_codec        102308  1 snd_intel8x0
  4. snd_seq_oss            31872  0
  5. snd_seq_midi_event      8192  1 snd_seq_oss
  6. snd_seq                49968  4 snd_seq_oss,snd_seq_midi_event
  7. snd_seq_device          8204  2 snd_seq_oss,snd_seq
  8. snd_pcm_oss            40192  0
  9. snd_pcm                70020  4 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
  10. snd_timer              21384  3 snd_seq,snd_pcm
  11. snd_page_alloc         10120  2 snd_intel8x0,snd_pcm
  12. snd_mixer_oss          16512  2 snd_pcm_oss
  13. snd                    50852  11 snd_intel8x0,snd_ac97_codec,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_pcm,snd_timer,snd_mixer_oss
  14. soundcore               8160  2 snd
  15. ac97_bus                3584  1 snd_ac97_codec
复制代码
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

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