ALT Linux hardware support
 help / color / mirror / Atom feed
From: Kolya Grechukh <ngrechukh@ua.fm>(by way of Kolya Grechukh <ngrechukh@ua.fm>)
To: hardware@altlinux.ru
Subject: [Hardware] cmi9739 (was: [sisyphus] compact 0116 - sound trouble)
Date: Fri, 20 Feb 2004 15:05:49 +0200
Message-ID: <200402201505.49684.ngrechukh@ua.fm> (raw)

at Четверг 19 Февраль 2004 16:04 Sergey Vlasov wrote:
<..skipped..>
> Посмотрите в /proc/asound/card0/codec97#0/ac97#0-0 тип кодека.
>  Если это CMI9739 - так и должно быть; этот кодек не имеет
> аппаратной регулировки громкости PCM.  Программную регулировку
> в драйвере разработчики ALSA делать отказались - решили делать
> это в libalsa, но пока ещё ничего не сделали.

так и есть. intel ich4, чип cmi9739.
на сайте производителя нашел драйвер oss, для alsa нету (wish: а 
сделал бы кто-нибудь модуль для alsa на основе фирменных  
oss-дров...) . даже есть cmconfig для настройки 6ch/4ch. 
скомпилированный можуль cmaudio.o нормально загружается, 
появляется звук и громкость регулируется. только вот маленькая 
лажа:

depmod -ae выдает:

depmod: *** Unresolved symbols in 
/lib/modules/2.4.22-wks-up-alt3/kernel/drivers/sound/cmaudio.o
depmod: 	schedule_timeout
depmod: 	__wake_up
depmod: 	pci_register_driver
depmod: 	__generic_copy_from_user
depmod: 	__release_region
depmod: 	unregister_sound_dsp
depmod: 	kmalloc
depmod: 	pci_free_consistent
depmod: 	pci_enable_device
depmod: 	pci_read_config_byte
depmod: 	pcibios_present
depmod: 	pci_read_config_dword
depmod: 	register_sound_dsp
depmod: 	register_sound_mixer
depmod: 	pci_alloc_consistent
depmod: 	interruptible_sleep_on_timeout
depmod: 	unregister_sound_mixer
depmod: 	pci_read_config_word
depmod: 	del_timer
depmod: 	pci_set_dma_mask
depmod: 	kfree
depmod: 	pci_unregister_driver
depmod: 	pci_set_master
depmod: 	pci_write_config_dword
depmod: 	mem_map
depmod: 	pci_write_config_word
depmod: 	jiffies
depmod: 	__request_region
depmod: 	printk
depmod: 	add_timer
depmod: 	__const_udelay
depmod: 	ioport_resource
depmod: 	__generic_copy_to_user

(там в Makefile прописан поиск сырцов ядра, если нет - то берет 
хидеры. м.б. надо было ему полное дерево подсунуть? после сборки 
ядра buildtree остается в RPM/BUILD?)

хотя все работает. но вставлять его приходится вручную в 
rc.local: insmod /root/cmedia/`uname -r`/cmaudio.o
если через modules.conf - ломается depmod.

что делать?

--
--------
Nick S. Grechukh
kolyag@mail.ru
Refractory Trading House, network administrator.


             reply	other threads:[~2004-02-20 13:05 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-02-20 13:05 Kolya Grechukh [this message]
2004-02-20 14:09 ` Michael Shigorin
2004-02-20 14:16   ` Kolya Grechukh
2004-02-20 18:57     ` 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=200402201505.49684.ngrechukh@ua.fm \
    --to=ngrechukh@ua.fm \
    --cc=hardware@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 hardware support

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/hardware/0 hardware/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 hardware hardware/ http://lore.altlinux.org/hardware \
		hardware@altlinux.ru hardware@lists.altlinux.org hardware@lists.altlinux.ru hardware@lists.altlinux.com hardware@altlinux.org
	public-inbox-index hardware

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.hardware


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git