Re: [linux-usb-devel] 2.6.20-mm1 USB oops

2007-02-16 Thread Oliver Neukum
Am Samstag, 17. Februar 2007 04:21 schrieb Berck E. Nash: > Oops below, entire console log attached. Please CC on replies as I'm > not subscribed. > > [ 149.477455] Unable to handle kernel NULL pointer dereference at > 0008 RIP: > [ 149.483023] [] :cdc_acm:acm_probe+0x1dd/0x741 Wh

[linux-usb-devel] 2.6.20-mm1 USB oops

2007-02-16 Thread Berck E. Nash
Oops below, entire console log attached. Please CC on replies as I'm not subscribed. [ 149.477455] Unable to handle kernel NULL pointer dereference at 0008 RIP: [ 149.483023] [] :cdc_acm:acm_probe+0x1dd/0x741 [ 149.491681] PGD 3eaeb067 PUD 3eef9067 PMD 0 [ 149.496133] Oops:

Re: [linux-usb-devel] [PATCH] ps3: don't call ps3_system_bus_driver_register on other platforms

2007-02-16 Thread David Brownell
On Wednesday 14 February 2007 11:27 am, Geoff Levand wrote: > Ishizaki Kou wrote: > > ps3_system_bus_driver_register is PS3 platform specific function. > > On other platforms, it triggers WARN_ON in kref_get. > > > +++ linux-powerpc-git/drivers/usb/host/ehci-hcd.c > > +++ linux-powerpc-git/drivers

Re: [linux-usb-devel] PATCH: ohci-s3c2410 suspend/resume support

2007-02-16 Thread David Brownell
On Tuesday 13 February 2007 11:20 am, Matt Reimer wrote: > On 2/12/07, David Brownell <[EMAIL PROTECTED]> wrote: > > On Monday 12 February 2007 12:53 pm, Matt Reimer wrote: > > > Attached is a patch against 2.6.20 to implement suspend/resume support > > > for ohci-s3c2410, based on the suspend/resu

Re: [linux-usb-devel] [PATCH] Davicom DM9601 usbnet driver

2007-02-16 Thread David Brownell
On Friday 16 February 2007 8:03 am, Peter Korsgaard wrote: > This patch adds a driver for the Davicom DM9601 USB 1.1 10/100Mbps > ethernet adaptor using the usbnet framework. > > See http://www.davicom.com.tw/eng/products/dm9601.htm for details. > > Signed-off-by: Peter Korsgaard <[EMAIL PROTECTE

Re: [linux-usb-devel] patch usb-teac-hd-35pu-patch-to-unusual_devs.h.patch added to gregkh-2.6 tree

2007-02-16 Thread Greg KH
On Wed, Feb 14, 2007 at 11:06:42PM -0800, Phil Dibowitz wrote: > [EMAIL PROTECTED] wrote: > > This is a note to let you know that I've just added the patch titled > > > > Subject: USB: Teac HD-35PU patch to unusual_devs.h > > > > to my gregkh-2.6 tree. Its filename is > > Greg, > > Check

[linux-usb-devel] [PATCH 07/39] USB: unusual_devs update for Sony P990i phone

2007-02-16 Thread Greg Kroah-Hartman
From: Alan Stern <[EMAIL PROTECTED]> This patch (as846) adds the IGNORE_RESIDUE flag to the unusual_devs entry for Sony-Ericsson's P990i phone. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> ---

[linux-usb-devel] [PATCH 37/39] USB: ueagle-atm.c needs sched.h

2007-02-16 Thread Greg Kroah-Hartman
From: Randy Dunlap <[EMAIL PROTECTED]> Driver needs sched.h for try_to_freeze(). Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/atm/ueagle-atm.c |1 + 1 files changed, 1 in

[linux-usb-devel] [PATCH 38/39] USB: another id for cp2101 driver

2007-02-16 Thread Greg Kroah-Hartman
From: Pozsar Balazs <[EMAIL PROTECTED]> This patch adds another usb id to the cp2101. It seems to work well. Please apply, thanks. Signed-off-by: Pozsar Balazs <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/cp2101.c |1 + 1 files changed, 1

[linux-usb-devel] [PATCH 39/39] USB: at91-ohci, handle extra at91sam9261 ahb clock

