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

2006-10-12 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

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

2006-10-12 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.h

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

2006-10-12 Thread Duncan Sands
On Wednesday 11 October 2006 22:43, 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

[linux-usb-devel] returning the deviceID using gadgetfs

2006-10-12 Thread zil iram
Hi, I am using OSK and gadgetfs as usb gadget driver. I have successfully tested enumeration, reading, writing in Linux using usb.c as base code. However, I am having trouble with returning the DeviceId of the device. The host that the device is connecting to needs the device ID. I

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

2006-10-12 Thread Pete Zaitcev
On Thu, 12 Oct 2006 10:17:52 +0200, Duncan Sands [EMAIL PROTECTED] wrote: By the way, any reason why CONFIG_USB_MON doesn't select CONFIG_DEBUG_FS? Is usbmon useful without debugfs? It's not now, but it will be once I and Paolo are done here. -- Pete

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

2006-10-12 Thread Christopher \Monty\ Montgomery
On 10/11/06, Alan Stern [EMAIL PROTECTED] wrote: Monty, you might try going through all the code you changed. There are _lots_ of places where you have spaces instead of tabs. you missed the discussion with GregKH about the fact that GMail recently broke and started molesting plaintext

Re: [linux-usb-devel] returning the deviceID using gadgetfs

2006-10-12 Thread Alan Stern
On Thu, 12 Oct 2006, zil iram wrote: Hi, I am using OSK and gadgetfs as usb gadget driver. I have successfully tested enumeration, reading, writing in Linux using usb.c as base code. However, I am having trouble with returning the DeviceId of the device. The host that the device

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

2006-10-12 Thread Greg KH
On Thu, Oct 12, 2006 at 07:58:27AM +0200, Livio Tenze wrote: 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

[linux-usb-devel] Error mouting external usb harddrive

2006-10-12 Thread Magnus Alexandersson
Hi! When I boot my Ubuntu Edgy Eft installation with an external drive attached it comes halfway through the boot process and then the light starts to flash. I get buffer I/O-errors in dmesg. When I detach the drive and reattach it, it seems to work and I can access it. The problem is that I'd

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

2006-10-12 Thread Alan Stern
On Thu, 12 Oct 2006, Oliver Neukum wrote: 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.h 2006-10-05 04:57:05.0

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

2006-10-12 Thread Majordomo
-- This is a multi-part message in MIME format. Command 'this' not recognized. --=_NextPart_2.41934061050415E-03 Command '--=_nextpart_2.41934061050415e-03' not recognized. Content-Type: text/plain; format=flowed Command 'content-type:' not recognized. Please see

[linux-usb-devel] Your Personal Mail.Read And Get Back To Me.

2006-10-12 Thread Mr Mou Xinsheng
Hello, I want to solicit your attention to recieve money on my behalf. The purpose of my contacting you is because you live in western world. When you reply this message,i will send you the full details and more information about myself and the funds. My personal email is :[EMAIL PROTECTED]

[linux-usb-devel] USB performance bug since kernel 2.6.13 (CRITICAL???)

2006-10-12 Thread Open Source
(Resending because [EMAIL PROTECTED] bounced right back to me. Sorry for the multiple messages!) - Forwarded Message From: Open Source [EMAIL PROTECTED] To: linux-kernel@vger.kernel.org; [EMAIL PROTECTED] Sent: Thursday, October 12, 2006 12:21:56 PM Subject: USB performance bug since

Re: [linux-usb-devel] USB performance bug since kernel 2.6.13 (CRITICAL???)

2006-10-12 Thread Lee Revell
On Thu, 2006-10-12 at 12:33 -0700, Open Source wrote: I am using a device that submits URBs asynchronously using the libusb devio infrastructure. In version 2.6.12 I am able to submit and reap URBs for my particular application at a transaction rate of one per millisecond. A transaction

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

2006-10-12 Thread Oliver Neukum
Am Donnerstag, 12. Oktober 2006 19:10 schrieb Alan Stern: On Thu, 12 Oct 2006, Oliver Neukum wrote: 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 ---

