Автор Тема: sis ac97 и Slackware 10.2  (Прочетена 3314 пъти)

Chiro

  • Напреднали
  • *****
  • Публикации: 70
    • Профил
sis ac97 и Slackware 10.2
« -: Dec 28, 2005, 02:07 »
Здравейте,
от всички компонети които имах да инсталирам не се справих само със звуковата карта
sis AC97
операционната система е Slackware 10.2

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

Drakula

  • Напреднали
  • *****
  • Публикации: 319
  • Distribution: Gentoo
  • Window Manager: KDE 4
    • Профил
sis ac97 и Slackware 10.2
« Отговор #1 -: Dec 28, 2005, 12:53 »
Как по-точно не се справи?
Активен

Chiro

  • Напреднали
  • *****
  • Публикации: 70
    • Профил
sis ac97 и Slackware 10.2
« Отговор #2 -: 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
« Отговор #3 -: Dec 30, 2005, 03:24 »
AC97 се подържа от алсата:
alsaconfig
не е нужно да се усложняваш с керенел и модули
Активен

Chiro

  • Напреднали
  • *****
  • Публикации: 70
    • Профил
sis ac97 и Slackware 10.2
« Отговор #4 -: Dec 30, 2005, 18:14 »
alsaconfig?

що е то и как се пуска?
Активен

Chiro

  • Напреднали
  • *****
  • Публикации: 70
    • Профил
sis ac97 и Slackware 10.2
« Отговор #5 -: Dec 30, 2005, 18:26 »
намерих нещо което е alsactl, но нямам man за него, ако ми въши работа ще може ли да ми обясниш как точно се работи с него и как да си конфигурурам audio картата с него
Активен

vladi4ko

  • Напреднали
  • *****
  • Публикации: 36
    • Профил
sis ac97 и Slackware 10.2
« Отговор #6 -: Dec 30, 2005, 18:52 »
alsaconf е точното
напиши alsa и натискаш два пъти таб
alsaconf   alsactl    alsalisp   alsamixer
Активен

  • Гост
sis ac97 и Slackware 10.2
« Отговор #7 -: Dec 30, 2005, 23:06 »
Кажи си дъното.

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

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

---

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

Подобни теми
Заглавие Започната от Отговора Прегледи Последна публикация
VIA AC97 Sound
Настройка на хардуер
Emooo 1 1597 Последна публикация Dec 25, 2003, 15:50
от sebastianz55
и отново VIA AC97
Хардуерни и софтуерни проблеми
dmvic 7 2636 Последна публикация Jun 14, 2004, 00:39
от dmvic
Slackware current, 2.6.10 kernel и VIA AC97
Настройка на хардуер
dmvic 4 2753 Последна публикация Jan 27, 2005, 18:04
от dmvic
FC3 & ac97 базирана звукова карта
Настройка на хардуер
niki_iv 4 1910 Последна публикация Jan 24, 2005, 20:44
от
Slackware 10.0 + nForce2 ac97
Настройка на хардуер
Dolorian 5 2834 Последна публикация Feb 19, 2005, 09:50
от nforcer