Re: [linux-usb-devel] Large USB storage devices cause df to hang and cpu load reaches 100%

2007-08-01 Thread Sergey Vlasov
On Tue, Jul 31, 2007 at 11:08:37PM +0100, Kostas Peletidis wrote: Branden Sletteland wrote: I have also noticed this delay and have through instrumenting code have found that every block in the device gets read in. I never checked if it was something in the df, filesystem, SCSI, or USB

Re: [linux-usb-devel] Large USB storage devices cause df to hang and cpu load reaches 100%

2007-08-01 Thread Sergey Vlasov
On Wed, Aug 01, 2007 at 01:14:40PM -0400, Alan Stern wrote: On Wed, 1 Aug 2007, Sergey Vlasov wrote: On Tue, Jul 31, 2007 at 11:08:37PM +0100, Kostas Peletidis wrote: Branden Sletteland wrote: I have also noticed this delay and have through instrumenting code have found that every

Re: [linux-usb-devel] 2.6.20-rc6 pb_fnmode regression

2007-01-29 Thread Sergey Vlasov
On Mon, Jan 29, 2007 at 10:55:48AM +0100, Jiri Kosina wrote: Changing module parameter values through sysfs is not a very nice idea, because the change of the value is indeed silent - the driver is not notified in any way, that the value has changed. So the driver should take care of it by

[linux-usb-devel] [PATCH] usb-storage: Remove duplicated unusual_devs.h entries for Sony Ericsson P990i

2006-11-06 Thread Sergey Vlasov
For some reason the unusual_devs.h entry for Sony Ericsson P990i had three identical copies in a wrong place in the file in addition to the correct entry. Signed-off-by: Sergey Vlasov [EMAIL PROTECTED] --- drivers/usb/storage/unusual_devs.h | 21 - 1 files changed, 0

Re: [linux-usb-devel] question about the Cypress Semiconductor serial driver

2006-11-01 Thread Sergey Vlasov
On Wed, Nov 01, 2006 at 02:57:42AM +0300, Vladimir Volovich wrote: i have a UPS drive (Ippon Smart Power Pro 2000) which has a usb and a serial interface, but my mainboard doesn't have an external serial port, and i'd like to manage the UPS via the USB port. the USB interface is based on

Re: [linux-usb-devel] usb initialization order (usbhid vs. appletouch)

2006-10-28 Thread Sergey Vlasov
and passed to appletouch? Then you probably need to add a new quirk flag to hiddev (patch completely untested): --- From: Sergey Vlasov [EMAIL PROTECTED] Subject: usbhid: Add HID_QUIRK_IGNORE_MOUSE flag Some HID devices by Apple have both keyboard and mouse interfaces; the keyboard interface is handled

[linux-usb-devel] broken modules.alias entries for some USB devices

2006-09-21 Thread Sergey Vlasov
On Thu, 21 Sep 2006 16:54:24 +0200 iSteve wrote: I've got one more question, this time regarding modules.usbmap. -modules.usbmap: ibmcam 0x000f 0x0545 0x8080 0x0002 0x0002 0x00 0x00 0x00 0x00 0x00 0x00 0x0 ibmcam 0x000f 0x0545 0x8080 0x030a 0x030a 0x00 0x00 0x00 0x00 0x00 0x00 0x0 ibmcam

Re: [linux-usb-devel] [Fwd: Re: [Linux-usb-users] Fwd: Re: 2.6.17-rc6-mm2 - USB issues]

2006-06-20 Thread Sergey Vlasov
On Tue, Jun 20, 2006 at 09:21:35PM +1000, Johny wrote: [...] Stock kernels break for me starting with 2.6.17-rc4 (I tested all rcs and also .17 itself), rc3 works a treat for using USB. I suspect the following line missing in dmesg for rc4 is the reason; -PCI: Via IRQ fixup for

Re: [linux-usb-devel] [Fwd: Re: [Linux-usb-users] Fwd: Re: 2.6.17-rc6-mm2 - USB issues]

2006-06-20 Thread Sergey Vlasov
On Tue, Jun 20, 2006 at 02:30:06PM +0100, Sergio Monteiro Basto wrote: someone has it has a case similar and said that won't work without acpi=noirq http://bugzilla.kernel.org/show_bug.cgi?id=6654 Yes, acpi=noirq will work around this bug in many cases, because Linux will not try to reassign

Re: [linux-usb-devel] Oops in firmware_data_write

