ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Igor Vlasenko <vlasenko@imath.kiev.ua>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] ALTLInux Desktop 4 и Motorola L2
Date: Sun, 9 Sep 2007 18:35:35 +0300
Message-ID: <20070909153535.GA17653@dad.imath.kiev.ua> (raw)
In-Reply-To: <20070909150101.GA6226@procyon.home>

On Sun, Sep 09, 2007 at 07:01:02PM +0400, Sergey Vlasov wrote:

С SUBSYSTEM=="usb_device" надо осторожнее, она сломается на новых 
2.6.2x ядрах.
надо проверять сразу 2 SUBSYSTEM -- "usb_device" и "usb"

Вот как сделано в hplip

SUBSYSTEM=="usb", GOTO="hpmud_rules_continue"
# For backward compatibility match also against "usb_device":
SUBSYSTEM=="usb_device", GOTO="hpmud_rules_continue"
GOTO="hpmud_rules_end"
LABEL="hpmud_rules_continue"
ACTION!="add", GOTO="hpmud_rules_end"
SYSFS{idVendor}=="03f0", GROUP="lp", MODE="0664", SYMLINK+="hplip/$attr{manufact
urer}-$attr{serial}"
LABEL="hpmud_rules_end"





> /etc/udev/rules.d/75-moto4lin.rules:
> 
> ACTION!="add", GOTO="moto4lin_rules_end"
> SUBSYSTEM!="usb_device", GOTO="moto4lin_rules_end"
> 
> # эту строку повторить для каждого нужного USB ID xxxx:yyyy
> SYSFS{idVendor}=="xxxx", SYSFS{idProduct}=="yyyy", MODE="664", GROUP="uucp"
> 
> LABEL="moto4lin_rules_end"
> 
> Аналогичные правила используются в libsane, libpilot-link.
> 
> Хотя, если на том же USB ID отдельным интерфейсом висят ACM и
> USB-storage, получится полный доступ к ним мимо драйвера...



> _______________________________________________
> community mailing list
> community@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/community

-- 

Dr. Igor Vlasenko
--------------------
Topology Department
Institute of Math
Kiev, Ukraine



  parent reply	other threads:[~2007-09-09 15:35 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-09-08  5:14 Бойко Владимир
2007-09-08  6:30 ` Artem Zolochevskiy
2007-09-09  5:54   ` Бойко Владимир
2007-09-09 11:13     ` Andrey Rahmatullin
2007-09-09 15:01       ` Sergey Vlasov
2007-09-09 15:29         ` Andrey Rahmatullin
2007-09-09 15:35         ` Igor Vlasenko [this message]
2007-09-09 20:36         ` Бойко Владимир
2007-09-10  3:34           ` Andrey Rahmatullin
2007-09-10  9:07             ` [Comm] долго грузится ALD4 Valery V. Rusnak
2007-09-17 12:32               ` Michael Shigorin
2007-09-09 20:31       ` [Comm] ALTLInux Desktop 4 и Motorola L2 Бойко Владимир
2007-09-10  3:34         ` Andrey Rahmatullin
2007-09-10 19:19           ` Бойко Владимир
2007-09-08  9:35 ` Michael Shigorin
2007-09-09  5:59   ` Бойко Владимир

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=20070909153535.GA17653@dad.imath.kiev.ua \
    --to=vlasenko@imath.kiev.ua \
    --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