ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "A.Kitouwaykin" <cetus@newmail.ru>
To: community@lists.altlinux.org
Subject: Re: [Comm] 2 одинаковые вебкамеры одновременно
Date: Fri, 18 Mar 2011 14:30:12 +0300
Message-ID: <20110318143012.86e63b57.cetus@newmail.ru> (raw)
In-Reply-To: <646087562.1300346649.128305160.42158@mcgi-wr-9.rambler.ru>

On Thu, 17 Mar 2011 10:24:09 +0300
Alisher Faizov wrote:

> Здравствуйте. Помогите разобраться. Имею две камеры logitech c310. Хочу 
> вести запись с помощью motion.
> dmesg:
> [   21.818976] input: UVC Camera (046d:081b) as 
> /devices/pci0000:00/0000:00:10.4/usb1/1-1/1-1:1.0/input/input4
> [   21.916319] input: UVC Camera (046d:081b) as 
> /devices/pci0000:00/0000:00:10.4/usb1/1-8/1-8:1.0/input/input5
> [   21.916430] usbcore: registered new interface driver uvcvideo
> [   28.407770] usbcore: registered new interface driver snd-usb-audio
> 
> в motion показывает только одна камера, вместо второй серый экран. 
> Запускаю два экземпляра guvcview, та же проблема, работает только с 
> одной камерой (которую первой включишь). Нагуглить удалось только 
> http://unixforum.org/index.php?s=a7687fee464fb6a7edcc8e5885476fad&showtopic=119061&st=0&p=1110393&#entry1110393 
> честноговоря не понял как он решил эту проблему у меня в какой порт не 
> воткнешь шина одна и таже. Дистрибутив Ubuntu 10.04
> _______________________________________________

Слушал я всех долго и внимательно....

Logitech Webcam C100
http://market.yandex.ru/model.xml?hid=4684840&modelid=6103324

Работают одновременно две и в Альте (Сизиф), и в Убунте (10.10?)
В Убунте при запуске второго guvcview все повисло. Простенькая
программка с/на opencv вполне себе работает.

A4Tech PK-836MJ
http://market.yandex.ru/model.xml?hid=4684840&modelid=4666420

Работает только одна из двух.

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

Все камеры типа uvcvideo. Напрашивается вывод о разнице в железе.
В глаза бросается отсутствие микрофона в c100. Размер кадра в c310
тоже, возможно, имеет значение.

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

-- 
Китайкин Анатолий Константинович
ОАО "Радиоавионика", СПб



  parent reply	other threads:[~2011-03-18 11:30 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 [this message]
2011-03-18 12:20   ` Шенцев Алексей Владимирович

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=20110318143012.86e63b57.cetus@newmail.ru \
    --to=cetus@newmail.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