You are not logged in.

#1 2007-09-01 11:02:42

dumas
Member
From: Sydney
Registered: 2007-09-01
Posts: 103

Used to have sound but now doesn't

Hi all,

First a quick introduction, I come from Ubuntu and have switched to Arch for 2 months, and it suits me completely: quick, as small as I like, and force me to learn Linux. I had setup wireless with madwifi, touchpad with synaptic, xorg.conf and usb just because I didn't know the device names to mount. I am comfortable with the command line, and I like pacman a bit more than apt-get, although both are terrific package managers. (Off-topic: is pacman completely clean when removing packages? because I notice they leave stuff in home directory and manpages)

For audio, I followed the ALSA wiki and succeeded in getting sound. This means I have supported sound card and driver, I am in the audio group, and alsamixer is alright: nothing is muted and things are in the right volume.

However, I messed things up a bit while trying to mount usbs, which I can now. I suspect it is when I typed gpasswd audio instead of gpasswd -a USER audio, it told me to type in a new password. Terrified at the prospect of needing to input a password before listening to anything, I did Ctrl-C. I am not sure if that's the thing that disabled my sound, but now I can't hear anything, whether by user or by root. Later I tried gpasswd audio and typed in a password, or gpasswd audio with a blank password, or gpasswd -r audio. I rebooted after each attempt, but still it doesn't work. I checked many times that I have the ALSA packages, the drivers and alsamixer and audio groups, and they look alright. I couldn't find similar cases in the forums.

Any help would be greatly appretiated. Thanks in advance.

Offline

#2 2007-09-01 16:54:32

mac57
Member
From: St. Somewhere
Registered: 2006-01-06
Posts: 302
Website

Re: Used to have sound but now doesn't

Hi dumas,

Check out this thread:

http://bbs.archlinux.org/viewtopic.php? … 19#p277519

