|
That's hardly clarification into what you're looking for. So, you want a Word template to write up a document the hardware and software in your own system??
|
|
|
|
|
I really dont get what he wants !!!
system requirements for what?!!
|
|
|
|
|
Hi
I have a problem with how to communicate with mi Application from Driver.
I detect when an interrupt happen, but I don't know how I can to communicate this to the application. I don't know how I can use an event to this.
Thank you so muchs
|
|
|
|
|
Hello all.
I want to artificially create the pnp instance of a given printer in a windows machine. Provided I know the vid and pid of it. Also I have the actual hardware and I can do the pnp job in my pc.
My requirement is to get the same pnp instance in a different machine without actually connecting the hardware.
|
|
|
|
|
Use a tool, like Total Uninstall, to watch the changes that are made to the machine. You take a snapshot of the machine, install the printer (for real!), then take another snapshot. TU will tell you what all the changes to the machine are, then you just need to duplicate those changes on the other machines. Warning! There will be a LOT of changes. You may want to capture the changes with something like InstallShield or InnoSetup.
|
|
|
|
|
I tried with Total Uninstall. Got the changes in the registry.
But I can't generate the found new hardware wizard that gets popped up when we attach a printer device. Is it possible to artificially generate that found new hardware wizard of windows ?
|
|
|
|
|
Since nobody is replying, I think its impossible.
What if I try an usb input device like a pen drive instead of printer.
Is it possible to force the vid and pid of a printer into an usb pen drive ?
|
|
|
|
|
That interface won't do you any good since you don't really have any driver to install in the proper way.
Like I said, you have to capture the changes that are made on the one machine, then replicate those changes, both file and registry, on the other machines. If you have to copy files and create registry entries, well, you really don't have a choice.
|
|
|
|
|
Yes I tried with Total Uninstall, both registry changes and file updates can be captured.
But I need to launch the 'found new hardware' wizard when a printer is plugged in the machina (via an usb port). So I have changed my plan.
What if I feed the required pid and vid of the printer in an usb pen drive and plug it in the machine.
Is it possible to write the printer's pid in a pen drive so then when we plugin the pen drive in the pc, the system recognises it as the printer itself. Is it possible ? Please answer.
|
|
|
|
|
No, it won't. It's a different device type. Unless you can completely make the pen drive look like that printers USB chip...
|
|
|
|
|
So is there any way to do the thing, pls advice.
|
|
|
|
|
I have no idea what you're ultimately trying to do. "trying to create an instance" means what?? Are you trying to preinstall a printer without actually having the printer?
|
|
|
|
|
^^ Thats what I am trying to get. Installing a printer driver without actually connecting the printer to the pc.
|
|
|
|
|
Sorry for making a late reply.
Actually I am in a project to create a install situation for a given printer device without actually connecting the printer to the pc.
I am there to simulate the situations that happens when we connect a given a printer to the pc.
Lets take our pc is running win xp, and I connect a printer via an usb cable. What happens that the 'found new hardware wizard' launches asking the user to make the next step for installation.
I am there to simulate this situation without actually connecting the printer, and I know the pnp-id and vendor-id of the given printer.
Please help.
|
|
|
|
|
Hi, I have a printer HP LaserJet 3005dn and I'm sure that my printer could print on both side based on the manual which is came with the printer. But when I successfully install the driver and i try to print both side, the printer just print on one site. There is no error message display. The printing run as normal but it just not print on both side whether i already select print on both side option. If anyone know the solution to fix the problem with please let me know. Thank in advance!!!
|
|
|
|
|
IF it's like the printers I use at work you need to set it on the client. Most Apps-File-Print-Properties-Look for duplex
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
|
|
|
|
|
Yes, this printer is attached to the client machine and I already set its software on the client machine. And that client machine could not print on both side whether he already selected the print on both side option. Any idea? Thank for your comment!!!
|
|
|
|
|
Either the driver is the wrong one, or it's bad, or the driver isn't configured correctly to know that the printer has a duplex option, or there's something wrong with the printer, or the printer really doesn't have a duplex option.
|
|
|
|
|
In the Printer Properties window, in the Device Settings tab, under Installable Options, is the Duplex Unit Installed?
|
|
|
|
|
Hi all,
I have a problem with the driver for my ethernet card. Everytime I do a warm start(that is restarting the pc) the MAC-address is showing up as 0's. But this doesnt happen with the cold start.
I am trying to track down on this problem. I am still not quite sure if this is a hardware/firmware problem or the driver problem.
I would be really glad if someone could tell me where does the network card normally read the MAC-address from. So that I can use the debugger to try and trace the problem.
Any help and advice on the subject would be great for a starting point.
Thanks
HM
|
|
|
|
|
The MAC address is normally hard-coded on the board. Mobile ethernet drivers will normally let you assign a MAC if you don't want to use the hard-coded one. It sounds like you've got a problem with the driver.
|
|
|
|
|
There is something flaky here, And I suspect its with the HW.
Reason being is that a warm boot or a cold boot still causes a driver unload. However, and this comes from personal experience, HW, because of capacitance, can maintain state over a warm boot.
There could be a reset HW funciton that the driver could do perhaps on an unload (MiniportHalt actually rather than MiniportUnload since you want to capture the HW going away event)) if you had acess to the driver code. If not, get on to the company that makes this and get them to look into it.
Morality is indistinguishable from social proscription
|
|
|
|
|
Thanks for the answers. Yeah, it could be the problem with the Hardware. I have access to the code. I dont know where I probabaly should set the breakpoint to check if its a HW or the Source code problem.
Whenever I run IPConfig after a warm boot I see MAC-address as 0.0.0.0.0.0
Can you explain the solution a bit more detailed exactly how windows reads and initializes the MAC-Address for the network card?
Thanks and Regards
Sharp
|
|
|
|
|
The MAC address woulod normally be read ff the card, but could be overridden by the code.
What you have ia an OID to get the mac address (OID_802_3_PERMANENT_ADDRESS and OID_802_3_CURRENT_ADDRESS. Look for these in the OID handler (thi8s will be declared in the DriverEntry funciton in the MinioprtCharacteristics structure.)
Now, look for the data the driver is returning for this OID and find where it is obtained. You now have the point at which the HW is failing to respind with the correct data.
So, since this is a warm boot issue only, I would do a HW reset at the beginning of the MiniportInitialise function (yours will be called somethiung else but it will also be declared in the MiniportCharacteristics structure).
This of course is if the HW has some kind of a rest ability. If not you are going to have to make a workaround.
If the data the driver gets form the card is valid, ie it isnt zero, then store that data in the registry under the devices config ares (look at NdisOpenConfiguration() ).
Then, next time you do a warm boot and read a zero address from the card your driver can go to the configuration area and retrieve the real address and use that.
If this is difficult for you to do then I can offer my services as a consultant and do the work instead.
Morality is indistinguishable from social proscription
|
|
|
|
|
Thanks for the reply again. I am not very familiar with using the debugging tool to set bp and check where the problem is happening. It would be great if you let me know how I can use the windebugger to check for the OID handler.
|
|
|
|