Jump to content











Photo
- - - - -

Universal Win98 USB Mass Storage Driver


  • Please log in to reply
5 replies to this topic

#1 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 15 June 2007 - 10:53 AM

....sometimes one looks for something in the wrong places, far away, when it is already near him... :1st:

From this thread on MSFN:
http://www.msfn.org/...topic=99220&hl=

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


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

But the info on the referenced site:
http://www.wintricks...q/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]

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:

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 :thumbup:

jaclaz

#2 FloKo84

FloKo84

    Member

  • Members
  • 53 posts
  • Location:Berlin, Germany
  •  
    Germany

Posted 15 June 2007 - 08:48 PM

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 :1st:

Flo

#3 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7,098 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 16 June 2007 - 06:40 AM

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. :1st:
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

#4 Perra

Perra
  • Members
  • 1 posts
  •  
    Sweden

Posted 04 March 2009 - 11:56 AM

Hi

Thanks for the information! :cheers:

I’ve been trying to find a generic Windows 98 SE driver for a USB flash drive for quite some time now.
The download link didn’t work, but I found a working link here:
http://www.wintricks...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. :cheers:

I’ve also connected an external USB-IDE drive which found the WinTricks driver and uses it and it works perfectly! :cheers:

Cheers

Perra

#5 sulemankhan18

sulemankhan18
  • Members
  • 1 posts
  •  
    India

Posted 12 August 2010 - 05:33 AM

can anyone post me win 98 se usb drivers......?
thanx in advance :mellow:

#6 steve6375

steve6375

    Platinum Member

  • Developer
  • 5,007 posts
  • Location:UK
  • Interests:computers (!), programming (masm,vb6,C,vbs), OSes, photography,TV,films,guitars
  •  
    United Kingdom

Posted 12 August 2010 - 07:09 AM

can anyone post me win 98 se usb drivers......?
thanx in advance :mellow:

http://www.rm.com/Su...?cref=DWN767702




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users