Re: [linux-usb-devel] [PATCH] USB-Core, fix cardreader not found during init

2007-08-13 Thread Greg KH
On Mon, Aug 13, 2007 at 11:18:21PM +0200, Steffen Koepf wrote: > On Mon, Aug 13, 2007 at 05:04:40PM -0400, Alan Stern wrote: > > On further thought, perhaps we shouldn't retry on -ETIMEDOUT errors. > > > > - if (result == 0 || result == -EPIPE) > > + if (result <= 0 && result !

Re: [linux-usb-devel] USB open bugs

2007-08-12 Thread Greg KH
On Sun, Aug 12, 2007 at 11:00:03AM -0700, Natalie Protasevich wrote: > Hi Greg, Alan, David, > This is open bug list for the USB subsystem. It is fairly long, though one > can > tell that bugs are promptly being worked on and there is no old bugs in there > really. But since the USB world is s

Re: [linux-usb-devel] USB open bugs

2007-08-12 Thread Greg KH
On Sun, Aug 12, 2007 at 11:00:03AM -0700, Natalie Protasevich wrote: > Hi Greg, Alan, David, > This is open bug list for the USB subsystem. It is fairly long, though one > can > tell that bugs are promptly being worked on and there is no old bugs in there > really. But since the USB world is s

Re: [linux-usb-devel] Disable autosuspend for scanners/printers

2007-08-09 Thread Greg KH
On Thu, Aug 09, 2007 at 03:23:11PM -0400, Alan Stern wrote: > Oliver and Pete: > > Is it possible to replace all those USB_QUIRK_NO_AUTOSUSPEND entries > for scanners with a single class-wide entry? > > What about printers? My printer suspends just fine, so I don't want to do that for all printe

Re: [linux-usb-devel] [PATCH] USB: don't touch sysfs stuff when altsetting is unchanged

2007-08-08 Thread Greg KH
On Wed, Aug 08, 2007 at 11:59:18AM -0400, Alan Stern wrote: > This patch (as955) prevents the interface-related sysfs files and > endpoint pseudo-devices from being deleted and recreated when a call > to usb_set_interface() specifies the current altsetting. Since the > altsetting doesn't get chang

[linux-usb-devel] [2.6.22.2 review 22/84] usb-serial: Fix edgeport regression on non-EPiC devices

2007-08-07 Thread Greg KH
From: Adam Kropelin <[EMAIL PROTECTED]> Fix serious regression on non-EPiC edgeport usb-serial devices. Baud rate and MCR/LCR registers are not being written on these models due to apparent copy-n-paste errors introduced with EPiC support. Failure reported by Nick Pasich <[EMAIL PROTECTED]>. Si

[linux-usb-devel] [2.6.22.2 review 21/84] USB: fix warning caused by autosuspend counter going negative

2007-08-07 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as937) fixes a minor bug in the autosuspend usage-counting code. Each hub's usage counter keeps track of the number of unsuspended children. However the current driver increments the counter after registering a new child, by which time the child

Re: [linux-usb-devel] linux-usb-devel Digest, Vol 15, Issue 26

2007-08-07 Thread Greg KH
On Tue, Aug 07, 2007 at 12:35:02PM -0700, Kevin Lloyd wrote: > Greg KH wrote: > > On Tue, Aug 07, 2007 at 05:46:05AM +0300, Faidon Liambotis wrote: > >> Dell Wireless Broadband ExpressCards are rebrands of Novatel's cards. > >> Add all of their known PCI IDs to

Re: [linux-usb-devel] [PATCH] add support for Dell Wireless Broadband (aka WWAN)

2007-08-07 Thread Greg KH
On Tue, Aug 07, 2007 at 05:46:05AM +0300, Faidon Liambotis wrote: > Dell Wireless Broadband ExpressCards are rebrands of Novatel's cards. > Add all of their known PCI IDs to date along with their mapping to the exact > Novatel model to the Option driver which already claims to support them. Are yo

Re: [linux-usb-devel] usb_class_driver how to replace .mode

2007-08-05 Thread Greg KH
On Sun, Aug 05, 2007 at 07:34:35PM +0200, David Leipold wrote: > Hi there, > > The mode field in struct usb_class_driver was patched away in 2005. > I'd be very happy if i could get every user to read from my device > driver. How am i supposed to make that possible without just > setting .mode = S

Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread Greg KH
On Fri, Aug 03, 2007 at 09:29:16AM -0700, David Brownell wrote: > On Friday 03 August 2007, Matthew Garrett wrote: > > > Speaking of which, what's this /dev/bus/usb/* crap on Ubuntu? > > > I had to undo all that on my Feisty system before any normal > > > /proc/bus/usb stuff would work again. > >

Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-03 Thread Greg KH
On Fri, Aug 03, 2007 at 01:32:53PM +0100, Matthew Garrett wrote: > On Fri, Aug 03, 2007 at 02:26:43PM +0200, Rogan Dawes wrote: > > > Compare that to: > > > > "My USB printer broke, guess I'd better report it to LKML". > > But while this is still a likely probability, the chances are no > distr

Re: [linux-usb-devel] ehci problem triggerable by storage

2007-08-02 Thread Greg KH
On Mon, Jul 30, 2007 at 11:11:54AM -0700, David Brownell wrote: > On Monday 30 July 2007, Oliver Neukum wrote: > > > > > But -- never actually having had both a highspeed USB sniffer *AND* > > > hardware exhibiting this problem in the same place -- I've not been > > > able to test that theory. > >

Re: [linux-usb-devel] [PATCH] USB: Only enable autosuspend by default on certain device classes