Re: [linux-usb-devel] USB performance bug since kernel 2.6.13 (CRITICAL???)

2006-10-12 Thread Open Source
Hi, Thanks for the rapid response! But...I'm a bit confused. Why is there any software OS timer involved at all? Bulk messages should be scheduled by the host controller and for USB 2.0 the microframe period is 125 us. When I submit an URB, it should be sent to the host controller and

Re: [linux-usb-devel] USB performance bug since kernel 2.6.13 (CRITICAL???)

2006-10-12 Thread Lee Revell
On Thu, 2006-10-12 at 13:05 -0700, Open Source wrote: Hi, Thanks for the rapid response! But...I'm a bit confused. Why is there any software OS timer involved at all? Bulk messages should be scheduled by the host controller and for USB 2.0 the microframe period is 125 us. When I

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

2006-10-12 Thread Oliver Neukum
Am Donnerstag, 12. Oktober 2006 19:10 schrieb Alan Stern:  void hid_close(struct hid_device *hid)  { - if (!--hid-open) + if (!--hid-open) {   usb_kill_urb(hid-urbin); + set_bit(HID_IN_IDLE, hid-iofl); + }  } There needs to be a call to

Re: [linux-usb-devel] USB performance bug since kernel 2.6.13 (CRITICAL???)

2006-10-12 Thread Open Source
Yes, I am pretty sure you are right about the timing. But it shouldn't be that way. If it is, then there's a bug. I'm fully willing to accept there is something else I should be doing driver-wise, but it shoudn't require recompiling the stock distribution kernels. Otherwise, Linux is not

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

2006-10-12 Thread Alan Stern
On Thu, 12 Oct 2006, Oliver Neukum wrote: Am Donnerstag, 12. Oktober 2006 19:10 schrieb Alan Stern:  void hid_close(struct hid_device *hid)  { - if (!--hid-open) + if (!--hid-open) {   usb_kill_urb(hid-urbin); + set_bit(HID_IN_IDLE, hid-iofl);

[linux-usb-devel] [PATCH] USB-SERIAL:cp2101 Add new device ID

2006-10-12 Thread Craig Shelley
This patch adds device ID 0xEA61. This is another factory default ID used by SILabs. -- Signed-off-by: Craig Shelley [EMAIL PROTECTED] diff -Nru a/drivers/usb/serial/cp2101.c b/drivers/usb/serial/cp2101.c --- a/drivers/usb/serial/cp2101.c 2006-10-12 21:59:28.0 +0100 +++

Re: [linux-usb-devel] USB performance bug since kernel 2.6.13 (CRITICAL???)

2006-10-12 Thread Lee Revell
On Thu, 2006-10-12 at 13:56 -0700, Open Source wrote: Yes, I am pretty sure you are right about the timing. But it shouldn't be that way. If it is, then there's a bug. I'm fully willing to accept there is something else I should be doing driver-wise, but it shoudn't require recompiling

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

2006-10-12 Thread David Brownell
On Wednesday 11 October 2006 10:41 pm, Livio Tenze wrote: I use the montavista linux kernel 2.4.20 and I read some sources included in this distribution, but it is not clear how I have to write the device driver. I'm fairly sure I've seen mentino of an imx UDC driver for recent

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

2006-10-12 Thread Majordomo
-- This is a multi-part message in MIME format. Command 'this' not recognized. --=_NextPart_0.048709762096405 Command '--=_nextpart_0.048709762096405' not recognized. Content-Type: text/html; format=flowed Command 'content-type:' not recognized.

[linux-usb-devel] USB suspend/resume in linux

2006-10-12 Thread Kaburlasos, Nikos
Does anyone know whether the linux USB drivers support the suspend feature on idle USB ports (i.e. the port has been idle for sometime and so the driver transitions it in to a low-power 'suspend' state) while the system is active and in S0 state? As far as I know, Windows don't support that, I was