Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!
Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.
Strony: 1
Witam.
W Debianie jestem nowy i instalujac alse wersja w nazwie tematu mam blad przy wykonywaniu make:
from hpetimer.c:26: /lib/modules/2.6.26-2-686/build/include/linux/sched.h: At top level: /lib/modules/2.6.26-2-686/build/include/linux/sched.h:1669: error: ‘THREAD_SIZE’ undeclared here (not in a function) hpetimer.c: In function ‘snd_hpet_open’: hpetimer.c:41: warning: implicit declaration of function ‘hpet_register’ hpetimer.c:44: warning: implicit declaration of function ‘hpet_control’ hpetimer.c: In function ‘snd_hpet_close’: hpetimer.c:51: warning: implicit declaration of function ‘hpet_unregister’ make[1]: *** [hpetimer.o] Error 1 make[1]: Leaving directory `/home/tomasz/Desktop/tmp/alsa-driver-1.0.9rc4a/acore' make: *** [compile] Error 1
wyniki polecen:
tomasz@debian:~$ lspci 00:00.0 Host bridge: Intel Corporation Mobile 4 Series Chipset Memory Controller Hub (rev 07) 00:01.0 PCI bridge: Intel Corporation Mobile 4 Series Chipset PCI Express Graphics Port (rev 07) 00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 03) 00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 03) 00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 03) 00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03) 00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 03) 00:1c.1 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 2 (rev 03) 00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 03) 00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 03) 00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 03) 00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 03) 00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 03) 00:1d.3 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 03) 00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 93) 00:1f.0 ISA bridge: Intel Corporation ICH9M LPC Interface Controller (rev 03) 00:1f.2 SATA controller: Intel Corporation ICH9M/M-E SATA AHCI Controller (rev 03) 00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 03) 00:1f.6 Signal processing controller: Intel Corporation 82801I (ICH9 Family) Thermal Subsystem (rev 03) 01:00.0 VGA compatible controller: nVidia Corporation G96 [GeForce 9600M GT] (rev a1) 02:00.0 Ethernet controller: Attansic Technology Corp. Atheros AR8121/AR8113/AR8114 PCI-E Ethernet Controller (rev b0) 05:00.0 Network controller: Intel Corporation Wireless WiFi Link 5100 tomasz@debian:~$ lspci -n 00:00.0 0600: 8086:2a40 (rev 07) 00:01.0 0604: 8086:2a41 (rev 07) 00:1a.0 0c03: 8086:2937 (rev 03) 00:1a.1 0c03: 8086:2938 (rev 03) 00:1a.7 0c03: 8086:293c (rev 03) 00:1b.0 0403: 8086:293e (rev 03) 00:1c.0 0604: 8086:2940 (rev 03) 00:1c.1 0604: 8086:2942 (rev 03) 00:1c.3 0604: 8086:2946 (rev 03) 00:1c.4 0604: 8086:2948 (rev 03) 00:1d.0 0c03: 8086:2934 (rev 03) 00:1d.1 0c03: 8086:2935 (rev 03) 00:1d.2 0c03: 8086:2936 (rev 03) 00:1d.3 0c03: 8086:2939 (rev 03) 00:1d.7 0c03: 8086:293a (rev 03) 00:1e.0 0604: 8086:2448 (rev 93) 00:1f.0 0601: 8086:2919 (rev 03) 00:1f.2 0106: 8086:2929 (rev 03) 00:1f.3 0c05: 8086:2930 (rev 03) 00:1f.6 1180: 8086:2932 (rev 03) 01:00.0 0300: 10de:0649 (rev a1) 02:00.0 0200: 1969:1026 (rev b0) 05:00.0 0280: 8086:4232
oraz
tomasz@debian:~$ cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xdb300000 irq 22 tomasz@debian:~$ cat /proc/asound/modules 0 snd_hda_intel tomasz@debian:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.16. tomasz@debian:~$ uname -a Linux debian 2.6.26-2-686 #1 SMP Sun Jun 21 04:57:38 UTC 2009 i686 GNU/Linux tomasz@debian:~$ dpkg -l | grep alsa ii alsa-base 1.0.20+dfsg-1 ALSA driver configuration files ii alsa-utils 1.0.20-2 ALSA utilities ii gstreamer0.10-alsa 0.10.23-3 GStreamer plugin for ALSA ii libpt2.6.1-plugins-alsa 2.6.1-2 PTLib audio plugin for the ALSA Interface ii libsdl1.2debian-alsa 1.2.13-4+b1 Simple DirectMedia Layer (with X11 and ALSA tomasz@debian:~$ dpkg -l | grep pulse ii gstreamer0.10-pulseaudio 0.10.15-2 GStreamer plugin for PulseAudio ii libpulse-browse0 0.9.15-2 PulseAudio client libraries (zeroconf suppor ii libpulse-mainloop-glib0 0.9.15-2 PulseAudio client libraries (glib support) ii libpulse0 0.9.15-2 PulseAudio client libraries ii pulseaudio 0.9.15-2 PulseAudio sound server ii pulseaudio-esound-compat 0.9.15-2 PulseAudio ESD compatibility layer ii pulseaudio-module-gconf 0.9.15-2 GConf module for PulseAudio sound server ii pulseaudio-module-hal 0.9.15-2 HAL device detection module for PulseAudio s ii pulseaudio-module-x11 0.9.15-2 X11 module for PulseAudio sound server ii pulseaudio-module-zeroconf 0.9.15-2 Zeroconf module for PulseAudio sound server ii pulseaudio-utils 0.9.15-2 Command line tools for the PulseAudio sound
Dodam ze to notebook i prosze o pomoc.
Offline
Probujesz instalować Bardzo bardzo bardzo stary sterownik mimo ze w kernelu masz nowszy który chyba tez jeszcze nie obsluguje tej karty.
Ten instaluj.
ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.20.tar.bz2
Offline
Make przeszlo bez problemu i dalej doszedlem do punktu
7) Edit your kernel module config (either /etc/modprobe.conf or /etc/modules.conf, depending on the kernel version). If you are not sure, what to do, you may try the alsaconf script available in the alsa-utils package.
, ktory minalem, bo nie wiem co zrobic.
A przy nastepnym dostalem:
debian:/home/tomasz/Desktop/tmp/alsa-driver-1.0.20# modprobe snd-hda_intel WARNING: Error inserting snd_hda_codec (/lib/modules/2.6.26-2-686/kernel/sound/pci/hda/snd-hda-codec.ko): Unknown symbol in module, or unknown parameter (see dmesg) FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.26-2-686/kernel/sound/pci/hda/snd-hda-intel.ko): Unknown symbol in module, or unknown parameter (see dmesg)
Offline
Teraz zrób restart kompa i po nim pokaz
cat /proc/asound/cards
oraz
cat /proc/asound/version
Offline
tomasz@debian:~$ cat /proc/asound/cards 0 [Intel ]: HDA-Intel - HDA Intel HDA Intel at 0xdb300000 irq 22 tomasz@debian:~$ cat /proc/asound/version Advanced Linux Sound Architecture Driver Version 1.0.20. Compiled on Aug 1 2009 for kernel 2.6.26-2-686 (SMP).
Offline
Nadal nie ma dźwięku ?
Odinstaluj calkowicie to pulseaudio jeśli nie musisz go używać.
W jednym terminalu odpal
speaker-test
W drugim terminalu odpal alsamixer i pobaw sie suwakami i przełacznikami (wyglądają OO lub MM) przełączasz klawiszem [b]m[/b]
Jeśli żaden dźwięk się nie pojawi podaj chip karty z alsamixera.
Offline
Pobawilem sie troche i nie ma dzwieku. Za to przeszlo modprobe snd-hda_intel.
chip: Nvidia MCP78 HDMI
Ostatnio edytowany przez LuckyF (2009-08-01 12:45:48)
Offline
Modprobe nie musisz robić bo modul automatycznie się laduje po co ręcznie czynić to poraz kolejny.
Pokaż jeszcze
cat /proc/asound/card0/codec#* | grep Codec
oraz
amixer scontents
To pulseaudio osinstalowaleś?
Offline
pulseaudio odinstalowalem
tomasz@debian:~$ cat /proc/asound/card0/codec#* | grep Codec Codec: Realtek ALC889 Codec: LSI ID 1040 Codec: Nvidia MCP78 HDMI tomasz@debian:~$ amixer scontents Simple mixer control 'Master',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 60 [94%] [-4.00dB] [on] Simple mixer control 'Headphone',0 Capabilities: pswitch Playback channels: Front Left - Front Right Mono: Front Left: Playback [off] Front Right: Playback [off] Simple mixer control 'PCM',0 Capabilities: pvolume Playback channels: Front Left - Front Right Limits: Playback 0 - 255 Mono: Front Left: Playback 255 [100%] [0.00dB] Front Right: Playback 255 [100%] [0.00dB] Simple mixer control 'Front',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [2.00dB] [off] Front Right: Playback 64 [100%] [2.00dB] [off] Simple mixer control 'Front Mic',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 31 [100%] [12.00dB] [off] Front Right: Playback 31 [100%] [12.00dB] [off] Simple mixer control 'Front Mic Boost',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 3 [100%] Front Right: 3 [100%] Simple mixer control 'Surround',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 64 [100%] [2.00dB] [off] Front Right: Playback 64 [100%] [2.00dB] [off] Simple mixer control 'Center',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 64 [100%] [2.00dB] [off] Simple mixer control 'LFE',0 Capabilities: pvolume pvolume-joined pswitch pswitch-joined Playback channels: Mono Limits: Playback 0 - 64 Mono: Playback 0 [0%] [-62.00dB] [off] Simple mixer control 'Side',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 64 Mono: Front Left: Playback 0 [0%] [-62.00dB] [off] Front Right: Playback 0 [0%] [-62.00dB] [off] Simple mixer control 'Line',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'CD',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 25 [81%] [3.00dB] [on] Front Right: Playback 25 [81%] [3.00dB] [on] Simple mixer control 'Mic',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 0 [0%] [-34.50dB] [off] Front Right: Playback 0 [0%] [-34.50dB] [off] Simple mixer control 'Mic Boost',0 Capabilities: volume Playback channels: Front Left - Front Right Capture channels: Front Left - Front Right Limits: 0 - 3 Front Left: 0 [0%] Front Right: 0 [0%] Simple mixer control 'IEC958',0 Capabilities: pswitch pswitch-joined Playback channels: Mono Mono: Playback [off] Simple mixer control 'Capture',0 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 46 Front Left: Capture 1 [2%] [-15.00dB] [on] Front Right: Capture 1 [2%] [-15.00dB] [on] Simple mixer control 'Capture',1 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 46 Front Left: Capture 0 [0%] [-16.00dB] [off] Front Right: Capture 0 [0%] [-16.00dB] [off] Simple mixer control 'Capture',2 Capabilities: cvolume cswitch Capture channels: Front Left - Front Right Limits: Capture 0 - 46 Front Left: Capture 0 [0%] [-16.00dB] [off] Front Right: Capture 0 [0%] [-16.00dB] [off] Simple mixer control 'Beep',0 Capabilities: pvolume pswitch Playback channels: Front Left - Front Right Limits: Playback 0 - 31 Mono: Front Left: Playback 23 [74%] [0.00dB] [off] Front Right: Playback 23 [74%] [0.00dB] [off] Simple mixer control 'Digital',0 Capabilities: cvolume Capture channels: Front Left - Front Right Limits: Capture 0 - 120 Front Left: Capture 60 [50%] [0.00dB] Front Right: Capture 60 [50%] [0.00dB] Simple mixer control 'Input Source',0 Capabilities: cenum Items: 'Mic' 'Front Mic' 'Line' 'CD' Item0: 'Mic' Simple mixer control 'Input Source',1 Capabilities: cenum Items: 'Mic' 'Front Mic' 'Line' 'CD' Item0: 'Mic' Simple mixer control 'Input Source',2 Capabilities: cenum Items: 'Mic' 'Front Mic' 'Line' 'CD' Item0: 'Mic'
Offline
Pokaż no jeszcze
aplay -l
i pytanie czy speaker-test leci czy sypie błedami ?
Nie jest to przypadkiem Acer 6935G ?
Offline
no patrz
tomasz@debian:~$ aplay -l **** List of PLAYBACK Hardware Devices **** card 0: Intel [HDA Intel], device 0: ALC889 Analog [ALC889 Analog] Subdevices: 1/1 Subdevice #0: subdevice #0 card 0: Intel [HDA Intel], device 3: NVIDIA HDMI [NVIDIA HDMI] Subdevices: 1/1 Subdevice #0: subdevice #0
tak to 6935G, a speaker-test leci jak powinien
Offline
Spróbuj dopisać sobie do /etc/modprobe.d/alsa-base.conf
options snd-hda-intel model=acer-aspire-8930g
Potem zrestartuj kompa.
Offline
Sprobowalem i nie pomoglo niestety. A to moj plik alsa-base.conf
# autoloader aliases install sound-slot-0 /sbin/modprobe snd-card-0 install sound-slot-1 /sbin/modprobe snd-card-1 install sound-slot-2 /sbin/modprobe snd-card-2 install sound-slot-3 /sbin/modprobe snd-card-3 install sound-slot-4 /sbin/modprobe snd-card-4 install sound-slot-5 /sbin/modprobe snd-card-5 install sound-slot-6 /sbin/modprobe snd-card-6 install sound-slot-7 /sbin/modprobe snd-card-7 # Cause optional modules to be loaded above generic modules install snd /sbin/modprobe --ignore-install snd && { /sbin/modprobe --quiet snd-ioctl32 ; /sbin/modprobe --quiet snd-seq ; } install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi && { /sbin/modprobe --quiet snd-seq-midi ; : ; } install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1 && { /sbin/modprobe --quiet snd-emu10k1-synth ; : ; } # Prevent abnormal drivers from grabbing index 0 options bt87x index=-2 options cx88_alsa index=-2 options snd-atiixp-modem index=-2 options snd-intel8x0m index=-2 options snd-via82xx-modem index=-2 # Keep snd-pcsp from beeing loaded as first soundcard options snd-pcsp index=-2 options snd-hda-intel model=acer-aspire-8930g
Offline
A może pomoże wpis model=auto albo model = 3stack ?
Offline
Raczej nie.
Zostaw wszystko jak jest tylko zainstaluj jeszcze nowszy sterownik
[url]ftp://ftp.kernel.org/pub/linux/kernel/people/tiwai/snapshot/alsa-driver-snapshot.tar.bz2[/url]
Offline
W sumie to wygooglowalem cos takiego:
alias snd-card-0 snd-hda-intel options snd-hda-intel enable_msi=1 options snd-hda-intel model=auto options snd-hda-intel single_cmd=1
i dzwiek dziala.
Dzieki za pomoc!
Offline
Strony: 1
Time (s) | Query |
---|---|
0.00010 | SET CHARSET latin2 |
0.00004 | SET NAMES latin2 |
0.00094 | SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.219.214.127' WHERE u.id=1 |
0.00621 | REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.219.214.127', 1733978184) |
0.00048 | SELECT * FROM punbb_online WHERE logged<1733977884 |
0.00076 | SELECT topic_id FROM punbb_posts WHERE id=124427 |
0.00177 | SELECT id FROM punbb_posts WHERE topic_id=14703 ORDER BY posted |
0.00085 | SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=14703 AND t.moved_to IS NULL |
0.00005 | SELECT search_for, replace_with FROM punbb_censoring |
0.00090 | SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=14703 ORDER BY p.id LIMIT 0,25 |
0.00092 | UPDATE punbb_topics SET num_views=num_views+1 WHERE id=14703 |
Total query time: 0.01302 s |