Brak dźwi

Wszystko związane z jądrem systemowym, sterownikami, sprzętem itp.
Awatar użytkownika
ilin
Senior Member
Posty: 2292
Rejestracja: 26 sierpnia 2007, 11:54
Lokalizacja: PRLu

Post autor: ilin »

Dokładnie to co zacytowałeś.
  1. Pobierz sterownik:
    ftp://ftp.alsa-project.org/pub/driver/a ... 20.tar.bz2
  2. Rozpakuj. Powstanie katalog. Wejdź do tego katalogu. Otwórz w nim terminal. Wklej do niego

    Kod: Zaznacz cały

    ./configure --with-cards=snd-cs46xx
    Jak skończy i nie wywali błędów to wydaj następnie polecenie:

    Kod: Zaznacz cały

    make
  3. Jak skończy bezbłędnie, zaloguj się na konto root i wydaj polecenie

    Kod: Zaznacz cały

    make install
  4. Potem zrestartuj komputer i pokaż wynik:

    Kod: Zaznacz cały

    cat /proc/asound/cards
Awatar użytkownika
Van
Beginner
Posty: 194
Rejestracja: 04 lipca 2009, 11:54

Post autor: Van »

Kod: Zaznacz cały

van@debian:~$ cd /home/van
van@debian:~$ tar -xvjf alsa-driver-1.0.20.tar.bz2
tar: bzip2: Cannot exec: No such file or directory
tar: Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error exit delayed from previous errors
Ja serio nie wiem, o co mu chodzi... Coś jest nie tak? ;/
Awatar użytkownika
ilin
Senior Member
Posty: 2292
Rejestracja: 26 sierpnia 2007, 11:54
Lokalizacja: PRLu

Post autor: ilin »

Zainstaluj pakiet bzip2
Awatar użytkownika
Van
Beginner
Posty: 194
Rejestracja: 04 lipca 2009, 11:54

Post autor: Van »

Zainstalowane i dalej

Kod: Zaznacz cały

debian:/home/van/alsa-driver-1.0.20# ./configure --with-cards=snd-cs46xx
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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... /home/van/alsa-driver-1.0.20
checking cross compile...
checking for directory with kernel source... ./configure: line 4870: cd: /usr/src/linux: No such file or directory
/usr/src/linux
checking for directory with kernel build...
checking for kernel linux/version.h... no
The file /include/linux/version.h does not exist.
Please install the package with full kernel sources for your distribution
or use --with-kernel=dir option to specify another directory with kernel
sources (default is /usr/src/linux).
Taki plik mam w /usr/include/linux, ale niewiem, czy jest to właściwy. Zawiera on:

Kod: Zaznacz cały

#define LINUX_VERSION_CODE 132634
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))
Awatar użytkownika
ilin
Senior Member
Posty: 2292
Rejestracja: 26 sierpnia 2007, 11:54
Lokalizacja: PRLu

Post autor: ilin »

Kod: Zaznacz cały

apt-get install linux-headers-$(uname -r)
Awatar użytkownika
Van
Beginner
Posty: 194
Rejestracja: 04 lipca 2009, 11:54

Post autor: Van »

Zrobiłem wszystko ładnie, ale

Kod: Zaznacz cały

van@debian:~$ cat /proc/asound/cards
cat: /proc/asound/cards: No such file or directory
No i jak nie działało, tak nie działa.
Awatar użytkownika
ilin
Senior Member
Posty: 2292
Rejestracja: 26 sierpnia 2007, 11:54
Lokalizacja: PRLu

Post autor: ilin »

Kod: Zaznacz cały

modprobe snd-cs46xx
wchodzi czysto ?
Awatar użytkownika
Van
Beginner
Posty: 194
Rejestracja: 04 lipca 2009, 11:54

Post autor: Van »

Kod: Zaznacz cały

debian:/home/van# modprobe snd-cs46xx
FATAL: Module snd-cs46xx not found.
Awatar użytkownika
ilin
Senior Member
Posty: 2292
Rejestracja: 26 sierpnia 2007, 11:54
Lokalizacja: PRLu

Post autor: ilin »

Coś chyba musiałeś źle skompilować.
Sam skompilowałem te stery i

Kod: Zaznacz cały

debian:/home/adam# modprobe snd-cs46xx
debian:/home/adam# 
Ładnie czysto wchodzi.

Pokaż co wyświetla:

Kod: Zaznacz cały

modinfo snd-cs46xx

Edycja:
Wygląda ze ta karta powinna działać na OSS4

Kod: Zaznacz cały

oss_cs461x    pci1013,6003    Crystal CS4280 


ID karty pasuje jak ulał.
Awatar użytkownika
Van
Beginner
Posty: 194
Rejestracja: 04 lipca 2009, 11:54

Post autor: Van »

Wiem, że trochę późno, ale przepraszam za zamieszanie te 2 lata temu ;) Zachowałem się, delikatnie mówiąc, niezbyt elegancko, ale widać po tym dobrze, że moje początki z Debianem nie należały do najlżejszych.
ODPOWIEDZ