Re: [linux-usb-devel] Question about device initialization

2001-11-14 Thread Wolfgang Mües
On Thursday, 15. November 2001 06:25, Pete Zaitcev wrote: > So we are in agreement here. It is legal to sleep, but extremely > annoying when probing takes a long time. It also may be an issue > with fast-boot systems for kiosks and cash registers. Thanks to all for clarifying! best regards Wol

Re: [linux-usb-devel] Question about device initialization

2001-11-14 Thread Pete Zaitcev
> > I did not see the original message from Dmitry. I disagree, > > probe() only happens on the context of the insmod or its > > children, or in init, or khubd. It certainly can call schedule(). > > It can indeed, but khubd is the problem. It was discussed extensively on > l-u-d at least 1 year a

Re: [linux-usb-devel] Question about device initialization

2001-11-14 Thread Dmitri
Quoting Pete Zaitcev <[EMAIL PROTECTED]>: > > From: Wolfgang Mües <[EMAIL PROTECTED]> > > To: [EMAIL PROTECTED] > > Date: Wed, 14 Nov 2001 19:27:24 +0100 > > > > If you have initialization done in probe() then it is automatically > > > wrong, at very least because you are not running in freely b

Re: [linux-usb-devel] Question about device initialization

2001-11-14 Thread Wolfgang Mües
On Wednesday, 14. November 2001 20:18, Pete Zaitcev wrote: > I did not see the original message from Dmitry. I disagree, > probe() only happens on the context of the insmod or its > children, or in init, or khubd. It certainly can call schedule(). Yes. But I have problems in calling functions li

Re: [linux-usb-devel] Question about device initialization

2001-11-14 Thread Pete Zaitcev
> From: Wolfgang Mües <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Date: Wed, 14 Nov 2001 19:27:24 +0100 > > If you have initialization done in probe() then it is automatically > > wrong, at very least because you are not running in freely blockable > > thread. > > If I *have* to do some initia

Re: [linux-usb-devel] Question about device initialization

2001-11-14 Thread Wolfgang Mües
On Friday, 2. November 2001 23:59, Dmitri wrote: > If you have initialization done in probe() then it is automatically > wrong, at very least because you are not running in freely blockable > thread. If I *have* to do some initialisation in probe(), what should I do? (Sending about 5-10 control

Re: [linux-usb-devel] Question about device initialization

2001-11-02 Thread Dmitri
On Fri, 2001-11-02 at 14:23, kevin wrote: > I have a webcam module driver working fairly well, with the exception > that if the driver is loaded before the camera is plugged in, the camera > frequently does not initialize correctly. It seems to work nearly always > if the camera is already p