On Mon, Jun 12, 2006 at 03:16:31PM -0400, Alan Stern wrote:
> Greg:
>
> This patch (as712) fixes the usb-skeleton example driver so that it won't
> try to submit URBs after skel_disconnect() has returned. This could cause
> errors, if the driver was unbound and then a different driver was bound t
On Mon, Jun 12, 2006 at 03:17:35PM -0400, Alan Stern wrote:
> Greg:
>
> This patch (as714) makes the USB device (as opposed to interface) driver
> usb_generic be treated just like all other drivers, subject to matching,
> probing, and unbinding. For instance, some of the normal boilerplate
> stuf
Fix up the documentation. Apparently, I left unedited copy-paste results
in examples. Also, Alan helped me to improve the most confusing parts.
Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]>
--- linux-2.6.17-rc5/Documentation/usb/usbmon.txt 2005-09-13
01:05:37.0 -0700
+++ linux-2.
Some usbserial functions returns -EINVAL if the port doesn't exist or if
it's not opened. However, the right error code for such situations is
-ENODEV.
Signed-off-by: Luiz Fernando N. Capitulino <[EMAIL PROTECTED]>
---
drivers/usb/serial/usb-serial.c | 16 +++-
1 files changed, 7
On Mon, 12 Jun 2006 14:41:23 -0700
Pete Zaitcev <[EMAIL PROTECTED]> wrote:
| On Mon, 12 Jun 2006 16:29:45 -0300, "Luiz Fernando N. Capitulino" <[EMAIL
PROTECTED]> wrote:
|
| > The problem is that ftdi_sio calls usb_control_msg() in ftdi_tiocmget()
| > to get the modem status from the device, bu
Greg KH wrote:
> I've been working with Ken on getting this driver to work better
> (meaning faster). Here's the latest version (without your new device id
> added). Care to test it out and let me know if it works or not?
>
I've been exercising this fairly heavily for the last few hours, and i
On Mon, 12 Jun 2006 16:29:45 -0300, "Luiz Fernando N. Capitulino" <[EMAIL
PROTECTED]> wrote:
> The problem is that ftdi_sio calls usb_control_msg() in ftdi_tiocmget()
> to get the modem status from the device, but ftdi_get_mctrl() (Serial
> Core version) cannot sleep because it's called with a s
Hi there.
While porting the ftdi_sio driver to the new USB-Serial, I faced a problem
I think we'll have with other drivers as well.
The problem is that ftdi_sio calls usb_control_msg() in ftdi_tiocmget()
to get the modem status from the device, but ftdi_get_mctrl() (Serial
Core version) canno
Greg:
This patch (as719) ties together the states of devices and their
interfaces: No longer is it possible to suspend one without also
suspending the other. The states that are ruled out (some interfaces
suspended, entire device still awake) don't seem to be very useful, at
least not for now.
T
Greg:
This patch (as718) includes a large cleanup of the suspend/resume code in
usbcore. The most notable change is the addition of a new field to the
usb_interface structure, for keeping track of whether the interface is
active or suspended. The intf->dev.power.power_state.event field can't
Greg:
This patch (as717) gets rid of the recursion we've always had in the
suspend and resume routines. Now suspending a hub won't automatically
suspend all the child devices first, and resuming a hub won't
automatically resume all the child devices afterward.
This is how other parts of the k
Greg:
This patch (as716) splits the core suspend/resume routines up into two
pieces, one for handling devices and one for handling interfaces. This is
a lot cleaner than doing both in one routine.
Alan Stern
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
---
Index: usb-2.6/drivers/usb/core
Greg:
This patch renames usb_suspend_device to usb_port_suspend,
usb_resume_device to usb_port_resume, and finish_device_resume to
finish_port_resume.
Alan Stern
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
---
Index: usb-2.6/drivers/usb/core/driver.c
==
Greg:
This patch (as714) makes the USB device (as opposed to interface) driver
usb_generic be treated just like all other drivers, subject to matching,
probing, and unbinding. For instance, some of the normal boilerplate
stuff that goes along with discovery of a new USB device (registration in
us
Greg:
This patch (as713) moves a few driver-related routines from one source
file to another. They should have been moved when the original source
fissioned.
Alan Stern
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
---
Index: usb-2.6/drivers/usb/core/driver.c
==
Greg:
This patch (as712) fixes the usb-skeleton example driver so that it won't
try to submit URBs after skel_disconnect() has returned. This could cause
errors, if the driver was unbound and then a different driver was bound to
the device.
The patch also fixes a couple of small bugs in the skel
Greg:
This patch (as711) modifies the usbfs code to detect when a device has
been unregistered from usbfs, even if the device is still connected.
Although this can't happen now, it will be able to happen after an
upcoming patch.
Alan Stern
Signed-off-by: Alan Stern <[EMAIL PROTECTED]>
---
Greg and everyone else:
The following patches form a general clean-up and reorganization of the
suspend/resume support in usbcore. I developed them in the course of
working on autosuspend and autoresume. That work isn't finished yet, but
it still seemed like a good idea to submit these first bec
On Sat, 10 Jun 2006, Pete Zaitcev wrote:
> The usbmon's documentation leaves me dissatisfied, it seems clumsy.
> What do you native English speaker guys think about the below, is
> it any improvement?
Here is an edited version of your patch. I didn't update any lines of the
document other than
On Sun, 11 Jun 2006, naveen kumar wrote:
> Hi ,
>
> I changed my kernel to 2.6.14 version.Still the same
> piece of code is present in this kernel also.Who will
> call suspend if linux.
>
> Which is the function call for suspend (
> usb_suspend_device (or) ehci_hub_suspend ).What is the
> exact
H_Y_W_I- H o l l y w o o d I n t e r m e d i a t e, Inc.
Watch this one climb on Monday, we told you so
Today was just the begining
S Y M B O L : H-Y-W-I
Current Price: $ 0.95
7 Day Projected : $ 4.50
This is a real company with real potential
pay attention to H_Y_W_I
Before we start with the
21 matches
Mail list logo