I have the same problem and discuss how to get around it there. I have never learned what the root cause of it is (it seems to me it occurs every time I change rc.conf but I haven't confirmed this yet).

BTW, WELCOME to Arch! I am a long time Arch user, but have also loaded and tried out both Ubuntu (Dapper Drake) and Kubuntu (Feisty Fawn). In the end, I quickly came back to Arch. Arch is faster, more flexible, and in a totally personal observation, has a nicer and more helpful user community in the forums.


Cast off the Microsoft shackles Jan 2005

Offline

#3 2007-09-02 10:00:22

dumas
Member
From: Sydney
Registered: 2007-09-01
Posts: 103

Re: Used to have sound but now doesn't

Thanks mac57, but it doesn't work.

I have tried alsaconf a couple of times with reboots, but doesn't work. By the way it adds to modprobe

alias snd-card-0 snd-atiixp
alias sound-slot-0 snd-atiixp

I have tried both commenting and uncommenting the lines, but didn't have sound.

I tried both autoloading and not autoloading modules in rc.conf but also didn't work.

I don't use KDE, and I don't use splashy.

My dmesg:

Linux version 2.6.22-ARCH (root@Wohnung) (gcc version 4.2.1 20070704 (prerelease)) #1 SMP PREEMPT Mon Jul 23 21:13:22 CEST 2007
BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009f800 (usable)
 BIOS-e820: 000000000009f800 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000d8000 - 00000000000e0000 (reserved)
 BIOS-e820: 00000000000e4000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 000000001df70000 (usable)
 BIOS-e820: 000000001df70000 - 000000001df7b000 (ACPI data)
 BIOS-e820: 000000001df7b000 - 000000001df80000 (ACPI NVS)
 BIOS-e820: 000000001df80000 - 000000001e000000 (reserved)
 BIOS-e820: 000000002df80000 - 000000002e000000 (reserved)
 BIOS-e820: 00000000fff80000 - 0000000100000000 (reserved)
0MB HIGHMEM available.
479MB LOWMEM available.
found SMP MP-table at 000f6700
Entering add_active_range(0, 0, 122736) 0 entries of 256 used
Zone PFN ranges:
  DMA             0 ->     4096
  Normal       4096 ->   122736
  HighMem    122736 ->   122736
early_node_map[1] active PFN ranges
    0:        0 ->   122736
On node 0 totalpages: 122736
  DMA zone: 32 pages used for memmap
  DMA zone: 0 pages reserved
  DMA zone: 4064 pages, LIFO batch:0
  Normal zone: 926 pages used for memmap
  Normal zone: 117714 pages, LIFO batch:31
  HighMem zone: 0 pages used for memmap
DMI present.
ACPI: RSDP 000F6670, 0014 (r0 PTLTD )
ACPI: RSDT 1DF766D0, 0028 (r1 NEC    ND000094        1 MSFT  100000E)
ACPI: FACP 1DF7AF8C, 0074 (r1 NEC    ND000094        1 MSTF  100000E)
ACPI: DSDT 1DF766F8, 4894 (r1    NEC ND000094        1 MSFT  100000E)
ACPI: FACS 1DF7FFC0, 0040
ATI board detected. Disabling timer routing over 8254.
ACPI: PM-Timer IO Port: 0x8008
Intel MultiProcessor Specification v1.4
    Virtual Wire compatibility mode.
SMP mptable: bad signature [0x0]!
BIOS bug, MP table errors detected!...
... disabling SMP support. (tell your hw vendor)
Allocating PCI resources starting at 30000000 (gap: 2e000000:d1f80000)
Built 1 zonelists.  Total pages: 121778
Kernel command line: root=/dev/sda3 ro
Local APIC disabled by BIOS -- you can enable it with "lapic"
mapped APIC to ffffd000 (013cd000)
Enabling fast FPU save and restore... done.
Enabling unmasked SIMD FPU exception support... done.
Initializing CPU#0
PID hash table entries: 2048 (order: 11, 8192 bytes)
Detected 1500.121 MHz processor.
Console: colour VGA+ 80x25
Dentry cache hash table entries: 65536 (order: 6, 262144 bytes)
Inode-cache hash table entries: 32768 (order: 5, 131072 bytes)
Memory: 480804k/490944k available (2392k kernel code, 9548k reserved, 787k data, 304k init, 0k highmem)
virtual kernel memory layout:
    fixmap  : 0xfff82000 - 0xfffff000   ( 500 kB)
    pkmap   : 0xff800000 - 0xffc00000   (4096 kB)
    vmalloc : 0xde800000 - 0xff7fe000   ( 527 MB)
    lowmem  : 0xc0000000 - 0xddf70000   ( 479 MB)
      .init : 0xc0421000 - 0xc046d000   ( 304 kB)
      .data : 0xc03561ef - 0xc041b1bc   ( 787 kB)
      .text : 0xc0100000 - 0xc03561ef   (2392 kB)
Checking if this processor honours the WP bit even in supervisor mode... Ok.
Calibrating delay using timer specific routine.. 3002.07 BogoMIPS (lpj=5001713)
Security Framework v1.0.0 initialized
Mount-cache hash table entries: 512
CPU: After generic identify, caps: a7e9f9bf 00000000 00000000 00000000 00000180 00000000 00000000
CPU: L1 I cache: 32K, L1 D cache: 32K
CPU: L2 cache: 1024K
CPU: After all inits, caps: a7e9f9bf 00000000 00000000 00002040 00000180 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
Compat vDSO mapped to ffffe000.
Checking 'hlt' instruction... OK.
SMP alternatives: switching to UP code
Freeing SMP alternatives: 11k freed
Early unpacking initramfs... done
ACPI: Core revision 20070126
ACPI: Looking for DSDT in initramfs... error, file /DSDT.aml not found.
ACPI: setting ELCR to 0200 (from 0800)
CPU0: Intel(R) Pentium(R) M processor 1500MHz stepping 05
SMP motherboard not detected.
Local APIC not detected. Using dummy APIC emulation.
Brought up 1 CPUs
Booting paravirtualized kernel on bare hardware
NET: Registered protocol family 16
ACPI: bus type pci registered
PCI: PCI BIOS revision 2.10 entry at 0xfd998, last bus=2
PCI: Using configuration type 1
Setting up standard PCI resources
ACPI: Interpreter enabled
ACPI: (supports S0 S3 S4 S5)
ACPI: Using PIC for interrupt routing
ACPI: PCI Root Bridge [PCI0] (0000:00)
PCI: Probing PCI hardware (bus 00)
PCI: Transparent bridge - 0000:00:14.4
PCI: Bus #03 (-#06) is hidden behind transparent bridge #02 (-#02) (try 'pci=assign-busses')
Please report the result to linux-kernel to fix this permanently
PCI: Bus #07 (-#0a) is hidden behind transparent bridge #02 (-#02) (try 'pci=assign-busses')
Please report the result to linux-kernel to fix this permanently
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P2P_._PRT]
ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.AGP_._PRT]
ACPI: PCI Interrupt Link [LNK0] (IRQs *11)
ACPI: PCI Interrupt Link [LNK1] (IRQs 5 10) *11
ACPI: PCI Interrupt Link [LNK2] (IRQs 5 10) *11
ACPI: PCI Interrupt Link [LNK3] (IRQs *11)
ACPI: Power Resource [QFAN] (off)
Linux Plug and Play Support v0.97 (c) Adam Belay
pnp: PnP ACPI init
ACPI: bus type pnp registered
pnp: PnP ACPI: found 11 devices
ACPI: ACPI bus type pnp unregistered
SCSI subsystem initialized
PCI: Using ACPI for IRQ routing
PCI: If a device doesn't work, try "pci=routeirq".  If it helps, post a report
NetLabel: Initializing
NetLabel:  domain hash size = 128
NetLabel:  protocols = UNLABELED CIPSOv4
NetLabel:  unlabeled traffic allowed by default
ACPI: RTC can wake from S4
Time: tsc clocksource has been installed.
pnp: 00:07: ioport range 0x1080-0x1080 has been reserved
pnp: 00:07: ioport range 0x200-0x20f has been reserved
pnp: 00:07: ioport range 0x220-0x22f has been reserved
pnp: 00:08: iomem range 0x0-0x9ffff could not be reserved
pnp: 00:08: iomem range 0xe0000-0xfffff could not be reserved
pnp: 00:08: iomem range 0x100000-0x1dffffff could not be reserved
pnp: 00:08: iomem range 0xfff80000-0xffffffff could not be reserved
PCI: Bridge: 0000:00:01.0
  IO window: 9000-9fff
  MEM window: dc100000-dc1fffff
  PREFETCH window: e4000000-e7ffffff
