-
Notifications
You must be signed in to change notification settings - Fork 144
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
udevd drops UPS symlink and I don't understand why #170
Comments
I'm not sure what's going on here. I'm guessing, but I think the device powers down, the kernel driver thinks the device has been removed and udevd removes the link. It gets woken up when |
kernel is anything from the past year, currently gentoo-sources-5.0.4 (Or .3, or .5, I forget) |
So I caught it in the logs. I'll probably buy another cable, since CyberPower looks like they shop at the 59 cent store not even the full dollar store. But that's more because of how shit the current one looks and not because I think it will help.
|
this looks like a normal disconnect + reconnect with a 1 second delay. i'd start looking at hardware issues first. |
Can you please confirm if that is still the case with the latest release? |
So this seems to be schrodinger's symlink. I'm running sys-fs/eudev-3.2.7-r1.
If I reboot the box it finds the device and makes a symlink. When I run udevadm test $(udevadm info -q path -n /dev/bus/usb/) it finds the device and makes a symlink. If I run udev from the console with --debug it finds the device and makes a symlink.
Everything is fine, unless the box is running for a while. Then suddenly the device drops off the face of the earth and no amount of hot-plugging or udev restarts bring it back. Running udevadm test or udevd --debug instantly brings it back.
How do I debug this when turning on logging stop the bug from happening?
Considering it's only the nut/libusb device that breaks I feel like this might not be a 100% udevd bug.
The text was updated successfully, but these errors were encountered: