Hello dear guest!

Boot Land is a community driven site established since 2006 and focused on data recovery/backup boot disks, research of Windows 2000/XP/2003/Vista/7 install/deployment/antivirus tools, customizing Windows PE systems and even learning how to recover from disaster situations.

How about joining our boot disk community? So do it. Life's short!

  - You get free access to our newsletter with all the interesting buzz about boot disks
  - We share publicity revenue with everyone who wishes to participate at the forums
  - Publicity is never, never, never displayed to members (along with many other cool things)
http://boot-land.net/register

 
Reply to this topic
 Universal Win98 USB Mass Storage Driver, (and a lesson learned....)
post Jun 15 2007, 10:53 AM
Post #1
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


....sometimes one looks for something in the wrong places, far away, when it is already near him... rolleyes.gif

From this thread on MSFN:
http://www.msfn.org/board/index.php?showtopic=99220&hl=

I learned how member Molecule found on an Italian site a supposedly Universal Win98 Mass Storage Driver.
Direct link:
http://www.wintricks.it//download/wtgenusb.zip


I guess everyone knows about the very good work made by the known Maximus Decim Native USB drivers:
http://www.msfn.org/board/index.php?showtopic=43605&hl=

But the info on the referenced site:
http://www.wintricks.it/faq/usbpen98.html
is VERY interesting and the size of the package really luring for winimize projects.

Due to the mainly graphical nature of the article, I will only here roughly translate the part that I see as important:
[BEGIN ITALIAN]
QUOTE ( Segio Neddi)
Dettagli sul nuovo driver

Come ho fatto a realizzare questo driver?

Beh, sono partito dalla considerazione che le versioni di Windows pi recenti non richiedono driver particolari, ma ne utilizzano uno generico incluso nel sistema.

Ho quindi pensato che bastasse qualche modifica ai file della chiavetta Lexar che gi possedevo, in particolare il riconoscimento della periferica da parte del sistema.

Ma come fa Windows a riconoscere le periferiche USB?

Senza tediarvi in dettagliate spiegazioni ho notato che le identifica tramite alcune informazioni lette dalla porta USB, precisamente VendorID (un codice identificativo del produttore) e ProductID (codice identificativo del prodotto).

Ogni driver per Windows 98, infatti, contiene nel file .INF questo codice, affinch il sistema possa riconoscere il dispositivo. Spesso in realt c' un elenco di codici, in modo da permettere il riconoscimento di una serie di prodotti della casa.

Per prima cosa ho provato a mettere ProductID e VendorID delativi alla mia chiavetta Samsung nel file .INF della Lexar.

Ha funzionato!

La chiavetta Samsung veniva riconosciuta e gestita regolarmente!

Dopo l'entusiasmo iniziale ho voluto cercare di rendere il mio driver universale.

Ho quindi cercato di vedere come questi dispositivi vengono gestiti dai Windows superiori.

La risposta l'ho trovata nle file USBSTOR.INF di Windows ME e di XP: il riconoscimento non veniva fatto tramite VendorID e ProductID, ma tramite classe e sottoclasse della periferica: insomma, se la periferica risulta fatta cos allora il driver sar questo.

Ci rende il riconoscimento e la gestione della periferica indipendente dal produttore e modello!

Ho provato ad implementare questa modalit nel file .INF del mio driver.

Ero scettico sulle possibilit di funzionamento in quanto ritenevo che la possibilit che hanno le versioni superiori di Windows di utilizzare un driver universale sia legata alla differente gestione delle periferiche USB in generale.

Invece mi sbagliavo, la modifica ha funzionato al primo colpo!

In seguito ho provato a modificare anche altri driver di altre case, ma per buona parte non funzionavano o funzionavano male, il migliore, tra quelli provati, proprio il Lexar.

[END ITALIAN]

Rough English translation:
QUOTE ( Segio Neddi)
Details on the new drive

How did I came out with this driver?

I started from the fact that more recent windows versions have a native generic USB driver.

So I thought that some slight modifications to the driver for a Lexar USB key I had, particularly to the way the key is recognized by plug 'n play would suffice.

How does Windows recognize USB devices?

