From: "Евгений Косенко" <eugine_kosenko@ukr.net> To: community@altlinux.ru, devel-kernel@altlinux.ru Subject: [d-kernel] Неправильно распознается звуковая плата в ALTLinux Junior 2.2 Date: Tue, 21 Oct 2003 21:06:57 +0300 Message-ID: <200310212106.57339.eugine_kosenko@ukr.net> (raw) Извиняюсь за настойчивость, но проблема осталась и, похоже, по прежнему в драйверах. Напомню, что у меня не работает простейшая 100%-совместимая звуковая плата, даже не PnP, со стандартным набором 0x220,7,1,5. Мне посоветовали прописать драйвер звуковой платы в modules.conf. Вот как я это сделал: # ls -l /dev/dsp crw-rw---- 1 eugine audio 14, 3 Jan 20 2003 /dev/dsp # cat /etc/modules.conf pre-install pcmcia_core CARDMGR_OPTS=-f /etc/rc.d/init.d/pcmcia start alias usb-interface usb-uhci alias char-major-14 sb alias char-major-14-3 sb alias char-major-81 bttv alias char-major-81-0 bttv alias sound-slot-0 btaudio probeall scsi_hostadapter ide-scsi alias char-major-81-64 bttv options ide-scsi units=/dev/hdb options sb io=0x220 irq=7 dma=1 dma16=5 options bttv card=42 К сожалению, не помогает :-(. Сразу после загрузки имею вот такие модули: # lsmod Module Size Used by Not tainted ppp_deflate 2968 0 (autoclean) zlib_inflate 19012 0 (autoclean) [ppp_deflate] zlib_deflate 18520 0 (autoclean) [ppp_deflate] bsd_comp 4088 0 (autoclean) ppp_async 6528 1 (autoclean) ppp_generic 19708 3 (autoclean) [ppp_deflate bsd_comp ppp_async] slhc 4688 1 (autoclean) [ppp_generic] autofs4 8116 1 (autoclean) apm 9504 2 btaudio 10092 0 soundcore 3524 3 [btaudio] floppy 46684 0 (autoclean) serial 55652 2 (autoclean) isa-pnp 28996 0 (autoclean) [serial] usb-uhci 21612 0 (unused) usbcore 57844 1 [usb-uhci] nls_cp1251 3580 1 (autoclean) nls_cp866 3804 1 (autoclean) vfat 9708 1 (autoclean) fat 29976 0 (autoclean) [vfat] agpgart 31848 0 (unused) ide-scsi 7700 0 scsi_mod 91844 1 [ide-scsi] rtc 6044 0 (autoclean) reiserfs 165440 2 После этого я могу из консоли подгрузить sb: # modprobe sb # lsmod Module Size Used by Not tainted sb 7476 0 (unused) sb_lib 32764 0 [sb] uart401 6084 0 [sb_lib] sound 54368 0 [sb_lib uart401] ppp_deflate 2968 0 (autoclean) zlib_inflate 19012 0 (autoclean) [ppp_deflate] zlib_deflate 18520 0 (autoclean) [ppp_deflate] bsd_comp 4088 0 (autoclean) ppp_async 6528 1 (autoclean) ppp_generic 19708 3 (autoclean) [ppp_deflate bsd_comp ppp_async] slhc 4688 1 (autoclean) [ppp_generic] autofs4 8116 1 (autoclean) apm 9504 2 btaudio 10092 0 soundcore 3524 7 [sb_lib sound btaudio] floppy 46684 0 (autoclean) serial 55652 2 (autoclean) isa-pnp 28996 0 (autoclean) [sb serial] usb-uhci 21612 0 (unused) usbcore 57844 1 [usb-uhci] nls_cp1251 3580 1 (autoclean) nls_cp866 3804 1 (autoclean) vfat 9708 1 (autoclean) fat 29976 0 (autoclean) [vfat] agpgart 31848 0 (unused) ide-scsi 7700 0 scsi_mod 91844 1 [ide-scsi] rtc 6044 0 (autoclean) reiserfs 165440 2 При загрузке слышен щелчек в динамиках, после чего открывается линейный вход -- могу слушать тв-тюнер. Однако, звуковой сервер KDE при попытке запуска выдает сообщение Sound server informational message: Error while initializing the sound driver: can't set requested samplingrate (requested rate 44100, got rate 32000) The sound server will continue, using the null output device. После этого все приложения работают без звука. Если в настройках звукового сервера указать "Использовать свою частоту дискретизации" 32000, то при запуске сервер пишет Sound server informational message: Error while initializing the sound driver: can't set requested fragments settings The sound server will continue, using the null output device. Причем, я пытался пробовать разные установки для фрагментов -- результат один и тот же. Если я пытаюсь запустить mpg123, собранный из исходников, то получаю следующее: # ./mpg123 /mnt/archive/music-box/antonov/bely_teplohod.mp3 High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2 and 3. Version 0.59r (1999/Jun/15). Written and copyrights by Michael Hipp. Uses code from various people. See 'README' for more! THIS SOFTWARE COMES WITH ABSOLUTELY NO WARRANTY! USE AT YOUR OWN RISK! Directory: /mnt/archive/music-box/antonov/ Playing MPEG stream from bely_teplohod.mp3 ... Junk at the beginning 49443303 MPEG 2.0 layer III, 64 kbit/s, 22050 Hz joint-stereo No supported rate found! В то же время, на самостоятельно собранном ядре 2.4.19 с вкомпилированной в ядро поддержкой OSS SB все работало нормально. В чем проблема?
next reply other threads:[~2003-10-21 18:06 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2003-10-21 18:06 Евгений Косенко [this message] 2003-10-22 9:07 ` Sergey Vlasov 2003-10-22 10:03 ` Michael Shigorin
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=200310212106.57339.eugine_kosenko@ukr.net \ --to=eugine_kosenko@ukr.net \ --cc=community@altlinux.ru \ --cc=devel-kernel@altlinux.ru \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: link
ALT Linux kernel packages development This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-kernel/0 devel-kernel/git/0.git # If you have public-inbox 1.1+ installed, you may # initialize and index your mirror using the following commands: public-inbox-init -V2 devel-kernel devel-kernel/ http://lore.altlinux.org/devel-kernel \ devel-kernel@altlinux.org devel-kernel@altlinux.ru devel-kernel@altlinux.com public-inbox-index devel-kernel Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-kernel AGPL code for this site: git clone https://public-inbox.org/public-inbox.git