Re: [linux-usb-devel] [PATCH 1/2] USB: add usb_autopm_get_interface_burst()

2007-07-09 Thread Oliver Neukum
Am Freitag, 6. Juli 2007 schrieb Alan Stern: This patch (as929) adds usb_autopm_get_interface_burst() to the autosuspend programming interface.  It is intended for situations where I/O events occur in bursts of activity; it reduces overhead by not cancelling the device's autosuspend timer. Do

Re: [linux-usb-devel] [PATCH 2/2] usb-storage: implement autosuspend

2007-07-09 Thread Oliver Neukum
Am Freitag, 6. Juli 2007 schrieb Alan Stern: @@ -1028,6 +1039,7 @@ static int storage_probe(struct usb_inte * start it up. */ scsi_host_get(us_to_host(us)); atomic_inc(total_threads); +   usb_autopm_get_interface(intf); /* dropped in the scanning thread */    

Re: [linux-usb-devel] [2.6.22-rc7] khubd NULL deref oops...

2007-07-09 Thread Jiri Kosina
linux-usb-devel should be CCed on this On Sun, 8 Jul 2007, Daniel J Blueman wrote: When plugging in a USB 2 mass-storage device which I've been seeing problems with, I caught a khubd oops [1]. Kernel is 2.6.22-rc7 on ia32 built with Ubuntu's 2.6.22 .config. Let me know if you need more

[linux-usb-devel] Virus W32.Sality.Q-1 gefunden

2007-07-09 Thread Inode Mailscan
Sehr geehrte Damen und Herren, in dem E-Mail mit dem Betreff '[linux-usb-devel] Mail delivery failed: returning message to sender' (gesendet am Mon, 09 Jul 2007 11:57:46 +0200) mit der angegebenen Absenderadresse 'Mail Delivery System [EMAIL PROTECTED]' wurde der Virus 'W32.Sality.Q-1' gefunden.

Re: [linux-usb-devel] [PATCH] PXA27x UDC driver.

2007-07-09 Thread Rodolfo Giometti
On Sat, Jun 30, 2007 at 06:46:14AM -0700, David Brownell wrote: Has someone actually signed up to develop and maintain such a controller driver? If so, that would be a Fine Thing, but not one I've heard rumored before. I've assumed that the best we'd have is someone (Rodolfo?!) finally

Re: [linux-usb-devel] how to detect SD card under linux

2007-07-09 Thread Alan Stern
On Mon, 9 Jul 2007, jian tao wrote: Hi pals, I am a new guy of linux usb driver. I met a problem with detecting SD card under linux2.6.11. My developing board: MPC8349 EHCI host -- ISP1505 (usb PHY) ---USB2227 (SMSC Flash card Reader chip). When linux booting, i would success to detect

Re: [linux-usb-devel] [PATCH 1/2] USB: add usb_autopm_get_interface_burst()

2007-07-09 Thread Alan Stern
On Mon, 9 Jul 2007, Oliver Neukum wrote: Am Freitag, 6. Juli 2007 schrieb Alan Stern: This patch (as929) adds usb_autopm_get_interface_burst() to the autosuspend programming interface.  It is intended for situations where I/O events occur in bursts of activity; it reduces overhead by not

Re: [linux-usb-devel] [PATCH 2/2] usb-storage: implement autosuspend

2007-07-09 Thread Alan Stern
On Mon, 9 Jul 2007, Oliver Neukum wrote: Am Freitag, 6. Juli 2007 schrieb Alan Stern: @@ -1028,6 +1039,7 @@ static int storage_probe(struct usb_inte * start it up. */ scsi_host_get(us_to_host(us)); atomic_inc(total_threads); +   

Re: [linux-usb-devel] [2.6.22-rc7] khubd NULL deref oops...

2007-07-09 Thread Alan Stern
On Sun, 8 Jul 2007, Michal Piotrowski wrote: Hi Daniel, On 08/07/07, Daniel J Blueman [EMAIL PROTECTED] wrote: When plugging in a USB 2 mass-storage device which I've been seeing problems with, I caught a khubd oops [1]. Kernel is 2.6.22-rc7 [ 4771.448000] BUG: unable to handle kernel

Re: [linux-usb-devel] [PATCH 1/2] USB: add usb_autopm_get_interface_burst()

2007-07-09 Thread Oliver Neukum
Am Montag, 9. Juli 2007 schrieb Alan Stern: On Mon, 9 Jul 2007, Oliver Neukum wrote: Am Freitag, 6. Juli 2007 schrieb Alan Stern: This patch (as929) adds usb_autopm_get_interface_burst() to the autosuspend programming interface.  It is intended for situations where I/O events occur

Re: [linux-usb-devel] [PATCH 1/2] USB: add usb_autopm_get_interface_burst()

2007-07-09 Thread Alan Stern
On Mon, 9 Jul 2007, Oliver Neukum wrote: Am Montag, 9. Juli 2007 schrieb Alan Stern: On Mon, 9 Jul 2007, Oliver Neukum wrote: Am Freitag, 6. Juli 2007 schrieb Alan Stern: This patch (as929) adds usb_autopm_get_interface_burst() to the autosuspend programming interface.  It is

Re: [linux-usb-devel] libusb driver question: can't write to endpoint

2007-07-09 Thread Alan Stern
On Sun, 8 Jul 2007, Phil Dibowitz wrote: With a bit of help, I've found the device has a handful of standard Vendor control commands. But when I try to send them with usb_control_msg(), I'm getting back 'Broken pipe'. The only thing I can think of is that I'm not assembling my requestType

[linux-usb-devel] How to Suspend/Resume a usb device

2007-07-09 Thread Felipe Balbi
Hello all, How could I suspend/resume a usb device using libusb? I saw there's a function for reseting the device but what about suspending/resuming it? And also, does EHCI (on recent linux-linus' git tree) support SINGLE_STEP_GET_DESCRIPTOR and SINGLE_STEP_SET_FEATURE ??? Thanks in advance --

Re: [linux-usb-devel] How to Suspend/Resume a usb device

2007-07-09 Thread Felipe Balbi
btw, it can also be using usb devicefs, anyone of these will help ;-) thanks On 7/9/07, Felipe Balbi [EMAIL PROTECTED] wrote: Hello all, How could I suspend/resume a usb device using libusb? I saw there's a function for reseting the device but what about suspending/resuming it? And also,