2007-02-16 Thread Greg Kroah-Hartman
From: Andrew Victor <[EMAIL PROTECTED]> The AT91SAM9261 needs to activate an AHB clock (HCK0) to use the USB Host controller. Previously clock.c would just enable it at startup, but now all the unused clocks are automatically disabled. Based on patch from Nicolas Ferre. Signed-off-by: David Brow

[linux-usb-devel] [PATCH 32/39] usb: Remove Airprime device from option.c

2007-02-16 Thread Greg Kroah-Hartman
From: Kevin Lloyd <[EMAIL PROTECTED]> from: Kevin Lloyd <[EMAIL PROTECTED]> This patch removes the Airprime 5220 device (branded as Audiovox) from the option.c driver. This device is already supported by the sierra.c driver. This was based off of the option.c driver found in kernel 2.6.20-git11.

[linux-usb-devel] [PATCH 36/39] USB: at91_udc, shrink runtime footprint

2007-02-16 Thread Greg Kroah-Hartman
From: David Brownell <[EMAIL PROTECTED]> This is a runtime codespace shrink: in most cases, platform devices should put probe() should in the init section, and remove() in the exit section. And I have no idea why the module init/exit routines were mismarked. It also moves one function table into

[linux-usb-devel] [PATCH 35/39] usbnet: add missing Kconfig for KC2190 cables

2007-02-16 Thread Greg Kroah-Hartman
From: David Brownell <[EMAIL PROTECTED]> Hmm, I noticed that support for one of the USB host-to-host cables never got fully merged ... Kconfig wouldn't show it! Fixed. Also, changed the CDC Subset default to 'y' so that more of these cables will work out-of-the-box. Signed-off-by: David Brownel

[linux-usb-devel] [PATCH 34/39] usbnet: init fault (oops) cleanup, whitespace fixes

2007-02-16 Thread Greg Kroah-Hartman
From: David Brownell <[EMAIL PROTECTED]> This cleans up some error handling paths in usbnet device probing; one of them could cause oopsing, e.g. with some RNDIS devices. It also removes some extraneous whitespace. Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartm

[linux-usb-devel] [PATCH 33/39] usbnet: recognize SiteCom CN-124

2007-02-16 Thread Greg Kroah-Hartman
From: David Brownell <[EMAIL PROTECTED]> Add Sitecom CN-124 device IDs to ALI M5632 usb host-to-host cable; device IDs from Francois Barre <[EMAIL PROTECTED]> Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/net/cdc_subset.c

[linux-usb-devel] [PATCH 29/39] USB: hid-core.c: Removes GTCO CalComp Interwrite IPanel PIDs from blacklist

2007-02-16 Thread Greg Kroah-Hartman
From: Jeremy Roberson <[EMAIL PROTECTED]> Removes our GTCO CalComp Interwrite IPanels from the hid-core.c blacklist because the HID Driver properly handles them. Signed-off-by: Jeremy A. Roberson <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/hid-

[linux-usb-devel] [PATCH 28/39] USB: kernel-doc fixes

2007-02-16 Thread Greg Kroah-Hartman
From: Randy Dunlap <[EMAIL PROTECTED]> Fix kernel-doc warnings and in USB core. Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/driver.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb

[linux-usb-devel] [PATCH 30/39] USB: ps3: don't call ps3_system_bus_driver_register on other platforms

2007-02-16 Thread Greg Kroah-Hartman
From: Ishizaki Kou <[EMAIL PROTECTED]> ps3_system_bus_driver_register is PS3 platform specific function. On other platforms, it triggers WARN_ON in kref_get. Signed-off-by: Kou Ishizaki <[EMAIL PROTECTED]> Acked-by: Benjamin Herrenschmidt <[EMAIL PROTECTED]> Cc: David Brownell <[EMAIL PROTECTED]>

[linux-usb-devel] [PATCH 26/39] USB: cdc-acm: fix incorrect throtteling, make set_control optional

2007-02-16 Thread Greg Kroah-Hartman
From: Oliver Neukum <[EMAIL PROTECTED]> this is Joris' fixes reshuffelled and features renamed as David requested. - acm_set_control is not mandatory, honour that - throtteling is reset upon open - throtteling is read consistently when processing input data Signed-off-by: Joris van Rantwijk <[EM

