[linux-usb-devel] Re: [PATCH] Add quirks required to make a Shuttle PN-31 remote control work

2006-03-20 Thread Vojtech Pavlik
On Mon, Mar 20, 2006 at 11:59:24PM +0100, Bernhard Rosenkraenzer wrote: > Add some quirks to make a Shuttle PN-31 remote control work. > > Shuttle PN31 remote controls are supposed to act as a USB keyboard and mouse, > but they (in particular the mouse part) don't follow the standards. > > 5 qui

[linux-usb-devel] Re: [RFC][PATCH] USB touch screen driver, all-in-one

2006-03-20 Thread Lanslott Gish
On 3/17/06, Lanslott Gish <[EMAIL PROTECTED]> wrote: > On 3/16/06, Daniel Ritz <[EMAIL PROTECTED]> wrote: > that just can't be right. you probably mean > + *y = pkt[3] | ((pkt[4] & 0x0F) << 8); > > otherwise you mask out bits 4-7. but you want to limit it to 12 bits... > (btw. no need for the

Re: [linux-usb-devel] Hardware for gadget mode

2006-03-20 Thread Steve Calfee
On Mon, 20 Mar 2006, Florian Weimer wrote: > Hi, > > I'm looking for hardware which supports USB gadget mode, preferably with > high density (that is, it should be possible to add a dozen or so USB > device endpoints to a standard PC, which are then attached to different > hosts). All I could fi

[linux-usb-devel] Re: [RFC][PATCH] USB touch screen driver, all-in-one

2006-03-20 Thread Lanslott Gish
On 3/18/06, Daniel Ritz <[EMAIL PROTECTED]> wrote: > On Friday 17 March 2006 03.46, Lanslott Gish wrote: > > On 3/16/06, Daniel Ritz <[EMAIL PROTECTED]> wrote: > > "invert" is great, thx. > > evtouch(X11 driver) called these swap_x and swap_y > > > > i think i drop it alltogether. as greg already m

[linux-usb-devel] USB Geeks: HELP in EHCI driver development

2006-03-20 Thread rakesh kn
Hi, I am relatively a newbie at USB development. My doubts are simple . Can any one shed some lights on these. 1) What is the relevance of "suspend and resume" call backs that we find in struct device_driver.? There are also the same call backs in struct hc_driver?. What are they used for. ? Are

[linux-usb-devel] 谢生

2006-03-20 Thread 谢生
贵公司负责人(经理/财务): 您好!因本公司进项较多,为冲减进项,现有部分发票对外提供,税率较低。 本公司郑重承诺所用票据均可在国税、地税网查询或到税务局抵扣验证无误后即付款。彼此合作一次,必成 永久朋友!欢迎来电垂询! 手机13699735003 联 系 人: 谢生 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications in

[linux-usb-devel] [PATCH 17/81] ub: use kzalloc

2006-03-20 Thread Greg Kroah-Hartman
Switch from kmalloc+memset to kzalloc. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/block/ub.c | 12 1 files changed, 4 insertions(+), 8 deletions(-) 29da7937a11a47bad64558c3be4d998c4ea5e823 diff --git a/driver

[linux-usb-devel] [PATCH 81/81] USB: omninet: fix up debugging comments

2006-03-20 Thread Greg Kroah-Hartman
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/omninet.c | 10 -- 1 files changed, 4 insertions(+), 6 deletions(-) 71a8924bee63d891f6256d560e32416a458440b3 diff --git a/drivers/usb/serial/omninet.c b/drivers/usb/serial/omninet.c index 762d8ff..4d40704 100

[linux-usb-devel] [PATCH 61/81] USB: UHCI: Increase port-reset completion delay for HP controllers

2006-03-20 Thread Greg Kroah-Hartman
This patch (as657) increases the port-reset completion delay in uhci-hcd for HP's embedded controllers. Unlike other UHCI controllers, the HP chips can take as long as 250 us to carry out the processing associated with finishing a port reset. This fixes Novell bug #148761. Signed-off-by: Alan St

[linux-usb-devel] [PATCH 67/81] USB: fix initdata issue in isp116x-hcd

2006-03-20 Thread Greg Kroah-Hartman
As found by Sam's scripts. Cc: Sam Ravnborg <[EMAIL PROTECTED]> Cc: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/host/isp116x-hcd.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) b712548c5d88f2e4672f8482c3904e8c5728dbf1 d

[linux-usb-devel] [PATCH 74/81] USB: vicam.c: fix a NULL pointer dereference

2006-03-20 Thread Greg Kroah-Hartman
This patch fixes a NULL pointer dereference spotted by the Coverity checker. Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/media/vicam.c |1 + 1 files changed, 1 insertions(+), 0 deletions(-) f88f8295d8a9229fc8b647baf4f

[linux-usb-devel] [PATCH 68/81] USB: storage: sandisk unusual_devices entry

