Linux за българи: Форуми

Linux секция за начинаещи => Настройка на хардуер => Темата е започната от: Chiro в Dec 28, 2005, 02:07



Титла: sis ac97 и Slackware 10.2
Публикувано от: Chiro в Dec 28, 2005, 02:07
Здравейте,
от всички компонети които имах да инсталирам не се справих само със звуковата карта
sis AC97
операционната система е Slackware 10.2

ако може някой да помогне ще см много благодарен


Титла: sis ac97 и Slackware 10.2
Публикувано от: Drakula в Dec 28, 2005, 12:53
Как по-точно не се справи?


Титла: sis ac97 и Slackware 10.2
Публикувано от: Chiro в Dec 30, 2005, 02:58
ами свалих driver-a от офижялният саит на Sis, ( http://www.sis.com/download/agreement.php?id=43497 )

изпълнявах всичко от Readme-то, но за съжаление при изпълнение на точка 4 от указанията ми даде следното

Примерен код
gcc -D -I/usr/src/linux-2.4.31/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-p
ointer -pipe -mpreferred-stack-boundary=2 -march=i486   -nostdinc -iwithprefix include -DKBUILD_BASENAME=sound_core  -c -o sound_core.o sound
_core.c
sound_core.c:290: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
sound_core.c:290: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'sound_core.c:
290: warning: data definition has no type or storage class
sound_core.c:308: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
sound_core.c:308: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'sound_core.c:
308: warning: data definition has no type or storage class
sound_core.c:326: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
sound_core.c:326: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'sound_core.c:
326: warning: data definition has no type or storage class
sound_core.c:352: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
sound_core.c:352: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'sound_core.c:
352: warning: data definition has no type or storage class
sound_core.c:371: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
sound_core.c:371: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'sound_core.c:
371: warning: data definition has no type or storage class
sound_core.c:388: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
sound_core.c:388: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'sound_core.c:
388: warning: data definition has no type or storage class
sound_core.c:403: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
sound_core.c:403: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'sound_core.c:
403: warning: data definition has no type or storage class
sound_core.c:418: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
sound_core.c:418: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'sound_core.c:
418: warning: data definition has no type or storage class
sound_core.c:436: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
sound_core.c:436: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'sound_core.c:
436: warning: data definition has no type or storage class
sound_core.c:451: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
sound_core.c:451: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'sound_core.c:
451: warning: data definition has no type or storage class
sound_core.c:545: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefile"
sound_core.c:545: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_export_objs_in_the_Makefile'sound_core.c:
545: warning: data definition has no type or storage class
make: *** [sound_core.o] Error 1


Примерен код
gcc -D -I/usr/src/linux-2.4.31/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-str                                       ict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i486   -nostdi                                       nc -iwithprefix include -DKBUILD_BASENAME=ac97_codec  -c -o ac97_codec.o ac97_codec.c
ac97_codec.c: In function `ac97_probe_codec':
ac97_codec.c:670: error: structure has no member named `codec_init'
ac97_codec.c:678: error: structure has no member named `codec_init'
ac97_codec.c: In function `ac97_init_mixer':
ac97_codec.c:721: error: structure has no member named `codec_init'
ac97_codec.c:722: error: structure has no member named `codec_init'
ac97_codec.c: At top level:
ac97_codec.c:885: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefi                                       le"
ac97_codec.c:885: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_ex                                       port_objs_in_the_Makefile'
ac97_codec.c:885: warning: data definition has no type or storage class
ac97_codec.c:886: error: syntax error before "this_object_must_be_defined_as_export_objs_in_the_Makefi                                       le"
ac97_codec.c:886: warning: type defaults to `int' in declaration of `this_object_must_be_defined_as_ex                                       port_objs_in_the_Makefile'
ac97_codec.c:886: warning: data definition has no type or storage class
make: *** [ac97_codec.o] Error 1


Титла: sis ac97 и Slackware 10.2
Публикувано от: в Dec 30, 2005, 03:24
AC97 се подържа от алсата:
alsaconfig
не е нужно да се усложняваш с керенел и модули


Титла: sis ac97 и Slackware 10.2
Публикувано от: Chiro в Dec 30, 2005, 18:14
alsaconfig?

що е то и как се пуска?


Титла: sis ac97 и Slackware 10.2
Публикувано от: Chiro в Dec 30, 2005, 18:26
намерих нещо което е alsactl, но нямам man за него, ако ми въши работа ще може ли да ми обясниш как точно се работи с него и как да си конфигурурам audio картата с него


Титла: sis ac97 и Slackware 10.2
Публикувано от: vladi4ko в Dec 30, 2005, 18:52
alsaconf е точното
напиши alsa и натискаш два пъти таб
alsaconf   alsactl    alsalisp   alsamixer


Титла: sis ac97 и Slackware 10.2
Публикувано от: в Dec 30, 2005, 23:06
Кажи си дъното.

Инсталирай си alsa-utils (ако ги нямаш).

С кое ядро си ?
2.4 до някои - инсталираш отделно и алса
2.6.х - алса вече е част от ядрото.

---

наистиан най-лесният вараинт да провериш имаш  или нямаш подръжка е да пуснеш alsaconf и да видиш какво става, а също и едно ls /proc/asound -lR няма да е лошо ;) Успех !