|
Maxwell Chen wrote: I am so sorry that I made a mistake.
No worries, Maxwell.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
There is the KMDF from Microsoft. I used that for my latest drivers and found it relatively easy to use, if a bit verbose in its function names . It handles a lot of the tedious repetitive stuff like PnP and Power management for you. Now that KMDF is around, I haven't found a need to try to find another toolkit - the framework deals with all the stuff I previously wanted dealt with by a toolkit.
Judy
|
|
|
|
|
Nice Judy, thanks.
I'll look into it.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Roger Stoltz wrote: but I figure that the benefits of using a toolkit outweighs the drawbacks.
not really. wrappers like jungo have their uses, perhaps (although I would never use it), but eventually, you are going to have to get your handsa dirty and dig around beneath the wrapper to either fix something in the wrapper or get some functionality it doesnt provide.
and then you are looking into the depths of hell itself. so you might as well start of like you mean to go on and take the big leap, dig into it, and just use the WDM api.
The ddk is limited, confusing, and nightmarish to useso, provided you only want to do WDM, then I suggest Walter ONeys book, Programming the Windows Driver Model.
Morality is indistinguishable from social proscription
|
|
|
|
|
Thanks for your reply fat_boy.
fat_boy wrote: but eventually, you are going to have to get your handsa dirty and dig around beneath the wrapper to either fix something in the wrapper or get some functionality it doesnt provide.
So I shall interpret this as something like "if you're writing a simple driver you won't need a toolkit and if you're writing a complex driver a toolkit provides more trouble than help"?
Or would that be pushing it too far?
My customer needs a driver for USB DFU (Device Firmware Upgrade), but they need to be able to modify the driver after I've left the building.
Even if I consider a driver for DFU as quite small and simple in comparison, my customer has very little or none experience of kernel mode development. That's why I'm interested in toolkits such as the one from Jungo as I assume that the need for kernel mode experience is limited (at least Jungo claims so).
Other ideas or Suggestions?
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Writing kernel drivers for windows is a serious undertaking regardless of the size: every driver has the potential to trash the OS so I would not expect anyone short of a very good Windows programmer with 5 years of experience capable of even starting to begin to modify a driver and have it anywhere near stable. And even then they will have a massive learning curve.
I dont know Jungo though and it might well do what you want. Talk to them and see.
Morality is indistinguishable from social proscription
|
|
|
|
|
fat_boy wrote: every driver has the potential to trash the OS so I would not expect anyone short of a very good Windows programmer with 5 years of experience capable of even starting to begin to modify a driver and have it anywhere near stable. And even then they will have a massive learning curve.
Exactly my point.
That's why I wanted something to simplify things for my customer, if they need to modify the driver in the future.
Perhaps the chances of combining these two parameters are ridiculously close to zero and I end up writing it with the DDK anyway, or one of the frameworks Judy and Mike has suggested.
On the other hand it may create an opportunity to return to the scene of the crime if the driver needs to be modified.
Thanks for your time fat_boy.
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Roger Stoltz wrote: On the other hand it may create an opportunity to return to the scene of the crime if the driver needs to be modified.
That is a good idea. Sell them the product and maintenance.
If you ever do get a driver up and running, well, you will have acchievde a massive amount. You can capitolise on that work.
Morality is indistinguishable from social proscription
|
|
|
|
|
Since this is a USB device, perhaps the User-Mode Driver Framework[^] would be appropriate? See the FAQ[^].
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
It may be.
Judy suggested me to look into both UMDF and KMDF and I've done so a little. I haven't had the time to really get into things yet, but I will certainly have a serious go for it.
Judging from the FAQ it will do very well for this DFU driver.
I haven't really found all the info I need on how to get the framework and what it costs and that's essential input for my customer to make a decision whether to use it or not.
As I understood it, the framework is available through this MS "Connect"-thing... But what's the charge? Got to ask since I couldn't find a statement that it's free of charge.
Any chance you know it by heart?
"It's supposed to be hard, otherwise anybody could do it!" - selfquote "High speed never compensates for wrong direction!" - unknown
|
|
|
|
|
Hi,
Do you know locking/unlocking capability of your hard disk? If not, read following.
Every hard disk has inbuilt controller, called ATA controller. ATA stands for Advanced Technology Attachment or AT Attachement. ATA is the standard protocol to interact with the hard disk. ATA protocol has several commands using which hard disk can be locked or unlocked.
This lock is the hardware lock. Once hard disk is locked, you can't read/write from your hard disk, until unlocked. Once it is locked, all commands to hard disk will be aborted, except commands for unlocking and some special commands.
Almost all modern hard disk support security feature. By default security feature is disabled. It needs to be enabled and then only hard disk can be locked/unlocked. Some older hard disk might not support this feature.
I have created a utility, completely coded 'C' language, to lock/unlock hard disk.
For more details and downloading this utility, visit Lock-Unlock Hard Disk[^]
Thanks,
Sandeep B. Vaniya
|
|
|
|
|
This seems to be good material for an article.
|
|
|
|
|
I will publish article for the same on code project.
Thanks for your suggestion.
|
|
|
|
|
What about the last article you wrote here on that utility?
Make sure you include the source this time...
|
|
|
|
|
I had published article after Andersson's suggestion. But you guys might not like that article so I have removed it.
I am already in my home with my bat and ball.
I am wondering that you are still searching for source code.
|
|
|
|
|
Hi Sandeep,
I thought your last article was a good start. There were perhaps a few details missing that would have added to the knowledge it imparted, like the nitty-gritty details of the port numbers used and the protocols for use, (e.g do an "Out 70h, al" followed by reading 10 bytes from 71h, using the 11th byte as the result-code, blah-blah) but overall I found it to be a highly interesting concept - It's been 10 years or more since I played with DOS programming, and always found it to be a challenging medium to write ASM code under, what with the 64kb segments and all the 'fun' they entail.
So please, if you feel like grabbing your bat & ball and coming back out to play, I'm sure a lot of the other kids would be interested in what you had to say.
Oh no, I'm not still searching for the code, I've already got it. I already know which ports were used, as do about 1/2 a dozen other people that downloaded the source I posted for you. It would just be nice to see the (well commented) code finish off what has the potential for being a really interesting article. Remember, no author in the world won a Pulitzer Prize for a piece that was classified and not released to the public....
Simon
|
|
|
|
|
In winxp int8 not time interrupt How can i get it?
|
|
|
|
|
Windows doesn't allow you to hook interrupts from user mode. If you want to do things with timers, see SetTimer (if your timing doesn't need much accuracy) or timeSetEvent if more accuracy is required. There are also system timers you can use by calling CreateWaitableTimer, which I believe is the only approach in kernel mode.
DoEvents: Generating unexpected recursion since 1991
|
|
|
|
|
I have a CDRW and DVDRW on my system I want to get backup of a dvd bootable that it has OS,how can I do it?
modified on Sunday, April 20, 2008 2:34 PM
|
|
|
|
|
Return your system to your computer dealer and buy another one that comes with the disk.
So the creationist says: Everything must have a designer. God designed everything.
I say: Why is God the only exception? Why not make the "designs" (like man) exceptions and make God a creation of man?
|
|
|
|
|
For linux you can create a livecd of your entire os + applications. For windows you can use bartpe to do something similar but you do not directly get all the applications.
See:
http://www.linux-live.org/#[^]
John
|
|
|
|
|
I assume that you want to make a copy of your OS installation disk. You can use Alcohol 120%( http://www.alcohol-soft.com/[^])
There are many other such softwares. Whichever one you use, select the "Copy DVD" option.
modified 29-Aug-18 21:01pm.
|
|
|
|
|
I don't know about vista but I have not seen any copy protection on any Microsoft CDs prior to that OS and even it it had some you can slipstream you own copy without any difficulty. So just about any cdrom software will copy the OS disks.
John
|
|
|
|
|
Is it possible to get two wireless routers to talk to each other wirelessly?
I'm having trouble with my DLink wireless USB key and am wondering if I could use a wired connection to one router ->wireless to other router -> wired to telephone line.
|
|
|
|
|
Use a repeater.
Either you buy a repeater, or you can buy a bridge/router/gateway or accesspoint with repeater functionality. You'll have to read the specifications.
|
|
|
|