LinuxSir.cn,穿越时空的Linuxsir!

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

[SOLVED]i686->x86_64后,alsa自动启动无效??

[复制链接]
发表于 2012-2-25 11:36:21 | 显示全部楼层 |阅读模式
实在不知道为什么rc的alsa的自动启动无效(没声音,启动时显示done),
  1. sudo rc.d list | grep alsa
  2. [STARTED][AUTO] alsa
复制代码
系统启动后必须再手动启动一遍
  1. rc.d start alsa
复制代码
才能有声音,log里没有相关信息

出现问题前升级了三样东西:
1、硬件:升级到了HD ALC662 (主板 cpu 内存全换了)
2、arch从32位升到了64位:从arch cd 直接pacman -root 升级系统的所有包到64位,之后chroot mkinitcpio,没重做系统
3、从OSS换到了alsa:用OSS后,播放声音全是杂音爆音噪音,没调好,就换到了alsa,删了OSS

/etc/asound.conf
  1. defaults.pcm.rate_converter "samplerate_best"
复制代码
/etc/rc.conf
  1. #
  2. # /etc/rc.conf - Main Configuration for Arch Linux
  3. #

  4. # -----------------------------------------------------------------------
  5. # LOCALIZATION
  6. # -----------------------------------------------------------------------
  7. #
  8. # LOCALE: available languages can be listed with the 'locale -a' command
  9. # DAEMON_LOCALE: If set to 'yes', use $LOCALE as the locale during daemon
  10. # startup and during the boot process. If set to 'no', the C locale is used.
  11. # HARDWARECLOCK: set to "", "UTC" or "localtime", any other value will result
  12. #   in the hardware clock being left untouched (useful for virtualization)
  13. #   Note: Using "localtime" is discouraged, using "" makes hwclock fall back
  14. #   to the value in /var/lib/hwclock/adjfile
  15. # TIMEZONE: timezones are found in /usr/share/zoneinfo
  16. #   Note: if unset, the value in /etc/localtime is used unchanged
  17. # KEYMAP: keymaps are found in /usr/share/kbd/keymaps
  18. # CONSOLEFONT: found in /usr/share/kbd/consolefonts (only needed for non-US)
  19. # CONSOLEMAP: found in /usr/share/kbd/consoletrans
  20. # USECOLOR: use ANSI color sequences in startup messages
  21. #
  22. LOCALE="en_US.UTF-8"
  23. DAEMON_LOCALE="no"
  24. HARDWARECLOCK="localtime"
  25. TIMEZONE="Asia/Shanghai"
  26. KEYMAP="us"
  27. CONSOLEFONT=
  28. CONSOLEMAP=
  29. USEcolor="yes"

  30. # -----------------------------------------------------------------------
  31. # HARDWARE
  32. # -----------------------------------------------------------------------
  33. #
  34. # MODULES: Modules to load at boot-up. Blacklisting is no longer supported.
  35. #   Replace every !module by an entry as on the following line in a file in
  36. #   /etc/modprobe.d:
  37. #     blacklist module
  38. #   See "man modprobe.conf" for details.
  39. #
  40. #disbale zram
  41. MODULES=(microcode coretemp fuse eeprom vboxdrv acpi-cpufreq  cpufreq_ondemand)

  42. # Udev settle timeout (default to 30)
  43. UDEV_TIMEOUT=30

  44. # Scan for FakeRAID (dmraid) Volumes at startup
  45. USEDMRAID="no"

  46. # Scan for BTRFS volumes at startup
  47. USEBTRFS="no"

  48. # Scan for LVM volume groups at startup, required if you use LVM
  49. USELVM="yes"

  50. # -----------------------------------------------------------------------
  51. # NETWORKING
  52. # -----------------------------------------------------------------------
  53. #
  54. # HOSTNAME: Hostname of machine. Should also be put in /etc/hosts
  55. #
  56. HOSTNAME="eyesonly"

  57. # Use 'ip addr' or 'ls /sys/class/net/' to see all available interfaces.
  58. #
  59. # Wired network setup
  60. #   - interface: name of device (required)
  61. #   - address: IP address (leave blank for DHCP)
  62. #   - netmask: subnet mask (ignored for DHCP) (optional, defaults to 255.255.255.0)
  63. #   - broadcast: broadcast address (ignored for DHCP) (optional)
  64. #   - gateway: default route (ignored for DHCP)
  65. #
  66. # Static IP example
  67. # interface=eth0
  68. # address=192.168.0.2
  69. # netmask=255.255.255.0
  70. # broadcast=192.168.0.255
  71. # gateway=192.168.0.1
  72. #
  73. # DHCP example
  74. # interface=eth0
  75. # address=
  76. # netmask=
  77. # gateway=

  78. # Setting this to "yes" will skip network shutdown.
  79. # This is required if your root device is on NFS.
  80. NETWORK_PERSIST="no"

  81. # Enable these netcfg profiles at boot-up. These are useful if you happen to
  82. # need more advanced network features than the simple network service
  83. # supports, such as multiple network configurations (ie, laptop users)
  84. #   - set to 'menu' to present a menu during boot-up (dialog package required)
  85. #   - prefix an entry with a ! to disable it
  86. #
  87. # Network profiles are found in /etc/network.d
  88. #
  89. # This requires the netcfg package
  90. #
  91. #NETWORKS=(main)
  92. NETWORKS=(onboard)

  93. # -----------------------------------------------------------------------
  94. # DAEMONS
  95. # -----------------------------------------------------------------------
  96. #
  97. # Daemons to start at boot-up (in this order)
  98. #   - prefix a daemon with a ! to disable it
  99. #   - prefix a daemon with a @ to start it up in the background
  100. #
  101. # If something other takes care of your hardware clock (ntpd, dual-boot...)
  102. # you should disable 'hwclock' here.
  103. #
  104. #DAEMONS=(hwclock syslog-ng mcelog ulatencyd network net-profiles netfs smartd sshd atop preload fcron dbus oss sensors slim)
  105. DAEMONS=(cpupower hwclock syslog-ng mcelog ulatencyd net-profiles @netfs @smartd sshd @atop preload fcron dbus alsa @sensors slim @mysqld @autossh @polipo @vnstat)

复制代码


==============================
alsa没设 restore,设完就好了,my stupid question.:sorry
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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