ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Vladislav Zavjalov <slazav@altlinux.org>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] о правах на устройство для libusb/libftdi
Date: Tue, 5 Dec 2017 22:35:36 +0300
Message-ID: <20171205193536.GA9487@imap.altlinux.org> (raw)
In-Reply-To: <2640618.qeNxSG8B4t@gleb.lls.net.iao.ru>

On Tue, Dec 05, 2017 at 10:59:38PM +0700, Gleb Kulikov wrote:
> 
> Джентльмены,
> 
> а как нынче нужно обращаться с правами на устройство?
> 
> Столкнулся с тем, что с устройством на FT2232H MiniModule ( VID: 0x403, PID: 
> 0x6010 ) можно работать только от рута.
> По хорошему, убрать бы из правил и загрузку ftdi_sio для этого устройства, но 
> в /etc/udev соответствующие правила. очевидно, вшиты в  огромный блоб 
> hwdb.bin.
> 
> Как это теперь положено делать правильно?
> 
> Спасибо!

Я в файл /etc/udev/rules.d/99-ftdi.rules написал:

ACTION=="add", SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",\
   ATTR{idVendor}=="0403", ATTR{idProduct}=="6010", GROUP="users"

Кстати, интересно было бы пообсуждать libmpsse, если вы или кто-либо еще
ей пользуется. Я ее собирал в Сизиф, но неаккуратно, под свою задачу.
И там была неразбериха с апстримом, но сейчас, мне кажется, я знаю, где он.

Слава



  reply	other threads:[~2017-12-05 19:35 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-05 15:59 Gleb Kulikov
2017-12-05 19:35 ` Vladislav Zavjalov [this message]
2017-12-06 15:31   ` Michael Shigorin
2017-12-06 16:50     ` Vladislav Zavjalov

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=20171205193536.GA9487@imap.altlinux.org \
    --to=slazav@altlinux.org \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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