RE: [linux-usb-devel] A question of usb host driver.

2004-02-10 Thread Xu Levis-Q16136
-usb-devel] A question of usb host driver. On Mon, 9 Feb 2004, Xu Levis-Q16136 wrote: > Dear all, > I'm SW engineer for Linux USB driver(Host and Client). And now > i have a question of usb host side driver, could you help me analyze it > and give me some suggestions? > >

Re: [linux-usb-devel] A question of usb host driver.

2004-02-10 Thread Alan Stern
On Tue, 10 Feb 2004, Duncan Sands wrote: > Hi Alan, I think it would be better if you could claim the interface being probed. > People are sure to make the above mistake because it is very natural to write > that code. I don't think we should forbid it. The core changes needed are not > so great

Re: [linux-usb-devel] A question of usb host driver.

2004-02-10 Thread Duncan Sands
> > usb_driver_claim_interface(&my_driver, usbdev->config->iface + 0, null); > > usb_driver_claim_interface(&mm_driver, usbdev->config->iface + 1, null); > > usb_driver_claim_interface(&my_driver, usbdev->config->iface + 2, null); > > It's okay to claim the other two interfaces, but you shouldn't t

Re: [linux-usb-devel] A question of usb host driver.

2004-02-09 Thread Alan Stern
On Mon, 9 Feb 2004, Xu Levis-Q16136 wrote: > Dear all, > I'm SW engineer for Linux USB driver(Host and Client). And now > i have a question of usb host side driver, could you help me analyze it > and give me some suggestions? > > You know when a device attached to a host, the probe function will