ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vladimir Istrati <bob@kp.md>
To: community@lists.altlinux.org
Subject: Re: [Comm] Разрешения на raw1394
Date: Fri, 5 Mar 2010 11:40:15 +0200
Message-ID: <201003051140.15742.bob@kp.md> (raw)
In-Reply-To: <4B90C7EA.8040407@nsrz.ru>

В сообщении от Пятница 05 марта 2010 10:59:22 автор Алексей Шенцев написал:
> 05.03.2010 11:46, Vladimir Istrati пишет:
> >> Я же вроде писал в рассылку где можно посмотреть решение и сделать по
> >> образу и подобию.
> >> 
> >> Как раз ваш случай
> >> 
> >> http://www.altlinux.org/MiniDV1394
> >> 
> >> Или не подходит?
> > 
> > Там написано о Compact 3.0
> 
> И что из этого? Принцип один и тот же.
> 
> > Модуль (raw1394) подгружается автоматом. Просто на устройство
> > "неправильные" права.
> 
> Для вас главное правильно прописать правило для udev'а. И service udev
> restart.

[root@bob ~]# cat /etc/udev/rules.d/90-local.rules
KERNEL=="dv1394-*", GROUP="camera" KERNEL=="raw1394", GROUP="camera"

> А потом перед тем как подключить камеру смотреть от root'а, с помощью
> 
> udevadm monitor
> что происходит при подключении камеры.
> Ну как сама камера работает.

[root@bob ~]# udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[1267781183.456353] add      
/devices/pci0000:00/0000:00:1e.0/0000:06:03.0/0000:07:00.0/fw-
host0/08001f010053495a (ieee1394)
KERNEL[1267781183.456401] add      
/devices/pci0000:00/0000:00:1e.0/0000:06:03.0/0000:07:00.0/fw-
host0/08001f010053495a/ieee1394_node/08001f010053495a (ieee1394_node)
UDEV  [1267781183.456863] add      
/devices/pci0000:00/0000:00:1e.0/0000:06:03.0/0000:07:00.0/fw-
host0/08001f010053495a (ieee1394)
UDEV  [1267781183.457320] add      
/devices/pci0000:00/0000:00:1e.0/0000:06:03.0/0000:07:00.0/fw-
host0/08001f010053495a/ieee1394_node/08001f010053495a (ieee1394_node)
KERNEL[1267781183.458425] add      
/devices/pci0000:00/0000:00:1e.0/0000:06:03.0/0000:07:00.0/fw-
host0/08001f010053495a/08001f010053495a-0 (ieee1394)
KERNEL[1267781183.458472] add      
/devices/pci0000:00/0000:00:1e.0/0000:06:03.0/0000:07:00.0/fw-
host0/08001f010053495a/08001f010053495a-0/ieee1394/08001f010053495a-0 
(ieee1394)
UDEV  [1267781183.459878] add      
/devices/pci0000:00/0000:00:1e.0/0000:06:03.0/0000:07:00.0/fw-
host0/08001f010053495a/08001f010053495a-0 (ieee1394)
KERNEL[1267781183.505007] add      /module/raw1394 (module)
KERNEL[1267781183.505056] add      /devices/virtual/ieee1394_protocol/raw1394 
(ieee1394_protocol)
KERNEL[1267781183.505086] add      /bus/ieee1394/drivers/raw1394 (drivers)
UDEV  [1267781183.506285] add      /module/raw1394 (module)
UDEV  [1267781183.506921] add      /devices/virtual/ieee1394_protocol/raw1394 
(ieee1394_protocol)
UDEV  [1267781183.507514] add      /bus/ieee1394/drivers/raw1394 (drivers)
KERNEL[1267781183.513862] add      /module/dv1394 (module)
UDEV  [1267781183.513916] add      /module/dv1394 (module)
KERNEL[1267781183.513966] add      /devices/virtual/ieee1394_protocol/dv1394-0 
(ieee1394_protocol)
KERNEL[1267781183.514008] add      /bus/ieee1394/drivers/dv1394 (drivers)
UDEV  [1267781183.514392] add      
/devices/pci0000:00/0000:00:1e.0/0000:06:03.0/0000:07:00.0/fw-
host0/08001f010053495a/08001f010053495a-0/ieee1394/08001f010053495a-0 
(ieee1394)
UDEV  [1267781183.515079] add      /bus/ieee1394/drivers/dv1394 (drivers)
UDEV  [1267781183.523631] add      /devices/virtual/ieee1394_protocol/dv1394-0 
(ieee1394_protocol)


> 
> Не у ж то сложно попробывать и удостовериться, что предложенное вам
> решение (не)подходит для вас?

[root@bob ~]# ls -l /dev | grep raw
crw-rw----  1 root root     171,   0 Mar  5 11:26 raw1394

Непонятно...


  reply	other threads:[~2010-03-05  9:40 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-02 12:55 [Comm] Разрешения на raw13294 Vladimir Istrati
2010-03-04 14:22 ` [Comm] Разрешения на raw1394 Vladimir Istrati
2010-03-04 14:30   ` Andriy Dobrovol`s`kii
2010-03-04 14:40     ` Anton Gorlov
2010-03-04 14:50       ` Andriy Dobrovol`s`kii
2010-03-04 15:23         ` Алексей Шенцев
2010-03-04 15:33           ` Andriy Dobrovol`s`kii
2010-03-05  8:04             ` Vladimir Istrati
2010-03-05  8:09               ` Алексей Шенцев
2010-03-05  8:46                 ` Vladimir Istrati
2010-03-05  8:59                   ` Алексей Шенцев
2010-03-05  9:40                     ` Vladimir Istrati [this message]
2010-03-05  9:48                       ` Anton Gorlov
2010-03-05  9:58                         ` Vladimir Istrati
2010-03-05  9:08                   ` Anton Gorlov
2010-03-04 15:22 ` [Comm] Разрешения на raw13294 Алексей Шенцев
2010-03-05 12:08     ` [Comm] Разрешения на raw1394 Vladimir Istrati
2010-03-05 12:16       ` Алексей Шенцев
2010-03-05 12:28         ` Vladimir Istrati
2010-03-05 12:30           ` Алексей Шенцев
2010-03-05 12:42             ` Vladimir Istrati
2010-03-12 22:27         ` 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=201003051140.15742.bob@kp.md \
    --to=bob@kp.md \
    --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