-
Notifications
You must be signed in to change notification settings - Fork 96
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
Startup issues with the old dongle #14
Comments
Does adding the |
Not really, unfortunately. To me it looks like some kind of timeout issue or something similar. As if sometimes the driver gets started too early on system startup, before the device is known by the OS (LIBUSB_ERROR_NO_DEVICE). Perhaps it could be sufficient to perform a few seconds delay before initializiation? |
It seems to be a configuration/hardware issue, as I found a nearly identical topic concerning this error on the ArchLinux forums. The open source driver for the Microsoft Kinect had a similar issue. Running xow with |
Running xow with
But it seems that my thinking that it could be some kind of timing issue was actually correct, because inserting a 5 seconds delay before the initializiation of xow seems to resolve this issue:
Perhaps a delay like this for the xow service should be added to the Makefile, so that it would reliably work out-of-the-box on any machine and with both dongles (old and new one), without the need of manually modifying the |
I'd rather like to find the cause of the problem than adding an arbitrary delay to the service. I suspect it's caused by the |
Well, this issue is a little bit difficult to test, because it doesn't always occur, but only sometimes. Though, it seems to happen more often when cold-booting the machine than at warm-booting. After inserting the 5 seconds delay I tried about 10 cold-boots and 10 warm-boots and during those tests the issue did never occur again. This does not guarantee, though, that this permanently solves the issue, it might (probably) happen again. Because of your suggestion to blacklist the module I created a
Shouldn't the blacklist prevent this module from being loaded? Edit:
So if it's needed to blacklist the mt76 module then it seems only necessary for the To show the difference, here's the
|
Yes, the blacklisting should only be needed for the old dongle because the EDIT: Please try using |
So far it does look good:
I did a
After that I tried a couple of cold-boots and encountered no problems so far. Is it possible to integrate the blacklisting into the Makefile? |
I'm currently making a few changes to the |
Did more testing now, as promised. I am not quite sure what the reason is, but sometimes it happens that xow fails on startup (exit status=255), but if I re-start it later then it works:
So far this only happened with the old bulky dongle (and not always), but until now never with the new small one.
The text was updated successfully, but these errors were encountered: