From: Sergey Vlasov <vsu@altlinux.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] hcl.altlinux.org
Date: Fri, 1 Aug 2008 19:43:41 +0400
Message-ID: <20080801154341.GA4980@atlas.home> (raw)
In-Reply-To: <20080801135959.GX8597@hell.fortress>
[-- Attachment #1: Type: text/plain, Size: 1088 bytes --]
On Fri, Aug 01, 2008 at 05:59:59PM +0400, Alexey I. Froloff wrote:
> Компонент - это любое устройство (не обязательно отдельная
> железка, набортный SATA контроллер тоже является Компонентом).
> Он однозначно определяется по Шине, Производителю и
> КодуУстройства, мне думается этого должно хватить.
Если это PCI vendor:device - однозначно мало; для многих устройств
существенное значение имеет subsystem ID (например, многие звуковые
карты Creative отличаются только по subsystem ID, с неизвестным
устройством snd-emu10k1 работать отказывается).
На самом деле всё ещё хуже - существуют устройства, которые вообще
невозможно различить программно, но при этом требующие разных настроек
(например, некоторые сканеры, поддерживаемых sane-gt68xx, не имеют
EEPROM, в результате по USB виден только vid:pid чипа, но разные
модели требуют разных файлов firmware и немного отличаются набором
команд).
В таблице vendors нужно поле bus_id, поскольку идентификаторы для
PCI/USB/... назначаются независимо. Для IEEE1394 идентификаторы не
влезают в int2 (там они 3-байтовые).
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
next prev parent reply other threads:[~2008-08-01 15:43 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-01 13:59 Alexey I. Froloff
2008-08-01 14:22 ` Anton Farygin
2008-08-01 15:46 ` Alexey I. Froloff
2008-08-01 15:43 ` Sergey Vlasov [this message]
2008-08-01 16:36 ` Alexey I. Froloff
2008-08-01 16:58 ` Sergey Vlasov
2008-08-03 20:37 ` Konstantin A. Lepikhov
2008-08-04 6:36 ` Sergey Vlasov
2008-08-04 19:13 ` Konstantin A. Lepikhov
2008-08-01 21:17 ` Ilya
2009-10-03 10:58 ` 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=20080801154341.GA4980@atlas.home \
--to=vsu@altlinux.ru \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git