PCI: Bus 3, cardbus bridge: 0000:02:0a.0
  IO window: 0000a400-0000a4ff
  IO window: 0000a800-0000a8ff
  PREFETCH window: 30000000-33ffffff
  MEM window: 38000000-3bffffff
PCI: Bus 7, cardbus bridge: 0000:02:0a.1
  IO window: 0000ac00-0000acff
  IO window: 00001400-000014ff
  PREFETCH window: 34000000-37ffffff
  MEM window: 3c000000-3fffffff
PCI: Bridge: 0000:00:14.4
  IO window: a000-afff
  MEM window: dc200000-dc2fffff
  PREFETCH window: 30000000-37ffffff
ACPI: PCI Interrupt Link [LNK0] enabled at IRQ 11
PCI: setting IRQ 11 as level-triggered
ACPI: PCI Interrupt 0000:02:0a.0[A] -> Link [LNK0] -> GSI 11 (level, low) -> IRQ 11
PCI: Setting latency timer of device 0000:02:0a.0 to 64
ACPI: PCI Interrupt Link [LNK1] enabled at IRQ 10
PCI: setting IRQ 10 as level-triggered
ACPI: PCI Interrupt 0000:02:0a.1[b] -> Link [LNK1] -> GSI 10 (level, low) -> IRQ 10
PCI: Setting latency timer of device 0000:02:0a.1 to 64
NET: Registered protocol family 2
IP route cache hash table entries: 4096 (order: 2, 16384 bytes)
TCP established hash table entries: 16384 (order: 6, 262144 bytes)
TCP bind hash table entries: 16384 (order: 5, 196608 bytes)
TCP: Hash tables configured (established 16384 bind 16384)
TCP reno registered
checking if image is initramfs... it is
Freeing initrd memory: 1450k freed
apm: BIOS version 1.2 Flags 0x03 (Driver version 1.16ac)
apm: overridden by ACPI.
VFS: Disk quotas dquot_6.5.1
Dquot-cache hash table entries: 1024 (order 0, 4096 bytes)
Installing knfsd (copyright (C) 1996 okir@monad.swb.de).
io scheduler noop registered
io scheduler anticipatory registered
io scheduler deadline registered
io scheduler cfq registered (default)
Boot video device is 0000:01:05.0
isapnp: Scanning for PnP cards...
Switched to high resolution mode on CPU 0
isapnp: No Plug & Play device found
Serial: 8250/16550 driver $Revision: 1.90 $ 4 ports, IRQ sharing disabled
ACPI: PCI Interrupt 0000:00:14.6[b] -> Link [LNK1] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI interrupt for device 0000:00:14.6 disabled
RAMDISK driver initialized: 16 RAM disks of 16384K size 1024 blocksize
loop: module loaded
input: Macintosh mouse button emulation as /class/input/input0
PNP: PS/2 Controller [PNP0303:KBDS,PNP0f13:MSE2] at 0x60,0x64 irq 1,12
serio: i8042 KBD port at 0x60,0x64 irq 1
serio: i8042 AUX port at 0x60,0x64 irq 12
mice: PS/2 mouse device common for all mice
input: AT Translated Set 2 keyboard as /class/input/input1
TCP cubic registered
NET: Registered protocol family 1
NET: Registered protocol family 17
Using IPI No-Shortcut mode
Freeing unused kernel memory: 304k freed
libata version 2.21 loaded.
ACPI: PCI Interrupt 0000:00:14.1[A] -> Link [LNK0] -> GSI 11 (level, low) -> IRQ 11
scsi0 : pata_atiixp
scsi1 : pata_atiixp
ata1: PATA max UDMA/100 cmd 0x000101f0 ctl 0x000103f6 bmdma 0x00018070 irq 14
ata2: PATA max UDMA/100 cmd 0x00010170 ctl 0x00010376 bmdma 0x00018078 irq 15
ata1.00: ATA-7: Hitachi HTS541260H9AT00, HP2OA23C, max UDMA/100
ata1.00: 117210240 sectors, multi 16: LBA48 
ata1.00: configured for UDMA/100
ata2.00: ATAPI: UJDA760eDVD/CDRW, 1.02, max UDMA/33
ata2.00: configured for UDMA/33
scsi 0:0:0:0: Direct-Access     ATA      Hitachi HTS54126 HP2O PQ: 0 ANSI: 5
scsi 1:0:0:0: CD-ROM            MATSHITA UJDA760eDVD/CDRW 1.02 PQ: 0 ANSI: 5
sd 0:0:0:0: [sda] 117210240 512-byte hardware sectors (60012 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 0:0:0:0: [sda] 117210240 512-byte hardware sectors (60012 MB)
sd 0:0:0:0: [sda] Write Protect is off
sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sda: sda1 sda2 sda3 sda4
sd 0:0:0:0: [sda] Attached SCSI disk
sr0: scsi3-mmc drive: 24x/24x writer cd/rw xa/form2 cdda tray
Uniform CD-ROM driver Revision: 3.20
sr 1:0:0:0: Attached scsi CD-ROM sr0
kjournald starting.  Commit interval 5 seconds
EXT3-fs: mounted filesystem with ordered data mode.
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
8139cp: 10/100 PCI Ethernet driver v1.3 (Mar 22, 2004)
8139cp 0000:02:0b.0: This (id 10ec:8139 rev 10) is not an 8139C+ compatible chip
8139cp 0000:02:0b.0: Try the "8139too" driver instead.
8139too Fast Ethernet driver 0.9.28
ACPI: PCI Interrupt 0000:02:0b.0[A] -> Link [LNK1] -> GSI 10 (level, low) -> IRQ 10
eth0: RealTek RTL8139 at 0xde80c400, 00:0d:5e:d8:ea:6d, IRQ 10
eth0:  Identified 8139 chip type 'RTL-8100B/8139D'
ACPI: PCI Interrupt 0000:00:14.6[b] -> Link [LNK1] -> GSI 10 (level, low) -> IRQ 10
ACPI: PCI Interrupt 0000:00:14.5[b] -> Link [LNK1] -> GSI 10 (level, low) -> IRQ 10
ACPI: AC Adapter [ACAD] (off-line)
ACPI: Battery Slot [BAT1] (battery absent)
input: Power Button (FF) as /class/input/input2
ACPI: Power Button (FF) [PWRF]
input: Power Button (CM) as /class/input/input3
ACPI: Power Button (CM) [PWRB]
input: Lid Switch as /class/input/input4
ACPI: Lid Switch [LID]
ACPI: Transitioning device [FAN] to D3
ACPI: Transitioning device [FAN] to D3
ACPI: Fan [FAN] (off)
ACPI: CPU0 (power states: C1[C1] C2[C2])
ACPI: Processor [CPU0] (supports 8 throttling states)
ACPI: Thermal Zone [THRM] (60 C)
ohci_hcd: 2006 August 04 USB 1.1 'Open' Host Controller (OHCI) Driver
ACPI: PCI Interrupt Link [LNK3] enabled at IRQ 11
ACPI: PCI Interrupt 0000:00:13.0[A] -> Link [LNK3] -> GSI 11 (level, low) -> IRQ 11
ohci_hcd 0000:00:13.0: OHCI Host Controller
ohci_hcd 0000:00:13.0: new USB bus registered, assigned bus number 1
ohci_hcd 0000:00:13.0: irq 11, io mem 0xdc001000
Linux agpgart interface v0.102 (c) Dave Jones
usb usb1: configuration #1 chosen from 1 choice
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 3 ports detected
ACPI: PCI Interrupt 0000:00:13.1[A] -> Link [LNK3] -> GSI 11 (level, low) -> IRQ 11
ohci_hcd 0000:00:13.1: OHCI Host Controller
ohci_hcd 0000:00:13.1: new USB bus registered, assigned bus number 2
ohci_hcd 0000:00:13.1: irq 11, io mem 0xdc002000
usb usb2: configuration #1 chosen from 1 choice
hub 2-0:1.0: USB hub found
hub 2-0:1.0: 3 ports detected
pci_hotplug: PCI Hot Plug PCI Core version: 0.5
agpgart: Detected Ati IGP9100/M chipset
agpgart: AGP aperture is 64M @ 0xe0000000
shpchp: Standard Hot Plug PCI Controller Driver version: 0.4
ACPI: PCI Interrupt 0000:00:13.2[A] -> Link [LNK3] -> GSI 11 (level, low) -> IRQ 11
ehci_hcd 0000:00:13.2: EHCI Host Controller
ehci_hcd 0000:00:13.2: new USB bus registered, assigned bus number 3
ehci_hcd 0000:00:13.2: irq 11, io mem 0xdc003000
ehci_hcd 0000:00:13.2: USB 2.0 started, EHCI 1.00, driver 10 Dec 2004
usb usb3: configuration #1 chosen from 1 choice
hub 3-0:1.0: USB hub found
hub 3-0:1.0: 6 ports detected
sd 0:0:0:0: Attached scsi generic sg0 type 0
sr 1:0:0:0: Attached scsi generic sg1 type 5
piix4_smbus 0000:00:14.0: Found 0000:00:14.0 device
sdhci: Secure Digital Host Controller Interface driver
sdhci: Copyright(c) Pierre Ossman
sdhci: SDHCI controller found at 0000:02:0a.3 [1180:0822] (rev 15)
ACPI: PCI Interrupt 0000:02:0a.3[D] -> Link [LNK3] -> GSI 11 (level, low) -> IRQ 11
mmc0: SDHCI at 0xdc210800 irq 11 DMA
ACPI: PCI Interrupt Link [LNK2] enabled at IRQ 10
ACPI: PCI Interrupt 0000:02:0a.2[C] -> Link [LNK2] -> GSI 10 (level, low) -> IRQ 10
firewire_ohci: Added fw-ohci device 0000:02:0a.2, OHCI version 1.0
Yenta: CardBus bridge found at 0000:02:0a.0 [1033:824c]
parport_pc 00:09: reported by Plug and Play ACPI
parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE]
Yenta: ISA IRQ mask 0x0038, PCI irq 11
Socket status: 30000006
Yenta: Raising subordinate bus# of parent bus (#02) from #02 to #06
pcmcia: parent PCI bridge I/O window: 0xa000 - 0xafff
cs: IO port probe 0xa000-0xafff: clean.
pcmcia: parent PCI bridge Memory window: 0xdc200000 - 0xdc2fffff
pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x37ffffff
Yenta: CardBus bridge found at 0000:02:0a.1 [1033:824c]
Yenta: ISA IRQ mask 0x0038, PCI irq 10
Socket status: 30000006
Yenta: Raising subordinate bus# of parent bus (#02) from #06 to #0a
pcmcia: parent PCI bridge I/O window: 0xa000 - 0xafff
cs: IO port probe 0xa000-0xafff: clean.
pcmcia: parent PCI bridge Memory window: 0xdc200000 - 0xdc2fffff
pcmcia: parent PCI bridge Memory window: 0x30000000 - 0x37ffffff
firewire_core: created new fw device fw0 (0 config rom retries)
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.30.13 (AR5210, AR5211, AR5212, AR5416, RF5111, RF5112, RF2413, RF5413, RF2133)
wlan: 0.8.4.2 (0.9.4)
ath_pci: 0.9.4.5 (0.9.4)
ACPI: PCI Interrupt 0000:02:04.0[A] -> Link [LNK2] -> GSI 10 (level, low) -> IRQ 10
ath_pci: switching rfkill capability off
ath_rate_sample: 1.2 (0.9.4)
ath_pci: switching per-packet transmit power control off
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 5.9 phy 4.3 radio 4.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
lp0: using parport0 (interrupt-driven).
input: PS/2 Mouse as /class/input/input5
input: AlpsPS/2 ALPS GlidePoint as /class/input/input6
wifi0: Atheros 5212: mem=0xdc200000, irq=10
rtc_cmos 00:03: rtc core: registered rtc_cmos as rtc0
rtc0: alarms up to one day
ppdev: user-space parallel port driver
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x408-0x40f 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: excluding 0xc00-0xc07 0xc10-0xc17 0xc50-0xc57 0xc68-0xc6f 0xcd0-0xcd7
cs: IO port probe 0xa00-0xaff: clean.
cs: IO port probe 0x100-0x3af: clean.
cs: IO port probe 0x3e0-0x4ff: excluding 0x408-0x40f 0x4d0-0x4d7
cs: IO port probe 0x820-0x8ff: clean.
cs: IO port probe 0xc00-0xcf7: excluding 0xc00-0xc07 0xc10-0xc17 0xc50-0xc57 0xc68-0xc6f 0xcd0-0xcd7
cs: IO port probe 0xa00-0xaff: clean.
input: PC Speaker as /class/input/input7
Marking TSC unstable due to: possible TSC halt in C2.
Time: acpi_pm clocksource has been installed.
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda3, internal journal
EXT2-fs warning: maximal mount count reached, running e2fsck is recommended
kjournald starting.  Commit interval 5 seconds
EXT3-fs warning: maximal mount count reached, running e2fsck is recommended
EXT3 FS on sda4, internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Adding 530136k swap on /dev/sda2.  Priority:-1 extents:1 across:530136k
[drm] Initialized drm 1.1.0 20060810
ACPI: PCI Interrupt 0000:01:05.0[A] -> Link [LNK0] -> GSI 11 (level, low) -> IRQ 11
[drm] Initialized radeon 1.27.0 20060524 on minor 0
agpgart: Found an AGP 3.0 compliant device at 0000:00:00.0.
agpgart: Putting AGP V3 device at 0000:00:00.0 into 4x mode
agpgart: Putting AGP V3 device at 0000:01:05.0 into 4x mode
[drm] Setting GART location based on old memory map
[drm] Loading R200 Microcode
[drm] writeback test succeeded in 1 usecs

