<html>
<head>
<base href="https://bugs.freedesktop.org/" />
</head>
<body><table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Bug ID</th>
<td><a class="bz_bug_link
bz_status_NEW "
title="NEW - udev rule doesn't load automatcially (but manually) for a specific device under certain situtations"
href="https://bugs.freedesktop.org/show_bug.cgi?id=89787">89787</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>udev rule doesn't load automatcially (but manually) for a specific device under certain situtations
</td>
</tr>
<tr>
<th>Product</th>
<td>systemd
</td>
</tr>
<tr>
<th>Version</th>
<td>unspecified
</td>
</tr>
<tr>
<th>Hardware</th>
<td>Other
</td>
</tr>
<tr>
<th>OS</th>
<td>All
</td>
</tr>
<tr>
<th>Status</th>
<td>NEW
</td>
</tr>
<tr>
<th>Severity</th>
<td>normal
</td>
</tr>
<tr>
<th>Priority</th>
<td>medium
</td>
</tr>
<tr>
<th>Component</th>
<td>general
</td>
</tr>
<tr>
<th>Assignee</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr>
<tr>
<th>Reporter</th>
<td>tom.ty89@gmail.com
</td>
</tr>
<tr>
<th>QA Contact</th>
<td>systemd-bugs@lists.freedesktop.org
</td>
</tr></table>
<p>
<div>
<pre>I have two Logitech usb receivers for mouse and keyboard (non-Bluetooth), one
is a "Unifying" receiver and the other is an older traditional one. (Same
idVendor attribute)
The traditional one has a default value of "enabled" for power wakeup (and the
Unifying one has "disabled").
When I try set it to disabled with a udev rule, I found that the rule get
loaded automatically only if it is the only receiver plugged in, or when it's
plugged into a port with a smaller port number than the Unifying one (port
number as shown in lsusb -t, which are presistent among boots).
Otherwise I have to unplug and plug again, or run `udevadm test` to make it
load (which indicates that the rules written are fine I assume).
In another case when none of the receivers were plugged in before boot, I still
need to plug in the receiver twice to get the rules loaded.
It doesn't seem to matter whether I match the device with the idVendor
attribute. Even when I test with rule like `SUBSYSTEM=="USB" and
ATTR="enabled"/"disabled"`, the receiver seems to be an exception (though I
only got the two, others are just the "usb bus").
Yet the Unifying one doesn't have this problem, no matter which port it's
plugged into, the value can be set to enabled without a hassle.
I also have two flash drives plugged into Port 1 and 2 among the tests, which
doesn't seem to affect.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the QA Contact for the bug.</li>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>