Vấn đề bạn đang gặp có thể trivial nhưng annoying. Ngẫu nhiên, Windows phát ra âm thanh da-dam dam-dam thường liên quan đến USB devices bị unplugged và plugged back in. Tuy nhiên, bạn không connect hoặc disconnect gì, và không có apparent loss of functionality. Điều này đang làm bạn crazy.
Để tôi chỉ cho bạn cách troubleshoot issue như này. Giải pháp thường quite easy once you know where to look. Nhưng nếu bạn wonder Windows của bạn có mental không, câu trả lời là, follow me.
Vấn đề + giải pháp
Vậy chúng ta biết issue là gì. Something USB seems to be disconnecting và reconnecting. Điều này có thể xảy ra every few minutes hoặc maybe once an hour hoặc every other day. Hardware của bạn seems working fine. Điều này có nghĩa là no quick correlation giữa sounds và functionality, nên chúng ta cần làm forensics.
Có một công cụ extremely nifty gọi là USBLogView, phát triển bởi legendary Nir Sofer. Tool này, khi running, sẽ capture all USB events và log chúng. Cụ thể, USB unplug/plug events. Khi chúng ta có cái này, chúng ta có thể bắt đầu figure out what kind of issue we're dealing with, if any.
Điều tra bắt đầu
Trên host bị ảnh hưởng, tôi để USBLogView chạy một lúc. Giống câu đó trong Braveheart, vâng, bạn có thể run for a while. Và indeed, nó captured an event, đọc như sau:
What do we have here? Trong một giây, chúng ta có unplug-plug sequence, hence the sounds. Nhưng something did happen. Trong case này, nó là generic USB hub, port 2, hub 3 what dunnit it. Hãy figure out thêm về device này. Note: Example này apply cho desktop, nên tôi sẽ refer nó throughout tutorial, nhưng same logic applies to all và every investigation và device.
Bạn cũng có thể quan tâm learn more về product - vendor ID, product ID, cũng như product name, cột không shown above, nhưng definitely available trong displayed information. Bạn có thể find more data online, nói cho bạn biết what kind of device you're dealing with. Sometimes, identification trivial. Trong case của tôi, generic hub không đủ tốt, nên chúng ta cần delve deeper.
Mở Device Manager (My Computer > Manage). Check properties của mọi USB controller cho đến khi tìm cái match above. Trong case của tôi, nó happen to be Generic USB Hub, với parameters sau:
Chúng ta thấy hub này có bốn ports. Điều này có nghĩa là bạn normally expect thấy bốn USB ports available trên panel, normally at the back of computer case. Nghĩa là đây là nơi chúng ta ought to look. Indeed, tôi happen to have desktop keyboard connected đến particular four-port panel. Vậy next step là actually disconnect và reconnect keyboard để xem nếu chúng ta có thể capture event again, và nếu nó matches.
Nếu bạn happen to have more than one device plugged vào same hub, thử dùng other available ports, nếu possible, để chỉ one remains connected to affected hub, để xem cái nào triggers events.
Lại, trong particular example này, even touching keyboard connection triggered several events. Nhưng reason cho actual jittery behavior là fact tôi có another USB cable, từ nearby USB 3.0 connection, looped và applying ever so gentle pressure trên keyboard cable. Moving it away và reseating keyboard connection fixed the issue.
Điều này nghe như super trivial case, nhưng trong most cases, nó sẽ là. Nhưng options của bạn là, lowest probability, motherboard có thể dying (A), và có thể có physical damage do humidity hoặc dust hoặc something. Nhưng điều này should cause more than isolated issue. Then, far more likely rằng bạn có something loosely connected (B), hoặc peripheral device gimping up (C) và needs replacement.
Troubleshooting của bạn, sau khi identify right device và connection, sẽ là truly unplug và plug device, then nếu problem not going away, try different port, và finally, replace device. Điều này sẽ tell you nếu bạn handling A, B hoặc C in terms of scenarios.
Kết luận
Hướng dẫn này very simple, nhưng teaches a lot. Nó giúp identify weird, annoying problems với USB sounds và trace chúng đến actually hardware issues dùng USBLogView. Sau đó, có post-investigation trên finding right devices và ports. Và finally, isolating và resolving problem bằng cách figure out component nào may be misbehaving hoặc malfunctioning, hoặc nếu replacement needed. Bạn may be lucky, và nó could just be a loose connection.
Hy vọng bạn đã học something new. Như luôn, chúng ta dùng same methodical, careful approach to problem solving, và nó universal to all issues, be they Linux, USB hoặc even something completely non-technical. Well, nếu this gives you the peace you need, thì Windows experience của bạn better, bạn pleased, và tôi happy. Best of all, bạn có thể dùng same idea troubleshoot Linux issues of the same sort. Only the tools và the syntax will change. But the world is your technology-agnostic oyster. Take care.
Chào.