Re: manually generate event, possible ?

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

 



On Tue, Nov 2, 2010 at 1:43 PM, J. Bakshi <j.bakshi@xxxxxxxxxxxxxxxxx> wrote:
> On Tue, 2 Nov 2010 12:52:10 +0300
> Andrey Borzenkov <arvidjaar@xxxxxxxxx> wrote:
>
>> On Tue, Nov 2, 2010 at 9:49 AM, J. Bakshi <j.bakshi@xxxxxxxxxxxxxxxxx> wrote:
>> > Hello list,
>> >
>> > To check the udev rules, say for a pendrive or mouse, we have to manually plug/unplug the devices every time, just after a modification in the rule sets. is there any way to generate the event for a *particular device* from command line ?
>> >
>>
>> See "udevadm trigger".
>>
>
> Thanks , but I have already tried with ( for usb mouse )
>
> ````````````
> udevadm trigger --verbose  --sysname-match=/sys/class/input/input11  action=add
> ``````````````
>
> but no luck :-(
>

This is event for input subsystem device input11, not for USB mouse.
You probably want to use real device name (under /devices) for it.
--
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