I think there must be a way to get sound back other than reinstalling Arch......

Offline

#4 2007-09-02 16:28:39

mac57
Member
From: St. Somewhere
Registered: 2006-01-06
Posts: 302
Website

Re: Used to have sound but now doesn't

Hi dumas, welcome to one of Linux's little boondoggles. Getting sound to work with ALSA if it doesn't just "take" during the install has always been one of the most frustrating things about modern Linux distros IMHO.

I would try two things:

1/ Create a new user, make sure that user is part of groups users,audio, and any other groups you may need. Does this user get sound? I doubt it will; this is a long shot, but worth the try.

2/ Check out your /dev. Make sure that /dev/sound and /dev/dsp all look "right" - the devices are owned by the right groups, they have the right rw privileges, etc. Correct anything that looks obviously wrong. Also, recheck /etc/modprobe.conf and /etc/asound.state and make sure that they also look right.

If all this looks right but you fail to get sound, I am flumoxed.


Cast off the Microsoft shackles Jan 2005

Offline

#5 2007-09-03 01:01:39

dumas
Member
From: Sydney
Registered: 2007-09-01
Posts: 103

Re: Used to have sound but now doesn't

Nah, doesn't work.

New user doesn't work, as expected, all other stuff looks alright:

ls -l /dev/sound