[linux-usb-devel] [patch 03/12] Make usb-autosuspend timer 1 sec jiffy aligned

2007-07-09 Thread akpm
From: Venki Pallipadi [EMAIL PROTECTED] Make usb autosuspend timers 1sec jiffy aligned. This helps to reduce the frequency at which the CPU must be taken out of a lower-power state. Signed-off-by: Venkatesh Pallipadi [EMAIL PROTECTED] Cc: Greg KH [EMAIL PROTECTED] Signed-off-by: Andrew Morton

[linux-usb-devel] [patch 07/12] mos7840.c: turn this into a serial driver

2007-07-09 Thread akpm
From: Alan Cox [EMAIL PROTECTED] The MOS driver is interesting, in a bad kind of 'how the hell did this get merged' kind of way - Remove the bogus termios change check - Remove the duplicate code for half the ioctls - Remove the supporting code to duplicate the ioctl code Signed-off-by: Alan

[linux-usb-devel] [patch 01/12] fix gregkh-usb-usb-ehci-cpufreq-fix

2007-07-09 Thread akpm
From: Andrew Morton [EMAIL PROTECTED] avoid sleep-in-spinlock. Cc: Greg KH [EMAIL PROTECTED] Cc: Mattia Dongili [EMAIL PROTECTED] Cc: Stuart Hayes [EMAIL PROTECTED] Cc: David Brownell [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/usb/host/ehci-hcd.c |8

[linux-usb-devel] [patch 02/12] fix gregkh-usb-usb-use-menuconfig-objects

2007-07-09 Thread akpm
From: Jan Engelhardt [EMAIL PROTECTED] Generally, Jens Axboe was against 'default y', so I'll have some patches to remove it. Cc: Greg KH [EMAIL PROTECTED] Cc: Jens Axboe [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/usb/Kconfig |1 - 1 files changed, 1

[linux-usb-devel] [patch 08/12] pl2303: remove bogus checks and fix speed support to use tty_get_baud_rate()

2007-07-09 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/pl2303.c | 33 + 1 files changed, 1 insertion(+), 32 deletions(-) diff -puN

[linux-usb-devel] [patch 09/12] visor and whiteheat: remove bogus termios change checks

2007-07-09 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/visor.c |8 drivers/usb/serial/whiteheat.c |9 - 2 files changed, 17 deletions(-) diff

[linux-usb-devel] [patch 06/12] usb: make the usb_device numa_node get assigned from controller

2007-07-09 Thread akpm
From: Yinghai Lu [EMAIL PROTECTED] So we can use dev_to_node(usb_dev-dev) later in kmalloc_node to dma buffer Signed-off-by: Yinghai Lu [EMAIL PROTECTED] Cc: Andi Kleen [EMAIL PROTECTED] Acked-by: Christoph Lameter [EMAIL PROTECTED] Cc: David Rientjes [EMAIL PROTECTED] Cc: Greg KH [EMAIL

[linux-usb-devel] [patch 05/12] ftdi_sio: fix oops due to processing workarounds too early

2007-07-09 Thread akpm
From: Oliver Neukum [EMAIL PROTECTED] Fix an oops that happens in relation with applying work arounds for buggy ftdi_sio devices. The quirks were handled too early because due to changes in the initialisation of usb serial devices the device was not fully initialised when the old hook was

[linux-usb-devel] [patch 12/12] USB: remove Makefile reference to obsolete OHCI_AT91

2007-07-09 Thread akpm
From: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Robert P. J. Day [EMAIL PROTECTED] Signed-off-by: Andrew Morton [EMAIL PROTECTED] --- drivers/usb/Makefile |1 - 1 files changed, 1 deletion(-) diff -puN drivers/usb/Makefile~usb-remove-makefile-reference-to-obsolete-ohci_at91

[linux-usb-devel] [patch 04/12] drivers/block/ub.c: use list_for_each_entry()

2007-07-09 Thread akpm
From: Matthias Kaehlcke [EMAIL PROTECTED] Low performance USB storage driver: Use list_for_each_entry() instead of list_for_each() Signed-off-by: Matthias Kaehlcke [EMAIL PROTECTED] Cc: Greg KH [EMAIL PROTECTED] Cc: Pete Zaitcev [EMAIL PROTECTED] Cc: Jens Axboe [EMAIL PROTECTED] Signed-off-by:

[linux-usb-devel] [patch 10/12] mos7720: remove bogus no termios change check

2007-07-09 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/mos7720.c | 10 -- 1 files changed, 10 deletions(-) diff -puN

[linux-usb-devel] [patch 11/12] io_*: remove bogus termios no change checks

2007-07-09 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/io_edgeport.c |9 - drivers/usb/serial/io_ti.c |8 2 files changed, 17 deletions(-) diff

Re: [linux-usb-devel] how to detect SD card under linux

2007-07-09 Thread Pete Zaitcev
On Mon, 9 Jul 2007 10:52:05 -0400 (EDT), Alan Stern [EMAIL PROTECTED] wrote: Then i plug in SD card, nothing could happen, it fail to find scsi device. I know there would be three kernel threads to polling current usb status. One is hub_thread to polling port status; one is

Re: [linux-usb-devel] How to Suspend/Resume a usb device

2007-07-09 Thread Alan Stern
On Mon, 9 Jul 2007, Felipe Balbi wrote: Hello all, How could I suspend/resume a usb device using libusb? I saw there's a function for reseting the device but what about suspending/resuming it? There's no way to do it using libusb or usbfs. However you can suspend or resume a usb device

Re: [linux-usb-devel] how to detect SD card under linux

2007-07-09 Thread jian tao
On 7/9/07, Alan Stern [EMAIL PROTECTED] wrote: On Mon, 9 Jul 2007, jian tao wrote: Hi pals, I am a new guy of linux usb driver. I met a problem with detecting SD card under linux2.6.11. My developing board: MPC8349 EHCI host -- ISP1505 (usb PHY) ---USB2227 (SMSC Flash card Reader

Re: [linux-usb-devel] how to detect SD card under linux

2007-07-09 Thread Alan Stern
On Tue, 10 Jul 2007, jian tao wrote: Yes, the SD card wasn't detected even i plug SD card in reader first and then boot up linux kernel. From dmesg, it seems to me SD fail to reply host TEST_UNIT_READY command. Maybe it is the problem between USB2227 and SD card. Maybe. You mentioned HAL

Re: [linux-usb-devel] how to detect SD card under linux

2007-07-09 Thread jian tao
On 7/10/07, Alan Stern [EMAIL PROTECTED] wrote: On Tue, 10 Jul 2007, jian tao wrote: Yes, the SD card wasn't detected even i plug SD card in reader first and then boot up linux kernel. From dmesg, it seems to me SD fail to reply host TEST_UNIT_READY command. Maybe it is the problem between

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 working