2006-03-30 Thread Sergey Vlasov
On Thu, Mar 30, 2006 at 01:37:35AM +0200, Duncan Sands wrote: Hi Pete, This looks like something may be of interest for you. In the fresh kernel we shipped (2.6.15 with no relevant patches), modem cannot get its firmware, and eventually ends with this: EIP is at

Re: [linux-usb-devel] Re: Linux 2.6.16-rc3

2006-02-18 Thread Sergey Vlasov
On Fri, Feb 17, 2006 at 04:42:43PM -0800, James Bottomley wrote: +static void execute_in_process_context_work(void *data) +{ + void (*fn)(void *data); + struct execute_work *ew = data; + + fn = ew-fn; + data = ew-data; + + fn(data); +} After removing kfree(), which

Re: [linux-usb-devel] Fwd: Oops

2006-01-05 Thread Sergey Vlasov
On Fri, Jan 06, 2006 at 12:37:39AM +0400, Oliver Neukum wrote: sysfs strikes again. Could someone please summarize how to correctly claim and _disclaim_ a second interface from inside a driver. I am about to give up on sysfs. [skip] [c025ce6a] class_device_del+0x11e/0x123 [e086b5f8]

Re: [linux-usb-devel] Re: [Security] [vendor-sec] [BUG/PATCH/RFC] Oops while completing async USB via usbdevio

2005-09-27 Thread Sergey Vlasov
On Tue, Sep 27, 2005 at 07:53:30AM -0700, Linus Torvalds wrote: On Sun, 25 Sep 2005, Harald Welte wrote: async_completed() calls send_sig_info(), which in turn does a spin_lock(tasklist_lock) to protect itself from task_struct-sighand from going away. However, the call to

Re: [linux-usb-devel] Re: [Security] [vendor-sec] [BUG/PATCH/RFC] Oops while completing async USB via usbdevio

2005-09-27 Thread Sergey Vlasov
On Tue, Sep 27, 2005 at 09:09:28AM -0700, Linus Torvalds wrote: On Tue, 27 Sep 2005, Sergey Vlasov wrote: And then a process calls USBDEVFS_SUBMITURB and immediately exits; its pid gets reused by a completely different process (maybe even root-owned), then the urb completes

Re: [linux-usb-devel] [Patch] Centillium P300, P400 and A100 Chipsets patch for usbnet.c

