Board logo

标题: 转贴自网易社区:DOS下面的USB设备用起来可真不容易 [打印本页]

作者: MYS     时间: 2002-10-17 00:00    标题: 转贴自网易社区:DOS下面的USB设备用起来可真不容易

作 者: lastlooking(回眸一笑)
下载了一个DOS下面USB设备的驱动程序DUSE,加载后重新启动进入DOS系统,移动硬盘到是找到了,可惜扇区无法正确读取,因为驱动程序能识别的扇区大小为512、1024、2048,而我的移动硬盘扇区大小为8192,郁闷郁闷。。。。
作者: Wengier     时间: 2002-10-17 00:00
要是在这儿问就最好不过了。
作者: qngqng     时间: 2002-10-24 00:00
我也遇到这样的问题,在DOS下可以找到盘符,就是无法读取请问如何办?
作者: Wengier     时间: 2002-10-24 00:00
那您那个USB设备具体的情况如何?是何种USB设备?
作者: qngqng     时间: 2002-10-24 00:00
usb1.1 移动硬盘
作者: Wengier     时间: 2002-10-24 00:00
可能需要一些参数才可以正常加载,具体参数可在“DOS文章”栏目中看到:
http://www.cn-dos.net/newdos/dosarticle.html

另外,您不妨试试新加入的USB驱动程序“Motto Hairu”,它也可以驱动USB硬盘:
http://www.cn-dos.net/newdos/doswarec.html
作者: fbair     时间: 2002-10-31 00:00
我想买个U盘,在dos下可以驱动吗?使用那个驱动?有usb驱动马?可以运行里面的program?
作者: MYS     时间: 2002-10-31 00:00
目前U盘不能在DOS下驱动,除非是用U盘启动的DOS。
作者: Wengier     时间: 2002-11-1 00:00
U盘是USB磁盘吗?
作者: rrdn     时间: 2002-11-1 00:00
我的USB 光驱也能找到盘符,但不能读取内容。
是笔记本芯的USB光驱,不是那种台式机的,超薄型的,不知怎么设置可以驱动,弄了一天也没有搞定。
作者: MYS     时间: 2002-11-1 00:00
U盘是拇指大小的FLASH电子盘,就是朗科优盘,爱国者迷你盘之类的。
rrdn,或者你研究一下它的参数,我这里没有USB驱动器,无法试验。光盘的每个簇好象应该是2048字节的。
作者: Wengier     时间: 2002-11-1 00:00
另外还可以试试USB_CD和Motto Hairu以驱动USB光驱。
作者: 0122     时间: 2002-11-5 00:00
如何使用Motto Hairu以驱动USB硬盘
作者: Wengier     时间: 2002-11-5 00:00
Motto Hairu里面有三个驱动程序,分别为USB的ASPI管理器、软盘、硬盘的驱动程序,具体可见里面的说明文件。
作者: Wengier     时间: 2002-11-5 00:00
以下是Motto Hairu的英文说明:

----------
"motto hairu" DOS Driver
----------

This driver enables "motto hairu" USB interface on DOS.
IEEE1394 interface can not be used on DOS.

There are three drivers as DOS Driver.

USBASPI.SYS : USB1.1 mode ASPI Manager
RAMFD.SYS : RAM DISK driver for USB floppy, if you have only single USB port and access both.
Di1000dd.SYS : ASPI HDD driver

1. If you does not have USB floppy

Copy USBASPI.SYS and Di1000dd.SYS files and
add following 2 lines to config.sys on the boot disk.

device=USBASPI.SYS
device=Di1000dd.SYS

After that, connect "motto hairu" to USB port, then set this disk to FDD, and
power-on PC.

2. If you use USB floppy

Copy USBASPI.SYS, Di1000dd.SYS and RAMFD.SYS files and
add following 3 lines to config.sys on the boot disk.

device=RAMFD.SYS
device=USBASPI.SYS /W --- Use /R option, if you have multiple USB ports
device=Di1000dd.SYS

And confirm
device=himem.sys
is exist in config.sys.
If you don't have, add following 4 lines.

device=himem.sys
device=RAMFD.SYS
device=USBASPI.SYS /W
device=Di1000dd.SYS

When power-on, during booting, contents of FD is copied to RAM disk, then,
when the copy is completed, following message will appear.

===============================================
=== Connect the target device to USB port. ===
=== Press [ENTER} to continue. ===
===============================================

Then, disconnect USB floppy from USB port and connect "motto hairu" to USB port and
press [ENTER] key.
Boot will continue from RAM disk.

NOTE:
1) After changing DOS mode with rebooting Windows, it can not work.
You must power off once.

2) Option settings

USBASPI.SYS has following options.

/R : Access also USB FDD.
: RAMFD.SYS may be needed in some cases.

/W : Prompt following message for swapping floppy and device, if you need to boot from USB floppy and have only one USB port.

===============================================
=== Connect the target device to USB port. ===
=== Press [ENTER} to continue. ===
===============================================

/M=xx : OHCI memory map address
As default, it will use unused address between D0000h and DFFFFFh.
Ex) /M=D4 : Use D4000h

/P=xxx0 : UHCI I/O address
Specify if BIOS does not assign I/O Port Address of the controller.
/V : Shows various information.

3) In case of OHCI, EMM386.EXE is not recommended.
If you use it, don't use UMB or specify X=D000-DFFF to keep extended ROM space.
4) In some PC, UHCI's I/O port is not assigned by BIOS.
In this case, specify I/O port by /P option.

Appendix - About OHCI and UHCI
There are two kind of USB host controller chip spec.
Universal Host Controller Interface = UHCI
Open Host Controller Interface = OHCI

We can check which is used by following procedure.
1. Click [Start] -> [Setting(S)] -> [Control Panel(C)].
2. Double click [System] icon.
3. Click [Device Manager] tab.
4. Double click [Universal Serial Bus Controller].

************* Universal Host Controller
means UHCI is used.

************* Open Host Controller
means OHCI is used.

作者: 0122     时间: 2002-11-6 00:00
看了上面的说明.我还是不太清楚.你能据一个实际超作的例子让我参考一下吗.比如说我用的是IBM--USB1.1硬盘.应该如何做.还有一个问题是关于DUSE的.想请教一下.我在DOS下输入c:\duseldr.com  c:\duse.exe
运行后得到
DUSE version 4.2  Build 65 (general)
DOS USB Stack with USB Storage Extensions
Copyright Cypress Semiconductor, 2000-20002

UHCI  USB  Controller  initialized[I/O  0X600, IRQ 9]
UHCI  USB  Controller  initialized[I/O  0X640, IRQ 9]
............
此时硬盘的指示灯亮起.{这是不是说明硬盘已被驱动,如果是的话下面我该如何做}
同时我的键盘失效,不能进行认何超作.{请问是何原因}
作者: 禅宗     时间: 2002-11-7 00:00
我就是用这个命令就可以驱动我的爱国者存储王啊,我想可能不是软件的问题,应该是USB硬盘电压的问题!