I have written a Windows device driver that updates the firmware on a certain device, via Windows Update. The sequence of operations is as follows:
The driver is downloaded from Windows Update, and scheduled for installation
The PC is rebooted (either by the user, or at the Windows idle time)
During restart, the firmware is downloaded to the device
An additional reboot is required in order to program the firmware into the device
It is this last step that I cannot get working. Other than writing some sort of application that requests the user to reboot the system after the driver is installed (error-prone, and inelegant), is there a way for the device driver to tell Windows that a reboot is required?
Freedom is the freedom to say that two plus two make four. If that is granted, all else follows.
-- 6079 Smith W.
The only technique I can think of would be using the WUAPI to force reinstall your device driver. You didn't mention anything about your co-installer but you would probably need to add something to detect that the firmware was already present and up-to-date after the reboot.
Whether or not this is more elegant is debatable. In my opinion your co-installer should be responsible for the user notification and reboot.
Hi everyone. I need to write a virtual printer that can receive messages from a client but not actually do any physical printing. Instead the printing will be done in an application. I can write tcp client/server programs with no problems but have never tried a virtual printer. I have read some articles on the web but not quite what I need. I also have been searching for what is required in Windows for an install. Registry entries, Program Files, System32 ini files?
Good luck - that processor is eight years old, and you'll have a hard time finding a new MB for it. And ... are you sure it's the MB that died, not the processor? I'd seriously consider getting a working second hand MB and processor with RAM instead, the cost will probably be the same given the age. Do bear in mind that Windows 10 is hardware linked: change your MB and it can be a fight to get Windows validated again - not impossible, but it can need MS tech to dive into your machine.
Sent from my Amstrad PC 1640 Never throw anything away, Griff
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
My laptop is one of the faster ones and uses a 4x PCIe based SSD, M key. The laptop make matched the motherboard to a very decent ssd: Samsung 960 Pro 512GB MLC NAND M.2 2280 PCIe NVMe 3.0 x4 Internal Solid State Drive". My backup preference is to clone drives (I have a device to do this - it's SATA based). All I need to do is drop two SATA drives into it, and push a button. So, I thought it would be trivial to find a USB to M key ssd adapter chassis to allow me to drop it into my cloner. Wrong.
But note the text in the listing: "Friendly Reminder: DOES NOT SUPPORT M.2 PCI-E SSD." After searching online for a week, and reading countless other requests for a product like this, I'm about to conclude that it just doesn't exist. I guess it falls under nonsensical - why would you want to take something so fast (4GB/sec) and use it in a slower interface (SATA)?
Anyway, if any of you out there on an off chance know of a solution, I'm all ears.
<italic>Stuck in a dysfunctional matrix from which I must escape...
"Where liberty dwells, there is my country." B. Franklin, 1783
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Been searching if any in-browser low res display designers, anyone got ideas?
256x64 pixel resolution
except zooming into MS-Paint, something to help figure out font to use, spacing.
Been looking at a Raspberry-pi zero with an oled White only pixels hat. 256x64 resolution.
It annoying enough writing python, then add in doing it via terminal ssh in nano.
Then spend hours trying to figure out how to change the font. Still no clue. All linux forums assuming version of linux which come with 100+ fonts pre-installed.
Was wondering if anyone used a NUC or similar small factor desktop to run as a shared resource server for a software development group?
Been running a vm off my computer, and ram (plus all the other stuff i do) is well past the point i should have moved of the database.
Used some old kit in the past, core 2 some 8+ years old 4gb ram, and decided to look up what some small form factor PCs were like now.
mostly for running a sql server (dev), with iis.
Continues integration not needed (VSTS), but the RAM and cpu offload is the main things.
Potentially could use one of the full rack servers that we phasing out, but in comparison thats cpu 5+ years old (4 cores 2.2ghz).
The small form factor of the NUC seems nice to hide away near the developers.
As to running sql server of each of our own system? Most of the work is on the software side, not database schema changes, so I have not seen any need to have individual instances. (Except for the dev that always has to have their own stuff, good forbid they actual do work then mess around reinventing the database schema every week)
If shared, then clear to see what database changes.
Small team - not expecting to explode (4-8) any time soon.
Need some help with a Huawei USB Dongle. It is an E3372h-607 dongle. I need to communicate with it via COM ports from an application on a PC. So far, it is not showing up as a COM device and whatever I've tried has been to no avail.
I've tried to flash the firmware on the dongle but all I get is a "Download Failed." error even if the flash code seems to have been accepted by the dongle.
Here's the firmware info for the dongle:
Hardware version: CL2E3372HM
Software version: 22.315.01.00.74
Web UI version : 17.100.14.00.74
Can anyone advise me on what I need to do so that i can communicate directly to the GSM/GPRS modem on the dongle via an app on the PC.
I am looking for sample code or tutorial on interrupt specific for RPi (BCM2835) C/C++.
I checked RPi site and did not find what I am looking for there.
I ask Mrs Google and so far I got bunch of general stuff about RPi.
There are articles in "IoT" but I have not found suitable forum about the subject, so I am posting my request here.
Will appreciate any leads.
I found a solution here
<a href="https://github.com/BrianSidebotham/arm-tutorial-rpi">GitHub - BrianSidebotham/arm-tutorial-rpi: Raspberry-Pi Bare Metal Tutorial</a>[<a href="https://github.com/BrianSidebotham/arm-tutorial-rpi" target="_blank" title="New Window">^</a>]
-- modified 30-Jun-18 10:07am.
Last Visit: 31-Dec-99 18:00 Last Update: 3-Oct-23 21:34