Jump to content











Photo
- - - - -

New DOS USB driver package


  • Please log in to reply
16 replies to this topic

#1 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1062 posts
  •  
    Belgium

Posted 03 July 2009 - 11:20 PM

I found a free DOS USB driver package, which is open source and which is very recent (July 1, 2009).

DOS USB Drivers (New as of July 1, 2009)

THIS downloads a zip file containing the complete set of DOS USB drivers (542 kB).

The files are current as of June 30, 2009. The programs are all still in a testing phase (alpha/beta), so do not yet include complete documentation. Read the included USBINTRO.DOC file for documentation and information on how to use the programs.

The zip file contains more than 20 different programs, and includes drivers for keyboards, mice, joysticks, printers, and disk drives, as well as several different test and support programs. Unfortunately, the only type of host controller currently supported is UHCI (full-speed controllers made by Intel and Via Technologies). Support for additional host controllers (OHCI, EHCI, WHCI, XHCI) and devices will be added in the future.

THIS downloads a zip file containing the source code for all of the programs in DOS USB driver package above. Most of the programs are written in Assembly Language, but some are written in C++.

This is a DOS USB driver package. There are several programs here that
will allow you to use USB keyboards, mice, joysticks, printers, and disk
drives in DOS. These programs work VERY differently than any of the DOS
USB drivers you have seen before, and will allow you to use USB devices
in ways you probably never even imagined possible until now.

These programs do have some limitations, however. The main limitation
is that the only USB Host Controller protocol included here is UHCI
(Universal Host Controller Interface). This means that these programs
will currently only work with USB host controllers manufactured by Intel
Corporation or Via Technologies, and will only operate a full-speed
(maximum 12 Mbps). One of the included programs (USBHOSTS.COM) will
tell you what kind(s) of USB host controller(s) you have if you don't
already know. In the future, support for other protocols (OHCI) and
faster speeds (EHCI, WHCI, XHCI) will be added, as will support for
other types of devices.

These programs are still under development (alpha/beta), and therefore
do not include complete documentation. The attached USBINTRO.DOC file
contains basic documentation for all of the programs, and you should
read it before attempting to use any of the programs. It explains
everything you should need to know to be able to start using the
programs, including the licensing arrangements.

You can also go to my web site (http://bretjohnson.us) and download the
source code for all of the programs if you want. The source code is not
included here since I know most people will not be interested in it
anyway, and it takes up a lot of space (makes the download take a lot
longer and takes up a lot of room on your hard drive).

If anybody is interested in helping me out with the progression of this
DOS USB project, I will gladly accept volunteers. There are LOTS of
things that still need to be done, including testing, documentation,
program additions and upgrades, etc. You don't necessarily need to be a
programmer to help out, either. In fact, NOT being a programmer or even
a "power user" is a tremendous asset for certain things, especially
writing documentation.


Good luck,

Bret Johnson
Email: see !README file in the zip file
http://bretjohnson.us


Website: http://bretjohnson.us
Forum: http://bretjohnson.us/forum/index.php

The USBINTRO.DOC file for documentation and information on how to use the programs is fairly large (184 pages).

I didn't test it yet, but a new developed DOS USB driver will hopefully work better than the old ones, which are floating around the internet.

#2 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 03 July 2009 - 11:29 PM

Cool!
Where is by DOS stuff? :dig-delve-burrow: :lol:

;)

#3 maanu

maanu

    Gold Member

  • Advanced user
  • 1133 posts
  •  
    Pakistan

Posted 04 July 2009 - 12:23 AM

thanks for the info ice cube ,

bt i had also seen a similar package yesterday ,

http://johnson.tmfc.net/dos/

it has many other goodies as well ..

#4 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 04 July 2009 - 09:24 AM

Very interesting. :lol:

Though of course them being limited to UHCI seriously lessen the number of people capable of testing the drivers. ;)

I guess that most of us have EHCI controllers installed (please read USB 2.0) ;)

jaclaz

#5 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1062 posts
  •  
    Belgium

Posted 04 July 2009 - 11:43 AM

It would be nice if the developer of the Plop bootmanager could share his knowledge with this guy. But Plop bootmanager isn't open source, so sharing knowledge doesn't seem to have a high priority (I hope I am wrong).

#6 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 04 July 2009 - 12:16 PM

It would be nice if the developer of the Plop bootmanager could share his knowledge with this guy. But Plop bootmanager isn't open source, so sharing knowledge doesn't seem to have a high priority (I hope I am wrong).


Sharing knowledge and releasing as Open Source is not necessarily the same thing.

A good (or bad :lol:) example is Winbuilder itself:
  • source is closed
  • knowledge is spread/open

Personally I find that simply "giving away" the source code with no documentation/comments is much "worse" than illustrating in a more general way the "principles/methods" used.

;)

jaclaz

#7 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 04 July 2009 - 12:29 PM

I may be wrong, but can't Intel chips do both EHCI and UHCI?
XP without Servicepacks can only do USB1.1 and used to work on my machine with Intel USB2.0.

:lol:

#8 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 04 July 2009 - 12:33 PM

I may be wrong, but can't Intel chips do both EHCI and UHCI?
XP without Servicepacks can only do USB1.1 and used to work on my machine with Intel USB2.0.

;)


I guess you are right:
http://en.wikipedia....oller_interface
http://blogs.gurulab...06/06/post.html