total 0
crw-rw---- 1 root audio 14,  4 2007-09-03 20:25 audio
crw-rw---- 1 root audio 14, 20 2007-09-03 20:25 audio1
crw-rw---- 1 root audio 14,  3 2007-09-03 20:25 dsp
crw-rw---- 1 root audio 14, 19 2007-09-03 20:25 dsp1
crw-rw---- 1 root audio 14,  0 2007-09-03 20:25 mixer
crw-rw---- 1 root audio 14, 16 2007-09-03 20:25 mixer1

ls -l /dev/dsp

lrwxrwxrwx 1 root root 9 2007-09-03 20:25 /dev/dsp -> sound/dsp

/etc/modprobe.conf: I've tried both commenting and uncommenting the ALSACONF aliases

#
# /etc/modprobe.conf (for v2.6 kernels)
#

#disable autoload of ipv6
alias net-pf-10 off

# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.14 ---
alias snd-card-0 snd-atiixp
alias sound-slot-0 snd-atiixp
# --- END: Generated by ALSACONF, do not edit. ---

/etc/asound.state: a few of the values were false instead of true, although I think they were right. I changed all to true, but to no avail.

state.IXP {
    control.1 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Master Playback Switch'
        value.0 true
        value.1 true
    }
    control.2 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        iface MIXER
        name 'Master Playback Volume'
        value.0 23
        value.1 23
    }
    control.3 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Headphone Playback Switch'
        value.0 true
        value.1 true
    }
    control.4 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        iface MIXER
        name 'Headphone Playback Volume'
        value.0 23
        value.1 23
    }
    control.5 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Master Mono Playback Switch'
        value true
    }
    control.6 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 1
        comment.range '0 - 31'
        iface MIXER
        name 'Master Mono Playback Volume'
        value 23
    }
    control.7 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Phone Playback Switch'
        value true
    }
    control.8 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 1
        comment.range '0 - 31'
        iface MIXER
        name 'Phone Playback Volume'
        value 28
    }
    control.9 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Mic Playback Switch'
        value false
    }
    control.10 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 1
        comment.range '0 - 31'
        iface MIXER
        name 'Mic Playback Volume'
        value 0
    }
    control.11 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Mic Boost (+20dB)'
        value true
    }
    control.12 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Line Playback Switch'
        value.0 true
        value.1 true
    }
    control.13 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        iface MIXER
        name 'Line Playback Volume'
        value.0 28
        value.1 28
    }
    control.14 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'CD Playback Switch'
        value.0 true
        value.1 true
    }
    control.15 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        iface MIXER
        name 'CD Playback Volume'
        value.0 28
        value.1 28
    }
    control.16 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Aux Playback Switch'
        value.0 true
        value.1 true
    }
    control.17 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        iface MIXER
        name 'Aux Playback Volume'
        value.0 28
        value.1 28
    }
    control.18 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'PCM Playback Switch'
        value.0 true
        value.1 true
    }
    control.19 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 31'
        iface MIXER
        name 'PCM Playback Volume'
        value.0 28
        value.1 28
    }
    control.20 {
        comment.access 'read write'
        comment.type ENUMERATED
        comment.count 2
        comment.item.0 Mic
        comment.item.1 CD
        comment.item.2 Video
        comment.item.3 Aux
        comment.item.4 Line
        comment.item.5 Mix
        comment.item.6 'Mix Mono'
        comment.item.7 Phone
        iface MIXER
        name 'Capture Source'
        value.0 Mic
        value.1 Mic
    }
    control.21 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 2
        iface MIXER
        name 'Capture Switch'
        value.0 true
        value.1 true
    }
    control.22 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 15'
        iface MIXER
        name 'Capture Volume'
        value.0 0
        value.1 0
    }
    control.23 {
        comment.access 'read write'
        comment.type ENUMERATED
        comment.count 1
        comment.item.0 Mix
        comment.item.1 Mic
        iface MIXER
        name 'Mono Output Select'
        value Mix
    }
    control.24 {
        comment.access 'read write'
        comment.type ENUMERATED
        comment.count 1
        comment.item.0 Mic1
        comment.item.1 Mic2
        iface MIXER
        name 'Mic Select'
        value Mic1
    }
    control.25 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Stereo Mic'
        value true
    }
    control.26 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Headphone Jack Sense'
        value true
    }
    control.27 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Line Jack Sense'
        value true
    }
    control.28 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'External Amplifier'
        value true
    }
}
state.Modem {
    control.1 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Off-hook Switch'
        value false
    }
    control.2 {
        comment.access 'read write'
        comment.type BOOLEAN
        comment.count 1
        iface MIXER
        name 'Caller ID Switch'
        value false
    }
    control.3 {
        comment.access 'read write'
        comment.type INTEGER
        comment.count 2
        comment.range '0 - 3'
        iface MIXER
        name 'Modem Speaker Volume'
        value.0 0
        value.1 0
    }
}