2006-03-20 Thread Greg Kroah-Hartman
The following adds an unusual_devs entry for the SanDisk ImageMate CompactFlash USB drive, for the US_FL_FIX_CAPACITY flag. Additionally, it removes trailing whitespace from the previous entry. It's based on the patch sent by Roman Hodek <[EMAIL PROTECTED]>. Signed-off-by: Phil Dibowitz <[EMAIL PR

[linux-usb-devel] [PATCH 26/81] USB: EHCI for AU1200

2006-03-20 Thread Greg Kroah-Hartman
ALCHEMY: Add EHCI support for AU1200 Updated by removing the OHCI support Signed-off-by: Jordan Crouse <[EMAIL PROTECTED]> Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- arch/mips/au1000/common/cputable.c |2 ar

[linux-usb-devel] [PATCH 78/81] USB: rtl8150 small fix

2006-03-20 Thread Greg Kroah-Hartman
This one is about announcing the device registration after the last check has been made. From: Petko Manolov <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/net/rtl8150.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) 09abfa8048de8e68eaa

[linux-usb-devel] [PATCH 62/81] USB: ub 01 remove first_open

2006-03-20 Thread Greg Kroah-Hartman
The first_open was long overdue for removal, but I wanted to keep this separate for other changes in case of regressions. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/block/ub.c | 23 --- 1 files changed,

[linux-usb-devel] [PATCH 03/81] USB: optimise devio.c usbdev_read fix

