Skocz do zawartości

Via82cxxx + Kernel 2.6.8.1


The Structorr

Rekomendowane odpowiedzi

Próbował ktoś skompilować sterowniki via82cxxx_audio na kernelu 2.6.8.1?

W żaden sposób nie mogę tego ugryźć :(

Z http://prdownloads.sourceforge.net/gkernel/ pobrałem sobie najnowszą wersję czyli via82cxx-1.9.1, w Makefile znienilem

KINCLUDES=/usr/src/linux/include

a po make dostaję całą masę błędów, której tu nie przytoczę w całości bo ma ok. 1500 lini ale mniej więcej wygląda to tak:

 [...]
In file included from /usr/src/linux/include/linux/pci.h:466,
                from via82cxxx_audio.c:27:
/usr/src/linux/include/linux/device.h:65: error: syntax error before "u32"
/usr/src/linux/include/linux/device.h:65: warning: function declaration isn't a prototype
/usr/src/linux/include/linux/device.h:91: error: field `attr' has incomplete type
/usr/src/linux/include/linux/device.h:106: error: field `unload_sem' has incomplete type
/usr/src/linux/include/linux/device.h:113: error: syntax error before "u32"
/usr/src/linux/include/linux/device.h:113: warning: function declaration isn't a prototype
/usr/src/linux/include/linux/device.h:114: error: syntax error before "u32"
/usr/src/linux/include/linux/device.h:114: warning: function declaration isn't a prototype
/usr/src/linux/include/linux/device.h:129: error: field `attr' has incomplete type
/usr/src/linux/include/linux/device.h:169: error: field `attr' has incomplete type
/usr/src/linux/include/linux/device.h:217: error: field `attr' has incomplete type
/usr/src/linux/include/linux/device.h:246: error: syntax error before "dev_t"
/usr/src/linux/include/linux/device.h:247: warning: function declaration isn't a prototype
/usr/src/linux/include/linux/device.h:250: error: syntax error before "dev"
/usr/src/linux/include/linux/device.h:250: warning: function declaration isn't a prototype
/usr/src/linux/include/linux/device.h:269: error: field `power' has incomplete type
/usr/src/linux/include/linux/device.h:270: error: syntax error before "u32"
/usr/src/linux/include/linux/device.h:270: warning: no semicolon at end of struct or union
/usr/src/linux/include/linux/device.h:276: error: syntax error before "detach_state"
/usr/src/linux/include/linux/device.h:276: warning: type defaults to `int' in declaration of `detach_state'
/usr/src/linux/include/linux/device.h:276: warning: data definition has no type or storage class
/usr/src/linux/include/linux/device.h:279: error: syntax error before '*' token
/usr/src/linux/include/linux/device.h:279: warning: type defaults to `int' in declaration of `dma_mask'
/usr/src/linux/include/linux/device.h:279: warning: data definition has no type or storage class
/usr/src/linux/include/linux/device.h:280: error: syntax error before "coherent_dma_mask"
/usr/src/linux/include/linux/device.h:280: warning: type defaults to `int' in declaration of `coherent_dma_mask'
/usr/src/linux/include/linux/device.h:280: warning: data definition has no type or storage class
[...]

 

W dokumentacji pisze

This driver supports any Linux kernel version after 2.4.10.

 

ale może już nie 2.6, i dlatego te problemy?

 

PS. Najważniejsze to dobra dokumentacja. Rozdział o instalacji wygląda tak

Chapter 2. Driver Installation

 

To use this audio driver, select the CONFIG_SOUND_VIA82CXXX option in the section Sound during kernel configuration. Follow the usual kernel procedures for rebuilding the kernel, or building and installing driver modules.

 

no comment <_<

Odnośnik do komentarza
Udostępnij na innych stronach

  • 2 weeks later...
Próbował ktoś skompilować sterowniki via82cxxx_audio na kernelu 2.6.8.1?

W żaden sposób nie mogę tego ugryźć :(

Ten sterownik jest przenzaczony dla jąder z serii 2.4, więc go nie skompilujesz na jajku 2.6 :P Zreszta po co dociągać jakieś zewnętrzne moduły, jeśli są one w źródłach jądra (moduł OSS w konfiguracji jądra).

U mnie też działa, ale FC2 używa sterownika VIA82xx (nie VIA82cxx) a na tym nie da się odpalić Q3 :/

Jesteś tego pewien? ALSA daje pełną kompatybilność wstecz, więc nie powinno być problemów. Być może jakiś proces zajmuje Ci /dev/dsp (xmms, serwer dźwieku, np. artsd lub esd). Wpisz fuser /dev/dsp lub lsof /dev/dsp i ubij dany proces.

Odnośnik do komentarza
Udostępnij na innych stronach

Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto

Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.

Zarejestruj nowe konto

Załóż nowe konto. To bardzo proste!

Zarejestruj się

Zaloguj się

Posiadasz już konto? Zaloguj się poniżej.

Zaloguj się
×
×
  • Dodaj nową pozycję...