[linux-usb-devel] [rfc]autosuspend in hid

2006-10-11 Thread Oliver Neukum
Hi, I can't boot 2.6.19-rc1, so here's an incomplete version of autosuspend for hid to invite comments on the basic approach. Regards Oliver --- linux-2.6.19-rc1/drivers/usb/input/hid.h2006-10-05 04:57:05.0 +0200 +++ gregtree/drivers/usb/input/hid.h2006-1

Re: [linux-usb-devel] [PATCH] usb/hid: The HID Simple Driver Interface 0.4.0 documentation

2006-10-11 Thread Liyu
Signed-off-by: Liyu <[EMAIL PROTECTED]> --- linux-2.6.18/Documentation/input/no-such.txt 1970-01-01 08:00:00.0 +0800 +++ linux-2.6.18/Documentation/input/simple-hid.txt 2006-10-12 09:34:42.0 +0800 @@ -0,0 +1,251 @@ +== +HID device simple driver inter

Re: [linux-usb-devel] About USB resources...

2006-10-11 Thread Livio Tenze
Hi Rao, I already read the linux device driver book, but that book treats the problem from a HOST point of view. I would need to write a driver from a usb DEVICE point of view by exploiting the usb-otg properties of my evaluation board. Regards! Livius Rao, Shalini Gangadhara wrote: > Hi Livio,

Re: [linux-usb-devel] About USB resources...

2006-10-11 Thread Rao, Shalini Gangadhara
Hi Livio, To start with USB device Driver on Linux platform, to thru 13th Chapter USB device drivers from Orilley's Linux Device Driver Book and this is available in internet. That would help you to start with USB driver development and also if you have Linux Kernel source in your system, go thru

[linux-usb-devel] [PATCH] usb/hid:Microsoft Natural Ergonomic Keyboard 4000 Driver 0.4.0

2006-10-11 Thread Li Yu
Changelogs: 1. More better implementation of ascii keycode feature. This is one patch of The HID Simple Driver patches, for convenience, you can find them all in that mail: [PATCH] usb/hid: The HID Simple Driver Patches 0.4.0 (all-in-one) You also can use this under the early version o

[linux-usb-devel] [PATCH] usb/hid: The HID Simple Driver Interface 0.4.0 (core)

2006-10-11 Thread Li Yu
Changelogs: 1. Two bugfixs in connect/clear processing. so the double reference counting problem is gone. 2. A lot of code refactoring, e.g. move push/pop operations into the connect function. 3. The printk() invokes clean from Vincent Legoll, thanks him/her. 4. O

[linux-usb-devel] About USB resources...

2006-10-11 Thread Livio Tenze
Dear Greg, my name is Livio Tenze and I am working on an arm9 platform (freescale mx21). I would like to use the usb port of the mx21 like a serial port. I need to write an USB device driver (not a host) but it is really difficult to found any resource about this topic. I use the montavista linux

[linux-usb-devel] [patch 2/2] usb hub: fix root hub code so it takes more than 15 devices per root hub

2006-10-11 Thread inaky
Wireless USB Host Controllers accept a large number of devices per host, which shows up as a large number of ports in its root hub. When the number of ports in a hub device goes over 16, the activation of the hub fails with the cryptic message in klogd. hub 2-0:1.0: activate --> -22 Following th

[linux-usb-devel] [patch 1/2] usb/hub: allow hubs up to 31 children

2006-10-11 Thread inaky
Current Wireless USB host hardware (Intel i1480 for example) allows up to 22 devices to connect, thus bringing up the max number of children in the WUSB Host Controller to 22 'fake' ports. Upcoming hardware might raise that limit. Makes almost no difference to go to 31, as the bit arrays are byte-

[linux-usb-devel] [patch 0/2] More USB core patches to allow WUSB devices to connect

2006-10-11 Thread inaky
Hi All gregkh: this is an update to the series I sent yesterday, with Alan's suggestions included. Only the second patch changes. Couple more of patches that look into making the USB stack a tad more flexible for allowing WUSB devices to plug in. One is increasing the max amount of childr

[linux-usb-devel] 《客 服 团 队》<编 码>