[linux-usb-devel] [PATCH 27/39] USB: quirky device for cdc-acm

2007-02-16 Thread Greg Kroah-Hartman
From: Oliver Neukum <[EMAIL PROTECTED]> here's a quirklist entry reported by Stephen Murphy. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/class/cdc-acm.c |4 1 files changed, 4 insertions(+), 0 deletions(-) diff

[linux-usb-devel] [PATCH 31/39] USB: change __init to __devinit for isp116x_probe

2007-02-16 Thread Greg Kroah-Hartman
From: Prarit Bhargava <[EMAIL PROTECTED]> Change __init to __devinit for isp116x_probe. Resolves MODPOST warning: WARNING: drivers/usb/host/isp116x-hcd.o - Section mismatch: reference to .init.text:isp116x_probe from .data.rel.local between 'isp116x_driver' (at offset 0x0) and 'isp116x_hc_driver

[linux-usb-devel] [PATCH 21/39] USB Storage: US_FL_IGNORE_RESIDUE needed for Aiptek MP3 Player

2007-02-16 Thread Greg Kroah-Hartman
From: Dylan Taft <[EMAIL PROTECTED]> Device will not work as a mass storage device without US_FL_IGNORE_RESIDUE. I bought this mp3 player that takes SD cards here http://www.aiptek.com/Merchant2/merchant.mvc?Screen=PROD&Product_Code=AX4&Category_Code=MP3&Store_Code=AS I can provide the errors i

[linux-usb-devel] [PATCH 24/39] USB: make usb_iso_packet_descriptor.status signed

2007-02-16 Thread Greg Kroah-Hartman
From: Pete Zaitcev <[EMAIL PROTECTED]> The status in usb_iso_packet_descriptor should be signed, for the benefit of someone who casts to a long or makes other benign misstep (the principle of least surprise). Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAI

[linux-usb-devel] [PATCH 20/39] USB: Fix misspelled "USBNET_MII" kernel config option.

2007-02-16 Thread Greg Kroah-Hartman
From: Robert P. J. Day <[EMAIL PROTECTED]> Fix the misspelling of "USBNET_MII" to "USB_USBNET_MII". Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/net/Kconfig |2 +- 1

[linux-usb-devel] [PATCH 23/39] USB: fix g_serial small error

2007-02-16 Thread Greg Kroah-Hartman
From: Bryan O'Donoghue <[EMAIL PROTECTED]> A SET_LINE_CODING control request should return a zero length packet as an ACK to the host, during the status phase of a USB transaction. The return value of gs_setup_class() is treated as the number of bytes to write in the status phase of the control r

[linux-usb-devel] [PATCH 25/39] USB: unconfigure devices which have config 0

2007-02-16 Thread Greg Kroah-Hartman
From: Alan Stern <[EMAIL PROTECTED]> Some USB devices do have a configuration 0, in contravention of the USB spec. Normally 0 is supposed to indicate that a device is unconfigured. While we can't change what the device is doing, we can change usbcore. This patch (as852) allows usb_set_configurat

[linux-usb-devel] [PATCH 19/39] USB: input: HID: add CIDC USB device to HID blacklist

2007-02-16 Thread Greg Kroah-Hartman
From: Zheng XiaoJun <[EMAIL PROTECTED]> Add CIDC USB device to HID blacklist since it is actually a USB token and has its own driver. Signed-off-by: Zheng XiaoJun <[EMAIL PROTECTED]> Cc: Dmitry Torokhov <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah

[linux-usb-devel] [PATCH 22/39] USB: use __u32 rather than u32 in userspace ioctls in usbdevice_fs.h

2007-02-16 Thread Greg Kroah-Hartman
From: Mike Frysinger <[EMAIL PROTECTED]> Use __u32 rather than u32 in userspace ioctl defines. Signed-off-by: Mike Frysinger <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- include/linux/usbdevice_fs.h |4 ++-- 1

[linux-usb-devel] [PATCH 15/39] USB: asix - Fix endian issues in asix_tx_fixup()