Without bothering you with complex explanations, they are identified by some info read fro the USB port, i.e. VendorID (code identifying a manufacturer) and ProductID (code identifying the product).

Every Windows 98 driver contains, as a matter of fact these data in the .INF file, very often there is a list of such codes, so that more than one device can be used with same driver.

First thing I tried putting ProductID and VendorID of my Samsung key in the .INF file of the Lexar driver.

It worked!

The Samsung key was recognized and worked flawlessly!

Then I tried to make the driver universal.

I found the answer in the USBSTOR.INF of both Windows ME and XP: the device was not recognized through its VendorID and ProductID but rather through class and subclass of the device, in a nutshell, if the device belongs to a class and subclass that driver will be used.

This makes recognition and management of the device independent from make/model!

So I tried implementing same method in the .INF file of my driver.

At first I was skeptical, as I thought that this way of detecting devices was derived from some different way of managing USB devices later versions of Windows might have.

But I was wrong, the editing worked at first try!

Then I tried with other manufactuers' drivers, but in most cases they appeared to be not working or only partially working, best one, at least among those I tried is the Lexar one.


Have fun, mates smile.gif

jaclaz


--------------------

The revenue from clicking on publicity at this post is given to was_jaclaz

.
+Quote Post
post Jun 15 2007, 08:48 PM
Post #2
FloKo84
Member   **
Group: Members

  Joined: 19-May 07 From: Berlin, Germany

Posts: 53
Thank(s): 1


Germany


Interesting!

But what about DOS USB drivers? Windows should inherit the drives. Of course it wont be fast, but i believe thats the best value/filesize biggrin.gif

Flo
+Quote Post
post Jun 16 2007, 06:40 AM
Post #3
was_jaclaz
Finder   ******
Group: Advanced user

  Joined: 14-July 06 From: Gone in the mist

Posts: 7,224
Thank(s): 547


Italy


QUOTE
But what about DOS USB drivers? Windows should inherit the drives. Of course it wont be fast, but i believe thats the best value/filesize


Well, no. dry.gif
I mean, if you boot from the stick, the USB drive should be supported by BIOS services (NO drivers needed), if you do not boot from it, this driver is 9Kb and it is Windows Native.

jaclaz


--------------------
+Quote Post
post Mar 4 2009, 11:56 AM
Post #4
Perra
  
Group: Members

  Joined: 4-March 09
Posts: 1
Thank(s): 0


Sweden


Hi

Thanks for the information! biggrin.gif

Ive been trying to find a generic Windows 98 SE driver for a USB flash drive for quite some time now.
The download link didnt work, but I found a working link here:
http://www.wintricks.it/faq/usbpen98_6.html

The driver worked perfectly with the USB flash drives I have tested to use on my Win98SE computer including one SanDisk Cruzer where I had to uninstall the U3 software first. biggrin.gif

Ive also connected an external USB-IDE drive which found the WinTricks driver and uses it and it works perfectly! thumbsup.gif

Cheers

Perra
+Quote Post

Reply to this topic
1 User(s) are reading this topic ()


  

Collapse

  Topic Replies Topic Starter Views Last Action
No New Posts USBoot w/XPsp2 not booting after DiskCryptor system encryption
BSOD Stop Code = UNMOUNTABLE_BOOT_VOLUME
4 Zoso 1,294 6th February 2010 - 11:38 AM
Last post by: Wonko the Sane
No new Pinned: Universal HDD Image files for XP and Windows 7
Create, Update and Restore of HDD Image files using IMG_XP.exe package
22 wimb 5,238 2nd February 2010 - 02:54 PM
Last post by: wimb
No new Pinned: Universal Windows 9x/NT/2K/XP/2003 video driver
VESA/VBE based Windows-family driver.
21 bearwindows 22,543 18th January 2010 - 04:43 AM
Last post by: bearwindows
No New Posts DriverForge with DPs packages - DrvF_DPS
DriverForge with DPs packages for LiveXP
9 Lancelot 2,650 15th December 2009 - 10:05 PM
Last post by: maanu
No New Posts Topic has attachmentsUniversal Driver Template Script
1 MedEvil 324 10th December 2009 - 04:33 PM
Last post by: MedEvil