2006-10-11 Thread ・ Re : ACRES・
※※※ 客-户-服-务-创-新-与-服-务-团-队-管-理 ※※※ 主 办 单 位: 【财・经・信・息・管・理・机・构】 时 间: 20 06年10月20-21 深 圳 新 大 洲 酒 店 20 06年11月10-11 北 京 新 兴 宾 馆 20 06年11月17-18 上 海 金 水 湾 酒 店 电话:(+86

[linux-usb-devel] [PATCH] usbtouchscreen: fix data reading for ITM touchscreens

2006-10-11 Thread Daniel Ritz
[PATCH] usbtouchscreen: fix data reading for ITM touchscreens ITM devices seem to report only garbage when not touched. update usbtouchscreen to do data reading like itmtouch. also fix wrong mask on pressure bits. Signed-off-by: Daniel Ritz <[EMAIL PROTECTED]> diff --git a/drivers/usb/input/usbt

Re: [linux-usb-devel] [patch] Input: HID - add a quirk for the Logitech USB Receiver

2006-10-11 Thread Anssi Hannula
Anssi Hannula wrote: > Logitech USB Receiver (046d:c101) has two interfaces. The first one > contains fields from HID_UP_KEYBOARD and HID_UP_LED, and the other one > contains fields from HID_UP_CONSUMER and HID_UP_LOGIVENDOR. This device > is used with multiple wireless Logitech products, including

Re: [linux-usb-devel] [patch 2/2] usb hub: fix root hub code so it takes more than 15 devices per root hub

2006-10-11 Thread Iñaky Pérez-González
> > Index: linux.cg/drivers/usb/core/hcd.c > > === > > --- linux.cg.orig/drivers/usb/core/hcd.c2006-10-11 11:34:08.0 > > -0700 +++ linux.cg/drivers/usb/core/hcd.c 2006-10-11 11:34:24.0 > > -0700 @@ -256,7 +256,9

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Pete Zaitcev
On Wed, 11 Oct 2006 16:51:09 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> wrote: > Would relayfs be a better choice than debugfs for exporting potentially > large quantities of binary data? I'm sick of mounting them, so for the binary API I was going to create a bunch of character devices with a d

Re: [linux-usb-devel] [patch 2/2] usb hub: fix root hub code so it takes more than 15 devices per root hub

2006-10-11 Thread Alan Stern
On Wed, 11 Oct 2006, Iñaky Pérez-González wrote: > I am now testing this (removing the previous patch); once I am done testing, > if I can't find anything wrong and you agree, I'll submit to gregkh. > > Index: linux.cg/drivers/usb/core/hub.c > =

Re: [linux-usb-devel] Fw: USB resets with Nokia 6131 in Data Storage mode

2006-10-11 Thread Alan Stern
On Wed, 11 Oct 2006, Alex Corcoles wrote: > Hi, > > Sorry, my mails to the list are rejected because my domain has no > postmaster account, it seems, so I'm afraid this will reach just you. > > Alan Stern wrote: > > On Wed, 11 Oct 2006, Alex Corcoles wrote: > > > > > >> Hi, > >> > >> Concern

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Greg KH
On Wed, Oct 11, 2006 at 04:51:09PM -0400, Alan Stern wrote: > On Wed, 11 Oct 2006, Pete Zaitcev wrote: > > > On Wed, 11 Oct 2006 19:44:43 +, Pavel Machek <[EMAIL PROTECTED]> wrote: > > > > > Does it mean text interface is now deprecated? Or perhaps ioctl should > > > be added to text interfac

Re: [linux-usb-devel] [patch 2/2] usb hub: fix root hub code so it takes more than 15 devices per root hub

2006-10-11 Thread Iñaky Pérez-González
On Wednesday 11 October 2006 13:55, Alan Stern wrote: > > I am guessing you refer to changing the value in the static array, right? > > Yes, that sounds good. Would you mind adding the "maxpacket" comment as > well? I am now testing this (removing the previous patch); once I am done testing, if

Re: [linux-usb-devel] [patch 2/2] usb hub: fix root hub code so it takes more than 15 devices per root hub

2006-10-11 Thread Alan Stern
On Wed, 11 Oct 2006, Iñaky Pérez-González wrote: > On Wednesday 11 October 2006 07:22, Alan Stern wrote: > > On Mon, 9 Oct 2006, Inaky Perez-Gonzalez wrote: > > > > > > > pseudo allocates buffer 'maxp' bytes in size using usb_maxpacket() > > > [?? which gets the max packet size from the

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Alan Stern
On Wed, 11 Oct 2006, Pete Zaitcev wrote: > On Wed, 11 Oct 2006 19:44:43 +, Pavel Machek <[EMAIL PROTECTED]> wrote: > > > Does it mean text interface is now deprecated? Or perhaps ioctl should > > be added to text interface too? Or maybe we do not need binary > > interface if we allow resizing

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Pete Zaitcev
On Wed, 11 Oct 2006 19:44:43 +, Pavel Machek <[EMAIL PROTECTED]> wrote: > Does it mean text interface is now deprecated? Or perhaps ioctl should > be added to text interface too? Or maybe we do not need binary > interface if we allow resizing on text interface? I haven't reviewed Paolo's patc

Re: [linux-usb-devel] [PATCH] usbcore: add call to cleanup routine

2006-10-11 Thread Greg KH
On Wed, Oct 11, 2006 at 04:31:53PM -0400, Alan Stern wrote: > This patch (as801) adds a missing cleanup call to usbcore as well as > the missing function declarations. > > Signed-off-by: Alan Stern <[EMAIL PROTECTED]> > > --- > > Greg, you should try doing "rmmod usbcore" once in a while. :-)

[linux-usb-devel] [PATCH] usbcore: add call to cleanup routine

2006-10-11 Thread Alan Stern
This patch (as801) adds a missing cleanup call to usbcore as well as the missing function declarations. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> --- Greg, you should try doing "rmmod usbcore" once in a while. :-) And you should check the dmesg log for system boot-up. Registering the "us