/etc/rc.conf: I have tried both autoloading module and not autoloading module, in the module arrays, the uncommented one (short one) is original one, the commented long one is from hwdetect --modules

#
# /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"
# 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_AU.utf8"
HARDWARECLOCK="localtime"
TIMEZONE="Australia/Sydney"
KEYMAP="us"
CONSOLEFONT=
CONSOLEMAP=
USECOLOR="yes"

#
# -----------------------------------------------------------------------
# HARDWARE
# -----------------------------------------------------------------------
#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"
# Module Blacklist - modules in this list will never be loaded by udev
MOD_BLACKLIST=()
#
# Modules to load at boot-up (in this order)
#   - prefix a module with a ! to blacklist it
#
MODULES=(8139cp 8139too mii ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-atiixp-modem snd-atiixp soundcore)
#MODULES=(cdrom agpgart ati-agp lp ppdev firewire-core firewire-ohci i2c-algo-bit i2c-piix4 i2c-core evdev joydev pcspkr psmouse serio_raw tsdev mmc_core sdhci parport parport_pc pci_hotplug shpchp rtc-cmos rtc-core rtc-lib radeonfb fb_ddc crc-itu-t ac97_bus snd-mixer-oss snd-pcm-oss snd-page-alloc snd-pcm snd-timer snd snd-ac97-codec snd-atiixp-modem snd-atiixp soundcore pata_atiixp ata_generic 8139cp 8139too mii ath_hal ath_pci wlan pcmcia_core rsrc_nonstatic yenta_socket usbcore ehci-hcd ohci-hcd ieee1394 ohci1394 sd_mod sr_mod st) 
#
# Scan for LVM volume groups at startup, required if you use LVM
USELVM="no"

