Re: Regression in udev-139?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, Feb 28, 2009 at 10:15, Chris Clayton <chris2553@xxxxxxxxxxxxxx> 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
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux