|
|
Reboots
When you reboot, the USB devices may be enumerated in a different order than before, even though nothing has changed. I'm not sure why this happens, but it does. You may therefore get a false positive, in the sense that the post-reboot state will be different from the pre-reboot state. However, it shouldn't be too hard to verify that you have the same list of devices in a different order. If someone wanted to write a Perl or Python script to fix this, it would be a nice contribution.
Reboots
As long as you don't care about the PCI version numbers and the like, you can just use
and you should get a list of attached devices that stays stable across reboots (assuming Apple doesn't change the formatting of the output of system_profiler in a new revision).
Reboots
I thought of doing something like that, but with sed instead of perl. What I'd really like, though, is to take the output of system_profiler as a plist (with the |
SearchFrom our Sponsor...Latest Mountain Lion HintsWhat's New:Hints1 new Hints in the last 24 hoursComments last 2 daysNo new commentsLinks last 2 weeksNo recent new linksWhat's New in the Forums?
Hints by TopicNews from Macworld
From Our Sponsors |
|
Copyright © 2014 IDG Consumer & SMB (Privacy Policy) Contact Us All trademarks and copyrights on this page are owned by their respective owners. |
Visit other IDG sites: |
|
|
|
Created this page in 0.09 seconds |
|