Changes to System.DeviceAttached/System.DeviceRemoved

Got a good idea? You can suggest new features here.

Add device names and other device data to System.DeviceAttached/System.DeviceRemoved

Yes
8
100%
No
0
No votes
Have no clue what I am talking about
0
No votes
Don't care
0
No votes
 
Total votes : 8

Re: Changes to System.DeviceAttached/System.DeviceRemoved

Postby Diz » Tue Mar 14, 2017 3:46 am

aah ok... that makes more sense! lol :oops:
Diz
Experienced User
 
Posts: 53
Joined: Tue Jan 10, 2017 4:49 pm

Re: Changes to System.DeviceAttached/System.DeviceRemoved

Postby kgschlosser » Wed Mar 15, 2017 12:31 am

please let me know if you have any issues with it. or if you would like to see something changed...
A loved one and Time, The 2 things that can never be replaced.

Family, The only thing you don't get to choose in life.
User avatar
kgschlosser
Site Admin
 
Posts: 1472
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Re: Changes to System.DeviceAttached/System.DeviceRemoved

Postby Diz » Wed Mar 15, 2017 4:28 am

of course... no isuues as yet :wink:
Diz
Experienced User
 
Posts: 53
Joined: Tue Jan 10, 2017 4:49 pm

Re: Changes to System.DeviceAttached/System.DeviceRemoved

Postby kgschlosser » Tue Mar 21, 2017 4:14 am

I have found another glitch and have fixed it there was an undocumented GUID for network cards so I added that.

I have also found a way using WMI Query Language (WQL) to speed up the process of finding the proper device. it has given the process a HUGE speed boost. Instead of me calling WMI for all devices of a specific type and then checking each device for a matching Vendor ID I noticed that the Vendor ID was also apart of the PNPDeviceID and I learned how to use the WQL to have the SQL backend of WMI check to see if the Vendor ID is apart of the PNPDeviceID and to return devices that are. Since WMI has to iterate through all the devices any ways to select the ones i want may as well have it check for the proper ID while it's doing it. instead of having to roll through all the devices and then roll through the ones it returns looking for the device i want.

I am still testing it to make sure its good...


I am also thinking about splitting it off from the System plugin. I want to do this because I just added 2 more actions. enabling and disabling network cards. I want to expand this to blueteeth devices. and unmounting of drives. because of how many things the system plugin already does. this is going to make it overly complicated and would also cause me to have a lot of repeat code. So by moving it into it's own plugin I feel would be the right way to go.
A loved one and Time, The 2 things that can never be replaced.

Family, The only thing you don't get to choose in life.
User avatar
kgschlosser
Site Admin
 
Posts: 1472
Joined: Fri Jun 05, 2015 5:43 am
Location: Rocky Mountains, Colorado USA

Previous

Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 2 guests