ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Шенцев Алексей Владимирович" <ashen@novoross.multinex.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] 2 одинаковые вебкамеры одновременно
Date: Fri, 18 Mar 2011 15:20:01 +0300
Message-ID: <201103181520.01769.ashen@novoross.multinex.ru> (raw)
In-Reply-To: <20110318143012.86e63b57.cetus@newmail.ru>

On Friday 18 March 2011 14:30:12 A.Kitouwaykin wrote:
> A4Tech PK-836MJ

У этих камер нет серийного номера:
lsusb -v -d 0ac8:c40a|grep erial
  iSerial                 0

Так что их разнести по устройствам используя idVendor:idProduct:serial не 
получится.

> Работает только одна из двух.
>
> Две разные камеры тоже работают, но результат зависит от подключения.
> При плохом выборе портов все становится медленным, еще медленнее,
> пока совсем не подвиснет. Стоит поменять камеры местами, все оживает.
> Какая воткнута раньше, и стала /dev/video0, похоже, что и не важно.
> Адреса 2-7 и 2-8, полагаю, относятся к одной шине USB, если busnum
> в обоих случаях содержит 2?. Ещё один миф развеян. :)

Здесь уже указано было решение: написать правила для udev'а. Если камеры имеют 
разные idVendor:idProduct, то разнести их по разным /dev/videoX, жёстко 
закрепив каждое из устрйоств за определённой камерой не сложно.
Если же idVendor:idProduct одинаковые, то использовать дополнительно ещё и 
serial.

> Проблема, увы, общая.

Да, вы правы. Проблема общая - лень читать доки ... ;)
-- 
С уважением, системный администратор
ООО "Новая Россия - КТВ"
Шенцев Алексей Владимирович.

      reply	other threads:[~2011-03-18 12:20 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-17  7:24 Alisher Faizov
2011-03-17 12:09 ` Andriy Dobrovol`s`kii
2011-03-17 12:33   ` Alisher Faizov
2011-03-17 13:07     ` Alisher Faizov
2011-03-17 12:34   ` Шенцев Алексей Владимирович
2011-03-17 13:56     ` Sergey Vlasov
2011-03-17 14:04       ` Шенцев Алексей Владимирович
2011-03-17 13:30 ` [Comm] Adm Michael Shigorin
2011-03-17 19:00   ` Alisher
2011-03-18 11:49     ` [Comm] usb Michael Shigorin
2011-03-17 20:07 ` [Comm] 2 одинаковые вебкамеры одновременно Vladimir A. Svyatoshenko
2011-03-18  4:48   ` Alisher Faizov
2011-03-18 11:30 ` A.Kitouwaykin
2011-03-18 12:20   ` Шенцев Алексей Владимирович [this message]

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=201103181520.01769.ashen@novoross.multinex.ru \
    --to=ashen@novoross.multinex.ru \
    --cc=community@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 Community general discussions

This inbox may be cloned and mirrored by anyone:

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

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


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