2006-03-20 Thread Greg Kroah-Hartman
drivers/usb/core/devio.c: In function `usbdev_read': drivers/usb/core/devio.c:140: error: invalid type argument of `->' drivers/usb/core/devio.c:141: error: invalid type argument of `->' drivers/usb/core/devio.c:142: error: invalid type argument of `->' drivers/usb/core/devio.c:143: error: invalid

[linux-usb-devel] [PATCH 33/81] USB: usbcore sets up root hubs earlier

2006-03-20 Thread Greg Kroah-Hartman
Make the HCD initialization sequence more sane ... notably, setting up root hubs before HCDs are asked to do their one-time init. Among other things, that lets the HCDs do custom root hub init along with all the other one-time initialization done in the (now misnamed) reset() method. This also co

[linux-usb-devel] [PATCH 05/81] USB: kzalloc for storage

2006-03-20 Thread Greg Kroah-Hartman
another one for kzalloc. This covers the storage subdirectory. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/storage/datafab.c |3 +-- drivers/usb/storage/isd200.c|8 +++- drivers/usb/storage/jump

[linux-usb-devel] [PATCH 46/81] USB core and HCDs: don't put_device while atomic

2006-03-20 Thread Greg Kroah-Hartman
This patch (as640) removes several put_device and the corresponding get_device calls from the USB core and HCDs. Some of the puts were done in atomic contexts, and none of them are needed since the core now guarantees that every endpoint will be disabled and every URB completed before a USB device

[linux-usb-devel] [PATCH 75/81] USB: fix check_ctrlrecip to allow control transfers in state ADDRESS

2006-03-20 Thread Greg Kroah-Hartman
check_ctrlrecip() disallows any control transfers if the device is deconfigured (in configuration 0, ie. state ADDRESS). This for example makes it impossible to read the device descriptors without configuring the device, although most standard device requests are allowed in this state by the spec

[linux-usb-devel] [PATCH 06/81] USB: kzalloc for hid

2006-03-20 Thread Greg Kroah-Hartman
this uses kzalloc in hid. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/hid-core.c | 18 +- drivers/usb/input/hid-lgff.c |6 ++ drivers/usb/input/hid-tmff.c |3 +-- drivers/usb/input/hid

[linux-usb-devel] [PATCH 32/81] recognize three more usb peripheral controllers

2006-03-20 Thread Greg Kroah-Hartman
This adds declarations for three USB peripheral controllers: - Two high speed USB cores that can be licensed from Mentor Graphics to be integrated into silicon: * "musbhsfc" is for peripherals only, as found in for example the IBM/AMCC 44EP processors. * "musbhdrc" is O

[linux-usb-devel] [PATCH 69/81] USB: storage: another unusual_devs.h entry

2006-03-20 Thread Greg Kroah-Hartman
Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/storage/unusual_devs.h | 10 ++ 1 files changed, 10 insertions(+), 0 deletions(-) c713c973fb4bfdb22cce488cca4f9f8006ed58ce diff --git a/drivers/usb/storage/unusual_de

[linux-usb-devel] [PATCH 70/81] USB: storage: unusual_devs.h entry 0420:0001

2006-03-20 Thread Greg Kroah-Hartman
Ref https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=176584 Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/storage/unusual_devs.h |6 ++ 1 files changed, 6 insertions(+), 0 deletions(-) 23b7885d50c5f5fe6dca93d4

[linux-usb-devel] [PATCH 60/81] USB: support for USB-to-serial cable from Speed Dragon Multimedia

2006-03-20 Thread Greg Kroah-Hartman
The USB data cable for my Samsung GSM phone contains the USB-to-serial converter chip MS3303H from Speed Dragon Multimedia, Inc. that appears to be compatible with the PL2303 chip. The following patch adds support for this chip to the pl2303 driver. Signed-off-by: Dick Streefland <[EMAIL PROTECT

[linux-usb-devel] [PATCH 56/81] USB: ET61X[12]51 driver updates

2006-03-20 Thread Greg Kroah-Hartman
USB: ET61X[12]51 driver updates Changes: + new, - removed, * cleanup, @ bugfix @ Fix stream_interrupt() @ Fix vidioc_enum_input() and split vidioc_gs_input() @ Need usb_get|put_dev() when disconnecting, if the device is open * Use wait_event_interruptible_timeout() instead of wait_event_interrupt

[linux-usb-devel] [PATCH 16/81] USB: kzalloc in sisusbvga

2006-03-20 Thread Greg Kroah-Hartman
this does two things: - use kzalloc where appropriate - correct error return codes in ioctl Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/sisusbvga/sisusb.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(

[linux-usb-devel] [PATCH] Add quirks required to make a Shuttle PN-31 remote control work

2006-03-20 Thread Bernhard Rosenkraenzer
Add some quirks to make a Shuttle PN-31 remote control work. Shuttle PN31 remote controls are supposed to act as a USB keyboard and mouse, but they (in particular the mouse part) don't follow the standards. 5 quirks are needed to get this device to work, 2 of which are unique to this device so f

[linux-usb-devel] [PATCH 72/81] USB: add support for Creativelabs Silvercrest USB keyboard

2006-03-20 Thread Greg Kroah-Hartman
Signed-off-by: Wolfgang Rohdewald <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/input/hid-core.c |4 1 files changed, 4 insertions(+), 0 deletions(-) 2e56222ed52cec40427fa89f23b228232e3e327e diff --git a/drivers/usb/input/hid-core.c b/drivers

[linux-usb-devel] [PATCH 47/81] usbcore: fix compile error with CONFIG_USB_SUSPEND=n

2006-03-20 Thread Greg Kroah-Hartman
This patch (as647) fixes a small error introduced by a recent change to the USB core suspend/resume code. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/hub.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 4

[linux-usb-devel] [PATCH 09/81] USB: kzalloc in usbvideo

2006-03-20 Thread Greg Kroah-Hartman
another for kzalloc. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/media/usbvideo.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) 51b208ddf6e492c58609e07fa50bce98bb02cb27 diff --git a/drivers/usb/media/usbv

[linux-usb-devel] [PATCH 66/81] USB: usbcore: usb_set_configuration oops (NULL ptr dereference)

2006-03-20 Thread Greg Kroah-Hartman
When trying to deconfigure a device via usb_set_configuration(dev, 0), 2.6.16-rc kernels after 55c527187c9d78f840b284d596a0b298bc1493af oops with "Unable to handle NULL pointer dereference at...". This is due to an unchecked dereference of cp in the power budget part. Signed-off-by: Horst Schirmei

[linux-usb-devel] [PATCH 53/81] USB: kzalloc() conversion for rest of drivers/usb

2006-03-20 Thread Greg Kroah-Hartman
Signed-off-by: Eric Sesterhenn <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/host/ehci-mem.c | 10 +++--- drivers/usb/host/ehci-sched.c |3 +-- drivers/usb/host/hc_crisv10.c | 12 drivers/usb/media/ov5

[linux-usb-devel] [PATCH 48/81] USB: gadget driver section fixups

2006-03-20 Thread Greg Kroah-Hartman
This adds __init section annotations to gadget driver bind() routines to remove calls from .text into .init sections (for endpoint autoconfig). Likewise it adds __exit section annotations to their unbind() routines. The specification of the gadget driver register/unregister functions is updated to

[linux-usb-devel] [PATCH 14/81] USB: kzalloc in PhidgetServo

2006-03-20 Thread Greg Kroah-Hartman
another for kzalloc. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/phidgetservo.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) d874a2bade6eec21abb30d4822d7b3e43cfbae95 diff --git a/drivers/usb/misc/ph

[linux-usb-devel] [PATCH 30/81] USB: add support for AT91 gadget

2006-03-20 Thread Greg Kroah-Hartman
This adds support for the USB peripheral controller on AT91 (rm9200, eventually also sam9261 or uClinux) platforms. More SOC support for Linux-USB ... an uncomplicated pure PIO driver. It'd be worth using this as a model, if you're starting a driver for some other peripheral controller. Signed-of

[linux-usb-devel] [PATCH 36/81] usbhid: add error handling

2006-03-20 Thread Greg Kroah-Hartman
This patch (as628c) adds error handling to the USB HID core. When an error is reported for an interrupt URB, the driver will do delayed retries, at increasing intervals, for up to one second. If that doesn't work, it will try to reset the device. Testing by users has shown that both the retries

[linux-usb-devel] [PATCH 08/81] USB: kzalloc in w9968cf

2006-03-20 Thread Greg Kroah-Hartman
another one for kzalloc. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/media/w9968cf.c | 13 - 1 files changed, 4 insertions(+), 9 deletions(-) b10b4177881c50f22a79832558054f2e42be5cfa diff --git a/drivers/u

[linux-usb-devel] [PATCH 55/81] USB: SN9C10x driver updates

2006-03-20 Thread Greg Kroah-Hartman
SN9C10x driver updates. Changes: + new, - removed, * cleanup, @ bugfix @ Fix stream_interrupt() @ Fix vidioc_enum_input() and split vidioc_gs_input() @ Need usb_get|put_dev() when disconnecting, if the device is open * Use wait_event_interruptible_timeout() instead of wait_event_interruptible()

[linux-usb-devel] [PATCH 07/81] USB: kzalloc in dabusb

2006-03-20 Thread Greg Kroah-Hartman
kzalloc in dabusb. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/media/dabusb.c |5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) d8e298dc9feed17f397be4bb2cd8c1dd47248c74 diff --git a/drivers/usb/media/dabusb

[linux-usb-devel] [PATCH 24/81] USB: EHCI for Freescale 83xx

2006-03-20 Thread Greg Kroah-Hartman
Adding a Host Mode USB driver for the Freescale 83xx. This driver supports both the Dual-Role (DR) controller and the Multi-Port-Host (MPH) controller present in the Freescale MPC8349. It has been tested with the MPC8349CDS reference system. This driver depends on platform support code for setting

[linux-usb-devel] [PATCH 02/81] USB: optimise devio.c::usbdev_read

2006-03-20 Thread Greg Kroah-Hartman
this is a small optimisation. It is ridiculous to do a kmalloc for 18 bytes. This puts it onto the stack. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/devio.c | 21 - 1 files changed, 8 insertio

[linux-usb-devel] [PATCH 54/81] USB: kzalloc() conversion in drivers/usb/gadget

2006-03-20 Thread Greg Kroah-Hartman
this patch converts drivers/usb to kzalloc usage. Compile tested with allyes config. I think there was a bug in drivers/usb/gadget/inode.c because it used sizeof(*data) for the kmalloc() and sizeof(data) for the memset(), since sizeof(data) just returns the size for a pointer. Signed-off-by: Eric

[linux-usb-devel] [PATCH 22/81] USB: EHCI and NF2 quirk

2006-03-20 Thread Greg Kroah-Hartman
This teaches the EHCI driver about a quirk seen in older NForce2 chips, adding a workaround to ignore selective suspend requests. Bus-wide (so-called "global") suspend still works, as does USB wakeup of a root hub that's globally suspended. There's still a hole in this support though. Strictly s

[linux-usb-devel] [PATCH 35/81] USB: remove usbcore-specific wakeup flags

2006-03-20 Thread Greg Kroah-Hartman
This makes usbcore use the driver model wakeup flags for host controllers and for their root hubs. Since previous patches have removed all users of the HCD flags they replace, this converts the last users of those flags. Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-

[linux-usb-devel] [PATCH 23/81] USB: EHCI full speed ISO bugfixes

2006-03-20 Thread Greg Kroah-Hartman
This patch replaces the split ISO raw_mask calculation code in the iso_stream_init() function that computed incorrect numbers of high speed transactions for both input and output transfers. In the output case, it added a superfluous start-split transaction for all maxmimum packet sizes that are a

[linux-usb-devel] [PATCH 51/81] USB: ZC0301 driver updates

2006-03-20 Thread Greg Kroah-Hartman
"Cosmetic" driver updates for the ZC0301 driver: - Fix stream_interrupt() (and work around a possible kernel bug); - Fix vidioc_enum_input() and split vidioc_gs_input() in two parts; - Use wait_event_interruptible_timeout() instead of wait_event_interruptible() when waiting for video frames; -

[linux-usb-devel] [PATCH 31/81] USB: minor gadget/rndis tweak

2006-03-20 Thread Greg Kroah-Hartman
Resove a minor FIXME: don't change MTU while RNDIS link is active, the other end won't expect such things... Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/gadget/ether.c |3 ++- 1 files changed, 2 insertions(+), 1 de

[linux-usb-devel] [PATCH 34/81] USB: ohci uses driver model wakeup flags

2006-03-20 Thread Greg Kroah-Hartman
This makes OHCI use the driver model wakeup control bits for its root hub (e.g. disable on amd756, because of chip erratum) and for the controller itself. It no longer uses the hcd glue bits with those roles, and depends on the previous patch making the root hub available earlier. Note that on mo

[linux-usb-devel] [PATCH 25/81] USB: EHCI and Freescale 83xx quirk

2006-03-20 Thread Greg Kroah-Hartman
On the MPC834x processors the multiport host (MPH) EHCI controller has an erratum in which the port number in the queue head expects to be 0..N-1 instead of 1..N. If we are on one of these chips we subtract one from the port number before putting it into the queue head. Signed-off-by: Kumar Gala

[linux-usb-devel] [PATCH 04/81] USB: mdc800.c to kzalloc

2006-03-20 Thread Greg Kroah-Hartman
one more conversion to kzalloc. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/image/mdc800.c |4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) 9ff87d7326d9e4666721070040474f60a68ab467 diff --git a/drivers/usb/

[linux-usb-devel] [PATCH 41/81] UHCI: use dummy TDs

2006-03-20 Thread Greg Kroah-Hartman
This patch (as624) fixes a hardware race in uhci-hcd by adding a dummy TD to the end of each endpoint's queue. Without the dummy the host controller will effectively turn off the queue when it reaches the end, which happens asynchronously. This leads to a potential problem when new transfer descr

[linux-usb-devel] [PATCH 57/81] USB: ZC0301 driver updates

2006-03-20 Thread Greg Kroah-Hartman
ZC0301 driver updates. Changes: + new, - removed, * cleanup, @ bugfix @ Need usb_get|put_dev() when disconnecting, if the device is open * Cleanups and updates in the documentation + Use per-device sensor structures + Add frame_timeout module parameter Signed-off-by: Luca Risolia <[EMAIL PROTECT

[linux-usb-devel] [PATCH 59/81] USB: PL2303 and TIOCMIWAIT

2006-03-20 Thread Greg Kroah-Hartman
A while ago, I posted about TIOCMIWAIT not working with the PL2303 USB-serial adapter. After a brief exchange with Greg, I tracked this to a missing wake-up in the USB interrupt procedures. I got our systems staff to install the enclosed very simple patch to our 2.6.12 kernels, and it all works fi

[linux-usb-devel] [PATCH 27/81] USB: OHCI for AU1200

2006-03-20 Thread Greg Kroah-Hartman
ALCHEMY: Add OHCI support for AU1200 Updated by moving the OHCI support out of the EHCI patch. Signed-off-by: Jordan Crouse <[EMAIL PROTECTED]> Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- arch/mips/au1000/common/platform.c |2

[linux-usb-devel] [PATCH 13/81] USB: kzalloc in PhidgetInterfaceKit

2006-03-20 Thread Greg Kroah-Hartman
another for kzalloc. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/phidgetkit.c |9 +++-- 1 files changed, 3 insertions(+), 6 deletions(-) 17590840dc3c14cb059817466884ac9bd97c4a35 diff --git a/drivers/usb/mis

[linux-usb-devel] [PATCH 15/81] USB: kzalloc in usbled

2006-03-20 Thread Greg Kroah-Hartman
another one for kzalloc. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/usbled.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) 06d694748b5173d972d7e4169173adad62ee67c0 diff --git a/drivers/usb/misc/usbl

[linux-usb-devel] [PATCH 44/81] UHCI: Don't log short transfers

2006-03-20 Thread Greg Kroah-Hartman
Even when the URB_SHORT_NOT_OK flag is set, a short transfer shouldn't generate a debugging log message. Especially not one with the confusing claim that the transfer "failed with status 0". This patch (as627) fixes that behavior in uhci-hcd. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-

[linux-usb-devel] [PATCH 42/81] UHCI: remove main list of URBs

2006-03-20 Thread Greg Kroah-Hartman
As part of reorienting uhci-hcd away from URBs and toward endpoint queues, this patch (as625) eliminates the driver's main list of URBs. The list wsa used mainly in checking for URB completions; now the driver goes through the list of active endpoints and checks the members of the queues. As a sid

[linux-usb-devel] [PATCH 28/81] USB: EHCI unlink tweaks

2006-03-20 Thread Greg Kroah-Hartman
This patch modifies the behavior of the EHCI driver in an unlink path that seems to be causing various issues on some systems. Those problems have included issues with disconnection, driver unbinding, and similar cases where urb unlinking would just not work right. This patch should help avoid th

[linux-usb-devel] [PATCH 45/81] uhci-hcd: fix mistaken usage of list_prepare_entry

2006-03-20 Thread Greg Kroah-Hartman
A recent update to the uhci-hcd driver invoked the list_prepare_entry macro incorrectly. This patch (as646) corrects it. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/host/uhci-q.c |2 +- 1 files changed, 1 insertions(+)

[linux-usb-devel] [PATCH 20/81] USB: remove LINUX_VERSION_CODE macro usage

2006-03-20 Thread Greg Kroah-Hartman
This patch removes unnecessary LINUX_VERSION_CODE macro usage from drivers/usb/. Signed-off-by: Pekka Enberg <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/media/pwc/pwc-ctrl.c|1 - drivers/usb/media/pwc/pwc-if.c |6 +- drivers/usb

[linux-usb-devel] [PATCH 10/81] USB: kzalloc in cytherm

2006-03-20 Thread Greg Kroah-Hartman
another one for kzalloc. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/cytherm.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) 5f7481337cc803926b5c43aac1f683ff91ed diff --git a/drivers/usb/misc/cyt

[linux-usb-devel] [PATCH 49/81] USB: ethernet gadget driver section fixups

2006-03-20 Thread Greg Kroah-Hartman
This patch allows you to set the iSerialNumber field in the usb_device_descriptor structure for your USB ethernet gadget. It also changes the parameters shown through sysfs so they're no longer declared as __initdata, preventing potential oopses. That's most useful for the Ethernet addresses, whi

[linux-usb-devel] [PATCH 29/81] USB: add support for OCHI on AT91rm9200

2006-03-20 Thread Greg Kroah-Hartman
This adds support for OHCI on AT91rm9200 based boards. Possibly of interest here is the way this uses to gate clocks on/off during system pm state transitions. That's typical for non-PCI systems. Some can go further; Mini-A host side connectors enable ID-pin sensing. From: Andrew Victor <[EMAI

[linux-usb-devel] [PATCH 50/81] USB: Fix warning in drivers/usb/media/ov511.c

2006-03-20 Thread Greg Kroah-Hartman
Gcc 4.0.2 had the warning: drivers/usb/media/ov511.c: In function 'show_exposure': drivers/usb/media/ov511.c:5642: warning: 'exp' may be used uninitialized in this function Here is the patch to fix that warning. Signed-off-by: Matthew Martin <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman

[linux-usb-devel] [PATCH 64/81] USB: ub 03 drop stall clearing

2006-03-20 Thread Greg Kroah-Hartman
Matt mentioned that a very old ZIP-100 actually does need this, but I am yet to see anyone who actually has one still working and uses ub with it. He/she must be a retrocomputing geek, who can easily bias it to usb-storage with libusual, if needed. Meanwhile, common folks have trouble with poorly d

[linux-usb-devel] [PATCH 38/81] USB: Zero driver: Removed duplicated code

2006-03-20 Thread Greg Kroah-Hartman
Signed-off-by: Franck Bui-Huu <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/gadget/zero.c |6 -- 1 files changed, 0 insertions(+), 6 deletions(-) 0eb8c7cafe8d4fa9a90ea8680200e3ae3d57b1bd diff --git a/drivers/usb/gadget/zero.c b/drivers/usb/gad

[linux-usb-devel] [PATCH 39/81] USB: Fix masking bug initialization of Freescale EHCI controller

2006-03-20 Thread Greg Kroah-Hartman
In setting up the of PHY we masked off too many bits, instead just initialize PORTSC for the type of PHY we are using. Signed-off-by: Kumar Gala <[EMAIL PROTECTED]> Acked-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/host/ehci-fsl.c

[linux-usb-devel] [PATCH 52/81] USB: CREDITS: Add credits about the ZC0301 and ET61X[12]51 USB drivers

2006-03-20 Thread Greg Kroah-Hartman
This patch adds credits about the ZC0301 and ET61X[12]51 USB drivers which have been included in the mainline kernel recently. Signed-off-by: Luca Risolia <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- CREDITS |2 ++ 1 files changed, 2 insertions(+), 0 deletio

[linux-usb-devel] [PATCH 19/81] USB: drivers/usb/core/message.c: make usb_get_string() static

2006-03-20 Thread Greg Kroah-Hartman
After the removal of usb-midi.c, there's no longer any external user of usb_get_string(). Signed-off-by: Adrian Bunk <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/message.c |5 ++--- include/linux/usb.h|2 -- 2 files changed, 2 in

[linux-usb-devel] [PATCH 58/81] USB: cypress_m8: add support for the Nokia ca42-version 2 cable

2006-03-20 Thread Greg Kroah-Hartman
This patch adds support for the Nokia ca42 version 2 cable to the cypress_m8 driver. The device was tested by others with this patch and found to be compatible with the cypress_m8 driver. A special note should be taken that this cable seems to vary in the type of chipset used. This patch support

[linux-usb-devel] [PATCH 12/81] USB: kzalloc in ldusb

2006-03-20 Thread Greg Kroah-Hartman
another one for kzalloc Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/ldusb.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) 1144cf7af2ff8e6816e360d03f867439f7efde40 diff --git a/drivers/usb/misc/ldusb.

[linux-usb-devel] [PATCH 71/81] USB: storage: new unusual_devs.h entry: Mitsumi 7in1 Card Reader

2006-03-20 Thread Greg Kroah-Hartman
This patch (as661) adds an unusual_devs entry for the Mitsumi 7in1 Card Reader. From: Rodolfo Quesada <[EMAIL PROTECTED]> Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/storage/unusual_devs.h |7 +++ 1 files changed, 7

[linux-usb-devel] [PATCH 43/81] UHCI: improve debugging code

2006-03-20 Thread Greg Kroah-Hartman
This patch (as626) makes some improvements to the debugging code in uhci-hcd. The main change is that now the code won't get compiled if CONFIG_USB_DEBUG isn't set. But there are other changes too, like adding a missing .owner field and printing a debugging dump if the controller dies. Signed-of

[linux-usb-devel] [PATCH 65/81] USB: usbcore: Don't assume a USB configuration includes any interfaces

2006-03-20 Thread Greg Kroah-Hartman
In a couple of places, usbcore assumes that a USB device configuration will have a nonzero number of interfaces. Having no interfaces may or may not be allowed by the USB spec; in any event we shouldn't die if we encounter such a thing. This patch (as662) removes the assumptions. Signed-off-by:

[linux-usb-devel] [PATCH 63/81] USB: ub 02 remove diag

2006-03-20 Thread Greg Kroah-Hartman
Remove the "diag" file from the sysfs. The usbmon is good enough these days so I do not need this feature anymore. Also, sysfs is a pain. Al Viro caught a race in this, which I thought too bothersome to fix. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL

[linux-usb-devel] [PATCH 37/81] USB: Pegasus: Linksys USBVPN1 support + cleanup

2006-03-20 Thread Greg Kroah-Hartman
This patch adds a second linksys vendor-id (077b) and the product id of the pegasus based adapter USBVPN1 http://www1.linksys.com/Products/product.asp?prid=3D543&scid=3D30 Furthermore it replaces all LINKSYS_GPIO_RESET with DEFAULT_GPIO_RESET as both are declared like this: #defineDEFAULT

[linux-usb-devel] [PATCH 76/81] USB: cp2101: add new device IDs

2006-03-20 Thread Greg Kroah-Hartman
This patch adds a new device ID to the cp2101 driver Signed-off-by: Craig Shelley <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/cp2101.c |3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) 59224f5352542b968c41200954e56c26c4f0a075 diff

[linux-usb-devel] [PATCH 77/81] USB: ftdi_sio: add Icom ID1 USB product and vendor ids

2006-03-20 Thread Greg Kroah-Hartman
The Icom ID-1 1.2 GHz band digital transceiver is a new radio that has a USB interface. With this patch, the ftdi_sio driver will report "Detected FT8U232AM" and provide a serial device interface. Signed-off-by: "A. Maitland Bottoms" <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PR

[linux-usb-devel] [PATCH 80/81] USB serial: add navman driver

2006-03-20 Thread Greg Kroah-Hartman
Thanks to Warren Lewis <[EMAIL PROTECTED]> for the information needed to write the driver and for testing it out. Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/serial/Kconfig |7 ++ drivers/usb/serial/Makefile |1 drivers/usb/serial/navman.c | 157

[linux-usb-devel] [PATCH 79/81] USB: Fix irda-usb use after use

2006-03-20 Thread Greg Kroah-Hartman
Don't read from free'd memory after calling netif_rx(). docopy is used as a boolean (0 and 1) so unsigned int is sufficient. Coverity bug #928 Signed-off-by: Eugene Teo <[EMAIL PROTECTED]> Cc: "David S. Miller" <[EMAIL PROTECTED]> Signed-off-by: Andrew Morton <[EMAIL PROTECTED]> Signed-off-by: G

[linux-usb-devel] [PATCH 73/81] USB: ZC0301 driver bugfix

2006-03-20 Thread Greg Kroah-Hartman
ZC0301 driver bugfix. Use correct PID/VID USB entries. Signed-off-by: Luca Risolia <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- Documentation/usb/zc0301.txt | 12 ++-- drivers/usb/media/zc0301.h|5 + drivers/usb/media/zc0301_core.

[linux-usb-devel] [PATCH 11/81] USB: kzalloc in idmouse

2006-03-20 Thread Greg Kroah-Hartman
another for kzalloc. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/misc/idmouse.c |3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) 092e462a537ba60e5f78ff208c8a95e6fd071fa5 diff --git a/drivers/usb/misc/idmouse

[linux-usb-devel] [GIT PATCH] USB fixes and patches for 2.6.16

2006-03-20 Thread Greg KH
Here are some USB changes for 2.6.16. They consist of the following changes: - new drivers added - semaphore to mutex changes - uhci driver rework (has had a lot of testing in -mm) - kzalloc conversion - gadget driver updates - lots of other driver

[linux-usb-devel] Re: Fw: [Bugme-new] [Bug 6255] New: Support for Shuttle PN31 remote control

2006-03-20 Thread Andrew Morton
Bernhard Rosenkraenzer <[EMAIL PROTECTED]> wrote: > > On Monday, 20. March 2006 23:17, Andrew Morton wrote: > > http://bugzilla.kernel.org/show_bug.cgi?id=6255 > > > >Summary: Support for Shuttle PN31 remote control > > I've just attached a newer version of the patch that applies to >

[linux-usb-devel] Re: Fw: [Bugme-new] [Bug 6255] New: Support for Shuttle PN31 remote control

2006-03-20 Thread Bernhard Rosenkraenzer
On Monday, 20. March 2006 23:17, Andrew Morton wrote: > http://bugzilla.kernel.org/show_bug.cgi?id=6255 > >Summary: Support for Shuttle PN31 remote control I've just attached a newer version of the patch that applies to 2.6.16-rc6-mm1 and 2.6.16-rc6-mm2 to the bug report. Please look

[linux-usb-devel] Fw: [Bugme-new] [Bug 6255] New: Support for Shuttle PN31 remote control

2006-03-20 Thread Andrew Morton
Begin forwarded message: Date: Mon, 20 Mar 2006 13:06:49 -0800 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [Bugme-new] [Bug 6255] New: Support for Shuttle PN31 remote control http://bugzilla.kernel.org/show_bug.cgi?id=6255 Summary: Support for Shuttle PN31 remote control

[linux-usb-devel] Re: linux usb-mass storage driver

2006-03-20 Thread Greg KH
On Mon, Mar 20, 2006 at 01:08:22PM -0800, Pete Zaitcev wrote: > On Sun, 19 Mar 2006 15:51:57 -0800, Greg KH <[EMAIL PROTECTED]> wrote: > > And this is not a "newbie" exercise at all, you have to deal with USB, > > SCSI, block layer stuff, and lots of other things. It's one of the most > > complex

[linux-usb-devel] Re: [PATCH] usbhid: interpret error codes correctly

2006-03-20 Thread Alan Stern
On Mon, 20 Mar 2006, Willi Mann wrote: > Currently, I can only reproduce the bug if my mouse and my keyboard are > plugged differently as to the last "boot". I'm not sure if that's always > the case. However, the log shows the -71 error also when the keyboard > worked (maybe it's from the mouse

[linux-usb-devel] Re: linux usb-mass storage driver

2006-03-20 Thread Pete Zaitcev
On Sun, 19 Mar 2006 15:51:57 -0800, Greg KH <[EMAIL PROTECTED]> wrote: > On Sun, Mar 19, 2006 at 09:51:04AM +0100, patrick wrote: > > i am a kernel newbie. To improve my skill, i have > > decided to develop a linux driver for my USB Mass > > Storage device. My kernel version is 2.4.20-8. > > My qu

Re: [linux-usb-devel] Linux Box as external USB-Device

2006-03-20 Thread Alan Stern
On Mon, 20 Mar 2006 [EMAIL PROTECTED] wrote: > Hi, > > i've done some Google-search yet i haven't found something about this > issue. Probably the following has to be implemented in the kernel: > Wouldn't it be possible to use a linux box as an external usb device for > another computer? One wo

Re: [linux-usb-devel] Linux Box as external USB-Device

2006-03-20 Thread Greg KH
On Mon, Mar 20, 2006 at 06:05:24PM +0100, [EMAIL PROTECTED] wrote: > Hi, > > i've done some Google-search yet i haven't found something about this > issue. Probably the following has to be implemented in the kernel: > Wouldn't it be possible to use a linux box as an external usb device for > ano

Re: [linux-usb-devel] ttyUSB0 not opening.

2006-03-20 Thread Greg KH
On Mon, Mar 20, 2006 at 11:55:49AM +0530, rashmi s wrote: > I am trying to use Nokia 1600 as SMSC by connecting it to USB port > using data cable. > > > when I give dmesg | grep usb coomand,following is the output. > > usb.c: registered new driver usbdevfs > usb.c: registered new driver hub > us

Re: [linux-usb-devel] Hardware for gadget mode

2006-03-20 Thread Alan Stern
On Mon, 20 Mar 2006, Florian Weimer wrote: > Hi, > > I'm looking for hardware which supports USB gadget mode, preferably with > high density (that is, it should be possible to add a dozen or so USB > device endpoints to a standard PC, which are then attached to different > hosts). All I could fi

[linux-usb-devel] Linux Box as external USB-Device

2006-03-20 Thread mucsk8er
Hi, i've done some Google-search yet i haven't found something about this issue. Probably the following has to be implemented in the kernel: Wouldn't it be possible to use a linux box as an external usb device for another computer? One would have to modify an existing usb cable in a way, that n

Re: [linux-usb-devel] [UDC] question about endpoints release.

2006-03-20 Thread Alan Stern
On Mon, 20 Mar 2006, Franck Bui-Huu wrote: > Hi Alan > > 2006/3/20, Alan Stern <[EMAIL PROTECTED]>: > > On Mon, 20 Mar 2006, Franck Bui-Huu wrote: > > > > > I'm wondering who is supposed to release/disable the endpoints which > > > have been enabled while the usb driver was running. I took a look

[linux-usb-devel] Hardware for gadget mode

2006-03-20 Thread Florian Weimer
Hi, I'm looking for hardware which supports USB gadget mode, preferably with high density (that is, it should be possible to add a dozen or so USB device endpoints to a standard PC, which are then attached to different hosts). All I could find were evaluation boards (not a problem per se) with un

Re: [linux-usb-devel] [UDC] question about endpoints release.

2006-03-20 Thread Franck Bui-Huu
Hi Alan 2006/3/20, Alan Stern <[EMAIL PROTECTED]>: > On Mon, 20 Mar 2006, Franck Bui-Huu wrote: > > > I'm wondering who is supposed to release/disable the endpoints which > > have been enabled while the usb driver was running. I took a look to 2 > > different drivers, zero and file_storage drivers

[linux-usb-devel] Re: [PATCH] usbhid: interpret error codes correctly

2006-03-20 Thread Willi Mann
Alan Stern schrieb: On Mon, 20 Mar 2006, Willi Mann wrote: http://wserver.wm1.at/~willi/kernel/kern.log.gz I tried to retrieve this file, but your server says I don't have permission. Sorry, works now. Willi --- This SF.Net email is

  1   2   >