[+] snd-hda-intel, powrót do starych ustawie

Tematy związane z oprogramowaniem, instalacją, konfiguracją
lukaszpp
Posty: 4
Rejestracja: 21 października 2008, 13:51

[+] snd-hda-intel, powrót do starych ustawień

Post autor: lukaszpp »

To chyba ostatnie miejsce, gdzie tylko mam nadzieję znaleźć pomoc.
Mam Debiana Lenny, jadro 2.6.26.3 (samodzielnie kompilowane), no i kartę dźwiękową ALC662.
Jądro w dwóch wersjach: z alsą i bez.
Trafil mi się creative 5.1 (ach, co za dźwięk) i po wielu, wielu próbach i przejściach (problem polegał na tym, że jak w .asoundrc miałem 5.1 to zawieszał się speaker-test już przy pierwszym odtworzeniu. Jak miałem 5.0, to nie było subwoofera. W końcu ustawiłem 7.1 w ten sposób:

Kod: Zaznacz cały

lukaszpp@debian:~$ cat .asoundrc
#ctl.ca0106 {
#type hw
#card 0
#}

pcm.!default {
type plug
slave.pcm "surround71"
slave.channels 6
route_policy duplicate
}
- to tak dla przyszłych pokoleń, jakby był podobny problem przy zwieszaniu się 5.1)
no i nawet ustawiłem sobie .mplayer/config i działa pięknie:

Kod: Zaznacz cały

lukaszpp@debian:~$ cat .mplayer/config
# Write your default config options here!
ao=alsa
channels=5lukaszpp@debian:~$ 
To też dla przyszłych pokoleń. Mplayer wyświetla na początku błąd, że nie obsługuje 5 kanałów, ale działa).

Wyłączam zadowolony komputer, włączam. i co? Trzeba wszystko ustawiać od nowa, bo 5.1 się wyłączył.

Teraz: jak włączam 5.1

Kod: Zaznacz cały

modconf snd-hda-intel model=3stick-6ch
I oczywiście mam w plikach odpowiednie wpisy:

Kod: Zaznacz cały

lukaszpp@debian:~$ cat /etc/modprobe.d/sound
alias snd-card-0 snd-hda-intel
options snd-hda-intel model=3stack-6ch
końcówka pliku:

Kod: Zaznacz cały

lukaszpp@debian:~$ cat /etc/modprobe.d/alsa-base
# Keep snd-pcsp from beeing loaded as first soundcard
options snd-pcsp index=-2
options snd-hda-intel model=3stack-6ch
Co jeszcze ciekawego znalazłem? /var/log/syslog zwraca kilka błędów.

Pozwolę wrzucić sobie całość z ostatniej sesji:

Kod: Zaznacz cały

