不料聽音樂時總有時會跳一下針,讓我聽得很不爽,也不知道是xmms的問題還是別的問題(會不會是優先權的問題?)於是決定裝alsa。
先升級kernel到了2.4.24-3,然後抓下kernel-header 和alsa-base 及alsa-source ,照著書上的作,想當然一定失敗;找來wiki 助陣,還是失敗,再找英文網頁,發現大家對cmipci都是很頭痛(!),而且都要重編kernel…
就在想放棄時,想說裝不成,至少看看原來的還能不能用。奇怪的是,xmms仍然可以,esd也仍然在跑。可見只是alsa 的設定有問題。
看看dmesg,發現原來的cmipci(應該就是oss吧)先成功地載入了,接著後來的「第二個」cmipci(就是alsa)當然說「有人在用了」載入失敗。我咧…那我是不是先載入alsa,再載入oss,讓它和alsa的oss模擬層好好談,不就成功了?
可是…要怎麼作啊?
還有,dmesg裡有一行:
- 代碼: 選擇全部
PCI: Enabling device 00:0f.0 (0080 -> 0081)
PCI: Assigned IRQ 10 for device 00:0f.0
Redundant entry in serial pci_table. Please send the output of
lspci -vv, this message (134d,7897,134d,0001)
and the manufacturer and name of serial board or modem board
to serial-pci-info@lists.sourceforge.net.
register_serial(): autoconfig failed
第二件事,要和cmipci的好友們分享:cmictl!
根據 linuxquestions 的說法,下載cmictl 後,啟動4-speaker mode和surround後,就有四聲道了!詳見 cmictl。安裝有些麻煩就是。
不過我使用
- 代碼: 選擇全部
cmictl -p on(四聲道)
cmictl -s on(環繞)
- 代碼: 選擇全部
cmictl -r on(前後聲道置反)
- 代碼: 選擇全部
!ROOT! debian:/home/lueo/deb/cmictl-20021102# dmesg
Linux version 2.4.24-1-686 (herbert@gondolin) (gcc version 3.3.2 (Debian)) #1 Wed Feb 18 21:59:13 EST 2004
BIOS-provided physical RAM map:
BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
BIOS-e820: 0000000000100000 - 00000000077fd000 (usable)
BIOS-e820: 00000000077fd000 - 00000000077ff000 (ACPI data)
BIOS-e820: 00000000077ff000 - 0000000007800000 (ACPI NVS)
BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
119MB LOWMEM available.
ACPI: have wakeup address 0xc0001000
On node 0 totalpages: 30717
zone(0): 4096 pages.
zone(1): 26621 pages.
zone(2): 0 pages.
ACPI disabled because your bios is from 2000 and too old
You can enable it with acpi=force
Kernel command line: auto BOOT_IMAGE=Linux ro root=303
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 801.837 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1602.35 BogoMIPS
Memory: 115396k/122868k available (1202k kernel code, 7084k reserved, 451k data, 112k init, 0k highmem)
Dentry cache hash table entries: 16384 (order: 5, 131072 bytes)
Inode cache hash table entries: 8192 (order: 4, 65536 bytes)
Mount cache hash table entries: 512 (order: 0, 4096 bytes)
Buffer cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
CPU: L1 I cache: 16K, L1 D cache: 16K
CPU: L2 cache: 256K
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0383fbff 00000000 00000000 00000000
CPU: Common caps: 0383fbff 00000000 00000000 00000000
CPU: Intel Pentium III (Coppermine) stepping 06
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
enabled ExtINT on CPU#0
ESR value before enabling vector: 00000000
ESR value after enabling vector: 00000000
Using local APIC timer interrupts.
calibrating APIC timer ...
..... CPU clock speed is 801.8141 MHz.
..... host bus clock speed is 133.6355 MHz.
cpu: 0, clocks: 1336355, slice: 668177
CPU0<T0:1336352,T1:668160,D:15,S:668177,C:1336355>
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
ACPI: Subsystem revision 20031002
ACPI: Interpreter disabled.
PCI: PCI BIOS revision 2.10 entry at 0xf0e60, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
PCI: ACPI tables contain no PCI IRQ routing entries
PCI: Probing PCI hardware (bus 00)
PCI: Using IRQ router SIS5595 [1039/0008] at 00:01.0
PCI: Found IRQ 5 for device 00:05.0
PCI: Sharing IRQ 5 with 00:01.1
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
Starting kswapd
VFS: Disk quotas vdquot_6.5.1
devfs: v1.12c (20020818) Richard Gooch (rgooch@atnf.csiro.au)
devfs: boot_options: 0x0
pty: 256 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
PCI: Enabling device 00:0f.0 (0080 -> 0081)
PCI: Assigned IRQ 10 for device 00:0f.0
Redundant entry in serial pci_table. Please send the output of
lspci -vv, this message (134d,7897,134d,0001)
and the manufacturer and name of serial board or modem board
to serial-pci-info@lists.sourceforge.net.
register_serial(): autoconfig failed
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
Initializing Cryptographic API
NET4: Linux TCP/IP 1.0 for NET4.0
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 16384)
Linux IP multicast router 0.06 plus PIM-SM
RAMDISK: cramfs filesystem found at block 0
RAMDISK: Loading 3572 blocks [1 disk] into ram disk... done.
Freeing initrd memory: 3572k freed
VFS: Mounted root (cramfs filesystem).
Freeing unused kernel memory: 112k freed
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
Uniform Multi-Platform E-IDE driver Revision: 7.00beta4-2.4
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
ide: late registration of driver.
SIS5513: IDE controller at PCI slot 00:00.1
SIS5513: chipset revision 208
SIS5513: not 100% native mode: will probe irqs later
SIS5513: SiS630 ATA 66 controller
ide0: BM-DMA at 0xd800-0xd807, BIOS settings: hda:DMA, hdb:pio
ide1: BM-DMA at 0xd808-0xd80f, BIOS settings: hdc:pio, hdd:DMA
hda: ST330621A, ATA DISK drive
blk: queue c802a940, I/O limit 4095Mb (mask 0xffffffff)
hdd: DVD-ROM BDV212B, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hda: attached ide-disk driver.
hda: 58633344 sectors (30020 MB) w/512KiB Cache, CHS=58168/16/63, UDMA(66)
Partition check:
/dev/ide/host0/bus0/target0/lun0: [PTBL] [3649/255/63] p1 p2 p3 p4 < p5 p6 p7 p8 p9 p10 p11 >
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
Adding Swap: 313228k swap-space (priority -1)
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,3), internal journal
Real Time Clock Driver v1.10e
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
PCI: Found IRQ 9 for device 00:01.2
PCI: Sharing IRQ 9 with 00:01.3
usb-ohci.c: USB OHCI at membase 0xc8046000, IRQ 9
usb-ohci.c: usb-00:01.2, Silicon Integrated Systems [SiS] USB 1.0 Controller
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 3 ports detected
PCI: Found IRQ 9 for device 00:01.3
PCI: Sharing IRQ 9 with 00:01.2
usb-ohci.c: USB OHCI at membase 0xc8048000, IRQ 9
usb-ohci.c: usb-00:01.3, Silicon Integrated Systems [SiS] USB 1.0 Controller (#2)
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb.c: registered new driver usbkbd
usbkbd.c: :USB HID Boot Protocol keyboard driver
hub.c: new USB device 00:01.3-1, assigned address 2
cmpci: version $Revision: 6.16 $ time 22:42:20 Feb 18 2004
PCI: Enabling device 00:05.0 (0084 -> 0085)
PCI: Found IRQ 5 for device 00:05.0
PCI: Sharing IRQ 5 with 00:01.1
cmpci: found CM8738 adapter at io 0x9800 irq 5
cmpci: chip version = 037
usb.c: USB device 2 (vend/prod 0x4fc/0x5002) is not claimed by any active driver.
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16)
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
sis900.c: v1.08.06 9/24/2002
PCI: Found IRQ 5 for device 00:01.1
PCI: Sharing IRQ 5 with 00:05.0
eth0: SiS 900 Internal MII PHY transceiver found at address 1.
eth0: Using transceiver found at address 1 as default
eth0: SiS 900 PCI Fast Ethernet at 0xd400, IRQ 5, 00:e0:18:22:60:18.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,8), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.19, 19 August 2002 on ide0(3,5), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
usb.c: registered new driver hiddev
usb.c: registered new driver hid
input: USB HID v1.00 Mouse [Sunplus PRESCOPE USB 10Keys Gamepad] on usb2:2.0
hid-core.c: v1.8.1 Andreas Gal, Vojtech Pavlik <vojtech@suse.cz>
hid-core.c: USB HID support drivers
uhci.c: USB Universal Host Controller Interface driver v1.1
usb-uhci.c: $Revision: 1.275 $ time 22:45:39 Feb 18 2004
usb-uhci.c: High bandwidth mode enabled
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
C-Media PCI soundcard not found or device busy
eth0: Media Link On 100mbps full-duplex
PPP BSD Compression module registered
PPP Deflate Compression module registered
Warning: Remapping obsolete /dev/fb* minor 32 to 1
Warning: Remapping obsolete /dev/fb* minor 64 to 2
Warning: Remapping obsolete /dev/fb* minor 96 to 3
Warning: Remapping obsolete /dev/fb* minor 128 to 4
Warning: Remapping obsolete /dev/fb* minor 160 to 5
Warning: Remapping obsolete /dev/fb* minor 192 to 6
Warning: Remapping obsolete /dev/fb* minor 224 to 7
sisfb: Video ROM found and mapped to c00c0000
sisfb: Framebuffer at 0xf0000000, mapped to 0xc8152000, size 8192k
sisfb: MMIO at 0xe9800000, mapped to 0xc8953000, size 128k
sisfb: Memory heap starting at 4096K
[drm] Initialized sis 1.0.0 20010503 on minor 0
PCI: Found IRQ 11 for device 01:00.0
- 代碼: 選擇全部
lspci -vv
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 630 Host (rev 21)
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ >SERR- <PERR-
Latency: 32
Region 0: Memory at ec000000 (32-bit, non-prefetchable) [size=64M]
Capabilities: <available only to root>
00:00.1 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE] (rev d0) (prog-if 80 [Master])
Subsystem: Asustek Computer, Inc.: Unknown device 80e1
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 16
Region 4: I/O ports at d800 [size=16]
00:01.0 ISA bridge: Silicon Integrated Systems [SiS] 85C503/5513
Control: I/O+ Mem+ BusMaster+ SpecCycle+ MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
00:01.1 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 10/100 Ethernet (rev 83)
Subsystem: Asustek Computer, Inc.: Unknown device 80e1
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (13000ns min, 2750ns max)
Interrupt: pin C routed to IRQ 5
Region 0: I/O ports at d400 [size=256]
Region 1: Memory at eb800000 (32-bit, non-prefetchable) [size=4K]
Expansion ROM at <unassigned> [disabled] [size=128K]
Capabilities: <available only to root>
00:01.2 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07) (prog-if 10 [OHCI])
Subsystem: Silicon Integrated Systems [SiS] USB 1.0 Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+
Latency: 32 (20000ns max), Cache Line Size: 0x08 (32 bytes)
Interrupt: pin D routed to IRQ 9
Region 0: Memory at eb000000 (32-bit, non-prefetchable) [size=4K]
00:01.3 USB Controller: Silicon Integrated Systems [SiS] USB 1.0 Controller (rev 07) (prog-if 10 [OHCI])
Subsystem: Silicon Integrated Systems [SiS] Onboard USB Controller
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV+ VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR+
Latency: 32 (20000ns max), Cache Line Size: 0x08 (32 bytes)
Interrupt: pin D routed to IRQ 9
Region 0: Memory at ea800000 (32-bit, non-prefetchable) [size=4K]
00:02.0 PCI bridge: Silicon Integrated Systems [SiS] SiS 530 Virtual PCI-to-PCI bridge (AGP) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap- 66Mhz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 0000a000-0000afff
Memory behind bridge: e9800000-e9ffffff
Prefetchable memory behind bridge: f0000000-feafffff
BridgeCtl: Parity- SERR- NoISA- VGA+ MAbort- >Reset- FastB2B-
00:05.0 Multimedia audio controller: C-Media Electronics Inc CM8738 (rev 10)
Subsystem: Asustek Computer, Inc.: Unknown device 80e1
Control: I/O+ Mem- BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Latency: 32 (500ns min, 6000ns max)
Interrupt: pin A routed to IRQ 5
Region 0: I/O ports at 9800 [size=256]
Capabilities: <available only to root>
00:0f.0 Modem: PCTel Inc HSP MicroModem 56 (rev 02) (prog-if 00 [Generic])
Subsystem: PCTel Inc: Unknown device 0001
Control: I/O+ Mem- BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B-
Status: Cap+ 66Mhz- UDF- FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 10
Region 0: I/O ports at 9400 [size=64]
Capabilities: <available only to root>
01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] SiS630 GUI Accelerator+3D (rev 21) (prog-if 00 [VGA])
Subsystem: Asustek Computer, Inc.: Unknown device 80e1
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
Status: Cap+ 66Mhz+ UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
Interrupt: pin A routed to IRQ 11
BIST result: 00
Region 0: Memory at f0000000 (32-bit, prefetchable) [size=128M]
Region 1: Memory at e9800000 (32-bit, non-prefetchable) [size=128K]
Region 2: I/O ports at a800 [size=128]
Capabilities: <available only to root>