RE: [linux-usb-devel] Module Reloading Problem

2005-06-24 Thread Alan Stern
On Fri, 24 Jun 2005, Budde, Marco wrote: > Hi Alan, > > > When a driver is unloaded, usbcore sends a Set-Interface request to > select > > altsetting 0 on the device. This command is supposed to clear the > data > > toggles and reset all the endpoints in the interface. > > this could be the

RE: [linux-usb-devel] Module Reloading Problem

2005-06-24 Thread Budde, Marco
Hi Alan, > When a driver is unloaded, usbcore sends a Set-Interface request to select > altsetting 0 on the device. This command is supposed to clear the data > toggles and reset all the endpoints in the interface. this could be the reason for our problem. I just had a look into the code for

Re: [linux-usb-devel] Module Reloading Problem

2005-06-23 Thread Alan Stern
On Thu, 23 Jun 2005, Clemens Ladisch wrote: > "Budde, Marco" wrote: > > I am just writing a Linux driver for one of > > our products (based on a 8051 controller with > > integrated USB core). > > > > I am using Linux 2.6.11. > > ... > > An problem occurs, when I unload the kernel module > > (after

Re: [linux-usb-devel] Module Reloading Problem

2005-06-23 Thread Clemens Ladisch
"Budde, Marco" wrote: > I am just writing a Linux driver for one of > our products (based on a 8051 controller with > integrated USB core). > > I am using Linux 2.6.11. > ... > An problem occurs, when I unload the kernel module > (after booting the device) and reload it afterwards > (without discon

[linux-usb-devel] Module Reloading Problem

2005-06-21 Thread Budde, Marco
Hi, I am just writing a Linux driver for one of our products (based on a 8051 controller with integrated USB core). I am using Linux 2.6.11. The driver is not used only to talk to the controller, but even the firmware for the controller gets uploaded from the driver during start-up. Normally t