ALT Linux architecture porting
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: ALT Linux arch porting <devel-ports@lists.altlinux.org>
Subject: Re: [devel-ports] Драйверы и устройства на i2c шине.
Date: Tue, 24 Apr 2012 09:59:27 +0300
Message-ID: <20120424065927.GA7745@shutemov.name> (raw)
In-Reply-To: <1335238468.12561.4@ildar.innovations.kz>

On Tue, Apr 24, 2012 at 09:34:28AM +0600, Ildar Mulyukov wrote:
> On 23.04.2012 17:36:41, Kirill A. Shutemov wrote:
> >On Mon, Apr 23, 2012 at 01:54:37AM -0700, Dmitry Alexeev wrote:
> >> Модули, на первый взгляд, подозрений не вызвали, в /sys/module/ они
> >> видны, а вот соответствующие устройства, не появились.
> >> Что ещё необходимо сделать для установления нормальной работы с
> >этими
> >> устройствами?
> >
> >Шина i2c не поддерживает энумерацию устройств. Драйверу каким-то
> >образом
> >нужно рассказать какие устройства весят на каких поратах и прочие
> >подробности.
> 
> Угу. Только непонятно, почему драйвер загрузился, не найдя устройства.
> И вообще, без dmesg невозможно что-либо сказать!

i2c_add_driver() и регистрация platform_data развязана во времени. probe
callback из struct i2c_driver не будет вызван пока не появится
platform_data с соответвующим id. platform_data может быть зарегестрирован
после загрузки драйвера.

-- 
 Kirill A. Shutemov


  reply	other threads:[~2012-04-24  6:59 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-23 10:25 ` [devel-ports] [Hardware] " Michael Shigorin
2012-04-23 11:13     ` Michael Shigorin
2012-04-23 11:36 ` [devel-ports] " Kirill A. Shutemov
2012-04-24  3:34   ` Ildar Mulyukov
2012-04-24  6:59     ` Kirill A. Shutemov [this message]
2012-05-03 16:14     ` [devel-ports] Внешние UART 16C554 на AT91 Kirill A. Shutemov
2012-05-04 18:41       ` Ildar Mulyukov
2012-05-04 19:12     ` Paul Wolneykien

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=20120424065927.GA7745@shutemov.name \
    --to=kirill@shutemov.name \
    --cc=devel-ports@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 architecture porting

This inbox may be cloned and mirrored by anyone:

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

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


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