Oct 21 13:45:16 debian kernel: imklog 3.18.2, log source = /proc/kmsg started.
Oct 21 13:45:16 debian kernel: e0000000 segment 0 buses 0 - 255
Oct 21 13:45:16 debian kernel: PCI: Not using MMCONFIG.
Oct 21 13:45:16 debian kernel: PCI: Using configuration type 1 for base access
Oct 21 13:45:16 debian kernel: ACPI: EC: Look up EC in DSDT
Oct 21 13:45:16 debian kernel: ACPI: Interpreter enabled
Oct 21 13:45:16 debian kernel: ACPI: (supports S0 S1 S3 S5)
Oct 21 13:45:16 debian kernel: ACPI: Using IOAPIC for interrupt routing
Oct 21 13:45:16 debian kernel: PCI: MCFG configuration 0: base e0000000 segment 0 buses 0 - 255
Oct 21 13:45:16 debian kernel: PCI: MCFG area at e0000000 reserved in ACPI motherboard resources
Oct 21 13:45:16 debian kernel: PCI: Using MMCONFIG at e0000000 - efffffff
Oct 21 13:45:16 debian kernel: ACPI: PCI Root Bridge [PCI0] (0000:00)
Oct 21 13:45:16 debian kernel: PCI: Transparent bridge - 0000:00:08.0
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR10._PRT]
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR12._PRT]
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR13._PRT]
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR14._PRT]
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR15._PRT]
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR16._PRT]
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR11._PRT]
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LNKA] (IRQs 5 7 10 11 16 17 18 19) *0, disabled.
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LNKB] (IRQs 5 7 10 11 16 17 18 19) *0, disabled.
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LNKC] (IRQs 5 7 10 11 16 17 18 19) *0, disabled.
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LNKD] (IRQs 5 7 10 11 16 17 18 19) *0, disabled.
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LNEA] (IRQs 5 7 10 11 16 17 18 19) *0, disabled.
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LNEB] (IRQs 5 7 10 11 16 17 18 19) *0, disabled.
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LNEC] (IRQs 5 7 10 11 16 17 18 19) *0, disabled.
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LNED] (IRQs 5 7 10 11 16 17 18 19) *0, disabled.
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LUB0] (IRQs 20 21 22 23) *10
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LUB2] (IRQs 20 21 22 23) *11
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LMAC] (IRQs 20 21 22 23) *11
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LAZA] (IRQs 20 21 22 23) *10
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [SGRU] (IRQs 20 21 22 23) *10
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LSMB] (IRQs 20 21 22 23) *11
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LPMU] (IRQs 20 21 22 23) *14
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LSA0] (IRQs 20 21 22 23) *15
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LATA] (IRQs 20 21 22 23) *0, disabled.
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [UB11] (IRQs 20 21 22 23) *14
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [UB12] (IRQs 20 21 22 23) *10
Oct 21 13:45:16 debian kernel: ACPI Warning (tbutils-0217): Incorrect checksum in table [OEMB] - D5, should be D0 [20080321]
Oct 21 13:45:16 debian kernel: Linux Plug and Play Support v0.97 (c) Adam Belay
Oct 21 13:45:16 debian kernel: pnp: PnP ACPI init
Oct 21 13:45:16 debian kernel: ACPI: bus type pnp registered
Oct 21 13:45:16 debian kernel: pnp: PnP ACPI: found 12 devices
Oct 21 13:45:16 debian kernel: ACPI: ACPI bus type pnp unregistered
Oct 21 13:45:16 debian kernel: SCSI subsystem initialized
Oct 21 13:45:16 debian kernel: libata version 3.00 loaded.
Oct 21 13:45:16 debian kernel: usbcore: registered new interface driver usbfs
Oct 21 13:45:16 debian kernel: usbcore: registered new interface driver hub
Oct 21 13:45:16 debian kernel: usbcore: registered new device driver usb
Oct 21 13:45:16 debian kernel: PCI: Using ACPI for IRQ routing
Oct 21 13:45:16 debian kernel: ACPI: RTC can wake from S4
Oct 21 13:45:16 debian kernel: system 00:05: ioport range 0x4d0-0x4d1 has been reserved
Oct 21 13:45:16 debian kernel: system 00:05: ioport range 0x800-0x80f has been reserved
Oct 21 13:45:16 debian kernel: system 00:05: ioport range 0x1000-0x107f has been reserved
Oct 21 13:45:16 debian kernel: system 00:05: ioport range 0x1080-0x10ff has been reserved
Oct 21 13:45:16 debian kernel: system 00:05: ioport range 0x1400-0x147f has been reserved
Oct 21 13:45:16 debian kernel: system 00:05: ioport range 0x1480-0x14ff has been reserved
Oct 21 13:45:16 debian kernel: system 00:05: ioport range 0x1800-0x187f has been reserved
Oct 21 13:45:16 debian kernel: system 00:05: ioport range 0x1880-0x18ff has been reserved
Oct 21 13:45:16 debian kernel: system 00:05: ioport range 0x1c00-0x1c7f has been reserved
Oct 21 13:45:16 debian kernel: system 00:05: ioport range 0x1c80-0x1cff has been reserved
Oct 21 13:45:16 debian kernel: system 00:05: iomem range 0xfefe0000-0xfefe01ff has been reserved
Oct 21 13:45:16 debian kernel: system 00:05: iomem range 0xfefe1000-0xfefe1fff has been reserved
Oct 21 13:45:16 debian kernel: system 00:05: iomem range 0xfee01000-0xfeefffff could not be reserved
Oct 21 13:45:16 debian kernel: system 00:07: iomem range 0xfec00000-0xfec00fff could not be reserved
Oct 21 13:45:16 debian kernel: system 00:07: iomem range 0xfee00000-0xfee00fff could not be reserved
Oct 21 13:45:16 debian kernel: system 00:09: ioport range 0x290-0x29f has been reserved
Oct 21 13:45:16 debian kernel: system 00:0a: iomem range 0xe0000000-0xefffffff has been reserved
Oct 21 13:45:16 debian kernel: system 00:0b: iomem range 0x0-0x9ffff could not be reserved
Oct 21 13:45:16 debian kernel: system 00:0b: iomem range 0xc0000-0xcffff has been reserved
Oct 21 13:45:16 debian kernel: system 00:0b: iomem range 0xe0000-0xfffff could not be reserved
Oct 21 13:45:16 debian kernel: system 00:0b: iomem range 0x100000-0x3fffffff could not be reserved
Oct 21 13:45:16 debian kernel: system 00:0b: iomem range 0xfec00000-0xffffffff could not be reserved