#
# -----------------------------------------------------------------------
# NETWORKING
# -----------------------------------------------------------------------
#
HOSTNAME="fung"
#
# 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
#
# Note: to use DHCP, set your interface to be "dhcp" (eth0="dhcp")
#
lo="lo 127.0.0.1"
#eth0="dhcp"
ath0="dhcp"
#eth0="eth0 192.168.0.2 netmask 255.255.255.0 broadcast 192.168.0.255"
INTERFACES=(lo ath0) # eth0)
#
# 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-profiles
#
#NET_PROFILES=(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)
DAEMONS=(syslogd klogd !pcmcia crond gdm alsa)


# End of file

lsmod|grep '^snd'
ls -l /dev/snd/
Above 2 commands are alright.
Rechecked alsamixer and groups, both alright.

Offline

#6 2007-09-03 15:59:51

mac57
Member
From: St. Somewhere
Registered: 2006-01-06
Posts: 302
Website

Re: Used to have sound but now doesn't

I am out of ideas at this point. This is where I do what you are doing - post in the forum looking for more help. Getting sound to work in Linux can be annoyingly frustrating. It seems like such a simple thing, and lesser systems (i.e. Windows) seem to just seamlessly pick it up and run with it. Why can't Linux do the same?


Cast off the Microsoft shackles Jan 2005

