Welcome to WinForumz.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Problems install multifunction device

 
   Windows XP (Home) -> XP Device Driver RSS
Next:  How to make the fonts bigger.  
Author Message
John

External


Since: Nov 02, 2007
Posts: 9



(Msg. 1) Posted: Tue Nov 13, 2007 4:13 pm
Post subject: Problems install multifunction device
Archived from groups: microsoft>public>windowsxp>device_driver>dev (more info?)

I cannot get the second device installed on a multifunction device.

The adaptor can be configured as a single device or a dual-device. The
second device is exactly the same type of device as the primary
device.

I am converting this driver from NT to WDM. I know WDF is probably
better but I familiar with WDM and I don't have the time to learn it.
In NT the driver works find. During the DriverEntry when the firmware
is loaed, the driver checks to see if the dual device is installed
(daughter board). if it is, the driver simply create the device for
the dual device (IoCreateDevice) and gets its resources
(baddr0/baddr1) from the primary channel (baddr3/baddr4) and conects
the same interrupt (IoConnectInterrupt). Everything works find.
However, in WDM it doesn't work that way.

During the start device phase, the driver will load the firmware and
then read a register on the primary device to determine if the
secondary device has been installed. if it has, the driver will then
create the device (IoCreateDevice()).

I used the sample in Walter Oney book, "Programming the Microsoft
Windows Driver Model" 2nd edition.

I only have one inf because the dual device woks exactly like the
primary device. However, I just can't seem to get the dual deivce
installed.

When I run this program that check for installed devices, only one
device is listed. I was hoping to see two. The Device Manager only
displays 1 device.

Now, I am using the Device Manager to Enable the primary driver,
which runs the Start Device phase of the primary channel instead of
installing the device from scratch. Can I do this?

John

 >> Stay informed about: Problems install multifunction device 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
sound device - Every time I restart my computer the sound device is disabled. To restart, I must delete the device (SoundMAX Integrated Digital Audio) using Device Manager and then have the computer "re-find" it and install it again! Can you help with a s...

Access device on LPC bus? - Hi, I'm trying to work out how to access a device on the LPC bus (via ICH7). The device in question is the system BIOS. I need to be able to read the entire contents of the BIOS flash device directly from the device. I know how to read the run-time,..

Open the device from within the coinstaller. How? - Hello, group. I have a driver with a coinstaller (this is a USB device driver which enumerates as a COM-port) I see my device in the device manager's list of COM-ports (like COM8) and see my coinstaller's property page there, which works if I manually ...

bluetooth device driver - I'm familiar with how to do a WDM device driver but Bluetooth. I have a change for a side job but I'm not familiar with Bluetooth This is the AD I saw, "We are a biomedical startup with a device scheduled to be fabbed for prototype next week. The de...

NO SOUND DEVICE-VERY STRANGE - Working of XP-Pro platform, after computer has been online for over an hour or so, all sound has disappeared. Double-clicking Sound and Audio Devices on the Control Panel I see under the Audio tab the default device is grayed out with the notificatio...
   Windows XP (Home) -> XP Device Driver All times are: Eastern Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum

Categories:
  Windows XP
 Windows Vista!
 Win 2000/NT/98/ME


[ Contact us | Terms of Service/Privacy Policy ]