Re: [linux-usb-devel] [PATCH] file_storage: remove "volatile" declarations

2005-11-29 Thread Olav Kongas
On Tue, 29 Nov 2005, Alan Stern wrote: > Greg: > > This patch (as612) removes the "volatile" declarations from the > file-storage gadget. It turns out that they aren't needed for anything > much; adding a few memory barriers does a sufficient job. > > The patch also removes a wait_queue. N

[linux-usb-devel] [PATCH] USB: ehci fixups

2005-11-29 Thread Greg KH
[PATCH] USB: ehci fixups Rename the EHCI "reset" routine so it better matches what it does (setup); and move the one-time data structure setup earlier, before doing anything that implicitly relies on it having been completed already. From: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kr

[linux-usb-devel] [PATCH] hwmon: w83792d fix unused fan pins

2005-11-29 Thread Greg KH
[PATCH] hwmon: w83792d fix unused fan pins 1. This patch add check for fan4,5,6,7 and do not create device file if their pins are not configured as fan. 2. Fix the issue that can not set fan divisor to 128. 3. Fix the index out of bounds bug in w83792d_detect function. Signed-off-by: Yuan Mu <

[linux-usb-devel] [PATCH] USB: Fix USB suspend/resume crasher (#2)

2005-11-29 Thread Greg KH
[PATCH] USB: Fix USB suspend/resume crasher (#2) This patch closes the IRQ race and makes various other OHCI & EHCI code path safer vs. suspend/resume. I've been able to (finally !) successfully suspend and resume various Mac models, with or without USB mouse plugged, or plugging while asleep, or

[linux-usb-devel] [PATCH] pci_ids.h: remove duplicate entries

2005-11-29 Thread Greg KH
[PATCH] pci_ids.h: remove duplicate entries G'day Albert, Andrew, commit 4fb80634d30f5e639a92b78c8f215f96a61ba8c7 Author: Albert Lee <[EMAIL PROTECTED]> Date: Thu May 12 15:49:21 2005 -0400 duplicates symbols already appearing in pci_ids.h, appended patch removes them a

[linux-usb-devel] [PATCH] Additional device ID for Conexant AccessRunner USB driver

2005-11-29 Thread Greg KH
[PATCH] Additional device ID for Conexant AccessRunner USB driver Reported as working in Fedora bugzilla by Petr. From: Petr Tuma <[EMAIL PROTECTED]> Signed-off-by: Dave Jones <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- commit d3420ba4930d61f4ec4abc046765de27418

[linux-usb-devel] [PATCH] USB: documentation update

2005-11-29 Thread Greg KH
[PATCH] USB: documentation update This patch (as611) fixes a minor mistake and misspelling in the USB documentation. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- commit 620948a01c71060a32611bc2f792f58a88cf28b1 tree 69383c05e69e6241ef43d4

[linux-usb-devel] [GIT PATCH] USB patches for 2.6.15-rc3

2005-11-29 Thread Greg KH
Here are six small patches for 2.6.15-rc3 against your git tree that fix some reported problems. The biggest is the ehci boot issue, and the usb suspend issue that the ppc people are seeing. There's also a documentation fix, a hwmon driver bugfix, and a pci_ids.h duplication fix in here. I did t

[linux-usb-devel] [PATCH] usb-storage: add debug entry for REPORT LUNS

2005-11-29 Thread Paul Walmsley
Bugs involving the REPORT LUNS SCSI-3 command are much easier to track down if usb-storage displays the command's name, rather than "(Unknown command)". Signed-off-by: Paul Walmsley <[EMAIL PROTECTED]> - Paul diff --git a/drivers/usb/storage/debug.c b/drivers/usb/storage/debug.c index 5a93217

[linux-usb-devel] [PATCH] Force starget->scsi_level in usb-storage scsiglue.c

2005-11-29 Thread Paul Walmsley
When the usb-storage module forces sdev->scsi_level to SCSI_2, it should also force starget->scsi_level to the same value. Otherwise, the SCSI layer may attempt to issue SCSI-3 commands to the device, such as REPORT LUNS, which it cannot handle. This can prevent the device from working with

[linux-usb-devel] Re: nokia_dku2 driver is unsuitable for certain Nokia phones

2005-11-29 Thread Alex Kanavin
On Tue, 29 Nov 2005, Pawel Kot wrote: So for the kernel driver option there are two ways to implement the driver (if I understand correctly): - make it independent from usb-serial and implement similiar to cdc-ether - claim more than one interface for FBUS communication Both don't look trivial a

Re: [linux-usb-devel] Re: USB printer fails to print intermittently

2005-11-29 Thread Steve Bangert
On Tue, 2005-11-29 at 11:31 -0500, Alan Stern wrote: > On Tue, 29 Nov 2005, Steve Bangert wrote: > > > Five days later the printer decides to stop working again, so here's a > > trace when i insmod the printer driver ( printer inop.) > > You know, this suggests strongly that there's something fu

[linux-usb-devel] Re: nokia_dku2 driver is unsuitable for certain Nokia phones

2005-11-29 Thread Pawel Kot
Hi, Sorry for the long no-answer -- I was on 3 week vacation away from the computer. 2005/11/9, Alexander Kanavin <[EMAIL PROTECTED]>: > usb-serial can claim both interfaces then, same way as cdc_acm does. > That's probably too much extra code for just one special case though. So for the kernel

Re: [linux-usb-devel] Re: USB printer fails to print intermittently

2005-11-29 Thread Pete Zaitcev
On Tue, 29 Nov 2005 11:31:52 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > > I tried getting a usbmon trace while doing an insmod of uhci-hcd.ko but > > there's a chicken and egg scenario, /sys/kernel/debug needs to be > > mounted before a usbmon snapshot is taken, but it can't be mounted >

Re: [linux-usb-devel] 2.6.15-rc2-git6 hangs when loading ehci_hcd

2005-11-29 Thread Adam J. Richter
On Sun, 27 Nov 2005, Alan Stern wrote: >On Sun, 27 Nov 2005, Adam J. Richter wrote: [...] >> 2.6.15-rc2-git6, during "modprobe ehci-hcd" blocks forever. >> >> I can still type and have my text echoed back to me, and I >> can use the console keys to dump process information. [...] >>

Re: [linux-usb-devel] Re: USB printer fails to print intermittently

2005-11-29 Thread Pete Zaitcev
On Tue, 29 Nov 2005 03:03:15 -0800, Steve Bangert <[EMAIL PROTECTED]> wrote: > I tried getting a usbmon trace while doing an insmod of uhci-hcd.ko but > there's a chicken and egg scenario, /sys/kernel/debug needs to be > mounted before a usbmon snapshot is taken, but it can't be mounted > unless u

[linux-usb-devel] [PATCH] Add a unusual_dev entry to get mine MP3 player to work

2005-11-29 Thread Otavio Salvador
This patch solve a problem that I had some mounths ago. This patch was send to here and I fixed it to it handle only the specific device with help of others here. So, thanks! Signed-off-by: Otavio Salvador <[EMAIL PROTECTED]> --- drivers/usb/storage/unusual_devs.h |7 +++ 1 files chan

[linux-usb-devel] [PATCH] Don't assume root-hub resume succeeds

2005-11-29 Thread Alan Stern
Greg: This patch (as614) makes a small change to the part of the hub driver responsible for remote wakeup of root hubs. When these wakeups occur the driver is suspended, and in case the resume fails the driver should remain suspended -- it shouldn't try to proceed with its normal processing. Thi

[linux-usb-devel] [PATCH] dummy_hcd: updates to hcd->state

2005-11-29 Thread Alan Stern
Greg: This patch (as613) moves the updates to hcd->state in the dummy_hcd driver to where they now belong. It also uses the new HC_FLAG_HW_ACCESSIBLE flag in a way that simulates a real PCI controller, and it adds checks for attempts to resume the bus while the controller is suspended or to su

[linux-usb-devel] [PATCH] file_storage: remove "volatile" declarations

2005-11-29 Thread Alan Stern
Greg: This patch (as612) removes the "volatile" declarations from the file-storage gadget. It turns out that they aren't needed for anything much; adding a few memory barriers does a sufficient job. The patch also removes a wait_queue. Not much point having a queue when only one task is ever

Re: [linux-usb-devel] Re: USB printer fails to print intermittently

2005-11-29 Thread Alan Stern
On Tue, 29 Nov 2005, Steve Bangert wrote: > Five days later the printer decides to stop working again, so here's a > trace when i insmod the printer driver ( printer inop.) You know, this suggests strongly that there's something funny going on with your printer. After all, you've been running th

Re: [linux-usb-devel] Introduction

2005-11-29 Thread Alan Stern
On Mon, 28 Nov 2005, Ethan Dicks wrote: > Hello, all, > > I recently subscribed to this list in order to wrap my head around the > state of Linux USB drivers so I can write something to talk to a > Toshiba InTouch LCD display (PMD-C004). It's a reasonably > straightforward device with an Intel m

Re: [linux-usb-devel] about composite usb device

2005-11-29 Thread Alan Stern
On Tue, 29 Nov 2005, tong changda wrote: > hello. > Never develop a composite usb driver, Now I will develop a composite > usb-serial driver based on intel pxa270. It connect to windows pc that has > usb driver that create two virtual comm port. > I want to know the usual way to develop

Re: [linux-usb-devel] RNDIS Unacknowledged reset

2005-11-29 Thread Tony Riederer
--- David Brownell <[EMAIL PROTECTED]> wrote: > On Monday 28 November 2005 11:26 am, Tony Riederer > wrote: > > In testing my usb ethernet gadget (RNDIS) vs. > windows > > XP (SP2) I am encountering a condition where the > XP > > machine hangs up during a file transfer or > continuous > > ping.

[linux-usb-devel] [2.6 patch] drivers/usb/misc/sisusbvga/sisusb.c: remove dead code

2005-11-29 Thread Adrian Bunk
On Mon, Nov 28, 2005 at 12:52:20PM -0800, Greg KH wrote: > On Wed, Nov 23, 2005 at 09:31:50PM +0100, Adrian Bunk wrote: > > On Wed, Nov 23, 2005 at 11:02:37AM -0800, Greg KH wrote: > > > On Mon, Nov 21, 2005 at 12:22:39AM +0100, Adrian Bunk wrote: > > > > The Coverity checker found this obviously d

Re: [linux-usb-devel] Re: USB printer fails to print intermittently

2005-11-29 Thread Steve Bangert
On Wed, 2005-11-23 at 21:58 -0500, Alan Stern wrote: > On Wed, 23 Nov 2005, Steve Bangert wrote: > > > > What happens if you move or rename the usblp.ko driver module, so that > > > it's not available at boot time? You could then insmod it later on. > > > Normally the file is found in > > > >

[linux-usb-devel] Re: [2.6 patch] drivers/usb/misc/sisusbvga/sisusb.c: remove dead code

2005-11-29 Thread Thomas Winischhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Greg KH wrote: > On Wed, Nov 23, 2005 at 09:31:50PM +0100, Adrian Bunk wrote: > >>On Wed, Nov 23, 2005 at 11:02:37AM -0800, Greg KH wrote: >> >>>On Mon, Nov 21, 2005 at 12:22:39AM +0100, Adrian Bunk wrote: >>> The Coverity checker found this obvio

Re: [linux-usb-devel] RNDIS Unacknowledged reset

2005-11-29 Thread Robert Schwebel
On Mon, Nov 28, 2005 at 12:22:00PM -0800, David Brownell wrote: > This is clearly a nasty bug in Microsoft's software. > It should not be even _possible_ for their network > stack to lock up like that. We have seen plenty of them during the development of the RNDIS driver; the stack is pretty unst