windbox
驱动牛犊
驱动牛犊
  • 注册日期2003-04-22
  • 最后登录2016-01-09
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
阅读:919回复:1

写inf文件时获得unimodem id的疑问

楼主#
更多 发布于:2003-11-01 23:42

各位好!

    我在写一个pcmcia modem的inf文件,由于需要在inf文件中写unimodem id,根据ddk文档的方法之一:
Attempt to autodetect the modem. This can be done by having Windows attempt to install a new modem in the modem control panel. A file named MODEMDET.TXT will be generated in the Windows directory. The Unimodem ID can be found near the end of that file. After you decide where to place the Unimodem ID string in the INF file, copy the string from MODEMDET.TXT and paste it into the INF file.

结果我的MODEMDET.TXT只有一行:
2003年11月1日 20:08:04

根据ddk文档的方法之二:
The MODEMID.EXE tool included in this MDK can also be used to generate the MODEMDET.TXT file and Unimodem ID string. MODEMID.EXE is compatible with Microsoft Windows 95, Microsoft Windows NT, and Microsoft Windows 3.1. MODEMID.EXE can also be used to obtain Unimodem ID strings from all types of modems, including PCMCIA modems
我安装好mdk后,用Procalc获取这个id string,可是连接到端口后进度条到三格就结束了,id空白,对其它modem则可以获得。

我觉得这两种方法都有矛盾的地方,inf文件是驱动安装前要写的,既然驱动都没有,又如何通过连接modem来取得unimodem id呢??

请有经验的同行指点,我如何获得我的unimodem id,我的modem用超级终端连接可以解释一般的at命令。
jr1017
驱动牛犊
驱动牛犊
  • 注册日期2002-04-26
  • 最后登录2007-07-06
  • 粉丝0
  • 关注0
  • 积分0分
  • 威望0点
  • 贡献值0点
  • 好评度0点
  • 原创分0分
  • 专家分0分
沙发#
发布于:2003-11-02 00:00
modem是接在串口上的,你用超级终端打开串口既可与MODEN通讯,
外直moden在查询moden时,打开串口发送查询 Unimodem ID ,
而内直moden它的板子上有一串口,它会先安装一串口驱动,再装moden驱动
沧海一栗
游客

返回顶部