2007-08-02 Thread Greg KH
On Fri, Aug 03, 2007 at 12:56:13AM +0100, Matthew Garrett wrote: > We're seeing a large number of problems with devices not appreciating > USB autosuspend, especially printers and scanners. According to > http://www.microsoft.com/whdc/system/bus/USB/USBFAQ_intro.mspx only a > subset of drivers s

Re: [linux-usb-devel] [PATCH] USB BIOS early handoff only when the we the driver is configured

2007-08-02 Thread Greg KH
On Thu, Aug 02, 2007 at 10:32:21AM -0400, Alan Stern wrote: > On Thu, 2 Aug 2007, David Engraf wrote: > > > This would be solution too, but what if someone uses the uhci controller > > and don't want the > > ehci. So a single Kconfig flag wouldn't be enough, we have to add 3 > > flags for uchi, oh

Re: [linux-usb-devel] [PATCH][RFC] make config vars uniformly "SAFE_SERIAL"

2007-08-01 Thread Greg KH
On Wed, Aug 01, 2007 at 04:21:55PM -0400, Robert P. J. Day wrote: > On Wed, 1 Aug 2007, Greg KH wrote: > > > On Wed, Aug 01, 2007 at 05:13:51AM -0400, Robert P. J. Day wrote: > > > > > > just a preliminary strike, trying to make some of these names > > >

Re: [linux-usb-devel] [PATCH] USB BIOS early handoff only when the we the driver is configured

2007-08-01 Thread Greg KH
On Wed, Aug 01, 2007 at 09:21:12AM +0200, David Engraf wrote: > At the moment I have a Jetway/VIA Mainboard which seems to have a > problem with the handoff. > Evenwhen I wait about 20 seconds the EHCI_USBLEGSUP_BIOS flag is not > cleared. I think this is a BIOS > bug and I will have to talk to Jet

Re: [linux-usb-devel] [PATCH][RFC] make config vars uniformly "SAFE_SERIAL"

2007-08-01 Thread Greg KH
On Wed, Aug 01, 2007 at 05:13:51AM -0400, Robert P. J. Day wrote: > > just a preliminary strike, trying to make some of these names uniform. > that includes having to change some of the settings in various > defconfig files. > > not compile tested, i'm just interested if this is acceptable. If y

Re: [linux-usb-devel] 2.6.23-rc1-mm2

2007-08-01 Thread Greg KH
On Wed, Aug 01, 2007 at 10:02:30AM +0200, Mariusz Kozlowski wrote: > Then reattaching a usb mouse caused this (only once) > > usb 2-1: USB disconnect, address 2 > BUG: atomic counter underflow at: > [] show_trace_log_lvl+0x1a/0x30 > [] show_trace+0x12/0x14 > [] dump_stack+0x15/0x17 > [] __free