2007-02-16 Thread Greg Kroah-Hartman
From: David Hollis <[EMAIL PROTECTED]> The attached patch fixes endian issues in asix_tx_fixup() that prevented AX88772 and AX88178 devices from working on big-endian systems. With the attached patch, all three chips are reported to work on big endian. Signed-off-by: David Hollis <[EMAIL PROTECT

[linux-usb-devel] [PATCH 17/39] USB Storage: indistinguishable devices with broken and unbroken firmware

2007-02-16 Thread Greg Kroah-Hartman
From: Oliver Neukum <[EMAIL PROTECTED]> there's a USB mass storage device which exists in two version. One reports the correct size and the other does not. Apart from that they are identical and cannot be told apart. Here's a heuristic based on the empirical finding that drives have even sizes.

[linux-usb-devel] [PATCH 16/39] USB: fix autosuspend race in skeleton driver

2007-02-16 Thread Greg Kroah-Hartman
From: Oliver Neukum <[EMAIL PROTECTED]> as the skeleton driver was made ready for autosuspend a race condition was introduced. The reference to get device must be gotten before the autosuspend counter is upped, as this operation may sleep, dropping BKL. Dropping BKL means that the pointer to the d

[linux-usb-devel] [PATCH 18/39] USB: USB_RTL8150 must select MII

2007-02-16 Thread Greg Kroah-Hartman
From: Adrian Bunk <[EMAIL PROTECTED]> USB_RTL8150 must select MII to avoid link errors. Stolen from a patch by Randy Dunlap. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Cc: "Randy.Dunlap" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[

[linux-usb-devel] [PATCH 14/39] USB: fix concurrent buffer access in the hub driver

2007-02-16 Thread Greg Kroah-Hartman
From: Alan Stern <[EMAIL PROTECTED]> This patch (as849) fixes a bug in the USB hub driver. A single pre-allocated buffer is used for all port status reads, but nothing guarantees exclusive use of the buffer. A mutex is added to provide this guarantee. Signed-off-by: Alan Stern <[EMAIL PROTECTED

[linux-usb-devel] [PATCH 10/39] usbcore: small changes to hub driver's suspend method

2007-02-16 Thread Greg Kroah-Hartman
From: Alan Stern <[EMAIL PROTECTED]> This patch (as847) makes some small changes to the hub driver's suspend method: For root hubs, the status URB should be unlinked and other activity stopped _before_ the bus_suspend method is called. The test for hdev->bus being NULL ha

[linux-usb-devel] [PATCH 12/39] USB: descriptor structures have to be packed

2007-02-16 Thread Greg Kroah-Hartman
From: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> usb: descriptor structures have to be packed Many of the Wireless USB decriptors added to usb_ch9.h don't have the __attribute__((packed)) tag, and thus, they don't reflect the wire size. This patch fixes that. Signed-off-by: Inaky Perez-Gonzalez <[

[linux-usb-devel] [PATCH 13/39] USB: Fix error cleanup path in airprime

2007-02-16 Thread Greg Kroah-Hartman
From: Pete Zaitcev <[EMAIL PROTECTED]> Fix up the error processing path: in usb_submit_urb failed, we forgot to free buffers. Also, don't free buffers in read callback: less error prone, 21 LOC less, no need to comment so much. N.B. write path is ok to do kfree. Signed-off-by: Pete Zaitcev <[EMAI

[linux-usb-devel] [PATCH 11/39] EHCI: add debugging message to ehci_bus_suspend

2007-02-16 Thread Greg Kroah-Hartman
From: Alan Stern <[EMAIL PROTECTED]> This patch (as848) adds a useful little debugging message to let us know when ehci-hcd's bus_suspend method runs. The other HCDs have similar messages; now ehci-hcd doesn't need to feel left out. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Gr

[linux-usb-devel] [PATCH 09/39] USB: Fix apparent typo CONFIG_USB_CDCETHER.

2007-02-16 Thread Greg Kroah-Hartman
From: Robert P. J. Day <[EMAIL PROTECTED]> Replace the apparent typo CONFIG_USB_CDCETHER with CONFIG_USB_NET_CDCETHER. Signed-off-by: Robert P. J. Day <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/otg_whitelist.h |2 +- 1 files changed, 1 inse

[linux-usb-devel] [PATCH 08/39] USB: add flow control to usb-serial generic driver.

2007-02-16 Thread Greg Kroah-Hartman
From: Joris van Rantwijk <[EMAIL PROTECTED]> I added two fields to struct usb_serial_port to keep track of the throttle state. Other usb-serial drivers typically use private data for such things, but the generic driver can not really do that because some of its code is also used by other drivers (

[linux-usb-devel] [PATCH 05/39] USB: PL2303: Willcom WS002IN Support.

2007-02-16 Thread Greg Kroah-Hartman
From: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Signed-off-by: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/pl2303.c |1 + drivers/usb/serial/pl2303.h |5 + 2 files changed, 6 insertions(+), 0 deletions(-) diff --git a

[linux-usb-devel] [PATCH 03/39] USB: In init_endpoint_class, use PTR_ERR to obtain an errno value, not IS_ERR

2007-02-16 Thread Greg Kroah-Hartman
From: Josh Triplett <[EMAIL PROTECTED]> init_endpoint_class calls class_create, and checks the result for an error with IS_ERR; however, if true, it then returns the result of IS_ERR (a boolean) rather than PTR_ERR (the actual errno). Signed-off-by: Josh Triplett <[EMAIL PROTECTED]> Signed-off-by

[linux-usb-devel] [PATCH 06/39] USB: Teac HD-35PU patch to unusual_devs.h

2007-02-16 Thread Greg Kroah-Hartman
From: Thomas Bächler <[EMAIL PROTECTED]> Hi, one of my users has two USB hard drives that need the following patch, otherwise there are I/O errors similar to those here: http://bugme.osdl.org/show_bug.cgi?id=3223 Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/storage/unus

[linux-usb-devel] [PATCH 04/39] USB: fix needless failure under certain conditions

2007-02-16 Thread Greg Kroah-Hartman
From: Oliver Neukum <[EMAIL PROTECTED]> in devices.c we have a piece of code for dealing with losing in a race. If we indeed lose the race we don't care whether our own memory allocation worked. The check for that is so early that we return early even if we don't have to. Signed-off-by: Oliver Ne

[linux-usb-devel] [PATCH 01/39] EHCI: turn off remote wakeup during shutdown

2007-02-16 Thread Greg Kroah-Hartman
From: Alan Stern <[EMAIL PROTECTED]> This patch (as850b) disables remote wakeup (and everything else!) on all EHCI ports when the shutdown() method is called. If remote wakeup is left active then some systems will reboot instead of powering off. This fixes Bugzilla #7828. Signed-off-by: Alan Ste

[linux-usb-devel] [PATCH 02/39] USB: Driver to charge USB blackberry devices

2007-02-16 Thread Greg Kroah-Hartman
A simple driver to turn on the charging capability of a USB BlackBerry device when it is plugged into the machine. It does not bind to the device, so all userspace programs can still sync properly with it. Note, if CONFIG_USB_SUSPEND is enabled, it can play havoc with this device as the power to

Re: [linux-usb-devel] usbnet/rndis (was: Is this bug too obvious?)

2007-02-16 Thread David Brownell
> If you don't do it sooner, I'll look at the error paths in rndis > and/or usbnet. Try that patch I sent by this morning. ISTR getting some positive reports from that... - Take Surveys. Earn Cash. Influence the Future of I

[linux-usb-devel] [GIT PATCH] more USB patches for 2.6.20

2007-02-16 Thread Greg KH
Here are some more USB patches against 2.6.20-git There's a tiny driver to charge blackberry devices, and lots of device ids and bugfixes. All of these have been in the -mm releases for a while. Please pull from: master.kernel.org:/pub/scm/linux/kernel/git/gregkh/usb-2.6.git/ The full p

[linux-usb-devel] Warning: message 1HI06w-0002PI-6P delayed 10 hours

2007-02-16 Thread Mail Delivery System
This message was created automatically by mail delivery software. A message that you sent has not yet been delivered to one or more of its recipients after more than 10 hours on the queue on externalmx-1.sourceforge.net. The message identifier is: 1HI06w-0002PI-6P The subject of the message i

[linux-usb-devel] usbnet/rndis (was: Is this bug too obvious?)

2007-02-16 Thread Pete Zaitcev
On Tue, 13 Feb 2007 20:13:06 -0500, Chuck Ebbert <[EMAIL PROTECTED]> wrote: > OK I'll keep looking for the cause of the oops then: > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=228231 > Feb 12 01:11:29 MyComputer kernel: ohci_hcd :00:02.1: auto-wakeup > Feb 12 01:11:30 MyComputer

Re: [linux-usb-devel] Need a driver for USB Tablet

2007-02-16 Thread Mazin
Vojtech Pavlik wrote: > On Wed, Feb 14, 2007 at 06:22:13PM -0500, Mazin wrote: > >> I have a USB drawing tablet made by a Taiwanese company called UGEE >> (using UC-Logic's technology). As of now, there are no Linux drivers >> for it, although it has basic functionality as a mouse. >> I want

Re: [linux-usb-devel] USB interrupt URB programming question

2007-02-16 Thread Sven Anders
Oliver Neukum schrieb: > Am Freitag, 16. Februar 2007 18:58 schrieb Sven Anders: >> Variant 1: >> If the completion handler decides, that there is no finger on the touchpad >> any more, it does not call usb_submit_urb() again. The completion handler >> stops. Via an kernel timer I will call the

Re: [linux-usb-devel] modifications to new generic autosuspend code

2007-02-16 Thread Alan Stern
On Fri, 16 Feb 2007, Oliver Neukum wrote: > Am Freitag, 16. Februar 2007 16:45 schrieb Alan Stern: > > On Thu, 15 Feb 2007, Oliver Neukum wrote: > > > > imho caring about the reason for a suspension is a bit messy. The current > > > code is nice. It just introduces a new method. > > > > But it's

Re: [linux-usb-devel] modifications to new generic autosuspend code

2007-02-16 Thread Oliver Neukum
Am Freitag, 16. Februar 2007 16:45 schrieb Alan Stern: > On Thu, 15 Feb 2007, Oliver Neukum wrote: > > imho caring about the reason for a suspension is a bit messy. The current > > code is nice. It just introduces a new method. > > But it's a new method that essentially duplicates the purpose of

Re: [linux-usb-devel] USB interrupt URB programming question

2007-02-16 Thread Oliver Neukum
Am Freitag, 16. Februar 2007 18:58 schrieb Sven Anders: > Variant 1: >  If the completion handler decides, that there is no finger on the touchpad >  any more, it does not call usb_submit_urb() again. The completion handler >  stops. Via an kernel timer I will call the completion handler to test, i

Re: [linux-usb-devel] USB interrupt URB programming question

2007-02-16 Thread Alan Stern
On Fri, 16 Feb 2007, Sven Anders wrote: > Some idea I had myself. > Is it possible to use a mix? My idea is as follows: > > Variant 1: > If the completion handler decides, that there is no finger on the touchpad > any more, it does not call usb_submit_urb() again. The completion handler > stop

[linux-usb-devel] [patch 2.6.20-git] at91-ohci, handle extra at91sam9261 ahb clock

2007-02-16 Thread David Brownell
From: Andrew Victor <[EMAIL PROTECTED]> The AT91SAM9261 needs to activate an AHB clock (HCK0) to use the USB Host controller.  Previously clock.c would just enable it at startup, but now all the unused clocks are automatically disabled. Based on patch from Nicolas Ferre. Signed-off-by: David Bro

Re: [linux-usb-devel] USB interrupt URB programming question

2007-02-16 Thread Sven Anders
Alan Stern schrieb: > On Thu, 15 Feb 2007, Sven Anders wrote: > >> I tried to stop resubmitting (by NOT calling "usb_submit_urb" again) and I >> hoped the the interrupt handler will continue when the touchpad is pressed >> again, but it does not work. > >> A longer interval would solve it in some

[linux-usb-devel] [PATCH] Davicom DM9601 usbnet driver

2007-02-16 Thread Peter Korsgaard
This patch adds a driver for the Davicom DM9601 USB 1.1 10/100Mbps ethernet adaptor using the usbnet framework. See http://www.davicom.com.tw/eng/products/dm9601.htm for details. Signed-off-by: Peter Korsgaard <[EMAIL PROTECTED]> --- MAINTAINERS |7 drivers/usb/net/Kconfig |

Re: [linux-usb-devel] modifications to new generic autosuspend code

2007-02-16 Thread Alan Stern
On Thu, 15 Feb 2007, Oliver Neukum wrote: > > Hmm... How about using your spinlock to synchronize URB submissions with > > the driver's suspend() method instead? That way, if an important URB is > > in flight you simply fail the suspend call. You can check the auto_pm > > flag in the usb_struct

[linux-usb-devel] the new autosuspension of mice #2

2007-02-16 Thread Oliver Neukum
Hi, Alan Stern has written a change to the generic autosuspend mechanism that allows timeout based suspension. As he suggested I've tested it by using it for suspension of HID devices. It took some small changes to Alan's code to introduce a bit more flexibility. It's tested with mice but needs re

[linux-usb-devel] Warning: message 1HGzJm-00049Y-AN delayed 72 hours

2007-02-16 Thread Mail Delivery System
This message was created automatically by mail delivery software. A message that you sent has not yet been delivered to one or more of its recipients after more than 72 hours on the queue on externalmx-1.sourceforge.net. The message identifier is: 1HGzJm-00049Y-AN The subject of the message i

Re: [linux-usb-devel] Need a driver for USB Tablet

2007-02-16 Thread Vojtech Pavlik
On Wed, Feb 14, 2007 at 06:22:13PM -0500, Mazin wrote: > I have a USB drawing tablet made by a Taiwanese company called UGEE > (using UC-Logic's technology). As of now, there are no Linux drivers > for it, although it has basic functionality as a mouse. > I want to be able to use its pressure se

[linux-usb-devel] to meri

2007-02-16 Thread Glukel Woerner
Hi, Save over 50% on your medication http://www.ledrx .com Remove space in the above link dRGH! Harry jumped up. From the other side of the living room door came the sounds of the three Dursleys scrambling, panic-stricken, across the

Re: [linux-usb-devel] patch usb-iowarrior.patch added to gregkh-2.6 tree

2007-02-16 Thread Oliver Neukum
Am Freitag, 16. Februar 2007 12:40 schrieb Samuel Ortiz: > Oliver Neukum wrote: > > Am Freitag, 16. Februar 2007 09:41 schrieb Samuel Ortiz: > > > >> One stupid question: Suppose we're in iowarrior_read(), got a pointer on > >> private_data, but haven't taken the mutex yet. iowarrior_release() is

Re: [linux-usb-devel] patch usb-iowarrior.patch added to gregkh-2.6 tree

2007-02-16 Thread Samuel Ortiz
Oliver Neukum wrote: > Am Freitag, 16. Februar 2007 09:41 schrieb Samuel Ortiz: > >> One stupid question: Suppose we're in iowarrior_read(), got a pointer on >> private_data, but haven't taken the mutex yet. iowarrior_release() is >> called, locks the mutex, decrements the opened counter to 0, a

Re: [linux-usb-devel] patch usb-iowarrior.patch added to gregkh-2.6 tree

2007-02-16 Thread Oliver Neukum
Am Freitag, 16. Februar 2007 09:41 schrieb Samuel Ortiz: > One stupid question: Suppose we're in iowarrior_read(), got a pointer on > private_data, but haven't taken the mutex yet. iowarrior_release() is > called, locks the mutex, decrements the opened counter to 0, and then > call iowarrior_de

Re: [linux-usb-devel] patch usb-iowarrior.patch added to gregkh-2.6 tree

2007-02-16 Thread Samuel Ortiz
Samuel Ortiz wrote: > Oliver Neukum wrote: >> Am Donnerstag, 15. Februar 2007 19:35 schrieb Greg KH: >>> On Thu, Feb 15, 2007 at 01:51:31PM +0100, Oliver Neukum wrote: Am Donnerstag, 15. Februar 2007 00:31 schrieb [EMAIL PROTECTED]: > +??dev = (struct iowarrior *)file->private_

Re: [linux-usb-devel] patch usb-iowarrior.patch added to gregkh-2.6 tree

2007-02-16 Thread Samuel Ortiz
Oliver Neukum wrote: > Am Donnerstag, 15. Februar 2007 19:35 schrieb Greg KH: >> On Thu, Feb 15, 2007 at 01:51:31PM +0100, Oliver Neukum wrote: >>> Am Donnerstag, 15. Februar 2007 00:31 schrieb [EMAIL PROTECTED]: +??dev = (struct iowarrior *)file->private_data; + +???