ALT Linux kernel packages development
 help / color / mirror / Atom feed
From: Sergey Vlasov <vsu@altlinux.ru>
To: devel-kernel@lists.altlinux.org
Subject: Re: [d-kernel] MediaForte SF64PCR
Date: Tue, 24 Feb 2009 21:55:50 +0300
Message-ID: <20090224185550.GA7370@atlas.home> (raw)
In-Reply-To: <12354931051904.1888117755.ivl@front.ru>

[-- Attachment #1: Type: text/plain, Size: 1457 bytes --]

On Tue, Feb 24, 2009 at 07:31:45PM +0300, Igor Lobov wrote:
> Есть радиотюнер MediaForte SF64PCR.
> В штатном ядре kernel-image-std-def-2.6.25-alt8.M41.1.i586  нет модуля для него.
> Нашел патч для ядра содержащий модуль:  http://www.watzke.cz/files/patches/sf64pcr-linux-2.6.26.patch

Судя по PCI ID, модуль как раз есть - snd-fm801 (и должен загружаться
автоматически), но из-за неприятных особенностей этой карты
(отсутствие Subsystem ID, позволяющего отличить данную карту от других
устройств на чипе FM801) необходима ручная настройка параметров:

options snd-fm801 tea575x_tuner=0x10013

К сожалению, в Documentation/sound/alsa/ALSA-Configuration.txt
параметр tea575x_tuner описан не полностью - вот описание из
комментариев в fm801.c:

/*
 *  Enable TEA575x tuner
 *    1 = MediaForte 256-PCS
 *    2 = MediaForte 256-PCPR
 *    3 = MediaForte 64-PCR
 *   16 = setup tuner only (this is additional bit), i.e. SF-64-PCR FM card
 *  High 16-bits are video (radio) device number + 1
 */
static int tea575x_tuner[SNDRV_CARDS];

(значения 1, 2, 3 и старшие 16 бит описаны и в ALSA-Configuration.txt,
однако возможность добавления 16 (0x10) для указания того, что карта
содержит только тюнер, там не описана, а без этого при инициализации
драйвера будет происходить ошибка из-за отсутствия на такой карте чипа
кодека AC97 и прочих компонентов - фактически там чип FM801
используется только как GPIO для управления тюнером).

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  parent reply	other threads:[~2009-02-24 18:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-24 18:12 ` Michail Yakushin
2009-02-24 18:55 ` Sergey Vlasov [this message]
2009-02-24 21:07   ` Konstantin A. Lepikhov
2009-02-26 16:34     ` 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=20090224185550.GA7370@atlas.home \
    --to=vsu@altlinux.ru \
    --cc=devel-kernel@lists.altlinux.org \
    /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