|
Hmm, still hard to to tell whats wrong. As dave says the PSU might be faulty, as HDDs only need +5 and +12v while the motherboard will need some other voltages too. Does your computer have a high-end or good quality PSU? Or some no-name (like POWER MAN)? I always try testing the easist first, too bad you dont have any PSU thats not in a computer... If PSU is not the problem then it's probably the motherboard or the CPU. CPU Overheated maybe? Fan full of dust? Or fan out of oil? (= it stops) Sometimes (yet very rarely) removing all components and putting them back in can help. (But if it has been going fine for ages and is not home built this will probably not help)
Some newer computers don't have BIOS speakers installed (and some have them installed on the motherboard), So if yours doesnt have any, install one.
//Johannes
|
|
|
|
|
Whats your time worth? If its upwards of 40 dollars an hour just buy a new box with new motherboard, RAM, CPU and PSU. Put you old HDD in and away you go.
Morality is indistinguishable from social proscription
|
|
|
|
|
Dear,
I need help in vb/vb.net to check wheather installed drivers (i.e) lan drivers, sound cards, etc are properly installed.
For eg., mycomputer->properties->devicemanager will give all the details of the driver installed in the machine, but this is manual involves user interaction.
But through either vb/vb.net i need to give status of the installed drivers to check wheather it is properly installed or not.
|
|
|
|
|
Member 4567325 wrote: For eg., mycomputer->properties->devicemanager will give all the details of the driver installed in the machine, but this is manual involves user interaction.
It only shows devices attatched to the system/the system itself. It wont show you all the drivers (inf files and respective sys files) that are available on the system.
However, what do you mean by properly installed? How do YOU intend to judge what is, and isnt, a propper installation? (Given that if an inf file exists in the inf directory with a respective pnf file then it HAS gone through SetUpCopyOEMInf() successfully.
If there is any error in the inf, or files specified, then SetupCopyOEMInf() would fail and the inf would not be compiled into a pnf.
If you want to know wether a driver is on the system then you can check all the inf files for the HW id of the device in question. If it exists in the inf directory, it will be installed correctly.
Of course the driver could be faulty, in which case it might not load, but in this case, you are in a different situation where the SetupDIxxx funcitons can be used to examine the state of devices on a system.
Define the problem, and the solution defines itself!
Morality is indistinguishable from social proscription
|
|
|
|
|
Dear Thank u for your reply.
Let me be clear in my question.
In need to check whether all the hardware devices are installed in my machine without yellow mark. as we see in device manager.
I want to list all the status of the hardware drivers installed in the PC
Eg.
LAn driver- Status - Ok
Audio - Status- Not properly installed
Based on the yellow bang
|
|
|
|
|
OK, thats more like it.
You need to look at the setupdixxx functions. Start with SetupDiGetClassDevs(). Then read, and read, and read MSDN. (By the way, the device classes are in the registry: HKLM\sys\ccs\control\deviceclasses. Find the one that relates to the device class you are interested in and away you go.)
Morality is indistinguishable from social proscription
|
|
|
|
|
Hello.
I'm trying to find a way to extract the raw hid report descriptor of a HID device.
I will have a filter driver attached to the device so I don't mind the mode (kernel/user) where I get it.
I don't want anything pre-parsed, I need the raw binary data.
Example of report descriptor: http://euc.jp/periphs/xbox-pad-report-desc.txt[^]
Does anyone know how to achieve this?
ZeWaren / Erwan Martin, French student.
|
|
|
|
|
The question was posted nearly twelve years ago. They either solved it then or gave up.
|
|
|
|
|
Hi all,
we're developing a filter driver for the ip stack. Everything on XP works fine. On Vista we have to switch off UAC, otherwise the dll accessing the driver gets an access denied error. Running the app as admin works, too.
I do not understand why the app does not work in normal user mode. All applications accessing hardware do not have to run elevated. So, why do we have to elevate our app in order to get the access to our driver?
We've tried to use signed driver and application without success.
Any thoughts?
jung-kreidler
|
|
|
|
|
Add a manifest file to the executable.
Morality is indistinguishable from social proscription
|
|
|
|
|
Hi fat_boy,
thanks for your comment.
Manifest is already part of the app and the dll. Additionally we've signed the app, dll and sys, but it does not help.
jung-kreidler
|
|
|
|
|
So it works on XP as a non administrator but on Vista doesnt? (ie, it needs admin rights to work).
This should be the same, the issue on Vista is whether the exe will auto prompt for permission (thats what the manifest file does).
Have you checked the local security policy on the machines? Also, depending on how you are accessing the filter driver, you can accept a lower security level. If its via IOCTLs you can down grade the security needed so a non admin can access it. (You then use MAXIMUM_ALLOWED in the call to CreateFile() )
Morality is indistinguishable from social proscription
|
|
|
|
|
Yes on XP it works, but Vista needs to elevate (run as 'admin') with UAC enabled.
Mhmm, local security is a point, but not practicable (...sorry), since most of our users won't dig around (or even worse: do not have the knowledge) in the security settings. We have to deal with a default Vista installation and there the UAC is enabled for sure, while security settings are strong...
We thought about having a second driver, which does the IO control between the app and the filter driver, but are not sure if this will work.
At the moment we're stuck ...
|
|
|
|
|
OK, so is the issue:
1) The app, when run, doesnt elevate, and thus cant access the driver.
or
2) The app, when run, does elevate, but then cant acces the driver?
Morality is indistinguishable from social proscription
|
|
|
|
|
The issue is 1). We do not want to elevate our application, in order to avoid the popup dialog of the UAC. The app should run without any annoying dialogs, the way it runs on XP. E.g. Wireshark also accesses a filter driver, but without any elevation... and we do not know how...
|
|
|
|
|
OK, so you want without a popup. Two questions:
1) Are you accessing the filter driver through IOCTLs?
2) Does your CreateFile() specify MAXIMUM_ALOWED?
Morality is indistinguishable from social proscription
|
|
|
|
|
1) Yes we need IOCTLs
2) Actually this is GENERIC_READ|GENERIC_WRITE
CreateFile works, but the DeviceIOControl returns 87.
|
|
|
|
|
1) How are the IOCTLS declared? Can you paste in an example of one?
2) Make this MAXIMUM_ALOWED. If you can have GENERIC_READ|GENERIC_WRITE it will be given to you. If you are only alowed WRITE that will be given to you. So using this macro means you will always het the highest rights you can get which means you have the highest chance of your code succeeding.
Morality is indistinguishable from social proscription
|
|
|
|
|
Jep!!!! MAXIMUM_ALLOWED did the trick!
Driver works now without any UAC issues!
Thank you!
jung-kreidler
|
|
|
|
|
Buy me a beer sometime!
Yeah, its a good trick to always use this value, you always get whatever the system can give you, and in combination with setting the security on the IOCTLs very low you could even get this working under a user profile.
Morality is indistinguishable from social proscription
|
|
|
|
|
|
I recently upgraded my PC. but I have the Hard disc with old IDE type. i have made it as slave and put my DVD drive as master. when I access my DVD drive ,my HDD performance is getting affected. can any one suggest some idea to rectify it...
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
Make the HDD master. Then in concurrent usage scenarios that DVD will be the one slowed by having to wait to send/receive data. Alternately put the drives on separate channels.
As long as they're sharing a ribbon, one will be the loser anytime you're trying to use both at once.
Today's lesson is brought to you by the word "niggardly". Remember kids, don't attribute to racism what can be explained by Scandinavian language roots.
-- Robert Royall
|
|
|
|
|
Thanks for ur suggestion....
If U Get Errors U Will Learn
If U Don't Get Errors U Have Learnt
|
|
|
|
|
flqfqijfq;ofuejcbjehqofyqfqjlyqljfhouyuh2fofhjnlquy0
just enjoy
|
|
|
|