Re: [linux-usb-devel] [PATCH] bug with EHCI cpufreq patch on nVidia controllers

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 04:00:15PM -0700, Pete Zaitcev wrote: > On Tue, 31 Jul 2007 17:00:04 -0500, <[EMAIL PROTECTED]> wrote: > > > + list_for_each_safe (entry, tmp, &qh->qtd_list) { > > + qtd = list_entry (entry, struct ehci_qtd, qtd_list); > > + if (cpu_to_le32 (qtd->qtd_d

Re: [linux-usb-devel] USB-related instability on 2.6.23-rc1

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 03:26:55PM -0600, Grant Likely wrote: > On 7/31/07, Greg KH <[EMAIL PROTECTED]> wrote: > > On Tue, Jul 31, 2007 at 03:06:07PM -0600, Grant Likely wrote: > > > I've attached my kernel config file and a dmesg output > > > > Can you e

Re: [linux-usb-devel] USB-related instability on 2.6.23-rc1

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 03:06:07PM -0600, Grant Likely wrote: > I've observed instability on my Macbook c2d with the Linus' latest > tree. Symptom is that USB devices start behaving badly and the kernel > seems to be registering incorrect HID events; (ie. moving the mouse > causes odd keyboard eve

Re: [linux-usb-devel] usb-serial.c question - potential Memory fault

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 09:14:30AM +0200, Oliver Neukum wrote: > Am Dienstag 31 Juli 2007 schrieb Greg KH: > > > So I agree with the proposition of Oliver to add a buffer_size in the > > > usb_serial_driver structure. > > > This is very useful to prepare a buf

Re: [linux-usb-devel] usb-serial.c question - potential Memory fault

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 07:49:34AM +0200, Alain Degreffe wrote: > Greg, > > You are right ( of course ), but using the buffer given by the usb-serial > seems to bo logic as I said. > By this way I don't create unnecessary buffer. But in bulk transfer, the > buffer_size can be greater than > The va

Re: [linux-usb-devel] usb-serial.c question - potential Memory fault

2007-07-30 Thread Greg KH
On Tue, Jul 31, 2007 at 07:13:08AM +0200, Alain Degreffe wrote: > Well I try to follow pl2303 > > wMaxPacketSize 0x0040 1x 64 bytes is the size retuned by the endpoint > (I just plug my own pl2303 to check the value) > > line / code > > 330 priv->buf = pl2303_buf_alloc(PL230

Re: [linux-usb-devel] usbserial, io_edgeport: Remove CmdUrbs

2007-07-30 Thread Greg KH
On Mon, Jul 30, 2007 at 02:00:25PM -0700, Pete Zaitcev wrote: > On Mon, 30 Jul 2007 13:07:02 -0700, Greg KH <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 30, 2007 at 12:58:57PM -0700, Pete Zaitcev wrote: > > > > Oliver converted CmdUrbs

Re: [linux-usb-devel] usb-serial.c question - potential Memory fault

2007-07-30 Thread Greg KH
On Mon, Jul 30, 2007 at 06:04:06PM +0200, [EMAIL PROTECTED] wrote: > Greg, > > It is a problem because I use the pre-allocated buffer given by the layer > usb-serial. Of course, I can create a new urb structure with a bigger > buffer but I just suggest that using the buffer stored in the > usb_se

Re: [linux-usb-devel] usb-serial.c question - potential Memory fault

2007-07-30 Thread Greg KH
On Mon, Jul 30, 2007 at 07:04:51AM +0200, [EMAIL PROTECTED] wrote: > Hi Greg, > > > > After a new complete reading of my code against usb-serial.c, I finally > found ( I hope ) my problem. > > In usb-serial.c, when bulk_in/out buffers are initialized, each buffer size > are the same as the wM

Re: [linux-usb-devel] "SERIAL_SAFE" versus "SAFE_SERIAL"

2007-07-30 Thread Greg KH
On Sun, Jul 29, 2007 at 05:31:12PM -0400, Robert P. J. Day wrote: > > i think someone higher up the food chain might want to handle what > appear to be typoes here: > > $ grep -r SAFE_SERIAL * > drivers/usb/serial/safe_serial.c:#if defined(CONFIG_USBD_SAFE_SERIAL_VENDOR) > && !defined(CONFIG_U

Re: [linux-usb-devel] usb-storage autosuspend bug?

2007-07-30 Thread Greg KH
On Sun, Jul 29, 2007 at 08:00:01PM -0700, Linus Torvalds wrote: > > > On Fri, 27 Jul 2007, Alan Stern wrote: > > > > I don't think it's a refcounting problem. My guess is that the > > underlying cause is the bug in your urb->status removal patch for > > usb_start_wait_urb() -- the one I fixed

[linux-usb-devel] [GIT PATCH] USB fixes for 2.6.23-rc1

2007-07-30 Thread Greg KH
Here are some USB fixes against your 2.6.23-rc1 git tree. They do the following: - usb core fix that you ran into with your broken usb-storage device - tty fixes (one fix included a big coding style cleanup by Alan Cox, which dominates the diffstat of this serie

Re: [linux-usb-devel] usbserial, io_edgeport: Remove CmdUrbs

2007-07-30 Thread Greg KH
On Mon, Jul 30, 2007 at 12:58:57PM -0700, Pete Zaitcev wrote: > Oliver converted CmdUrbs into an atomic with commit > 96c706ed1c46470598d785124b2a7fb233b27dab . > It seems like a waste to do for a long forgotten debugging aid. > Let's just remove it altogether. Nah, as someone who has had to debug

Re: [linux-usb-devel] [PATCH] usb-serial: Fix edgeport regression on non-EPiC devices

2007-07-30 Thread Greg KH
On Sun, Jul 29, 2007 at 11:03:29AM -0400, Adam Kropelin wrote: > Fix serious regression on non-EPiC edgeport usb-serial devices. Baud > rate and MCR/LCR registers are not being written on these models due > to apparent copy-n-paste errors introduced with EPiC support. > > Failure reported by Nic

Re: [linux-usb-devel] Patch USB: serial: garmin_gps: fixes package loss if used from gpsbabel

2007-07-30 Thread Greg KH
On Mon, Jul 23, 2007 at 08:19:10PM +0200, Hermann Kneissel wrote: > > This patch contains two fixes submitted by Ondrej Palkovsky: > - the 'ACK' packet is sent after the transfer of the USB packet is > completed, i.e. in the write_callback function. Because the close > function sends the 'abort'

Re: [linux-usb-devel] [PATCH] PCI: unhide SMBus on Compaq Deskpro EP 401963-001 motherboard with i810 chipset

2007-07-30 Thread Greg KH
On Mon, Jul 30, 2007 at 05:21:08PM +0200, GW wrote: > PCI quirk to unhide SMBus on Compaq Deskpro EP 401963-001 (PCA# 010174) > motherboard with i810 chipset. > > Signed-off-by: GW <[EMAIL PROTECTED]> Hm, can I get more of a "real name" for this please? thanks, greg k-h --

Re: [linux-usb-devel] usb-serial.c question - potential Memory fault

2007-07-30 Thread Greg KH
On Mon, Jul 30, 2007 at 07:10:55AM +0200, [EMAIL PROTECTED] wrote: > Hi Greg, > > After a new complete reading of my code against usb-serial.c, I finally > found ( I hope ) my problem. > In usb-serial.c, when bulk_in/out buffers are initialized, each ?buffer size > are the same as the wMaxPacketSi

Re: [linux-usb-devel] undefined USB-related CONFIG variables

2007-07-29 Thread Greg KH
On Sun, Jul 29, 2007 at 05:15:41PM -0400, Robert P. J. Day wrote: > On Sun, 29 Jul 2007, Greg KH wrote: > > > On Sun, Jul 29, 2007 at 04:17:57PM -0400, Robert P. J. Day wrote: > > > > > > the latest output of the "dead CONFIG variable" script run

Re: [linux-usb-devel] undefined USB-related CONFIG variables

2007-07-29 Thread Greg KH
On Sun, Jul 29, 2007 at 04:17:57PM -0400, Robert P. J. Day wrote: > > the latest output of the "dead CONFIG variable" script run against > the directory drivers/usb (obviously some false positives, but some > definitely dead variables): Care to make up some patches to fix these? thanks, greg

Re: [linux-usb-devel] Philips USB OTG rework

2007-07-28 Thread Greg KH
On Sat, Jul 28, 2007 at 09:42:40AM -0400, Jon Smirl wrote: > I have a large patch (megabytes) including a rework of the USB OTG > code from 2.6.10 by Philips. It's too large to post. Then try splitting it into logical portions so that it can be reviewed, if that is what you are wanting to see happ

Re: [linux-usb-devel] [PATCH] gigaset: clean up urb->status usage

2007-07-26 Thread Greg KH
On Tue, Jul 24, 2007 at 09:06:42PM +0200, Tilman Schmidt wrote: > From: Tilman Schmidt <[EMAIL PROTECTED]> > > Make there only be one reference to urb->status per URB callback, and none > outside, in preparation for removal of that field. > > Signed-off-by: Tilman Schmidt <[EMAIL PROTECTED]> Ack

[linux-usb-devel] usb-storage autosuspend bug?

2007-07-26 Thread Greg KH
Alan and Oliver, was this caused by the autosuspend changes for usb-storage? thanks, greg k-h On Wed, Jul 25, 2007 at 04:34:03PM -0700, Linus Torvalds wrote: > > > On Thu, 19 Jul 2007, Greg KH wrote: > > > > Here are some more USB patches and fixes against your 2.6.22 gi

Re: [linux-usb-devel] [patch 2.6.23-rc1-git] ohci-hcd works around more Compaq/ZF-Micro quirks

2007-07-25 Thread Greg KH
On Wed, Jul 25, 2007 at 01:13:39PM -0700, David Brownell wrote: > On Wednesday 25 July 2007, Mike Nuss wrote: > > Either way, this patch in its current form isn't safe. > > Darn. OK, I'm sure Greg will know not to merge it. Yup, consider it dropped, thanks for letting me know. thanks, greg k-h

Re: [linux-usb-devel] 2.6.22+: BUG: sleeping function called from invalid context at /home/jeremy/hg/xen/paravirt/linux/drivers/usb/core/urb.c:524, in_atomic():1, irqs_disabled():0

2007-07-23 Thread Greg KH
On Mon, Jul 23, 2007 at 04:50:50PM -0400, Alan Stern wrote: > On Mon, 23 Jul 2007, Jeremy Fitzhardinge wrote: > > > I get this when suspending. The kernel is 2.6.22+recent git (just before > > -rc1). > > > > usb 2-1: USB disconnect, address 3 > > BUG: sleeping function called from invalid conte

Re: [linux-usb-devel] urb->status cleanup

2007-07-23 Thread Greg KH
On Mon, Jul 23, 2007 at 01:03:47AM +0200, Tilman Schmidt wrote: > Am 22.07.2007 21:30 schrieb Pete Zaitcev: > > On Sun, 22 Jul 2007 16:44:24 +0200, Tilman Schmidt <[EMAIL PROTECTED]> > > wrote: > > > >> Should I do something similar for drivers/isdn/{bas,usb}-gigaset.c? > >> What exactly is the g

Re: [linux-usb-devel] urb->status cleanup (was: [GIT PATCH] more USB patches for 2.6.22)

2007-07-23 Thread Greg KH
On Sun, Jul 22, 2007 at 04:44:24PM +0200, Tilman Schmidt wrote: > Am 20.07.2007 05:44 schrieb Greg KH: > > Greg Kroah-Hartman (22): > > USB: atm: cxacru: clean up urb->status usage > > USB: atm: speedtch: clean up urb->status usage > > USB: atm:

Re: [linux-usb-devel] Kingsun KS-959 USB IrDA dongle - release candidate for submission (try 1)

2007-07-20 Thread Greg KH
On Thu, Jul 19, 2007 at 08:21:14PM +0200, Domen Puncer wrote: > On 19/07/07 11:36 -0500, Alex Villac??s Lasso wrote: > > At last I managed to fix the problem with transfers with the dongle. It > > happens that this dongle does not support payloads larger than 256 > > bytes, so the driver has to m

Re: [linux-usb-devel] Kingsun KS-959 USB IrDA dongle - release candidate for submission (try 1)

2007-07-20 Thread Greg KH
On Thu, Jul 19, 2007 at 11:36:55AM -0500, Alex Villac??s Lasso wrote: > At last I managed to fix the problem with transfers with the dongle. It > happens that this dongle does not support payloads larger than 256 bytes, so > the driver has to manually fragment anything bigger. > > The versio

Re: [linux-usb-devel] [PATCH 05/44] USB: sierra: Add TRU-Install (c) Support

2007-07-20 Thread Greg KH
On Fri, Jul 20, 2007 at 09:11:14AM -0400, Ragner Magalhaes wrote: > ext Greg Kroah-Hartman wrote: > > From: Kevin Lloyd <[EMAIL PROTECTED]> > > > @@ -43,8 +107,10 @@ static struct usb_device_id id_table [] = { > > { USB_DEVICE(0x1199, 0x6812) }, /* Sierra Wireless MC8775 */ > > { USB_DEVIC

Re: [linux-usb-devel] iuu_phoenix new driver latency problem.... idea needed...

2007-07-19 Thread Greg KH
On Thu, Jul 19, 2007 at 07:54:22PM +0200, Alain Degreffe wrote: > I have a newbie question :-) > > I would like to have to threads: 1 reading process and one writing > process... > > For the moment as soon I write to device, I begin to read the answer but it > is not very efficient because the is

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

2007-07-19 Thread Greg KH
Here are some more USB patches and fixes against your 2.6.22 git tree. They add a new usb gadget driver, more urb->status cleanups, a new sysfs attribute to get the raw config of the usb device, and some bugfixes and documentation updates. Please pull from: master.kernel.org:/pub/scm/linu

Re: [linux-usb-devel] [PATCH] Don't let usb-storage steal Blackberry Pearl

2007-07-19 Thread Greg KH
On Thu, Jul 19, 2007 at 12:41:26PM -0400, Jeremy Katz wrote: > On Thu, 2007-07-19 at 09:11 -0700, Greg KH wrote: > > On Thu, Jul 19, 2007 at 09:37:42AM -0400, Jeremy Katz wrote: > > > The Blackberry Pearl can run in two modes; a usb-storage only mode > > > and a mode

Re: [linux-usb-devel] [PATCH] Don't let usb-storage steal Blackberry Pearl

2007-07-19 Thread Greg KH
On Thu, Jul 19, 2007 at 09:37:42AM -0400, Jeremy Katz wrote: > The Blackberry Pearl can run in two modes; a usb-storage only mode > and a mode that allows access via mass storage and to its database. > The berry_charge module will set the device to dual mode and thus we > should ignore its native m

Re: [linux-usb-devel] [PATCH 70/78] USB: add picdem device to ldu sb

2007-07-18 Thread Greg KH
On Wed, Jul 18, 2007 at 07:43:24PM -0400, Xiaofan Chen wrote: > On 7/18/07, Greg KH <[EMAIL PROTECTED]> wrote: > > On Wed, Jul 18, 2007 at 04:28:29PM -0400, Xiaofan Chen wrote: > > > One more thing, ldusb supports some HID device. How does it prevent > > > the k

Re: [linux-usb-devel] [PATCH 70/78] USB: add picdem device to ldu sb

2007-07-18 Thread Greg KH
On Wed, Jul 18, 2007 at 04:28:29PM -0400, Xiaofan Chen wrote: > One more thing, ldusb supports some HID device. How does it prevent > the kernel USBHID driver from claiming it? The usb hid driver has a very large blacklist of devices that are not really HID devices. The ones claimed by this dri

Re: [linux-usb-devel] [PATCH 1/2] USB: move routines in hcd.c

2007-07-18 Thread Greg KH
On Wed, Jul 18, 2007 at 12:08:02PM -0400, Alan Stern wrote: > This patch (as939) moves a couple of routine in hcd.c around. The > purpose is to put all the general URB- and endpoint-related routines > (submit, unlink, giveback, and disable) together in one spot. > > There are no functional change

Re: [linux-usb-devel] New driver proposal: iuu_phoenix patch formatted and indepedent file for external compilation

2007-07-18 Thread Greg KH
On Sat, Jul 14, 2007 at 11:54:09PM +0200, Alain Degreffe wrote: > Submitted for review and comment. > + * This program is free software; you can redistribute it and/or modify > + * it under the terms of the GNU General Public License as published by > + * the Free Software Foundation; either

Re: [linux-usb-devel] iuu_phoenix drivers. New submit for review

2007-07-17 Thread Greg KH
On Tue, Jul 17, 2007 at 03:39:35PM -0700, David Brownell wrote: > On Tuesday 17 July 2007, Greg KH wrote: > > On Fri, Jul 13, 2007 at 11:07:24PM +0200, Alain Degreffe wrote: > > > As requested, I have replaced all DMA by kmalloc. The CodingStyle came > > > from &g

Re: [linux-usb-devel] [patch 06/16] usb: add the concept of default authorization to USB hosts

2007-07-17 Thread Greg KH
On Tue, Jul 10, 2007 at 12:45:02PM -0700, [EMAIL PROTECTED] wrote: > This introduces /sys/class/usb_host/*/authorized_default; it dictates > what is going to be the default authorization state for devices > connected to the host. User space can set that using the sysfs file. > > By default it is s

Re: [linux-usb-devel] [patch 03/16] usb: usb_get_configuration() obeys authorization

2007-07-17 Thread Greg KH
On Tue, Jul 10, 2007 at 12:44:59PM -0700, [EMAIL PROTECTED] wrote: > If called and the device is not authorized to be used, then we don't > allow reading the configurations. > > Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> > > --- > drivers/usb/core/config.c | 21 +-

Re: [linux-usb-devel] iuu_phoenix drivers. New submit for review

2007-07-17 Thread Greg KH
On Fri, Jul 13, 2007 at 11:07:24PM +0200, Alain Degreffe wrote: > As requested, I have replaced all DMA by kmalloc. The CodingStyle came from > Lindent script. The all defines are now in a .h file So I'm ready for > your comments... Thanks for your time and your help. It's funny to observe > th

Re: [linux-usb-devel] [PATCH 70/78] USB: add picdem device to ldu sb

2007-07-17 Thread Greg KH
On Tue, Jul 17, 2007 at 10:02:26AM -0700, Joey Goncalves wrote: > Hi: > > I was not aware of the libusb support for the PicDem board. ( not for lack > of googling let me tell you ) > that's when I started to look at was involved in writing a kernel driver to > talk to the unit. After > a l

Re: [linux-usb-devel] [patch]minimal autosuspend support for USB HID devices

2007-07-17 Thread Greg KH
On Wed, Jul 11, 2007 at 12:29:02PM +0200, Oliver Neukum wrote: > Hi, > > autosuspend for USB HID devices remains problematic as far as mice > and keyboards are concerned. While I am working on a grand solution, > here's a minimalist patch that works for those devices not continously > in use. It'l

Re: [linux-usb-devel] [PATCH 70/78] USB: add picdem device to ldusb

2007-07-16 Thread Greg KH
On Fri, Jul 13, 2007 at 10:20:11PM -0400, Xiaofan Chen wrote: > On 4/27/07, Greg Kroah-Hartman <[EMAIL PROTECTED]> wrote: > > From: Joey Goncalves <[EMAIL PROTECTED]> > > > >> Hi Greg: > > > > >I have found that /drivers/usb/misc/ldusb.c works with the "PICDEM Full > > > Speed USB" > > > http://

Re: [linux-usb-devel] [Bugme-new] [Bug 8770] New: Regression: hotplug events for usb-storage broken in 2.6.22

2007-07-16 Thread Greg KH
On Mon, Jul 16, 2007 at 06:42:04PM -0400, Felipe Balbi wrote: > Hi... I have an ubuntu running on a Dell D600 with linux-2.6.22-rc7 > > Following "Steps to reproduce" worked just fine with me. Can you run 'udevmonitor' when plugging in your device to see if the events are properly getting to ud

Re: [linux-usb-devel] [PATCH 006/149] USB: m66592-udc: peripheral controller driver for M66592

2007-07-16 Thread Greg KH
On Mon, Jul 16, 2007 at 09:17:46PM -0700, David Brownell wrote: > On Monday 16 July 2007, Greg KH wrote: > > > Can the both of you agree on a patch that solves the needed issues for > > this driver and send it to me? I've seen too many patches on this > > thread to

Re: [linux-usb-devel] [PATCH 006/149] USB: m66592-udc: peripheral controller driver for M66592

2007-07-16 Thread Greg KH
On Mon, Jul 16, 2007 at 01:27:49PM -0700, David Brownell wrote: > On Sunday 15 July 2007, Yoshihiro Shimoda wrote: > > David Brownell wrote: > > > On Saturday 14 July 2007, Yoshihiro Shimoda wrote: > > > > > Does the following patch behave, with all the locking test > > > > > options in the kernel

Re: [linux-usb-devel] [PATCH 118/149] USB: usblp: add dynamic URBs, fix races

2007-07-12 Thread Greg KH
On Thu, Jul 12, 2007 at 06:48:50PM -0700, Pete Zaitcev wrote: > On Thu, 12 Jul 2007 16:42:33 -0700, Greg Kroah-Hartman <[EMAIL PROTECTED]> > wrote: > > Hi, Greg: > > > drivers/usb/class/usblp.c | 618 > > +++-- > > I found a bug in this patch and sent a

Re: [linux-usb-devel] [PATCH 006/149] USB: m66592-udc: peripheral controller driver for M66592

2007-07-12 Thread Greg KH
On Thu, Jul 12, 2007 at 05:23:41PM -0700, David Brownell wrote: > On Thursday 12 July 2007, Greg Kroah-Hartman wrote: > > > > From: Yoshihiro Shimoda <[EMAIL PROTECTED]> > > > > I would like to submit Renesas M66592 udc driver. > > > > The M66592 is Renesas USB 2.0 peripheral controller. > > Thi

Re: [linux-usb-devel] [GIT PATCH] USB patches for 2.6.22

2007-07-12 Thread Greg KH
On Thu, Jul 12, 2007 at 05:03:46PM -0700, Linus Torvalds wrote: > > On Thu, 12 Jul 2007, Greg KH wrote: > > > > Here are a bunch of USB patches and fixes against your 2.6.22 git tree. > > This also seems to contain some *totally*pointless* config variable > changes,

[linux-usb-devel] [GIT PATCH] USB patches for 2.6.22

2007-07-12 Thread Greg KH
Here are a bunch of USB patches and fixes against your 2.6.22 git tree. They include a number of new drivers, some cleanups in anticipation of future API changes, new infrastructure to make writing USB drivers easier, and a lot of USB suspend work. There are a lot of minor little things in here t

Re: [linux-usb-devel] help required

2007-07-11 Thread Greg KH
On Thu, Jul 12, 2007 at 11:13:36AM +0530, shantibhushan sale wrote: > Hi >I am working on USB device drivers. > Could you help me out to for few things? > I m trying to load device drivers for Device.In this case,we have to load > GadgetFs,but it gives me error. > Do you have any p

Re: [linux-usb-devel] [patch]autosuspend for cdc-acm

2007-07-11 Thread Greg KH
On Wed, Jul 11, 2007 at 05:28:16PM +0200, Oliver Neukum wrote: > Am Mittwoch, 11. Juli 2007 schrieb Alan Stern: > > On Wed, 11 Jul 2007, Oliver Neukum wrote: > > > > > Hi, > > > > > > this implements autosuspend for cdc-acm devices. > > > > Do you mean it adds support for plain old suspend/resum

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

2007-07-10 Thread Greg KH
CTED] Fri Jul 6 11:21:32 2007 > > From: Alan Stern <[EMAIL PROTECTED]> > > Date: Fri, 6 Jul 2007 14:21:26 -0400 (EDT) > > Subject: USB: add usb_autopm_get_interface_burst() > > To: Greg KH <[EMAIL PROTECTED]> > > Cc: USB development list > > Message

Re: [linux-usb-devel] [PATCH] isp116x-hcd: prepare for urb->status

2007-07-10 Thread Greg KH
On Tue, Jul 10, 2007 at 11:02:24AM -0400, Alan Stern wrote: > On Fri, 06 Jul 2007, Alan Stern wrote: > > > This patch (as931), adapted from a patch by Olav Kongas, makes a small > > set of conservative changes to the isp116x-hcd driver in preparation > > for the removal of urb->status. > > Greg:

Re: [linux-usb-devel] Recognize USB devices by user-application

2007-07-09 Thread Greg KH
On Fri, Jul 06, 2007 at 10:09:39AM -0300, Ana Ravena Alcantara da Costa wrote: > Hello! > I am working with a kernel 2.4.25 embedded in a processor mpc5xxx from > Freescale. > I'm trying to make USB work at this kernel, but some details are still a > litle obscure to me. > All USB drivers are worki

Re: [linux-usb-devel] [PATCH] Active Huawei E220 devs

2007-07-03 Thread Greg KH
On Wed, Jul 04, 2007 at 10:31:10AM +0800, linlei 60022748 wrote: > > Hello Greg, > > Will you accept it? Accept what? I thought you should redo the patch based on all of the comments so far, right? If you do that, then yes, I will. thanks, greg k-h --

Re: [linux-usb-devel] [PATCH 3/4] usb: allocated usb releated dma buffer with?kmalloc_node

2007-07-03 Thread Greg KH
On Tue, Jul 03, 2007 at 08:23:07AM +0200, Oliver Neukum wrote: > Am Dienstag, 3. Juli 2007 schrieb Greg KH: > > On Mon, Jul 02, 2007 at 10:33:12PM -0700, Yinghai Lu wrote: > > > On 7/2/07, Greg KH <[EMAIL PROTECTED]> wrote: > > > > On Mon, Jul 02, 2007 a

Re: [linux-usb-devel] [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node

2007-07-02 Thread Greg KH
On Mon, Jul 02, 2007 at 10:33:12PM -0700, Yinghai Lu wrote: > On 7/2/07, Greg KH <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 02, 2007 at 03:36:37PM -0700, Yinghai Lu wrote: > > > [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node > > > > >

Re: [linux-usb-devel] [PATCH 4/4] net: add usb_alloc_urb_node to use use kmalloc_node

2007-07-02 Thread Greg KH
On Mon, Jul 02, 2007 at 10:17:56PM -0700, Yinghai Lu wrote: > On 7/2/07, Greg KH <[EMAIL PROTECTED]> wrote: > > On Mon, Jul 02, 2007 at 03:37:13PM -0700, Yinghai Lu wrote: > > > [PATCH 4/4] net: add usb_alloc_urb_node to use use kmalloc_node > > > > Um, your s

Re: [linux-usb-devel] [PATCH 4/4] net: add usb_alloc_urb_node to use use kmalloc_node

2007-07-02 Thread Greg KH
On Mon, Jul 02, 2007 at 03:37:13PM -0700, Yinghai Lu wrote: > [PATCH 4/4] net: add usb_alloc_urb_node to use use kmalloc_node Um, your subject doesn't match the patch below. You might want to verify it again... I'll not apply any of these until the subject gets straightened out from the body of

Re: [linux-usb-devel] [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node

2007-07-02 Thread Greg KH
On Mon, Jul 02, 2007 at 03:36:37PM -0700, Yinghai Lu wrote: > [PATCH 3/4] usb: allocated usb releated dma buffer with kmalloc_node > > For amd64 based two way system. USB always on node0. but dma buffer for urb > allocated via kmalloc always get ram on node1. So change to kmalloc_node to > get dma

Re: [linux-usb-devel] patch to shift memory allocations to?usb_alloc_urb()

2007-07-01 Thread Greg KH
On Sat, Jun 30, 2007 at 09:31:02AM +0200, Oliver Neukum wrote: > Am Samstag, 30. Juni 2007 schrieb Greg KH: > > On Fri, Jun 29, 2007 at 03:18:23PM -0700, David Brownell wrote: > > > > > > > > Gaak. Just pass the usb_host_endpoint pointer in, with the relevant

Re: [linux-usb-devel] patch to shift memory allocations to usb_alloc_urb()

2007-06-30 Thread Greg KH
On Fri, Jun 29, 2007 at 03:18:23PM -0700, David Brownell wrote: > > > > Gaak. Just pass the usb_host_endpoint pointer in, with the relevant > > > length indicator. Four functions would be ugly, unclean, unneceesary. > > > All the relevant data is in the endpoint descriptor, which is stored > > >

Re: [linux-usb-devel] patch to shift memory allocations to usb_alloc_urb()

2007-06-29 Thread Greg KH
On Fri, Jun 29, 2007 at 09:26:33AM -0400, Alan Stern wrote: > On Fri, 29 Jun 2007, Oliver Neukum wrote: > > > Hi, > > > > this proved harder than it looks like. I can use cdc-acm over ohci with > > this patch. So what do you think? > > It tries to do an awful lot all at once. A good place to st

Re: [linux-usb-devel] usb_fill_bulk_urb() broken for USB1.1?

2007-06-27 Thread Greg KH
On Tue, Jun 26, 2007 at 01:52:41PM -0400, Chuck Ebbert wrote: > On 06/26/2007 10:20 AM, Keith Chew wrote: > > [cc: linux-usb-devel] > > > We have been using a Zydas based WIFI drivers under kernel 2.6.16.18 > > with great success. Recently, when we upgraded to 2.6.20.1 (also > > tested on 2.6.21.

Re: [linux-usb-devel] [PATCH] Add usb_setup_{control, bulk, int}_urb helpers

2007-06-26 Thread Greg KH
On Tue, Jun 26, 2007 at 10:32:42AM -0400, Alan Stern wrote: > On Mon, 25 Jun 2007, Greg KH wrote: > > > You mean something like the following, but also for bulk and int? I > > like it, it reduces the number of allocations and frees we have to do as > > the transf

[linux-usb-devel] [GIT PATCH] USB fixes for 2.6.22-rc6

2007-06-25 Thread Greg KH
Here are some USB fixes against your 2.6.22-rc6 tree. They fix a pretty serious gadget file_storage bug, some minor bugs in other drivers (although the "suck up all kernel memory in the system" is pretty nasty...) and adds 2 new device ids. All of these have been in the -mm releases for a while.

Re: [linux-usb-devel] [PATCH] Add usb_setup_{control, bulk, int}_urb helpers

2007-06-25 Thread Greg KH
On Tue, Jun 26, 2007 at 03:14:22AM +0200, Marcel Holtmann wrote: > Hi Greg, > > > here is a patch that adds three URB setup helpers that will allocate the > > transfer buffer using kmalloc() and set the new URB_FREE_BUFFER flage to > > make it free together with the URB. Please apply. > > while I

Re: [linux-usb-devel] [PATCH] Active Huawei E220 devs

2007-06-25 Thread Greg KH
On Mon, Jun 25, 2007 at 08:16:44PM +0800, linlei 60022748 wrote: > Hi there, > This patch make the HUAWEI E220 device to map out three ports instead of only > one virtural cd port. > See the patch for the full explanation, CC's, and sign-off. And please apply. Shouldn't you check the return value

Re: [linux-usb-devel] patch usb-add-urb_free_buffer-flag-and-the-logic-behind-it.patch added to gregkh-2.6 tree

2007-06-25 Thread Greg KH
On Mon, Jun 25, 2007 at 11:59:17PM +0200, Marcel Holtmann wrote: > Hi Pete, > > > > usb-add-urb_free_buffer-flag-and-the-logic-behind-it.patch > > > > > +++ b/drivers/usb/core/urb.c > > > @@ -13,6 +13,9 @@ static void urb_destroy(struct kref *kre > > > { > > > struct urb *urb = to_urb(kre

Re: [linux-usb-devel] [PATCH] Printer Gadget Driver v0.2.0 (kernel 2.6.21.3)

2007-06-25 Thread Greg KH
On Mon, Jun 11, 2007 at 05:52:59PM -0400, Craig W. Nadler wrote: > From: Craig W. Nadler <[EMAIL PROTECTED]> > > G_PRINTER: Adds a USB printer gadget driver for use in printer firmware. > > This patch adds a USB printer gadget driver for use in printer firmware. The > printer gadget channels

Re: [linux-usb-devel] [PATCH] USB IAD Support (kernel2.6.21.3)

2007-06-25 Thread Greg KH
On Fri, Jun 15, 2007 at 11:14:35PM -0400, Craig W. Nadler wrote: > From: Craig W. Nadler <[EMAIL PROTECTED]> > USB_IAD: Adds support for USB Interface Association Descriptors. > > This patch adds support to the USB host stack for parsing, storing, and > displaying Interface Association Descrip

Re: [linux-usb-devel] USB devices

2007-06-25 Thread Greg KH
On Fri, Jun 22, 2007 at 07:37:20PM -0400, Bill Cunningham wrote: > Well on my linux whenever I plug in my usb flash cards all the system > says to me is address:2 then tries again with address:3 and everytime it > does this I get error code -110. I don't know what's wrong. I don't know if >

Re: [linux-usb-devel] [PATCH] USB: driver for CM109 chipset

2007-06-25 Thread Greg KH
On Sat, Jun 16, 2007 at 11:35:49PM +0200, Alfred E. Heggestad wrote: > From: Alfred E. Heggestad <[EMAIL PROTECTED]> > > This driver adds support for USB VoIP phones using the CM109 chipset, > such as the KIP-1000. Keypad is scanned and events are reported to > the input subsystem. The buzzer

Re: [linux-usb-devel] [patch] PS3: Fix USB return value

2007-06-25 Thread Greg KH
On Fri, Jun 08, 2007 at 04:22:37PM -0700, Geoff Levand wrote: > Fix a minor error on the return value of ps3_ehci_driver_register() > and ps3_ohci_driver_register() when running on non-PS3 systems. > > Signed-off-by: Geoff Levand <[EMAIL PROTECTED]> > --- > Hi Greg, > > Testers found a problem wi

Re: [linux-usb-devel] [PATCH] EHCI: fix bug in refcounting code

2007-06-25 Thread Greg KH
On Mon, Jun 18, 2007 at 09:20:39AM -0500, [EMAIL PROTECTED] wrote: > Thank you for catching that, Alan. Greg/David, please merge with the > original > patch. Thanks. Now merged, thanks. greg k-h - This SF.net email is spons

Re: [linux-usb-devel] [PATCH] Add URB_FREE_BUFFER flag

2007-06-19 Thread Greg KH
On Tue, Jun 19, 2007 at 04:44:33PM +0200, Marcel Holtmann wrote: > Hi Greg, > > > here is the patch to add the URB_FREE_BUFFER flag for freeing the > > transfer buffer together with the URB itself. Please apply. > > anything wrong with this patch? No, sorry, it's in my to-apply queue, was travel

Re: [linux-usb-devel] STG200x USB-Stimulus Driver

2007-06-16 Thread Greg KH
On Fri, Jun 15, 2007 at 03:56:35PM +0100, [EMAIL PROTECTED] wrote: > Hi, > > I was about to embark on porting this driver to 2.6, but it seems that > others have already started...any idea what the current status of the > driver is? Is there a lot of work still to be done? Where can I get the >

Re: [linux-usb-devel] [RFC] Eliminate usb_unlink_urb()'s return code

2007-06-16 Thread Greg KH
On Fri, Jun 15, 2007 at 05:29:54PM -0400, Alan Stern wrote: > Now this would not allow us to do away with urb->status entirely. It > is still needed for storing unlink error codes, since URBs cannot be > given back immediately when they are unlinked. It's also needed by > usbcore, because endp

Re: [linux-usb-devel] [PATCH] USB: driver for CM109 chipset

2007-06-15 Thread Greg KH
On Sat, Jun 16, 2007 at 12:32:57AM +0200, Alfred E. Heggestad wrote: > Oliver Neukum wrote: > > Am Sonntag, 10. Juni 2007 schrieb Alfred E. Heggestad: > >> From: Alfred E. Heggestad <[EMAIL PROTECTED]> > >> > >> This driver adds support for USB VoIP phones using the CM109 chipset, > >> such as the

  1   2   3   4   5   6   7   8   9   10   >