[linux-usb-devel] [PATCH] EHCI: fix memory pool name allocation

2006-10-11 Thread Alan Stern
This patch (as802) changes the poolname allocation for the shadow budget in ehci-mem.c. The name needs to be allocated dynamically, not on the stack, because the memory management system continues to use it after registration. Also included are a couple of minor whitespace fixups (tabs instead of

Re: [linux-usb-devel] Anybody trouble booting 2.6.19-rc1

2006-10-11 Thread Duncan Sands
> does anybody have trouble with 2.6.19-rc1? Not here. Ciao, Duncan. - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Pavel Machek
Hi! > From: Paolo Abeni <[EMAIL PROTECTED]> > > A binary interface is added to usbmon. For each USB bus present on the host > system a new file is added to the debugfs directory, in the form "usb%db". > > USB records are stored in a liked list, alike current text interface > implementation, so

Re: [linux-usb-devel] [patch 2/2] usb hub: fix root hub code so it takes more than 15 devices per root hub

2006-10-11 Thread Iñaky Pérez-González
On Wednesday 11 October 2006 07:22, Alan Stern wrote: > On Mon, 9 Oct 2006, Inaky Perez-Gonzalez wrote: > > > > pseudo allocates buffer 'maxp' bytes in size using usb_maxpacket() > > [?? which gets the max packet size from the interrupt > > endpoint]. That's maybe not as proper. Ac

[linux-usb-devel] [PATCH 1/1] UEAGLE : fix ueagle-atm Oops on 2.6.19-rc1 and 2.6.19-rc1-mm

2006-10-11 Thread matthieu castet
Hi, this patch fix : Subject: ueagle-atm Oops References : http://lkml.org/lkml/2006/10/6/390 Submitter : Ernst Herzberg <[EMAIL PROTECTED]> Caused-By : Greg Kroah-Hartman <[EMAIL PROTECTED]> commit e7ccdfec087f02930c5cdc81143d4a045ae8d361 Handled-By : Matthieu Castet <[EMAIL

[linux-usb-devel] Majordomo results: Re:

2006-10-11 Thread Majordomo
-- This is a multi-part message in MIME format. Command 'this' not recognized. --=_NextPart_3.81209075450897E-02 Command '--=_nextpart_3.81209075450897e-02' not recognized. Content-Type: text/html; format=flowed Command 'content-type:' not recognized. >>

[linux-usb-devel] Anybody trouble booting 2.6.19-rc1

2006-10-11 Thread Oliver Neukum
Hi, does anybody have trouble with 2.6.19-rc1? Regards Oliver - Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make

[linux-usb-devel] Majordomo results: Word file

2006-10-11 Thread Majordomo
-- This is a multi-part message in MIME format. Command 'this' not recognized. --=_NextPart_5.67385077476502E-02 Command '--=_nextpart_5.67385077476502e-02' not recognized. Content-Type: text/plain; format=flowed Command 'content-type:' not recognized. >

[linux-usb-devel] Majordomo results: Fw:

2006-10-11 Thread Majordomo
-- This is a multi-part message in MIME format. Command 'this' not recognized. --=_NextPart_3.00909876823425E-02 Command '--=_nextpart_3.00909876823425e-02' not recognized. Content-Type: text/html; format=flowed Command 'content-type:' not recognized. >>

Re: [linux-usb-devel] 2.6.19-rc1: known regressions (v3)

2006-10-11 Thread Paul Mackerras
Adrian Bunk writes: > Subject: sleep/wakeup on powerbooks apparently busted > References : http://lkml.org/lkml/2006/10/5/13 > Submitter : Benjamin Herrenschmidt <[EMAIL PROTECTED]> > Handled-By : Benjamin Herrenschmidt <[EMAIL PROTECTED]> > Status : Benjamin will investigate Should be f

Re: [linux-usb-devel] [PATCH 15/15] ehci-hcd: full-featured EHCI budgeter/scheduler

2006-10-11 Thread Christopher \"Monty\" Montgomery
On 10/11/06, Clemens Ladisch <[EMAIL PROTECTED]> wrote: > If you don't want to 'throw away' the samples that should have been > played during the underrun but instead want to play them (and all > following samples) later, call snd_pcm_forward() to skip over some part > of the buffer. OK, I had ass

Re: [linux-usb-devel] Fw: USB resets with Nokia 6131 in Data Storage mode

2006-10-11 Thread Alan Stern
On Wed, 11 Oct 2006, Alex Corcoles wrote: > Hi, > > Concerning the setting max_sectors to 64 on a Nokia 6131, I have a Nokia > 6234 (which is a rebranded 6233) and I have the same problem and the > same solution, so maybe the patch could be extended to include this model? The patch has already

Re: [linux-usb-devel] [patch 2/2] usb hub: fix root hub code so it takes more than 15 devices per root hub

2006-10-11 Thread Alan Stern
On Mon, 9 Oct 2006, Inaky Perez-Gonzalez wrote: > Wireless USB Host Controllers accept a large number of devices per > host, which shows up as a large number of ports in its root hub. > > When the number of ports in a hub device goes over 16, the activation > of the hub fails with the cryptic mes

Re: [linux-usb-devel] [patch 1/2] usb/hub: allow hubs up to 31 children

2006-10-11 Thread Alan Stern
On Mon, 9 Oct 2006, Inaky Perez-Gonzalez wrote: > Current Wireless USB host hardware (Intel i1480 for example) allows up > to 22 devices to connect, thus bringing up the max number of children > in the WUSB Host Controller to 22 'fake' ports. Upcoming hardware > might raise that limit. > > Makes

Re: [linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Alan Stern
On Wed, 11 Oct 2006, Paolo Abeni wrote: > From: Paolo Abeni <[EMAIL PROTECTED]> > > A binary interface is added to usbmon. For each USB bus present on the host > system a new file is added to the debugfs directory, in the form "usb%db". > > USB records are stored in a liked list, alike current

Re: [linux-usb-devel] Problem with USB host on ixp465

2006-10-11 Thread Claudio Scordino
On Wednesday 11 October 2006 14:39, Per Hallsmark wrote: > Hi Claudio, > > Well, I don't think there exist a open driver for ixp465 usb HOST > controller yet. Hi Per. I see, I thought that the Intel Access Library worked also for the USB as well as for the Ethernet but it seems that I was wrong.

Re: [linux-usb-devel] Problem with USB host on ixp465

2006-10-11 Thread Per Hallsmark
Hi Claudio, Well, I don't think there exist a open driver for ixp465 usb HOST controller yet. There is for the usb DEVICE controller. The IAL from Intel has some support for usb DEVICE controller but I believe the linux kernel has it's own pure code for this, not depending on IAL. The pen driv

[linux-usb-devel] Ride this stock rocket camouflage

2006-10-11 Thread budgetary
they finally showed the passion and heart for a battle so often missing in this World Cup campaign. was very much on the body of England's World Cup ambitions.Learn more about exciting career opportunities at the State Department. He looked a spent force for much of his time in Germany,

[linux-usb-devel] Problem with USB host on ixp465

2006-10-11 Thread Claudio Scordino
Hi all, I encountered some problems with the USB host support during the porting of Linux 2.6.17.11 to a Intel IXDP465 architecture (IXP465 processor). I ported and loaded the Intel Access Library (ixp400 and ixp400_eth modules) and loaded the Microcode (cat IxpIxNpeMicrocode.dat > /dev/ixN

[linux-usb-devel] [PATCH] usbmon: add binary interface

2006-10-11 Thread Paolo Abeni
From: Paolo Abeni <[EMAIL PROTECTED]> A binary interface is added to usbmon. For each USB bus present on the host system a new file is added to the debugfs directory, in the form "usb%db". USB records are stored in a liked list, alike current text interface implementation, so most code is share