Re: 1394 Device : Bus reset while installing driver
From: Bill McKenzie (bill.mckenzie_at_nospam.conexant.com)
Date: 11/08/04
- Next message: Pavel A.: "RE: DIFxApp and NDIS IM driver"
- Previous message: Maxim S. Shatskih: "Re: Multiple Handles To A PDO"
- In reply to: James: "1394 Device : Bus reset while installing driver"
- Next in thread: James: "Re: 1394 Device : Bus reset while installing driver"
- Reply: James: "Re: 1394 Device : Bus reset while installing driver"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 8 Nov 2004 13:54:15 -0600
> But, if I unplug the second device and replug it,
> it's Bus Reset routine is called.
> And all cameras working properly.
Are you sure you know which driver instance's bus reset handler is being
called?
I would suspect that the instance of the driver that controls a device just
getting plugged in would not get its bus reset handler called. After all,
that instance of the driver will not have registered a bus reset
notification routine when the bus reset occurs, right? Thus, the driver
should be updating the generation count on initialization as well as in the
bus reset notification routine. Is your driver doing this?
-- Bill McKenzie Software Engineer - Prism 802.11 Wireless Solutions Conexant Systems, Inc. "James" <conqweb@hotmail.com> wrote in message news:b1aaa61c.0411042322.2d358b22@posting.google.com... > Hello list! > > I am developing device driver for 1394 device and I faced somewhat > unusual while installing the driver. > > My environment is as follows. > OS : Windows2000 SP4 > OHCI 1394 : TI chipset > two 1394 camera > > First, if I use one camera, there is no problem. > > After I connected one camera(first) and install driver manual, > I unplug the device > and I connect another camera(second) and install driver manually. > Now, I reconnect the first camera again. > Then, the Bus Reset routine of the driver of the second device > doesn't called. > So, the second driver is not controlled properly, because the > generation count is not correct. > > But, if I unplug the second device and replug it, > it's Bus Reset routine is called. > And all cameras working properly. > > I don't know why this situation is occurred. > > I think the sequence of the driver installation is same > when I install the driver manually and when I replug. > > I tried to call REQUEST_BUS_RESET when the SRB_INITIALIZATION_COMPLETE > is called, but the result is same. > > What am I supposed to do? > Any suggestions will be appreciated. > > - James.
- Next message: Pavel A.: "RE: DIFxApp and NDIS IM driver"
- Previous message: Maxim S. Shatskih: "Re: Multiple Handles To A PDO"
- In reply to: James: "1394 Device : Bus reset while installing driver"
- Next in thread: James: "Re: 1394 Device : Bus reset while installing driver"
- Reply: James: "Re: 1394 Device : Bus reset while installing driver"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading