linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kay Sievers <kay.sievers@vrfy.org>
To: linux-hotplug@vger.kernel.org
Subject: Re: Regression in udev-139?
Date: Sun, 01 Mar 2009 15:49:47 +0000	[thread overview]
Message-ID: <ac3eb2510903010749g28269b57u1291e6fe320ee905@mail.gmail.com> (raw)

On Sat, Feb 28, 2009 at 10:15, Chris Clayton <chris2553@googlemail.com> wrote:
> I have a script that is run via udev whenever a usb storage device is plugged in
> to my computer - all it does is place an icon on the desktop. A similar script
> hides the icon again when the device is unplugged. OK, it's not sophisticated,
> but it does the job.
>
> I've been using the scripts for maybe two years or so without problem, but
> yesterday I built and installed udev-139 and they stopped working.

That still works fine here:
  udevadm monitor --env --udev | grep ID_BUS
  ID_BUS=usb
  ID_BUS=usb
  ID_BUS=usb
  ID_BUS=usb

It's likely something wrong with your rules, maybe left-over stuff in
/etc/rules.d/, while the default udev rules are now in
/lib/udev/rules.d/.

You can check what's going on, with:
  udevadm test /class/block/sdb
an you look for:
  util_run_program: 'usb_id --export /devices/ ... /block/sdb'
  ...
  util_run_program: '/lib/udev/usb_id' (stdout) 'ID_BUS=usb'
  ...

Kay

             reply	other threads:[~2009-03-01 15:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-01 15:49 Kay Sievers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2009-02-28  9:15 Regression in udev-139? Chris Clayton

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=ac3eb2510903010749g28269b57u1291e6fe320ee905@mail.gmail.com \
    --to=kay.sievers@vrfy.org \
    --cc=linux-hotplug@vger.kernel.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).