Re: manually generate event, possible ?

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

 



On Tue, 2 Nov 2010 21:05:14 +0530
"J. Bakshi" <j.bakshi@xxxxxxxxxxxxxxxxx> wrote:

> On Tue, 2 Nov 2010 09:21:43 -0400
> Martin Pitt <martin.pitt@xxxxxxxxxx> wrote:
> 
> > J. Bakshi [2010-11-02 16:52 +0530]:
> > > udevadm trigger --verbose  /dev/sdc
> > 
> > trigger doesn't take non-option arguments. Use --sysname-match=sdc.
> > 
> > Martin
> 
> Hello Martin,
> 
> Thank for your kind suggestion. This time I get some success at-least. I have get the following
> 
> `````````````````````
> udevadm trigger --verbose --action=remove --sysname-match=sdc
> /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.0/host9/target9:0:0/9:0:0:0/block/sdc
> `````````````````````````
> 
> But the udev-rules are not called. I have send-notify in both add and remove event. Though If I unplug it physically, the rules are fired successfully. --action=change has no effect too.


Any other alternative please ??
Thanks
--
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