[linux-usb-devel] I love you!

2007-08-10 Thread dwb
your big love, ;-) Dangerous Attachment has been Removed. The file story_linux-usb-devel.zip has been removed because of a virus. It was infected with the W32/[EMAIL PROTECTED] virus. File quarantined as: .

Re: [linux-usb-devel] How to write a user-space application for usb_skeleton?

2007-08-10 Thread Phil Dibowitz
Oliver Neukum wrote: Am Donnerstag 02 August 2007 schrieb Thaens Tim: I've compiled the usb_skeleton.c module and loaded this module. I've managed to open a USB-device, but that's it. How can I write a application that uses this module? Can I only use the file-operations like (owner, read,

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

2007-08-10 Thread Sam Liddicott
-Original Message- From: Greg KH [EMAIL PROTECTED] Sent: 10/08/07 04:30 =There's no way we could ever get a list of all good or all bad printers, =so no matter what we do, we'd miss some :( But better to miss suspend on some than miss working altogether on others surely? I never

Re: [linux-usb-devel] [PATCH] USB: make HCDs responsible for managing endpoint queues

2007-08-10 Thread Yoshihiro Shimoda
Hi, Alan Please test the changes to your respective drivers. I don't have the necessary hardware. I applied this patch. I tested USB testing driver and some usb device and I confirmed it is working. Thanks, Yoshihiro Shimoda

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

2007-08-10 Thread Alan Stern
On Fri, 10 Aug 2007, Sam Liddicott wrote: From: Greg KH [EMAIL PROTECTED] Sent: 10/08/07 04:30 =There's no way we could ever get a list of all good or all bad printers, =so no matter what we do, we'd miss some :( But better to miss suspend on some than miss working altogether on others

Re: [linux-usb-devel] Question about hub_thread

2007-08-10 Thread Alan Stern
On Fri, 10 Aug 2007, jidong xiao wrote: Here are the piece of code from 2.6.22.1, 2817 static int hub_thread(void *__unused) 2818 { 2819 do { 2820 hub_events(); 2821 wait_event_interruptible(khubd_wait, 2822

Re: [linux-usb-devel] [PATCH] USB: make HCDs responsible for managing endpoint queues

2007-08-10 Thread Alan Stern
On Fri, 10 Aug 2007, Yoshihiro Shimoda wrote: Hi, Alan Please test the changes to your respective drivers. I don't have the necessary hardware. I applied this patch. I tested USB testing driver and some usb device and I confirmed it is working. Good. Thank you for testing. Alan

Re: [linux-usb-devel] is the hiddev* allocation order guaranteed?

2007-08-10 Thread David Brownell
On Friday 10 August 2007, Folkert van Heusden wrote: My question now is: will each device always have the same node? Will device A always get for example /dev/usb/hiddev0? and C always /dev/usb/hiddev2? Not as a rule, although you might notice they don't differ a lot in some cases. I'd

[linux-usb-devel] patch usb-remove-debug-definition-from-dummy_hcd.patch added to gregkh-2.6 tree

2007-08-10 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: USB: remove DEBUG definition from dummy_hcd to my gregkh-2.6 tree. Its filename is usb-remove-debug-definition-from-dummy_hcd.patch This tree can be found at

[linux-usb-devel] patch usb-don-t-touch-sysfs-stuff-when-altsetting-is-unchanged.patch added to gregkh-2.6 tree

2007-08-10 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: USB: don't touch sysfs stuff when altsetting is unchanged to my gregkh-2.6 tree. Its filename is usb-don-t-touch-sysfs-stuff-when-altsetting-is-unchanged.patch This tree can be found at

Re: [linux-usb-devel] [PATCH 0/9] SisUSB2VGA Cleanups

2007-08-10 Thread Felipe Balbi
Hi, On 8/10/07, Felipe Balbi [EMAIL PROTECTED] wrote: The following patch series implements a series of cleanups in the sisusbvga driver. Still some stuff to do, but at least we can have better readability on the code. If anyone has any comments, please do. TODO: * Remove

[linux-usb-devel] [PATCH 8/9] USB: SisUSB2VGA: Lindent drivers/usb/misc/sisusbvga/sisusb_init.c

2007-08-10 Thread Felipe Balbi
From: Felipe Balbi [EMAIL PROTECTED] Better indentation Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/usb/misc/sisusbvga/sisusb_init.c | 262 +++--- 1 files changed, 133 insertions(+), 129 deletions(-) diff --git a/drivers/usb/misc/sisusbvga/sisusb_init.c

[linux-usb-devel] [PATCH 3/9] USB: SisUSB2VGA: Remove if 0'ed code

2007-08-10 Thread Felipe Balbi
From: Felipe Balbi [EMAIL PROTECTED] Unused code should be removed. We don't need to increase the size of the file with dead code inside if 0 statements. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/usb/misc/sisusbvga/sisusb.c | 57 ---

[linux-usb-devel] [PATCH 4/9] USB: SisUSB2VGA: Mis-spelled word

2007-08-10 Thread Felipe Balbi
From: Felipe Balbi [EMAIL PROTECTED] Trivial fix Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/usb/misc/sisusbvga/sisusb.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/usb/misc/sisusbvga/sisusb.h b/drivers/usb/misc/sisusbvga/sisusb.h index

[linux-usb-devel] [PATCH 2/9] USB: SisUSB2VGA: Convert printk to dev_* macros

2007-08-10 Thread Felipe Balbi
From: Felipe Balbi [EMAIL PROTECTED] This patch convert printk entries to dev_* macros, this provide better debugging and better readability to the code. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/usb/misc/sisusbvga/sisusb.c | 111 +--

[linux-usb-devel] [PATCH 0/9] SisUSB2VGA Cleanups

2007-08-10 Thread Felipe Balbi
The following patch series implements a series of cleanups in the sisusbvga driver. Still some stuff to do, but at least we can have better readability on the code. If anyone has any comments, please do. TODO: * Remove unnecessary cleanups * Lots of ifdefs * Remove 2

Re: [linux-usb-devel] EHCI Regression in 2.6.23-rc2

2007-08-10 Thread Daniel Exner
Jiri Kosina wrote: On Fri, 10 Aug 2007, Daniel Exner wrote: Please CC me, as I'm currently not subscribed to this list, thx. Please also don't forget to CC relevant people/lists when reporting bugs, thanks. Guess its ok, now? Thanks anyway :) After some serious hangs with 2.6.23-rc2 I did

[linux-usb-devel] is the hiddev* allocation order guaranteed?

2007-08-10 Thread Folkert van Heusden
Hi, I have 3 the same devices of the same brand, e.g. their vendor, product and version fields in struct hiddev_devinfo are all the same. Two of them are on the same bus, the third on some other bus. USB PORT 1 USB PORT 2 | | | | device B device C device A

Re: [linux-usb-devel] hiddev

2007-08-10 Thread Jiri Kosina
On Fri, 10 Aug 2007, Folkert van Heusden wrote: HIDIOCGSTRING - struct hiddev_string_descriptor (read/write) Gets a string descriptor from the device. The caller must fill in the index field to indicate which descriptor should be returned. Can you please tell me in what range this index

Re: [linux-usb-devel] EHCI Regression in 2.6.23-rc2

2007-08-10 Thread Jiri Kosina
On Fri, 10 Aug 2007, Daniel Exner wrote: Please CC me, as I'm currently not subscribed to this list, thx. Please also don't forget to CC relevant people/lists when reporting bugs, thanks. After some serious hangs with 2.6.23-rc2 I did some bisects and this was the result:

[linux-usb-devel] [PATCH] USB: SisUSB2VGA: Lindent drivers/usb/misc/sisusbvga/sisusb_struct.h

2007-08-10 Thread Felipe Balbi
From: Felipe Balbi [EMAIL PROTECTED] Better indentation Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/usb/misc/sisusbvga/sisusb_struct.h | 142 +--- 1 files changed, 67 insertions(+), 75 deletions(-) diff --git a/drivers/usb/misc/sisusbvga/sisusb_struct.h

Re: [linux-usb-devel] [PATCH] OHCI suspend/resume issue.

2007-08-10 Thread Zephaniah E. Hull
On Thu, Aug 09, 2007 at 02:56:08PM -0400, Alan Stern wrote: On Thu, 9 Aug 2007, Zephaniah E. Hull wrote: Urgh, I definitely need some sleep, yes, it's a . Which, from the debugging statements from previous failed runs, we have something odder. reset_resume == 0, udev-state ==

[linux-usb-devel] Question about hub_thread

2007-08-10 Thread jidong xiao
Here are the piece of code from 2.6.22.1, 2817 static int hub_thread(void *__unused) 2818 { 2819 do { 2820 hub_events(); 2821 wait_event_interruptible(khubd_wait, 2822 !list_empty(hub_event_list) || 2823

[linux-usb-devel] hiddev

2007-08-10 Thread Folkert van Heusden
Hi, In linux/Documentation/usb/hiddev.txt I read the following: HIDIOCGSTRING - struct hiddev_string_descriptor (read/write) Gets a string descriptor from the device. The caller must fill in the index field to indicate which descriptor should be returned. Can you please tell me in what range

Re: [linux-usb-devel] hiddev

2007-08-10 Thread Folkert van Heusden
HIDIOCGSTRING - struct hiddev_string_descriptor (read/write) Gets a string descriptor from the device. The caller must fill in the index field to indicate which descriptor should be returned. Can you please tell me in what range this index is? Please refer to USB specification.

Re: [linux-usb-devel] [PATCH] OHCI suspend/resume issue.

2007-08-10 Thread Alan Stern
On Fri, 10 Aug 2007, Zephaniah E. Hull wrote: After you get up :-), check udev-state at the end of usb_suspend_device(). It should be USB_STATE_SUSPENDED, and nothing should change it until usb_resume_device() runs. Are you maybe seeing ohci_rh_resume() get called twice in a row?

Re: [linux-usb-devel] EHCI Regression in 2.6.23-rc2

2007-08-10 Thread Stuart_Hayes
Jiri Kosina wrote: On Fri, 10 Aug 2007, Daniel Exner wrote: After some serious hangs with 2.6.23-rc2 I did some bisects and this was the result: 196705c9bbc03540429b0f7cf9ee35c2f928a534 is first bad commit commit 196705c9bbc03540429b0f7cf9ee35c2f928a534 Author: [EMAIL PROTECTED] [EMAIL

[linux-usb-devel] patch usb-cleanups-for-g_file_storage.patch added to gregkh-2.6 tree

2007-08-10 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: USB: cleanups for g_file_storage to my gregkh-2.6 tree. Its filename is usb-cleanups-for-g_file_storage.patch This tree can be found at

[linux-usb-devel] [PATCH 7/9] USB: SisUSB2VGA: Lindent drivers/usb/misc/sisusbvga/sisusb_con.c

2007-08-10 Thread Felipe Balbi
From: Felipe Balbi [EMAIL PROTECTED] Better indentation Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/usb/misc/sisusbvga/sisusb_con.c | 493 +++ 1 files changed, 231 insertions(+), 262 deletions(-) diff --git a/drivers/usb/misc/sisusbvga/sisusb_con.c

[linux-usb-devel] [PATCH 1/9] USB: SisUSB2VGA: Whitespace Cleanups

2007-08-10 Thread Felipe Balbi
From: Felipe Balbi [EMAIL PROTECTED] This patches clean some trailing whitespaces in sisusb2vga driver. Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/usb/misc/sisusbvga/sisusb.c| 26 +- drivers/usb/misc/sisusbvga/sisusb.h|6 +++---

[linux-usb-devel] [RFC] Accept single-byte Device Status responses

2007-08-10 Thread Alan Stern
I've seen two reports of devices that wrongly send a 1-byte reply to Get-Device-Status requests instead of a 2-byte reply. One was a printer and the other a mass-storage device. This bug causes problems during USB resume, because finish_port_resume() checks the device status and concludes that

[linux-usb-devel] [PATCH 6/9] USB: SisUSB2VGA: Lindent drivers/usb/misc/sisusbvga/sisusb.h

2007-08-10 Thread Felipe Balbi
From: Felipe Balbi [EMAIL PROTECTED] Better indentation Signed-off-by: Felipe Balbi [EMAIL PROTECTED] --- drivers/usb/misc/sisusbvga/sisusb.h | 118 +-- 1 files changed, 58 insertions(+), 60 deletions(-) diff --git a/drivers/usb/misc/sisusbvga/sisusb.h

[linux-usb-devel] patch usb-make-hcds-responsible-for-managing-endpoint-queues.patch added to gregkh-2.6 tree

2007-08-10 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: USB: make HCDs responsible for managing endpoint queues to my gregkh-2.6 tree. Its filename is usb-make-hcds-responsible-for-managing-endpoint-queues.patch This tree can be found at

[linux-usb-devel] [patch 2/8] NIKON D50 is an unusual device

2007-08-10 Thread akpm
From: Milinevsky Dmitry [EMAIL PROTECTED] This short patch allows NIKON D50 to be mounted as UMS[unusual device] on Linux niam 2.6.22-rc7-cfs-v18 #2 PREEMPT Tue Jul 3 22:35:53 EEST 2007 i686 Intel(R) Celeron(R) M processor 1.50GHz GenuineIntel GNU/Linux, some previous kernels... lsusb -v Bus 001

[linux-usb-devel] [patch 1/8] usb: typo in usb R8A66597 HCD config

2007-08-10 Thread akpm
From: M4rkusXXL [EMAIL PROTECTED] Cc: Greg KH [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/usb/host/Kconfig |2 +- 1 files changed, 1 insertion(+), 1 deletion(-) diff -puN drivers/usb/host/Kconfig~usb-typo-in-usb-r8a66597-hcd-config drivers/usb/host/Kconfig

[linux-usb-devel] [patch 3/8] kl5kusb105: witch to new speed API

2007-08-10 Thread akpm
From: Alan Cox [EMAIL PROTECTED] Signed-off-by: Alan Cox [EMAIL PROTECTED] Cc: Greg KH [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/usb/serial/kl5kusb105.c | 28 ++-- 1 files changed, 18 insertions(+), 10 deletions(-) diff -puN

[linux-usb-devel] [patch 5/8] drivers/usb/misc/ftdi-elan.c: kmalloc + memset conversion to kzalloc

2007-08-10 Thread akpm
From: Mariusz Kozlowski [EMAIL PROTECTED] drivers/usb/misc/ftdi-elan.c | 121253 - 121196 (-57 bytes) drivers/usb/misc/ftdi-elan.o | 209425 - 209265 (-160 bytes) Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/usb/misc/ftdi-elan.c

[linux-usb-devel] [patch 8/8] usb: remove redundant memset from amd5536udc

2007-08-10 Thread akpm
From: Mariusz Kozlowski [EMAIL PROTECTED] Remove redundant memset() call from udc_pci_probe(). No functional change. Signed-off-by: Mariusz Kozlowski [EMAIL PROTECTED] Cc: Greg KH [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/usb/gadget/amd5536udc.c |1 - 1

[linux-usb-devel] [patch 4/8] mct_u232-convert-to-proper-speed-handling-api-fix

2007-08-10 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] Make Pete happy Cc: Alan Cox [EMAIL PROTECTED] Cc: Greg KH [EMAIL PROTECTED] Cc: Pete Zaitcev [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/usb/serial/mct_u232.c | 28 ++-- 1 files changed, 14

[linux-usb-devel] [patch 7/8] usb: r8a66597-hcd: Clean up error path.

2007-08-10 Thread akpm
From: Paul Mundt [EMAIL PROTECTED] Currently when registration fails we're left with a stray reference to release_mem_region(), this leads to the following case: r8a66597_hcd r8a66597_hcd: irq 13, io base 0x1804 drivers/usb/host/r8a66597-hcd.c: register access fail. r8a66597_hcd

[linux-usb-devel] [patch 6/8] usb: enable hcd support on SH unconditionally.

2007-08-10 Thread akpm
From: Paul Mundt [EMAIL PROTECTED] Previous boards were likely seeing USB_ARCH_HAS_HCD selected by way of PCMCIA or PCI, though none of those are required for hcd support on SH. Enable support unconditionally. Signed-off-by: Paul Mundt [EMAIL PROTECTED] Cc: Greg KH [EMAIL PROTECTED] Cc: Alan

Re: [linux-usb-devel] [PATCH] OHCI suspend/resume issue.

2007-08-10 Thread David Brownell
On Friday 10 August 2007, Alan Stern wrote: When the OLPC comes up from suspend, a small bit of Open Firmware code gets run, this writes 1 to HcCommandStatus, resetting the OHCI chip into Suspend mode, then writes into HcRhDescriptorB and HcRhPortStatus*, bringing up the power to the USB

Re: [linux-usb-devel] [patch 6/8] usb: enable hcd support on SH unconditionally.

2007-08-10 Thread David Brownell
On Friday 10 August 2007, [EMAIL PROTECTED] wrote: Previous boards were likely seeing USB_ARCH_HAS_HCD selected by way of PCMCIA or PCI, though none of those are required for hcd support on SH. Enable support unconditionally. In fact, maybe that ARCH_HAS_HCD switch should vanish.

Re: [linux-usb-devel] [PATCH] USB: SisUSB2VGA: Lindent drivers/usb/misc/sisusbvga/sisusb_struct.h

2007-08-10 Thread David Brownell
On Friday 10 August 2007, Felipe Balbi wrote: Better indentation I don't think so. This whole patch seems to make one type of change: -   unsigned char   St_ModeID; -   unsigned short  St_ModeFlag; -   unsigned char   St_StTableIndex; -   unsigned char   St_CRT2CRTC; -

[linux-usb-devel] Proofreading your professional documents

2007-08-10 Thread Richard Hounslow
Dear Professor/Lecturer Please excuse us for contacting you directly. We are offering an efficient service to help you ensure your academic and professional work is written in perfect English. We will check the grammar and style of your work and return it to you to meet your requirements and