linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Powerbook G4 and sound
@ 2011-12-05 15:38 Петр метель
  0 siblings, 0 replies; only message in thread
From: Петр метель @ 2011-12-05 15:38 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: jrnieder, alsa-devel

[-- Attachment #1: Type: text/plain, Size: 796 bytes --]

Hello,

I've got problem with sound on my Powerbook G4 Titanium
(PowerBook3,5). Sound always cranks and skips when I moving my
touchpad, regardless of the source of sound. It happens in all my
programs, including vlc, mplayer, e-uae and ioquake3 - they show in
the log messeges like "underrun occured" and "broken pipe".
If I remember correctly, this bug appears on kernel 2.6.32-5 (from
Debian Sqeeze) and later. On kernel 2.6.38 from Ubuntu sound works
_almost_ normally (cranks occur rarely).

I used also mpd server, but it breaks after sound cranks (ncmpc shows
"Timeout") and I can only restart mpd server (/etc/init.d/mpd restart)
to get mpd working (for some time).

Log from alsa-test.sh in attachement.

Sorry for my English :)

Best regards,
Петр метель

[-- Attachment #2: alsa-info.txt.zUlUP5eQPO --]
[-- Type: application/octet-stream, Size: 8046 bytes --]

upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.60
!!################################

!!Script ran on: Mon Dec  5 15:32:32 UTC 2011


!!Linux Distribution
!!------------------

Debian GNU/Linux wheezy/sid \n \l


!!DMI Information
!!---------------

Manufacturer:      
Product Name:      
Product Version:   


!!Kernel Information
!!------------------

Kernel release:    3.1.0-1-powerpc
Operating System:  GNU/Linux
Architecture:      ppc
Processor:         unknown
SMP Enabled:       No


!!ALSA Version
!!------------

Driver version:     1.0.24
Library version:    1.0.24.1
Utilities version:  1.0.24.2


!!Loaded ALSA modules
!!-------------------

snd_powermac


!!Sound Servers on this system
!!----------------------------

No sound servers found.


!!Soundcards recognised by ALSA
!!-----------------------------

 0 [Snapper        ]: PMac Snapper - PowerMac Snapper
                      PowerMac Snapper (Dev 26) Sub-frame 0


!!PCI Soundcards installed in the system
!!--------------------------------------



!!Advanced information - PCI Vendor/Device/Subsystem ID's
!!--------------------------------------------------------



!!Modprobe options (Sound related)
!!--------------------------------

snd-atiixp-modem: index=-2
snd-intel8x0m: index=-2
snd-via82xx-modem: index=-2
snd-pcsp: index=-2
snd-usb-audio: index=-2


!!Loaded sound module options
!!--------------------------

!!Module: snd_powermac
	enable_beep : Y
	id : (null)
	index : -1


!!ALSA Device nodes
!!-----------------

crw-rw---T 1 root audio 116,  4 Dec  5 15:14 /dev/snd/controlC0
crw-rw---T 1 root audio 116,  3 Dec  5 15:14 /dev/snd/pcmC0D0c
crw-rw---T 1 root audio 116,  2 Dec  5 16:08 /dev/snd/pcmC0D0p
crw-rw---T 1 root audio 116,  1 Dec  5 15:14 /dev/snd/seq
crw-rw---T 1 root audio 116, 33 Dec  5 15:14 /dev/snd/timer

/dev/snd/by-path:
total 0
drwxr-xr-x 2 root root  60 Dec  5 15:14 .
drwxr-xr-x 3 root root 160 Dec  5 15:14 ..
lrwxrwxrwx 1 root root  12 Dec  5 15:14 platform-snd_powermac -> ../controlC0


!!Aplay/Arecord output
!!------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Snapper [PowerMac Snapper], device 0: PMac Snapper [PowerMac Snapper]
  Subdevices: 0/1
  Subdevice #0: subdevice #0

ARECORD

**** List of CAPTURE Hardware Devices ****
card 0: Snapper [PowerMac Snapper], device 0: PMac Snapper [PowerMac Snapper]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [Snapper]

Card hw:0 'Snapper'/'PowerMac Snapper (Dev 26) Sub-frame 0'
  Mixer name	: 'PowerMac Snapper'
  Components	: ''
  Controls      : 15
  Simple ctrls  : 14
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 176
  Mono:
  Front Left: Playback 128 [73%] [on]
  Front Right: Playback 128 [73%] [on]
Simple mixer control 'Headphone',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Headphone Detection',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Speaker',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'Bass',0
  Capabilities: volume volume-joined penum
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 72
  Mono: 0 [0%]
Simple mixer control 'Treble',0
  Capabilities: volume volume-joined penum
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 72
  Mono: 0 [0%]
Simple mixer control 'PCM',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 176
  Mono:
  Front Left: Playback 124 [70%]
  Front Right: Playback 124 [70%]
Simple mixer control 'Mic',0
  Capabilities: pvolume penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 176
  Mono:
  Front Left: Playback 0 [0%]
  Front Right: Playback 0 [0%]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined penum
  Playback channels: Mono
  Limits: Playback 0 - 100
  Mono: Playback 15 [15%]
Simple mixer control 'Auto Mute',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'DRC',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'DRC Range',0
  Capabilities: volume volume-joined penum
  Playback channels: Mono
  Capture channels: Mono
  Limits: 0 - 239
  Mono: 143 [60%]
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Line' 'Mic'
  Item0: 'Line'
Simple mixer control 'Monitor Mix',0
  Capabilities: volume penum
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 176
  Front Left: 0 [0%]
  Front Right: 0 [0%]


!!Alsactl output
!!-------------

--startcollapse--
state.Snapper {
	control.1 {
		iface MIXER
		name 'Master Playback Volume'
		value.0 128
		value.1 128
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 176'
		}
	}
	control.2 {
		iface MIXER
		name 'Master Playback Switch'
		value.0 true
		value.1 true
		comment {
			access 'read write'
			type BOOLEAN
			count 2
		}
	}
	control.3 {
		iface MIXER
		name 'PCM Playback Volume'
		value.0 124
		value.1 124
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 176'
		}
	}
	control.4 {
		iface MIXER
		name 'Mic Playback Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 176'
		}
	}
	control.5 {
		iface MIXER
		name 'Monitor Mix Volume'
		value.0 0
		value.1 0
		comment {
			access 'read write'
			type INTEGER
			count 2
			range '0 - 176'
		}
	}
	control.6 {
		iface MIXER
		name 'Tone Control - Bass'
		value 0
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 72'
		}
	}
	control.7 {
		iface MIXER
		name 'Tone Control - Treble'
		value 0
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 72'
		}
	}
	control.8 {
		iface MIXER
		name 'DRC Range'
		value 143
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 239'
		}
	}
	control.9 {
		iface MIXER
		name 'Input Source'
		value Line
		comment {
			access 'read write'
			type ENUMERATED
			count 1
			item.0 Line
			item.1 Mic
		}
	}
	control.10 {
		iface MIXER
		name 'Headphone Playback Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.11 {
		iface MIXER
		name 'Speaker Playback Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.12 {
		iface MIXER
		name 'DRC Switch'
		value false
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.13 {
		iface MIXER
		name 'Auto Mute Switch'
		value true
		comment {
			access 'read write'
			type BOOLEAN
			count 1
		}
	}
	control.14 {
		iface MIXER
		name 'Headphone Detection'
		value true
		comment {
			access read
			type BOOLEAN
			count 1
		}
	}
	control.15 {
		iface MIXER
		name 'Beep Playback Volume'
		value 15
		comment {
			access 'read write'
			type INTEGER
			count 1
			range '0 - 100'
		}
	}
}
--endcollapse--


!!All Loaded Modules
!!------------------

Module
usbhid
hid
aes_generic
uinput
cpufreq_conservative
cpufreq_powersave
cpufreq_ondemand
cpufreq_userspace
cpufreq_stats
nls_utf8
hfsplus
snd_powermac
loop
firewire_sbp2
arc4
b43
mac80211
cfg80211
rfkill
bcma
rng_core
ssb
mmc_core
snd_aoa_i2sbus
snd_pcm_oss
snd_mixer_oss
snd_pcm
snd_page_alloc
snd_seq_midi
snd_rawmidi
snd_seq_midi_event
snd_seq
radeon
ttm
snd_timer
drm_kms_helper
snd_seq_device
pcmcia
evdev
snd
drm
i2c_powermac
soundcore
power_supply
snd_aoa_soundbus
yenta_socket
pcmcia_rsrc
pcmcia_core
ext4
mbcache
jbd2
crc16
sr_mod
cdrom
sd_mod
crc_t10dif
ohci_hcd
ehci_hcd
usbcore
firewire_ohci
sungem
sungem_phy
firewire_core
crc_itu_t


!!ALSA/HDA dmesg
!!------------------




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-12-05 15:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-12-05 15:38 Powerbook G4 and sound Петр метель

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).