2005-06-29 Thread Sergey Vlasov
On Wed, Jun 29, 2005 at 09:23:01AM -0700, C Michael Sundius wrote: --- a/drivers/usb/net/usbnet.c2005-06-14 20:44:17.0 -0700 +++ b/drivers/usb/net/usbnet.c2005-06-23 04:05:39.0 -0700 @@ -1176,20 +1176,62 @@ static const struct driver_info cdc_info = {

Re: [linux-usb-devel] Re: [PATCH] Driver to Add Usability for Maxtor External Drives

2005-03-23 Thread Sergey Vlasov
On Tue, Mar 22, 2005 at 10:37:29PM -0500, Nick Sillik wrote: diff -urN -X dontdiff linux-2.6.12-rc1-mm1/drivers/usb/storage/Kconfig linux-2.6.12-rc1-mm1-onetouch/drivers/usb/storage/Kconfig --- linux-2.6.12-rc1-mm1/drivers/usb/storage/Kconfig 2005-03-22 18:27:15.0 -0500 +++

Re: [linux-usb-devel] PATCH: USB transport support for openobex library 1/3

2005-03-02 Thread Sergey Vlasov
On Wed, Mar 02, 2005 at 06:24:07PM +0300, Alex Kanavin wrote: [...] +/* + * Helper function to usbobex_find_interfaces + */ +struct usb_obex_intf* check_intf(struct usb_device* dev, int c, int i, int a, struct usb_obex_intf* current) This function should be static. +/* + * Helper

Re: [linux-usb-devel] Gadget ether trouble

2005-01-27 Thread Sergey Vlasov
On Wed, Jan 26, 2005 at 06:29:16PM +0100, Thomas Brinker wrote: Ok, I have got it! The IP Packets must be aligned to 32bit on ARM. This patch takes care about the alignment. Please consider applying. With this change the skb buffer would be overflowed - the size specified in the alloc_skb

Re: [linux-usb-devel] Re: [PATCH] USB storage: Make Pentax *ist DS works

2005-01-09 Thread Sergey Vlasov
On Sun, Jan 09, 2005 at 12:24:48PM -0500, Alan Stern wrote: On Sat, 8 Jan 2005, Phil Dibowitz wrote: Miquel Vidal wrote: It seems this Pentax camera is not conformant to the USB storage specification (It does not like the INQUIRY command. So we must handle this command of the

[linux-usb-devel] [PATCH 2.4] Workaround to make ViPowER USB-IDE enclosure work with ATAPI devices

2005-01-09 Thread Sergey Vlasov
-by: Sergey Vlasov [EMAIL PROTECTED] diff -urNp linux-2.4.29-rc1/drivers/usb/storage/protocol.c linux-2.4.29-rc1.usb-storage-vipower/drivers/usb/storage/protocol.c --- linux-2.4.29-rc1/drivers/usb/storage/protocol.c 2003-11-28 21:26:20 +0300 +++ linux-2.4.29-rc1.usb-storage-vipower/drivers/usb

Re: [linux-usb-devel] [PATCH 2.4] Workaround to make ViPowER USB-IDE enclosure work with ATAPI devices

2005-01-09 Thread Sergey Vlasov
On Sun, Jan 09, 2005 at 11:50:42AM -0800, Phil Dibowitz wrote: Sergey Vlasov wrote: Hello! The ViPowER USB-IDE enclosure based on the SMCS chipset does not work with 2.4.x kernels (tested with 2.4.26) when used with ATAPI devices (like a DVD-RW drive). However, it works with 2.4.x when

Re: [linux-usb-devel] Re: USB ioctl problem in 2.4.28

2004-11-30 Thread Sergey Vlasov
. === Summary: [USB] Fix usbfs exclusive_access locking problems Signed-off-by: Sergey Vlasov [EMAIL PROTECTED] Adding the exclusive_access semaphore introduced some more problems: - Some userspace programs (like modem_run from speedtouch package) use concurrent usbfs access from

Re: [linux-usb-devel] Re: USB ioctl problem in 2.4.28

2004-11-30 Thread Sergey Vlasov
. This patch is on top of my previous patch. === Summary: [USB] usbfs: make the wait for exclusive_access interruptible Signed-off-by: Sergey Vlasov [EMAIL PROTECTED] down(ps-dev-exclusive_access) can sleep for a long time (e.g., when

Re: [linux-usb-devel] multiple URB?

2004-11-30 Thread Sergey Vlasov
On Mon, Nov 29, 2004 at 04:12:24PM -0800, Lan, Oliver wrote: We have experienced data packet lost by using user space application to read usb device. The problem seems to me is how to submit multiple URB requests at the user level? Please see the attached the test program and your feedback

Re: [linux-usb-devel] Re: [PATCH][2.4] Remove hiddev.h dependence on hid.h

2004-07-09 Thread Sergey Vlasov
On Thu, Jul 08, 2004 at 10:39:24PM -0700, Pete Zaitcev wrote: On Wed, 7 Jul 2004 17:52:01 -0400 Adam Kropelin [EMAIL PROTECTED] wrote: /* hiddev_usage_ref_multi is used for sending multiple bytes to a control. * It really manifests itself as setting the value of consecutive usages */

Re: [linux-usb-devel] Re: [PATCH] compat_ioctls for hiddev

2004-05-17 Thread Sergey Vlasov
On Sun, May 16, 2004 at 02:58:03PM -0700, Greg KH wrote: Ick, does hiddev really need hid.h? If so, then we need to move it to include/linux/. How about this patch (applies both to 2.4 and 2.6)? --- linux/include/linux/hiddev.h.hiddev-multi 2004-04-14 17:05:40 +0400 +++

Re: [linux-usb-devel] fixes of assumptions about waitqueues

2004-05-12 Thread Sergey Vlasov
On Tue, May 11, 2004 at 11:44:47PM +0200, Oliver Neukum wrote: set_current_state(TASK_INTERRUPTIBLE); if (!mdc800-irq_woken) { - schedule_timeout (msec*HZ/1000); + long timeout = msec*HZ/1000; + while(timeout) +

Re: [linux-usb-devel] Re: [HIDDEV] Fix boundary checks for GUSAGE/SUSAGE

2004-05-07 Thread Sergey Vlasov
On Thu, May 06, 2004 at 08:22:20PM +1000, Herbert Xu wrote: On Thu, May 06, 2004 at 08:15:15PM +1000, herbert wrote: The current code is applying the maxusage limit to GUSAGE/SUSAGE. This is incorrect as the number of values is stored in field-report_count, not field-maxusage. The USB

Re: [linux-usb-devel] Re: [PATCH] USB fixes for 2.4.26-pre4

2004-04-02 Thread Sergey Vlasov
On Wed, Mar 17, 2004 at 04:01:52PM -0800, Greg KH wrote: ChangeSet 1.1290.15.4, 2004/02/02 14:36:26-08:00, [EMAIL PROTECTED] [PATCH] USB: Fixing HID support for non-explicitly specified usages drivers/usb/hid-core.c | 11 +- drivers/usb/hiddev.c | 78

Re: [linux-usb-devel] Re: [2.6.x] USB Zip drive kills ps2 mouse.

2004-03-06 Thread Sergey Vlasov
On Fri, Mar 05, 2004 at 08:49:16PM +, Jamie Lokier wrote: I don't know if it's related, but whenever I load the uhci_hcd module on my laptop, or whenever I plug in a USB device while that module is loaded (sorry, I forget which and can't test it now) - the floppy disk motor and light are

Re: [linux-usb-devel] philips usb pclink

2003-12-24 Thread Sergey Vlasov
On Wed, Dec 24, 2003 at 09:52:31AM -0200, Claudemir Todo Bom wrote: I've just received my new home stereo, it's a Philips MC-M570, it have an USB port and provides some functionalities to it. Under windows I can: * use it like a PCM soundcard, without mixer controls; *

Re: [linux-usb-devel] ADU200 (PIC16C745) incompatible with libusb

2003-12-21 Thread Sergey Vlasov
On Sun, Dec 21, 2003 at 01:40:05PM -0500, John Homppi wrote: Some people have suggested that the ADU200 can be accessed from user space thru the bulk endpoint routines in libusb. Here is what prevents an ADU200 from using libusb-0.1.7 from uhci_submit_bulk() function of uhci-hcd.c

Re: [linux-usb-devel] hid and low-speed devices

2003-12-16 Thread Sergey Vlasov
On Mon, Dec 15, 2003 at 11:35:33PM +, Johann Deneux wrote: Attached is a patch doing two things: hid-lgff.c: Fixes an obvious list handling issue. hid-core.c: - Use INT out urbs instead of bulk out urbs. That's the way it should be - Remove some report-id magic. IMPORTANT

Re: [linux-usb-devel] hid and low-speed devices

2003-12-14 Thread Sergey Vlasov
On Sun, Dec 14, 2003 at 04:40:54PM +, Johann Deneux wrote: I've had bug reports from users trying to use hid with force feed back enabled for logitech devices (kernel 2.6.0-test9). The device causing trouble is the cordless rumble pad. It is a low-speed device, and stubbornly refuses to

Re: [linux-usb-devel] Re: [PATCH] USB fixes for 2.4.24-pre1

2003-12-14 Thread Sergey Vlasov
On Fri, Dec 12, 2003 at 03:31:54PM -0800, Greg KH wrote: ChangeSet 1.1136.78.2, 2003/12/05 10:42:16-08:00, [EMAIL PROTECTED] [PATCH] USB: add TIOCMIWAIT support to pl2303 driver [skip] @@ -662,6 +704,7 @@ spin_lock_irqsave(priv-lock, flags); priv-line_status =

[linux-usb-devel] Re: USB timeout with printer

2003-12-02 Thread Sergey Vlasov
On Mon, 1 Dec 2003 11:50:32 -0800 Aaron Lehmann wrote: I have a HP LaserJet 1300 that I'm using over USB. (drivers/usb/class/usblp.c: usblp0: USB Bidirectional printer dev 8 if 0 alt 1 proto 2 vid 0x03F0 pid 0x1017) What's getting to be very annoying is that usually within a day after

[linux-usb-devel] Re: [PATCH] usblp printer class GET_DEVICE_ID fix (2.6.0-test4)

2003-09-09 Thread Sergey Vlasov
On Tue, 2 Sep 2003 11:01:49 -0400 Adam Lazur [EMAIL PROTECTED] wrote: This is a repost of a patch I sent to the linux-usb-devel list ~4 months ago. The patch updates the wIndex field for the printer class GET_DEVICE_ID control request to take into account the interface and alternate

Re: [linux-usb-devel] HP LaserJet 1300 printer lockup

2003-09-01 Thread Sergey Vlasov
On Thu, 28 Aug 2003 11:51:48 -0700 Greg KH [EMAIL PROTECTED] wrote: On Thu, Aug 28, 2003 at 08:31:40PM +0400, Sergey Vlasov wrote: When trying to set up the HP LaserJet 1300 printer under Linux (using USB connection), I have found that in some circumstances the printer locks up. In my

Re: [linux-usb-devel] HP LaserJet 1300 printer lockup

2003-08-29 Thread Sergey Vlasov
On Thu, 28 Aug 2003 11:51:48 -0700 Greg KH [EMAIL PROTECTED] wrote: On Thu, Aug 28, 2003 at 08:31:40PM +0400, Sergey Vlasov wrote: When trying to set up the HP LaserJet 1300 printer under Linux (using USB connection), I have found that in some circumstances the printer locks up. In my

[linux-usb-devel] HP LaserJet 1300 printer lockup

2003-08-28 Thread Sergey Vlasov
usblp_set_protocol() - at this time URBs are unlinked, so reading the ID should be safe. I have made a patch with this workaround - it is attached. The patch is against drivers/usb/printer.c in Linux 2.4.21/2.4.22-rc2. With this workaround the printer lockup with CUPS is avoided. -- Sergey Vlasov

[linux-usb-devel] Re: [PATCH] scanner unplug and error handling fix

2003-07-17 Thread Sergey Vlasov
On Tue, 15 Jul 2003 19:44:42 +0200 Henning Meier-Geinitz [EMAIL PROTECTED] wrote: - kmalloc error handling in probe_scanner() does not unlink the IRQ URB submitted previously. True. Shouldn't the URB also be freed with usb_free_urb() here? No - it was not allocated with usb_alloc_urb().

[linux-usb-devel] [PATCH] scanner unplug and error handling fix

2003-07-08 Thread Sergey Vlasov
),%edi 2 warnings issued. Results may not be reliable. -- Sergey Vlasov 80_02-scanner-fix-alt.patch Description: Binary data pgp0.pgp Description: PGP signature

[linux-usb-devel] Re: [BUG] hiddev does not support Report Count 1 (Re: HID Hiddev troubles (write))

2003-06-25 Thread Sergey Vlasov
On Mon, 23 Jun 2003 17:25:10 -0600 Jackson Chan [EMAIL PROTECTED] wrote: Sergey, I think you are right about the bug. This looks like a bug/misfeature in hiddev(output) - it does not support items with Report Count 1 (when the number of usages for a data item is less than the

[linux-usb-devel] [BUG] hiddev does not support Report Count 1 (Re: HID Hiddevtroubles (write))

2003-06-23 Thread Sergey Vlasov
On Fri, 20 Jun 2003 14:22:10 -0600 Jackson Chan [EMAIL PROTECTED] wrote: Secondly, I am trying to write a single output report to my device that contains 5 bytes of data{0x13,0x13,0,0,0} through the Control (0) endpoint via a SetReport command. I tried using hidiocsusage and

[linux-usb-devel] Re: HID Hiddev troubles (write)

2003-06-20 Thread Sergey Vlasov
On Fri, 20 Jun 2003 10:26:16 -0600 Jackson Chan [EMAIL PROTECTED] wrote: I am having two issues trying to use the hiddev interface(kernel 2.4.20). When reading events from my device, some of the events are being filtered out by this line of code in hid-core.c. It was in

[linux-usb-devel] Re: Help getting HID to work

2003-06-19 Thread Sergey Vlasov
On Thu, 19 Jun 2003 11:55:24 -0400 (EDT) Ken Witherow [EMAIL PROTECTED] wrote: I too have a Smart UPS 1500. In 2.4, it's recognized but nothing gets HID to register it. In 2.5, I get slab corruption when plugging it in (see http://bugzilla.kernel.org/show_bug.cgi?id=714 for 2.5 details) T:

Re: R_f. : Re: [linux-usb-devel] [PATCH] Add report ID in HIDSET_REPORT for APC USB UPSes

2003-05-30 Thread Sergey Vlasov
On Fri, 23 May 2003 12:28:38 +0200 Vojtech Pavlik [EMAIL PROTECTED] wrote: On Fri, May 23, 2003 at 11:04:36AM +0200, [EMAIL PROTECTED] wrote: On Wed, May 21, 2003 at 06:11:06PM +0400, Sergey Vlasov wrote: I still think that the proper solution is to make this behavior

[linux-usb-devel] report ID in HID SET_REPORT (APC BackUPS CS)

2003-04-01 Thread Sergey Vlasov
Size(8) Report Count(1) Report Offset(0) Flags( Variable Absolute Volatile ) hiddev0: USB HID v1.00 Joystick [American Power Conversion Back-UPS 500 FW: 6.5.I USB FW: c1 ] on usb2:3.0 -- Sergey Vlasov --- This SF.net