Oct 21 13:45:16 debian kernel: PCI: Bridge: 0000:00:08.0
Oct 21 13:45:16 debian kernel:  IO window: disabled.
Oct 21 13:45:16 debian kernel:  MEM window: disabled.
Oct 21 13:45:16 debian kernel:  PREFETCH window: disabled.
Oct 21 13:45:16 debian kernel: PCI: Bridge: 0000:00:0b.0
Oct 21 13:45:16 debian kernel:  IO window: disabled.
Oct 21 13:45:16 debian kernel:  MEM window: disabled.
Oct 21 13:45:16 debian kernel:  PREFETCH window: disabled.
Oct 21 13:45:16 debian kernel: PCI: Bridge: 0000:00:0c.0
Oct 21 13:45:16 debian kernel:  IO window: e000-efff
Oct 21 13:45:16 debian kernel:  MEM window: 0xfd800000-0xfdffffff
Oct 21 13:45:16 debian kernel:  PREFETCH window: 0x00000000f8000000-0x00000000faffffff
Oct 21 13:45:16 debian kernel: PCI: Bridge: 0000:00:0d.0
Oct 21 13:45:16 debian kernel:  IO window: disabled.
Oct 21 13:45:16 debian kernel:  MEM window: disabled.
Oct 21 13:45:16 debian kernel:  PREFETCH window: disabled.
Oct 21 13:45:16 debian kernel: PCI: Bridge: 0000:00:0e.0
Oct 21 13:45:16 debian kernel:  IO window: disabled.
Oct 21 13:45:16 debian kernel:  MEM window: disabled.
Oct 21 13:45:16 debian kernel:  PREFETCH window: disabled.
Oct 21 13:45:16 debian kernel: PCI: Bridge: 0000:00:0f.0
Oct 21 13:45:16 debian kernel:  IO window: disabled.
Oct 21 13:45:16 debian kernel:  MEM window: disabled.
Oct 21 13:45:16 debian kernel:  PREFETCH window: disabled.
Oct 21 13:45:16 debian kernel: PCI: Bridge: 0000:00:10.0
Oct 21 13:45:16 debian kernel:  IO window: disabled.
Oct 21 13:45:16 debian kernel:  MEM window: disabled.
Oct 21 13:45:16 debian kernel:  PREFETCH window: disabled.
Oct 21 13:45:16 debian kernel: PCI: Bridge: 0000:00:11.0
Oct 21 13:45:16 debian kernel:  IO window: disabled.
Oct 21 13:45:16 debian kernel:  MEM window: disabled.
Oct 21 13:45:16 debian kernel:  PREFETCH window: disabled.
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:08.0 to 64
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:0b.0 to 64
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:0c.0 to 64
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:0d.0 to 64
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:0e.0 to 64
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:0f.0 to 64
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:10.0 to 64
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:11.0 to 64
Oct 21 13:45:16 debian kernel: NET: Registered protocol family 2
Oct 21 13:45:16 debian kernel: IP route cache hash table entries: 32768 (order: 6, 262144 bytes)
Oct 21 13:45:16 debian kernel: TCP established hash table entries: 131072 (order: 9, 2097152 bytes)
Oct 21 13:45:16 debian kernel: TCP bind hash table entries: 65536 (order: 7, 524288 bytes)
Oct 21 13:45:16 debian kernel: TCP: Hash tables configured (established 131072 bind 65536)
Oct 21 13:45:16 debian kernel: TCP reno registered
Oct 21 13:45:16 debian kernel: NET: Registered protocol family 1
Oct 21 13:45:16 debian kernel: audit: initializing netlink socket (disabled)
Oct 21 13:45:16 debian kernel: type=2000 audit(1224596700.266:1): initialized
Oct 21 13:45:16 debian kernel: NTFS driver 2.1.29 [Flags: R/W].
Oct 21 13:45:16 debian kernel: fuse init (API version 7.9)
Oct 21 13:45:16 debian kernel: SGI XFS with ACLs, security attributes, realtime, large block/inode numbers, no debug enabled
Oct 21 13:45:16 debian kernel: SGI XFS Quota Management subsystem
Oct 21 13:45:16 debian kernel: msgmni has been set to 1750
Oct 21 13:45:16 debian kernel: io scheduler noop registered
Oct 21 13:45:16 debian kernel: io scheduler anticipatory registered
Oct 21 13:45:16 debian kernel: io scheduler deadline registered
Oct 21 13:45:16 debian kernel: io scheduler cfq registered (default)
Oct 21 13:45:16 debian kernel: pci 0000:00:12.0: Boot video device
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:0b.0 to 64
Oct 21 13:45:16 debian kernel: assign_interrupt_mode Found MSI capability
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:0b.:p cie00]
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:0b.:p cie03]
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:0c.0 to 64
Oct 21 13:45:16 debian kernel: assign_interrupt_mode Found MSI capability
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:0c.:p cie00]
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:0c.:p cie03]
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:0d.0 to 64
Oct 21 13:45:16 debian kernel: assign_interrupt_mode Found MSI capability
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:0d.:p cie00]
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:0d.:p cie03]
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:0e.0 to 64
Oct 21 13:45:16 debian kernel: assign_interrupt_mode Found MSI capability
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:0e.:p cie00]
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:0e.:p cie03]
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:0f.0 to 64
Oct 21 13:45:16 debian kernel: assign_interrupt_mode Found MSI capability
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:0f.:p cie00]
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:0f.:p cie03]
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:10.0 to 64
Oct 21 13:45:16 debian kernel: assign_interrupt_mode Found MSI capability
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:10.:p cie00]
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:10.:p cie03]
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:11.0 to 64
Oct 21 13:45:16 debian kernel: assign_interrupt_mode Found MSI capability
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:11.:p cie00]
Oct 21 13:45:16 debian kernel: Allocate Port Service[0000:00:11.:p cie03]
Oct 21 13:45:16 debian kernel: ACPI: ACPI0007:00 is registered as cooling_device0
Oct 21 13:45:16 debian kernel: lp: driver loaded but no devices found
Oct 21 13:45:16 debian kernel: Linux agpgart interface v0.103
Oct 21 13:45:16 debian kernel: Hangcheck: starting hangcheck timer 0.9.0 (tick is 180 seconds, margin is 60 seconds).
Oct 21 13:45:16 debian kernel: Hangcheck: Using get_cycles().
Oct 21 13:45:16 debian kernel: parport_pc 00:04: reported by Plug and Play ACPI
Oct 21 13:45:16 debian kernel: parport0: PC-style at 0x378 (0x778), irq 7, dma 3 [PCSPP,TRISTATE,COMPAT,ECP,DMA]
Oct 21 13:45:16 debian kernel: lp0: using parport0 (interrupt-driven).
Oct 21 13:45:16 debian kernel: brd: module loaded
Oct 21 13:45:16 debian kernel: loop: module loaded
Oct 21 13:45:16 debian kernel: nbd: registered device at major 43
Oct 21 13:45:16 debian kernel: forcedeth: Reverse Engineered nForce ethernet driver. Version 0.61.
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 23
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt 0000:00:0a.0[A] -> Link [LMAC] -> GSI 23 (level, low) -> IRQ 23
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:0a.0 to 64
Oct 21 13:45:16 debian kernel: forcedeth 0000:00:0a.0: ifname eth0, PHY OUI 0x732 @ 1, addr 00:19:66:5c:2d:35
Oct 21 13:45:16 debian kernel: forcedeth 0000:00:0a.0: highdma pwrctl mgmt timirq gbit lnktim msi desc-v3
Oct 21 13:45:16 debian kernel: Uniform Multi-Platform E-IDE driver
Oct 21 13:45:16 debian kernel: ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
Oct 21 13:45:16 debian kernel: ide_generic: please use "probe_mask=0x3f" module parameter for probing all legacy ISA IDE ports
Oct 21 13:45:16 debian kernel: Probing IDE interface ide0...
Oct 21 13:45:16 debian kernel: Probing IDE interface ide1...
Oct 21 13:45:16 debian kernel: ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
Oct 21 13:45:16 debian kernel: ide1 at 0x170-0x177,0x376 on irq 15
Oct 21 13:45:16 debian kernel: Driver 'sd' needs updating - please use bus_type methods
Oct 21 13:45:16 debian kernel: Driver 'sr' needs updating - please use bus_type methods
Oct 21 13:45:16 debian kernel: SCSI Media Changer driver v0.25 
Oct 21 13:45:16 debian kernel: Driver 'ch' needs updating - please use bus_type methods
Oct 21 13:45:16 debian kernel: ahci 0000:00:09.0: version 3.0
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 22
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt 0000:00:09.0[A] -> Link [LSA0] -> GSI 22 (level, low) -> IRQ 22
Oct 21 13:45:16 debian kernel: ahci 0000:00:09.0: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl IDE mode
Oct 21 13:45:16 debian kernel: ahci 0000:00:09.0: flags: 64bit ncq sntf led clo pmp pio 
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:09.0 to 64
Oct 21 13:45:16 debian kernel: scsi0 : ahci
Oct 21 13:45:16 debian kernel: scsi1 : ahci
Oct 21 13:45:16 debian kernel: scsi2 : ahci
Oct 21 13:45:16 debian kernel: scsi3 : ahci
Oct 21 13:45:16 debian kernel: ata1: SATA max UDMA/133 abar m8192@0xfd776000 port 0xfd776100 irq 22
Oct 21 13:45:16 debian kernel: ata2: SATA max UDMA/133 abar m8192@0xfd776000 port 0xfd776180 irq 22
Oct 21 13:45:16 debian kernel: ata3: SATA max UDMA/133 abar m8192@0xfd776000 port 0xfd776200 irq 22
Oct 21 13:45:16 debian kernel: ata4: SATA max UDMA/133 abar m8192@0xfd776000 port 0xfd776280 irq 22
Oct 21 13:45:16 debian kernel: ata1: SATA link down (SStatus 0 SControl 300)
Oct 21 13:45:16 debian kernel: ata2: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
Oct 21 13:45:16 debian kernel: ata2.00: ATA-8: WDC WD2500AAJS-00VTA0, 01.01B01, max UDMA/133
Oct 21 13:45:16 debian kernel: ata2.00: 488397168 sectors, multi 16: LBA48 NCQ (depth 31/32)
Oct 21 13:45:16 debian kernel: ata2.00: configured for UDMA/133
Oct 21 13:45:16 debian kernel: ata3: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
Oct 21 13:45:16 debian kernel: ata3.00: ATAPI: TSSTcorp CDDVDW SH-S203D, SB00, max UDMA/100, ATAPI AN
Oct 21 13:45:16 debian kernel: ata3.00: configured for UDMA/100
Oct 21 13:45:16 debian kernel: ata4: SATA link down (SStatus 0 SControl 300)
Oct 21 13:45:16 debian kernel: scsi 1:0:0:0: Direct-Access     ATA      WDC WD2500AAJS-0 01.0 PQ: 0 ANSI: 5
Oct 21 13:45:16 debian kernel: sd 1:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
Oct 21 13:45:16 debian kernel: sd 1:0:0:0: [sda] Write Protect is off
Oct 21 13:45:16 debian kernel: sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
Oct 21 13:45:16 debian kernel: sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct 21 13:45:16 debian kernel: sd 1:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
Oct 21 13:45:16 debian kernel: sd 1:0:0:0: [sda] Write Protect is off
Oct 21 13:45:16 debian kernel: sd 1:0:0:0: [sda] Mode Sense: 00 3a 00 00
Oct 21 13:45:16 debian kernel: sd 1:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
Oct 21 13:45:16 debian kernel: sda: sda1 sda2 sda3 sda4 < sda5 sda6 sda7 sda8 sda9 >
Oct 21 13:45:16 debian kernel: sd 1:0:0:0: [sda] Attached SCSI disk
Oct 21 13:45:16 debian kernel: sd 1:0:0:0: Attached scsi generic sg0 type 0
Oct 21 13:45:16 debian kernel: scsi 2:0:0:0: CD-ROM            TSSTcorp CDDVDW SH-S203D  SB00 PQ: 0 ANSI: 5
Oct 21 13:45:16 debian kernel: sr0: scsi3-mmc drive: 48x/48x writer dvd-ram cd/rw xa/form2 cdda tray
Oct 21 13:45:16 debian kernel: Uniform CD-ROM driver Revision: 3.20
Oct 21 13:45:16 debian kernel: sr 2:0:0:0: Attached scsi CD-ROM sr0
Oct 21 13:45:16 debian kernel: sr 2:0:0:0: Attached scsi generic sg1 type 5
Oct 21 13:45:16 debian kernel: ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LUB0] enabled at IRQ 21
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt 0000:00:02.0[A] -> Link [LUB0] -> GSI 21 (level, low) -> IRQ 21
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:02.0 to 64
Oct 21 13:45:16 debian kernel: ohci_hcd 0000:00:02.0: OHCI Host Controller
Oct 21 13:45:16 debian kernel: ohci_hcd 0000:00:02.0: new USB bus registered, assigned bus number 1
Oct 21 13:45:16 debian kernel: ohci_hcd 0000:00:02.0: irq 21, io mem 0xfd77f000
Oct 21 13:45:16 debian kernel: usb usb1: configuration #1 chosen from 1 choice
Oct 21 13:45:16 debian kernel: hub 1-0:1.0: USB hub found
Oct 21 13:45:16 debian kernel: hub 1-0:1.0: 6 ports detected
Oct 21 13:45:16 debian kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0001
Oct 21 13:45:16 debian kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Oct 21 13:45:16 debian kernel: usb usb1: Product: OHCI Host Controller
Oct 21 13:45:16 debian kernel: usb usb1: Manufacturer: Linux 2.6.26.3 ohci_hcd
Oct 21 13:45:16 debian kernel: usb usb1: SerialNumber: 0000:00:02.0
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [UB11] enabled at IRQ 20
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt 0000:00:04.0[A] -> Link [UB11] -> GSI 20 (level, low) -> IRQ 20
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:04.0 to 64
Oct 21 13:45:16 debian kernel: ohci_hcd 0000:00:04.0: OHCI Host Controller
Oct 21 13:45:16 debian kernel: ohci_hcd 0000:00:04.0: new USB bus registered, assigned bus number 2
Oct 21 13:45:16 debian kernel: ohci_hcd 0000:00:04.0: irq 20, io mem 0xfd77d000
Oct 21 13:45:16 debian kernel: usb usb2: configuration #1 chosen from 1 choice
Oct 21 13:45:16 debian kernel: hub 2-0:1.0: USB hub found
Oct 21 13:45:16 debian kernel: hub 2-0:1.0: 5 ports detected
Oct 21 13:45:16 debian kernel: usb usb2: New USB device found, idVendor=1d6b, idProduct=0001
Oct 21 13:45:16 debian kernel: usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Oct 21 13:45:16 debian kernel: usb usb2: Product: OHCI Host Controller
Oct 21 13:45:16 debian kernel: usb usb2: Manufacturer: Linux 2.6.26.3 ohci_hcd
Oct 21 13:45:16 debian kernel: usb usb2: SerialNumber: 0000:00:04.0
Oct 21 13:45:16 debian kernel: USB Universal Host Controller Interface driver v3.0
Oct 21 13:45:16 debian kernel: Initializing USB Mass Storage driver...
Oct 21 13:45:16 debian kernel: usb 1-2: new low speed USB device using ohci_hcd and address 2
Oct 21 13:45:16 debian kernel: usb 1-2: configuration #1 chosen from 1 choice
Oct 21 13:45:16 debian kernel: usb 1-2: New USB device found, idVendor=09da, idProduct=000a
Oct 21 13:45:16 debian kernel: usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Oct 21 13:45:16 debian kernel: usb 1-2: Product: PS/2+USB Mouse
Oct 21 13:45:16 debian kernel: usb 1-2: Manufacturer: A4Tech
Oct 21 13:45:16 debian kernel: usb 2-1: new low speed USB device using ohci_hcd and address 2
Oct 21 13:45:16 debian kernel: usb 2-1: configuration #1 chosen from 1 choice
Oct 21 13:45:16 debian kernel: usb 2-1: New USB device found, idVendor=05a4, idProduct=9999
Oct 21 13:45:16 debian kernel: usb 2-1: New USB device strings: Mfr=4, Product=54, SerialNumber=0
Oct 21 13:45:16 debian kernel: usb 2-1: Product: USB Keyboard
Oct 21 13:45:16 debian kernel: usb 2-1: Manufacturer: NOVATEK
Oct 21 13:45:16 debian kernel: usbcore: registered new interface driver usb-storage
Oct 21 13:45:16 debian kernel: USB Mass Storage support registered.
Oct 21 13:45:16 debian kernel: PNP: No PS/2 controller found. Probing ports directly.
Oct 21 13:45:16 debian kernel: serio: i8042 KBD port at 0x60,0x64 irq 1
Oct 21 13:45:16 debian kernel: serio: i8042 AUX port at 0x60,0x64 irq 12
Oct 21 13:45:16 debian kernel: mice: PS/2 mouse device common for all mice
Oct 21 13:45:16 debian kernel: input: PC Speaker as /class/input/input0
Oct 21 13:45:16 debian kernel: rtc_cmos 00:06: rtc core: registered rtc_cmos as rtc0
Oct 21 13:45:16 debian kernel: rtc0: alarms up to one year, y3k
Oct 21 13:45:16 debian kernel: usbcore: registered new interface driver hiddev
Oct 21 13:45:16 debian kernel: input: A4Tech PS/2+USB Mouse as /class/input/input1
Oct 21 13:45:16 debian kernel: input: USB HID v1.10 Mouse [A4Tech PS/2+USB Mouse] on usb-0000:00:02.0-2
Oct 21 13:45:16 debian kernel: input: NOVATEK USB Keyboard as /class/input/input2
Oct 21 13:45:16 debian kernel: input: USB HID v1.00 Keyboard [NOVATEK USB Keyboard] on usb-0000:00:04.0-1
Oct 21 13:45:16 debian kernel: input: NOVATEK USB Keyboard as /class/input/input3
Oct 21 13:45:16 debian kernel: input: USB HID v1.00 Mouse [NOVATEK USB Keyboard] on usb-0000:00:04.0-1
Oct 21 13:45:16 debian kernel: usbcore: registered new interface driver usbhid
Oct 21 13:45:16 debian kernel: usbhid: v2.6:USB HID core driver
Oct 21 13:45:16 debian kernel: TCP cubic registered
Oct 21 13:45:16 debian kernel: NET: Registered protocol family 17
Oct 21 13:45:16 debian kernel: rtc_cmos 00:06: setting system clock to 2008-10-21 13:45:07 UTC (1224596707)
Oct 21 13:45:16 debian kernel: kjournald starting.  Commit interval 5 seconds
Oct 21 13:45:16 debian kernel: EXT3-fs: mounted filesystem with ordered data mode.
Oct 21 13:45:16 debian kernel: VFS: Mounted root (ext3 filesystem) readonly.
Oct 21 13:45:16 debian kernel: Freeing unused kernel memory: 208k freed
Oct 21 13:45:16 debian kernel: nvidia: module license 'NVIDIA' taints kernel.
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [SGRU] enabled at IRQ 23
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt 0000:00:12.0[A] -> Link [SGRU] -> GSI 23 (level, low) -> IRQ 23
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:12.0 to 64
Oct 21 13:45:16 debian kernel: NVRM: loading NVIDIA UNIX x86_64 Kernel Module  177.80  Wed Oct  1 14:43:46 PDT 2008
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 22
Oct 21 13:45:16 debian kernel: ACPI: PCI Interrupt 0000:00:07.0[A] -> Link [LAZA] -> GSI 22 (level, low) -> IRQ 22
Oct 21 13:45:16 debian kernel: PCI: Setting latency timer of device 0000:00:07.0 to 64
Oct 21 13:45:16 debian kernel: hda_codec: Unknown model for ALC662, trying auto-probe from BIOS...
Oct 21 13:45:16 debian kernel: Adding 1020116k swap on /dev/sda3.  Priority:-1 extents:1 across:1020116k
Oct 21 13:45:16 debian kernel: EXT3 FS on sda7, internal journal
Oct 21 13:45:16 debian kernel: XFS mounting filesystem sda5
Oct 21 13:45:16 debian kernel: Ending clean XFS mount for filesystem: sda5
Oct 21 13:45:16 debian kernel: XFS mounting filesystem sda6
Oct 21 13:45:16 debian kernel: Ending clean XFS mount for filesystem: sda6
Oct 21 13:45:16 debian kernel: XFS mounting filesystem sda2
Oct 21 13:45:16 debian kernel: Ending clean XFS mount for filesystem: sda2
Oct 21 13:45:16 debian kernel: XFS mounting filesystem sda8
Oct 21 13:45:16 debian kernel: Ending clean XFS mount for filesystem: sda8
Oct 21 13:45:16 debian rsyslogd: [origin software="rsyslogd" swVersion="3.18.2" x-pid="1639" x-info="http://www.rsyslog.com"] restart
Oct 21 13:45:17 debian xinetd[1727]: Reading included configuration file: /etc/xinetd.d/chargen [file=/etc/xinetd.conf] [line=14]
Oct 21 13:45:17 debian xinetd[1727]: Reading included configuration file: /etc/xinetd.d/daytime [file=/etc/xinetd.d/daytime] [line=28]
Oct 21 13:45:17 debian xinetd[1727]: Reading included configuration file: /etc/xinetd.d/discard [file=/etc/xinetd.d/discard] [line=26]
Oct 21 13:45:17 debian xinetd[1727]: Reading included configuration file: /etc/xinetd.d/echo [file=/etc/xinetd.d/echo] [line=25]
Oct 21 13:45:17 debian xinetd[1727]: Reading included configuration file: /etc/xinetd.d/time [file=/etc/xinetd.d/time] [line=26]
Oct 21 13:45:17 debian xinetd[1727]: added service ident [file=/etc/inetd.conf] [line=30]
Oct 21 13:45:17 debian xinetd[1727]: removing chargen
Oct 21 13:45:17 debian xinetd[1727]: removing chargen
Oct 21 13:45:17 debian xinetd[1727]: removing daytime
Oct 21 13:45:17 debian xinetd[1727]: removing daytime
Oct 21 13:45:17 debian xinetd[1727]: removing discard
Oct 21 13:45:17 debian xinetd[1727]: removing discard
Oct 21 13:45:17 debian xinetd[1727]: removing echo
Oct 21 13:45:17 debian xinetd[1727]: removing echo
Oct 21 13:45:17 debian xinetd[1727]: removing time
Oct 21 13:45:17 debian xinetd[1727]: removing time
Oct 21 13:45:17 debian xinetd[1727]: xinetd Version 2.3.14 started with libwrap loadavg options compiled in.
Oct 21 13:45:17 debian xinetd[1727]: Started working: 1 available service
Oct 21 13:45:18 debian avahi-daemon[1732]: Found user 'avahi' (UID 105) and group 'avahi' (GID 107).
Oct 21 13:45:18 debian kernel: warning: `avahi-daemon' uses 32-bit capabilities (legacy support in use)
Oct 21 13:45:18 debian avahi-daemon[1732]: Successfully dropped root privileges.
Oct 21 13:45:18 debian avahi-daemon[1732]: avahi-daemon 0.6.22 starting up.
Oct 21 13:45:18 debian avahi-daemon[1732]: Successfully called chroot().
Oct 21 13:45:18 debian avahi-daemon[1732]: Successfully dropped remaining capabilities.
Oct 21 13:45:18 debian avahi-daemon[1732]: No service file found in /etc/avahi/services.
Oct 21 13:45:18 debian avahi-daemon[1732]: socket() failed: Address family not supported by protocol
Oct 21 13:45:18 debian avahi-daemon[1732]: Failed to create IPv6 socket, proceeding in IPv4 only mode
Oct 21 13:45:18 debian avahi-daemon[1732]: socket() failed: Address family not supported by protocol
Oct 21 13:45:18 debian avahi-daemon[1732]: Joining mDNS multicast group on interface eth0.IPv4 with address 192.168.2.100.
Oct 21 13:45:18 debian avahi-daemon[1732]: New relevant interface eth0.IPv4 for mDNS.
Oct 21 13:45:18 debian avahi-daemon[1732]: Network interface enumeration completed.
Oct 21 13:45:18 debian avahi-daemon[1732]: Registering new address record for 192.168.2.100 on eth0.IPv4.
Oct 21 13:45:18 debian avahi-daemon[1732]: Registering HINFO record with values 'X86_64'/'LINUX'.
Oct 21 13:45:18 debian dhcdbd: Started up.
Oct 21 13:45:18 debian avahi-daemon[1732]: Server startup complete. Host name is debian.local. Local service cookie is 1882295800.
Oct 21 13:45:20 debian /usr/sbin/cron[1843]: (CRON) INFO (pidfile fd = 3)
Oct 21 13:45:20 debian /usr/sbin/cron[1844]: (CRON) STARTUP (fork ok)
Oct 21 13:45:20 debian /usr/sbin/cron[1844]: (CRON) INFO (Running @reboot jobs)
I proszę zwrócić uwagę na szczegół:

Kod: Zaznacz cały

Oct 21 13:45:16 debian kernel: hda_codec: Unknown model for ALC662, trying auto-probe from BIOS...
który wydaje mi się problemem.

Aha, próbowałem z alsą 1.0.17 i 1.0.18rc3 (kompilowaną ze źródeł).

I jak już zrestartuje się, to znów mam stereo. Ten model automatycznie wykryty przez BIOS daje mi stereo.

Natomiast: odzyskuję moje 5.1, jak po zalogowaniu wyłączę i włączę z powrotem moduł snd-hda-intel i podam model=3stack-6ch.

Nie mam już pomysłów. Od dwóch dni siedzę nad tym, a jakoś nie mam ochoty przy każdym restacie wyłączać i włączać modułów. To Debian jest od tego, a nie ja.

PS. Do tego 7.1 sam doszedłem, a nie mogłem nigdzie znaleźć w internecie, żeby miał kto podobny problem. Wszystkim działało po dopisamiu linijki options do pliku alsa-base.

Jeszcze komendy:

Kod: Zaznacz cały

lukaszpp@debian:~$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: ALC662 Analog [ALC662 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: ALC662 Digital [ALC662 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Kod: Zaznacz cały

lukaszpp@debian:~$ aplay -L
front:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 Analog
    Front speakers
surround40:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=NVidia,DEV=0
    HDA NVidia, ALC662 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=NVidia,DEV=0
    HDA NVidia
    HDMI Audio Output
null
    Discard all samples (playback) or generate zero samples (capture)


[Dodano: 2008-10-21, 15:01]
Uaa! stop. Nowa sytuacja.
Nie wiem, co się stało, ale zaczęło się włączać.
Może dlatego, że użyłem kmix zamiast alsamixer? Nie wiem, dziwne to trochę.
W kazdym razie problem nie jest już taki duży.
Teraz tylko nie zapisuje ustawień, co wiąże się z przełączeniem switcha w mikserze z 2ch na 6ch no i ustawianie głośności. Co sobie ustawię, to po restarcie znów jest wszystko do ustawiania. Przynajmnniej nie muszę się bawić w moduły "alsactl store" niby zadziałał, ale nie zapisał.
Co się dzieje?

[Dodano: 2008-10-21, 15:45 ]
Rozwiązałem!
Wreszcie po dwóch dniach!

alsactl store i do /etc/rc.local należy wpisać:

Kod: Zaznacz cały

alsactl restore
ostatnią linią ma być exit 0

PS. Mam nadzieję, że komuś to kiedys pomoże.
ODPOWIEDZ