Re: [linux-usb-devel] [PATCH 2/9] usb-skeleton: don't submit URBs after disconnect

2006-06-12 Thread Greg KH
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

Re: [linux-usb-devel] [PATCH 4/9] Make usb_generic a genuine driver

2006-06-12 Thread Greg KH
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

[linux-usb-devel] usb: update usbmon.txt

2006-06-12 Thread Pete Zaitcev
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.

[linux-usb-devel] [PATCH] usbserial: Fixes wrong return values.

2006-06-12 Thread Luiz Fernando N. Capitulino
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

Re: [linux-usb-devel] USB-Serial port to Serial Core: current issues.

2006-06-12 Thread Luiz Fernando N. Capitulino
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

Re: [linux-usb-devel] [PATCH RFC] maxSize option for usb-serial to increase max endpoint buffer size

2006-06-12 Thread Jeremy Fitzhardinge
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

Re: [linux-usb-devel] USB-Serial port to Serial Core: current issues.

2006-06-12 Thread Pete Zaitcev
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

[linux-usb-devel] USB-Serial port to Serial Core: current issues.

2006-06-12 Thread Luiz Fernando N. Capitulino
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

[linux-usb-devel] [PATCH 9/9] usbcore: suspend/resume devices and interfaces together

2006-06-12 Thread Alan Stern
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

[linux-usb-devel] [PATCH 8/9] usbcore: general cleanup of suspend/resume

2006-06-12 Thread Alan Stern
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

[linux-usb-devel] [PATCH 7/9] usbcore: remove recursion in suspend/resume

2006-06-12 Thread Alan Stern
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

[linux-usb-devel] [PATCH 6/9] usbcore: split suspend/resume for devices vs. interfaces

2006-06-12 Thread Alan Stern
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

[linux-usb-devel] [PATCH 5/9] Rename usb_suspend_device to usb_port_suspend

2006-06-12 Thread Alan Stern
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 ==

[linux-usb-devel] [PATCH 4/9] Make usb_generic a genuine driver

2006-06-12 Thread Alan Stern
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

[linux-usb-devel] [PATCH 3/9] usbcore: move code from usb.c to driver.c

2006-06-12 Thread Alan Stern
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 ==

[linux-usb-devel] [PATCH 2/9] usb-skeleton: don't submit URBs after disconnect

2006-06-12 Thread Alan Stern
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

[linux-usb-devel] [PATCH 1/9] usbfs: detect device unregistration

2006-06-12 Thread Alan Stern
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]> ---

[linux-usb-devel] [PATCH 0/9] USB core: heading towards autosuspend

2006-06-12 Thread Alan Stern
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

Re: [linux-usb-devel] RFC usbmon.txt change

2006-06-12 Thread Alan Stern
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

Re: [linux-usb-devel] Port control features

2006-06-12 Thread Alan Stern
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

[linux-usb-devel] Make a quick buck with H-Y-W-I Some like carrots others like cabbage.

2006-06-12 Thread gxiep srdzjazuj
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