To mój pierwszy post.
Chciałbym zapytać jak zainstalować starą wersję jądra do Debiana Sid, bo ja zrobiłem tak:
- Ściągnąłem linux-image-2.6.24.28
- Ściągnąłem linux-headers-2.6.24.28
Po instalacji tych paczek, grub się zaktualizował, nvidia też automatycznie i virtualbox. Uruchomiłem (na tym starym jadrze) wszystko działa prócz dźwięku. Cudowałem, spędziłem trochę czasu nad tym i nic. Jak wpisuję:
Kod: Zaznacz cały
alsamixer
Nie znam się na tym za bardzo ale powiem swoim językiem.
Aby X-y startowały na starym jądrze, musiałem ,,ominąć'', jak dobrze rozumiem, udev w xorgu, tak żeby wpisy w nim do myszki i klawiatury odwoływały się do xorga a nie do udeva bo jak miałem nowy xorg.conf to gdm3 startował ale nie można było używać klawiatury i myszki wiec zmieniłem na starą wersję xorga, ze starego Debiana, zainstalowałem:
[INDENT]xserver-xorg-input-all [/INDENT]
I myszka i klawiatura zaczęła działać.
Jeszcze nie widziałem, bo szukałem na tym forum, aby zainstalować na nowym Debianie starą wersję jądra, chcę to zrobić, bo pamiętam, że kiedyś wydajność w opengl miałem większą na starym jadrze, bo lubię pograć sobie w Urban Terror a mam dość stary sprzęt i jakoś myszka tam fajnie działała. Wiec, chcę to poprawnie zainstalować, aby to sprawdzić czy będzie się lepiej grało (mój sprzęt to celeron 3.66GHz Gf 6600 GT, Audity2).
Dodam, że wszystko działa, programy się uruchamiają, opengl też działa (na tym starym jądrze), tylko nie dźwięk. Więc, jak ten problem rozwiążę to będę szczęśliwy i z góry dziękuję za pomoc.
Dodane:
Pokażę jeszcze co robiłem aby zmusić alsę do działania:
http://ubuntuforums.org/showthread.php?t=205449
Tam jest takie coś:
Kod: Zaznacz cały
sudo ./configure --with-kernel=/usr/src/linux-headers-$(uname -r) --with-cards=<enter driver name here e.g. via82xx> --with-oss=yes
sudo make
sudo make install
Kod: Zaznacz cały
<enter driver name here e.g. via82xx>
Kod: Zaznacz cały
f@xwbm:/usr/src/modules/alsa-driver$ sudo ./configure --with-kernel=/usr/src/linux-headers-2.6.24-16-generic/ --with-oss=yes
[sudo] password for f:
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking for ranlib... ranlib
checking for a BSD-compatible install... /usr/bin/install -c
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking whether time.h and sys/time.h may both be included... yes
checking whether gcc needs -traditional... no
checking for current directory... /usr/src/modules/alsa-driver
checking cross compile...
checking for directory with ALSA kernel sources... ../alsa-kmirror
checking for directory with kernel top-level makefile... /usr/src/linux-headers-2.6.24-16-generic/
checking for directory with kernel headers... failed
f@xwbm:/usr/src/modules/alsa-driver$
Kod: Zaznacz cały
f@xwbm:/usr/src/modules/alsa-driver$ dpkg -l |grep linux-headers
ii linux-headers-2.6.24-16 2.6.24-16.30 Header files related to Linux kernel version 2.6.24
ii linux-headers-2.6.24-16-386 2.6.24-16.30 Linux kernel headers for version 2.6.24 on i386
ii linux-headers-2.6.24-16-generic 2.6.24-16.30 Linux kernel headers for version 2.6.24 on x86/x86_64
ii linux-headers-2.6.24-28 2.6.24-28.81 Header files related to Linux kernel version 2.6.24
ii linux-headers-2.6.24-28-generic 2.6.24-28.81 Linux kernel headers for version 2.6.24 on x86/x86_64
ii linux-headers-2.6.26-2-686 2.6.26-26lenny1 Header files for Linux 2.6.26-2-686
ii linux-headers-2.6.26-2-common 2.6.26-26lenny1 Common header files for Linux 2.6.26-2
ii linux-headers-2.6.32-5-686 2.6.32-29 Header files for Linux 2.6.32-5-686
ii linux-headers-2.6.32-5-common 2.6.32-29 Common header files for Linux 2.6.32-5
f@xwbm:/usr/src/modules/alsa-driver$
Dodane:
Tak samo jak robię:
Kod: Zaznacz cały
sudo module-assistant a-i alsa-source
Kod: Zaznacz cały
│ checking for ANSI C header files... yes
│ checking for an ANSI C-conforming const... yes
│ checking for inline... inline
│ checking whether time.h and sys/time.h may both be included... yes
│ checking whether gcc-4.1 needs -traditional... no
│ checking for current directory... /usr/src/modules/alsa-driver
│ checking cross compile...
│ checking for directory with ALSA kernel sources... ../alsa-kmirror
│ checking for directory with kernel top-level makefile...
│ /lib/modules/2.6.26-2-686/build
│ checking for directory with kernel headers... failed
│ make[1]: *** [configure-stamp] Błąd 1
│ make[1]: Opuszczenie katalogu `/usr/src/modules/alsa-driver'
│ make: *** [kdist_image] Błąd 2
Aha, bo pewnie ktoś się o to zapyta:
Kod: Zaznacz cały
f@xwbm:~$ dpkg -l |grep alsa
ii alsa-base 1.0.23+dfsg-2 ALSA driver configuration files
ii alsa-firmware-loaders 1.0.23-3+b1 ALSA software loaders for specific hardware
ii alsa-oss 1.0.17-4 ALSA wrapper for OSS applications
ii alsa-source 1.0.23+dfsg-2 ALSA driver sources
ii alsa-utils 1.0.23-3 Utilities for configuring and using ALSA
ii cairo-dock-alsamixer-plugin 2.1.3.10-3 Cairo-dock - Alsamixer plug-in
ii gstreamer0.10-alsa 0.10.30-1 GStreamer plugin for ALSA
ii libsdl1.2debian-alsa 1.2.14-6.1 Simple DirectMedia Layer (with X11 and ALSA options)
ii libsox-fmt-alsa 14.3.1-1 SoX alsa format I/O library
ii libwine-alsa 1.0.1-3.1 Windows API implementation - ALSA sound module
ii snd-nox-alsa 11.6-1 Sound file editor (dummy transitional package)
ii xmms2-plugin-alsa 0.7DrNo+dfsg-2 XMMS2 - ALSA output
f@xwbm:~$