Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
pietr343
Posty: 83 Rejestracja: 22 maja 2010, 13:01
Lokalizacja: Raniżów
Post
autor: pietr343 » 30 stycznia 2011, 22:44
Witam.
Mam powerbooka G4 Titanium z Debianem Lenny i zainstalowaną alsą, mój problem polega na tym, że podczas słuchania muzyki z głośników dobiegają różne trzaski, które nasilają się zwłaszcza przy używaniu touchpada. Karta to powermac na rdzeniu snapper.
Zamieniłbym alsę na OSS4 ale obawiam się, że nie obsłuży mojej karty. Aktualizowałem Lennego do Squeeze, kompilowałem alsę poprzez:
ale nadal słychać te trzaski. Kiedyś miałem Ubuntu 10.04 i mi się wydawało, że było mniej tych trzasków ale i tak występowały. Nie chciałbym rezygnować z Debiana, bo Mac OS X jakoś
w ogóle mi nie podchodzi. Da się te trzaski jakoś wyeliminować, bo jedyny sposób jaki znalazłem to dotyczący Ubuntu i kart intela.
fnmirk
Senior Member
Posty: 8324 Rejestracja: 03 grudnia 2007, 06:37
Post
autor: fnmirk » 01 lutego 2011, 15:14
pietr343
Posty: 83 Rejestracja: 22 maja 2010, 13:01
Lokalizacja: Raniżów
Post
autor: pietr343 » 04 lutego 2011, 17:14
Użyłem skryptu z drugiego postu. Oto wyniki:
Kod: Zaznacz cały
upload=true&script=true&cardinfo=
!!################################
!!ALSA Information Script v 0.4.60
!!################################
!!Script ran on: Fri Feb 4 16:10:41 UTC 2011
!!Linux Distribution
!!------------------
Debian GNU/Linux 5.0 \n \l
!!DMI Information
!!---------------
Manufacturer:
Product Name:
Product Version:
!!Kernel Information
!!------------------
Kernel release: 2.6.37
Operating System: GNU/Linux
Architecture: ppc
Processor: unknown
SMP Enabled: No
!!ALSA Version
!!------------
Driver version: 1.0.23
Library version: 1.0.16
Utilities version: 1.0.16
!!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-powermac: index=0
!!Loaded sound module options
!!--------------------------
!!Module: snd_powermac
enable_beep : Y
id : (null)
index : 0
!!ALSA Device nodes
!!-----------------
crw-rw---- 1 root audio 116, 5 Feb 4 10:59 /dev/snd/controlC0
crw-rw---- 1 root audio 116, 4 Feb 4 10:59 /dev/snd/pcmC0D0c
crw-rw---- 1 root audio 116, 3 Feb 4 10:59 /dev/snd/pcmC0D0p
crw-rw---- 1 root audio 116, 2 Feb 4 10:59 /dev/snd/timer
!!Aplay/Arecord output
!!------------
APLAY
**** List of PLAYBACK Hardware Devices ****
card 0: Snapper [PowerMac Snapper], device 0: PMac Snapper [PowerMac Snapper]
Subdevices: 1/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 152 [86%] [on]
Front Right: Playback 152 [86%] [on]
Simple mixer control 'Headphone',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Headphone Detection',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [off]
Simple mixer control 'Speaker',0
Capabilities: pswitch pswitch-joined penum
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'Bass',0
Capabilities: volume volume-joined penum
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 72
Mono: 36 [50%]
Simple mixer control 'Treble',0
Capabilities: volume volume-joined penum
Playback channels: Mono
Capture channels: Mono
Limits: 0 - 72
Mono: 54 [75%]
Simple mixer control 'PCM',0
Capabilities: pvolume penum
Playback channels: Front Left - Front Right
Limits: Playback 0 - 176
Mono:
Front Left: Playback 92 [52%]
Front Right: Playback 92 [52%]
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 [off]
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: 214 [90%]
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 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 176'
iface MIXER
name 'Master Playback Volume'
value.0 152
value.1 152
}
control.2 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 2
iface MIXER
name 'Master Playback Switch'
value.0 true
value.1 true
}
control.3 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 176'
iface MIXER
name 'PCM Playback Volume'
value.0 92
value.1 92
}
control.4 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 176'
iface MIXER
name 'Mic Playback Volume'
value.0 0
value.1 0
}
control.5 {
comment.access 'read write'
comment.type INTEGER
comment.count 2
comment.range '0 - 176'
iface MIXER
name 'Monitor Mix Volume'
value.0 0
value.1 0
}
control.6 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 72'
iface MIXER
name 'Tone Control - Bass'
value 36
}
control.7 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 72'
iface MIXER
name 'Tone Control - Treble'
value 54
}
control.8 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 239'
iface MIXER
name 'DRC Range'
value 214
}
control.9 {
comment.access 'read write'
comment.type ENUMERATED
comment.count 1
comment.item.0 Line
comment.item.1 Mic
iface MIXER
name 'Input Source'
value Line
}
control.10 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Headphone Playback Switch'
value false
}
control.11 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Speaker Playback Switch'
value true
}
control.12 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'DRC Switch'
value false
}
control.13 {
comment.access 'read write'
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Auto Mute Switch'
value false
}
control.14 {
comment.access read
comment.type BOOLEAN
comment.count 1
iface MIXER
name 'Headphone Detection'
value false
}
control.15 {
comment.access 'read write'
comment.type INTEGER
comment.count 1
comment.range '0 - 100'
iface MIXER
name 'Beep Playback Volume'
value 15
}
}
--endcollapse--
!!All Loaded Modules
!!------------------
Module
radeon
ttm
drm_kms_helper
drm
power_supply
snd_powermac
loop
snd_aoa_i2sbus
snd_pcm
pcmcia
snd_timer
snd_page_alloc
snd
evdev
soundcore
yenta_socket
snd_aoa_soundbus
pcmcia_rsrc
pcmcia_core
uninorth_agp
agpgart
ext3
jbd
mbcache
ide_cd_mod
cdrom
sungem
sungem_phy
i2c_powermac
!!ALSA/HDA dmesg
!!------------------
fnmirk
Senior Member
Posty: 8324 Rejestracja: 03 grudnia 2007, 06:37
Post
autor: fnmirk » 04 lutego 2011, 22:19
Dostarcz jeszcze takie wyniki:
pietr343
Posty: 83 Rejestracja: 22 maja 2010, 13:01
Lokalizacja: Raniżów
Post
autor: pietr343 » 05 lutego 2011, 21:12
Kod: Zaznacz cały
0000:00:0b.0 0600: 106b:002d
0000:00:10.0 0300: 1002:4c66 (rev 01)
0001:10:0b.0 0600: 106b:002e
0001:10:17.0 ff00: 106b:0022 (rev 03)
0001:10:18.0 0c03: 106b:0019
0001:10:19.0 0c03: 106b:0019
0001:10:1a.0 0607: 104c:ac50 (rev 02)
0002:24:0b.0 0600: 106b:002f
0002:24:0e.0 0c00: 11c1:5811 (rev ff)
0002:24:0f.0 0200: 106b:0021 (rev 01)
Kod: Zaznacz cały
0000:00:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 AGP
Kernel driver in use: agpgart-uninorth
Kernel modules: uninorth-agp
0000:00:10.0 VGA compatible controller: ATI Technologies Inc Radeon RV250 [Mobility FireGL 9000] (rev 01)
Kernel driver in use: radeonfb
0001:10:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 PCI
Kernel modules: uninorth-agp
0001:10:17.0 Class ff00: Apple Computer Inc. KeyLargo Mac I/O (rev 03)
Kernel driver in use: macio
0001:10:18.0 USB Controller: Apple Computer Inc. KeyLargo USB
Kernel driver in use: ohci_hcd
0001:10:19.0 USB Controller: Apple Computer Inc. KeyLargo USB
Kernel driver in use: ohci_hcd
0001:10:1a.0 CardBus bridge: Texas Instruments PCI1410 PC card Cardbus Controller (rev 02)
Kernel driver in use: yenta_cardbus
Kernel modules: yenta_socket
0002:24:0b.0 Host bridge: Apple Computer Inc. UniNorth 1.5 Internal PCI
Kernel modules: uninorth-agp
0002:24:0e.0 FireWire (IEEE 1394): Agere Systems FW323 (rev ff)
0002:24:0f.0 Ethernet controller: Apple Computer Inc. UniNorth GMAC (Sun GEM) (rev 01)
Kernel driver in use: gem
Kernel modules: sungem
pietr343
Posty: 83 Rejestracja: 22 maja 2010, 13:01
Lokalizacja: Raniżów
Post
autor: pietr343 » 05 lutego 2011, 23:26
Więc jeśli dobrze rozumiem mogę wymienić moduł snd-powermac na dmasound_pmac. Tylko problem w tym, że po:
wyskakuje, że nie ma takiego modułu, próbowałem na kompilowanym 2.6.37 i na jądrze z repozytorium i wszędzie to samo. Chciałem kompilować jądro ale w pliku:
nie ma tego modułu. Mam go jakoś pobrać z internetu i załadować. Czy powinien być dostarczany razem z alsą?
fnmirk
Senior Member
Posty: 8324 Rejestracja: 03 grudnia 2007, 06:37
Post
autor: fnmirk » 05 lutego 2011, 23:41
Spróbuj takiej nazwy poszukać:
Obydwa moduły powinny być włączone.