Offline

#7 2007-09-03 16:02:06

shining
Pacman Developer
Registered: 2006-05-10
Posts: 2,043

Re: Used to have sound but now doesn't

mac57 wrote:

I am out of ideas at this point. This is where I do what you are doing - post in the forum looking for more help. Getting sound to work in Linux can be annoyingly frustrating. It seems like such a simple thing, and lesser systems (i.e. Windows) seem to just seamlessly pick it up and run with it. Why can't Linux do the same?

What about asking the authors of your sound chipset ?


pacman roulette : pacman -S $(pacman -Slq | LANG=C sort -R | head -n $((RANDOM % 10)))

Offline

#8 2007-09-03 17:57:56

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: Used to have sound but now doesn't

mac57 wrote:

Why can't Linux do the same?

Because the creators of the hardware write the software drivers, and have a commercial interest in them working and staying working. Windows APIs stay backwards-compatible, to support the writers of the software drivers.

With open-source on the other hand, it constantly evolves and sometimes breaks, and there are new variations of soundcards coming out all the time which ALSA doesn't quite support.

Anyway, see wiki - not Arch-specific, but should be helpful nevertheless.

Offline

#9 2007-10-07 10:30:26

dumas
Member
From: Sydney
Registered: 2007-09-01
Posts: 103

Re: Used to have sound but now doesn't

Now the problem is half solved. Now I have sound back to normal, except I can't play audio cds. I think what first broke the sound was I updated the kernel or whatever without doing a full system upgrade, and with all the changes in Don't Panic, the sound broke. Then I found if I enable the jack sense of either headphone or line, the sound would be channeled elsewhere, so the sound would be muted even if things are alright.

Now I can play sound alright, except if I play them directly from audio cd. I can use abcde to extract them and play them perfectly. I am in optical group, I can use mcdp or cdcd and "listen" to the cd, but no sound comes out, even though there's no error. I have libcdaudio, libcddb, libcdio. I used to use SoundJuicer in Ubuntu and can play cds alright, so I know it's not a hardware problem. My suspicion is I muted some channel for audio cd, although I have tried muting and unmuting individual channels in alsamixer.

I guess (and hope) this is due to a trivial negligence of mine, but I was unable to find anything similar in wiki's or forums for Arch or other distros.

Offline

#10 2007-10-14 03:55:45

dumas
Member
From: Sydney
Registered: 2007-09-01
Posts: 103

Re: Used to have sound but now doesn't

Looks like no one knows what the problem is......

I tried watching vcd and dvd, both give sound and behave well.

cdcd getvol gives this:
                       left         right
front                255        255
back                0            0
(i'm using builtin speakers in laptop)

I tried using sound-juicer. In the terminal it says:

** (sound-juicer:5602): WARNING **: hal_initialize failed: Failed to connect to socket /var/run/dbus/system_bus_socket: No such file or directory

And it pops a message box up:
No CD-ROM drives found
Sound Juicer could not find any CD-ROM drives to read.

I checked I have hal and hal-info, and all the dependencies for sound-juicer is up to date.

I'd prefer using cdcd, and cdcd can detect my cdrom and list the tracks. The problem is cdcd plays but gives no sound. A minor problem that I want to be fixed is cdcd can't connect to cddb. This should be an easy thing but I would want that to be fixed eventually.

Offline

Board footer

Powered by FluxBB