From: Евгений <shev_t@mail.ru>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] usblp, cups, foo2zjs. Нужен совет.
Date: Mon, 26 Oct 2009 15:51:59 +0300
Message-ID: <4AE59B6F.50901@mail.ru> (raw)
In-Reply-To: <20091026123825.GD3132@osdn.org.ua>
26.10.2009 15:38, Michael Shigorin пишет:
> On Mon, Oct 26, 2009 at 03:33:58PM +0300, Евгений wrote:
>> Остаётся вопрос автоматизации удаления usblp из блэклиста.
>> Кто подскажет, как ловчее сделать?
>
> Может, в соответствующий udev rule всунуть при помощи RUN
> обёртку, которая сделает modprobe/прошивку/rmmod, а блэклист
> не трогать?
>
Пробовал. Получилось как-то криво, по кругу.
Написал правила.
1) udev определяет подключение принтера к usb, грузит модуль usblp.
Тут же срабатывает правило udev от foo2zjs (загрузка прошивки).
2) Она загружается, модуль удаляется
И тут же возвращаемся к пункту 1). И так по кругу.
Может и я что-то накосячил....
next prev parent reply other threads:[~2009-10-26 12:51 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-19 7:08 Евгений
2009-10-19 9:16 ` Stanislav Ievlev
2009-10-19 9:22 ` Евгений
2009-10-19 10:56 ` Евгений
2009-10-26 12:33 ` Евгений
2009-10-26 12:38 ` Michael Shigorin
2009-10-26 12:51 ` Евгений [this message]
2009-10-26 13:04 ` Michael Shigorin
2009-10-27 5:53 ` Евгений
2009-10-27 15:03 ` Kharitonov A. Dmitry
2009-10-28 5:04 ` Евгений
2009-10-28 5:28 ` Kharitonov A. Dmitry
2009-10-28 5:59 ` Евгений
2009-10-28 6:07 ` Евгений
2009-11-02 7:19 ` Евгений
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=4AE59B6F.50901@mail.ru \
--to=shev_t@mail.ru \
--cc=devel@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 Team development discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
public-inbox-index devel
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git