If it's Intel or Via, the drivers should work on the EHCI USB2.0 MB controllers as well, though at USB 1.x speed. ;)
But one has to test whether the drivers do recognize the EHCI bus. :lol:
I seem to remember that "old", known DOS drivers, like the ones in the link maanu posted were very "picky" about this.

;)

jaclaz

#9 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 04 July 2009 - 01:08 PM

I seem to remember that "old", known DOS drivers, like the ones in the link maanu posted were very "picky" about this.

I only use Intel hardware, cause no matter how picky a program is, it always works fine with Intel stuff.

:lol:

#10 SHUBHENDU_PAL

SHUBHENDU_PAL
  • Members
  • 1 posts
  •  
    India

Posted 16 July 2009 - 05:53 AM

Intel chips support both EHCI and UHCI as jaclaz pointed out. On the site the author also confirms this and suggests a try out. So, go ahead. ;) :lol:

#11 Icecube

Icecube

    Gold Member

  • Team Reboot
  • 1062 posts
  •  
    Belgium

Posted 02 August 2009 - 12:36 PM

A new version is available: August 1, 2009

#12 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 17 August 2009 - 04:17 PM

BUMP!

DOS USB Drivers (New as of July 1, 2009 -- Last Update August 16, 2009)

http://bretjohnson.us/

jaclaz

#13 ktp

ktp

    Silver Member

  • Advanced user
  • 733 posts

Posted 17 August 2009 - 04:35 PM

From author's site:
> "Unfortunately, the only type of host controller currently supported is UHCI (full-speed controllers made by Intel and Via Technologies). Support for additional host controllers (OHCI, EHCI, WHCI, XHCI) and devices will be added in the future".

Note:
UHCI/OHCI = USB 1.x (low speed, full speed)
EHCI = USB 2.0 (high speed)
xHCI = USB 3.0 (Super speed)
WHCI = Wireless USB (seems to be abandoned)
So if in the (hopefully near) future EHCI/xHCI is supported, then maybe grub4dos could have built-in USB 1.x/2.0/3.0 support? Booting BartPE/UBCD4Win with USB 3.0 would then be blazingly fast!

#14 MedEvil

MedEvil

    Platinum Member

  • .script developer
  • 7771 posts

Posted 17 August 2009 - 04:49 PM

ktp, this is a DOS driver. For booting XP/PE really fast from USB, look at the plop topic.


:whistling:

#15 ktp

ktp

    Silver Member

  • Advanced user
  • 733 posts

Posted 17 August 2009 - 05:02 PM

@MedEvil
> this is a DOS driver
I know this. What I anticipate (and hope) is that grub4dos team could use the source code of these DOS USB drivers and integrate them into grub4dos, getting rid of the need for PLoP.

Some may not know : PLoP author has stated that he would not publish his code as open source, so the request to use PLoP code (USB part) by grub4dos was vanished few times ago.

#16 was_jaclaz

was_jaclaz

    Finder

  • Advanced user
  • 7100 posts
  • Location:Gone in the mist
  •  
    Italy

Posted 21 September 2009 - 07:34 AM

New version is out:
UPDATED September 13, 2009
http://bretjohnson.us/

Wrongly re-posted here B):
http://www.boot-land...?showtopic=9127

But this is the "right" thread. ;)

:loleverybody:

jaclaz

#17 canilio

canilio

    Member

  • Members
  • 60 posts

Posted 21 September 2009 - 09:25 AM

Hmm I hope this one has support for USB Flash drives. I am using Panasonics's one v2.27 (2008) and works like a charm. It takes 7 seconds to scan for USB flash drives compared to the previous version where it takes about 1 minute!

Here is my config.sys file in my DOS img startup disk (called from GRUB4DOS):

REM The following loads Panasonic's universal USB- controller driver

devicehigh=USBASPI.SYS /v /w /e



REM The following is an aspi mass storage driver for usb- connected HDs and compactflash memory cards

devicehigh=DI1000DD.SYS



REM The following one loads CD-ROM driver

devicehigh=USBCD.SYS /d:USBCD001



REM Loading GCDROM - Internal SATA Native IDE CD/DVD-ROM driver ( **not support legacy mode PATA ) for DOS.

REM supporting SATA Native IDE controller, such as Intel ICH6/ICH7/ICH8, Jmicron 363/368, NVidia CK804/MCP55/MCP51 etc...

DEVICE=IDE\GCDROM.SYS /D:MSCD000 /C0   

DEVICE=IDE\GCDROM.SYS /D:MSCD001 /C1

DEVICE=IDE\GCDROM.SYS /D:MSCD002 /C2

DEVICE=IDE\XGCDROM.SYS /D:MSCD003 /C0   

DEVICE=IDE\XGCDROM.SYS /D:MSCD004 /C1

DEVICE=IDE\XGCDROM.SYS /D:MSCD005 /C2



REM Loading SBP2ASPI.SYS for Firewire devices...

DEVICE = SBP2ASPI.SYS



REM Trying to load USB support with a different driver

DEVICE = NJ32DISK.SYS /R

The XGCDROM and GCDROM repeates a few times in case one has more than one CD/DVD ROM. Amazingly neither XGCDROM nor GCDROM works on a new Dell Laptop that has a slide in DVD tray. Haven't paid attention, it might be a BluRay player...

Attached Thumbnails

  • USBDOS.png





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users