Re: [linux-usb-devel] usblp suspend failure with 2.6.15-rc5

2005-12-13 Thread Greg KH
On Wed, Dec 14, 2005 at 02:10:22AM -0500, Dmitry Torokhov wrote: > On Wednesday 14 December 2005 01:10, Greg KH wrote: > > Alan, I'm starting to get some complaints about this issue (almost no > > usb drivers have a suspend/resume function, nor should they be required > > to.) > > Greg, > > Will

Re: [linux-usb-devel] usblp suspend failure with 2.6.15-rc5

2005-12-13 Thread Dmitry Torokhov
On Wednesday 14 December 2005 01:10, Greg KH wrote: > Alan, I'm starting to get some complaints about this issue (almost no > usb drivers have a suspend/resume function, nor should they be required > to.) Greg, Will you object to adding suspend/resume support to individual USB drivers? Relying on

Re: [linux-usb-devel] usblp suspend failure with 2.6.15-rc5

2005-12-13 Thread Greg KH
Alan, I'm starting to get some complaints about this issue (almost no usb drivers have a suspend/resume function, nor should they be required to.) Mind if I add the patch below to the tree? thanks, greg k-h On Wed, Dec 07, 2005 at 11:30:48AM -0500, Alan Stern wrote: > Darn it. There were two

[linux-usb-devel] ~surprise remove problem~

2005-12-13 Thread WSLiao0
Dear all: I am doing porting task for our company wireless NIC driver from 2.4.x to 2.6.x. I got a problem about the surprise remove after loading driver successfully. The system was crashed and halted, when plug out the NIC without typing" rmmod xxx". However, if plugging out NIC after typing" rm

Re: [linux-usb-devel] /sys/module/g_ether/parameters oops

2005-12-13 Thread Aras Vaichas
David Brownell wrote: On Monday 12 December 2005 10:48 pm, Aras Vaichas wrote: Hi, I was poking around /sys and I noticed that g_ether gave an oops if I tried to look at its parameters. g_serial seems to work OK, as do most of the other modules that I checked. Does anyone else have this pr

Re: [linux-usb-devel] Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

2005-12-13 Thread David Brownell
> > > > > if ((status & STS_PCD) && > > > > > device_may_wakeup(&hcd->self.root_hub->dev)) { > > > > > > > > What happens if you make that line read > > > > > > > > if ((status & STS_PCD) != 0) { > > > > > > > > and ignore the root hub thing? > > > > > > So far, so good. It work

Re: [linux-usb-devel] usb storage errors 2.6.15-rc4

2005-12-13 Thread Andrea Arcangeli
On Tue, Dec 13, 2005 at 03:02:15PM -0800, Pete Zaitcev wrote: > On Tue, 13 Dec 2005 23:34:37 +0100, Andrea Arcangeli <[EMAIL PROTECTED]> > wrote: > > > ohci_hcd :01:00.1: urb 810022377d40 path 2 ep2out 5fce cc 5 --> > > status -110 > > hub 2-0:1.0: state 5 ports 3 chg evt 0004 >

Re: [linux-usb-devel] usb storage errors 2.6.15-rc4

2005-12-13 Thread Pete Zaitcev
On Tue, 13 Dec 2005 23:34:37 +0100, Andrea Arcangeli <[EMAIL PROTECTED]> wrote: > ohci_hcd :01:00.1: urb 810022377d40 path 2 ep2out 5fce cc 5 --> > status -110 > hub 2-0:1.0: state 5 ports 3 chg evt 0004 > ohci_hcd :01:00.1: GetStatus roothub.portstatus [1] = 0x00100103 PRSC

Re: [linux-usb-devel] Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

2005-12-13 Thread Rafael J. Wysocki
On Tuesday, 13 December 2005 23:22, David Brownell wrote: > On Tuesday 13 December 2005 2:10 pm, Rafael J. Wysocki wrote: > > On Tuesday, 13 December 2005 07:52, David Brownell wrote: > > > > > > > > if ((status & STS_PCD) && > > > > device_may_wakeup(&hcd->self.root_hub->dev)) { > > > >

[linux-usb-devel] usb storage errors 2.6.15-rc4

2005-12-13 Thread Andrea Arcangeli
I've an USB storage key that gives these errors on my x86_64 system: usb 2-2: new full speed USB device using ohci_hcd and address 8 ohci_hcd :01:00.1: GetStatus roothub.portstatus [1] = 0x00100103 PRSC PPS PES CCS usb 2-2: default language 0x0409 usb 2-2: new device strings: Mfr=1, Product=2

[linux-usb-devel] Re: [-mm patch] drivers/usb/ip/: make functions static

2005-12-13 Thread Greg KH
On Mon, Dec 05, 2005 at 10:55:44PM +0100, Adrian Bunk wrote: > This patch makes three needlessly global functions static. Applied, thanks. greg k-h --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems?

Re: [linux-usb-devel] Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

2005-12-13 Thread David Brownell
On Tuesday 13 December 2005 2:10 pm, Rafael J. Wysocki wrote: > On Tuesday, 13 December 2005 07:52, David Brownell wrote: > > > > > > if ((status & STS_PCD) && device_may_wakeup(&hcd->self.root_hub->dev)) { > > > > What happens if you make that line read > > > > if ((status & STS_PCD) != 0

Re: [linux-usb-devel] Re: 2.6.15-rc5-mm2: ehci_hcd crashes on load sometimes

2005-12-13 Thread Rafael J. Wysocki
On Tuesday, 13 December 2005 07:52, David Brownell wrote: > > > > if ((status & STS_PCD) && device_may_wakeup(&hcd->self.root_hub->dev)) { > > What happens if you make that line read > > if ((status & STS_PCD) != 0) { > > and ignore the root hub thing? So far, so good. It works and

[linux-usb-devel] Strange USB2 hub behavior

2005-12-13 Thread Dave Hansen
I wouldn't have thought much of this and attributed it to a hub dying, but I've had _two_ USB2 hubs stop working on me in the last week. One was at work, and one at home. I booted into Windows and at least the one at home seems to be fine. The same issue appears with another plain USB2 disk that

Re: [linux-usb-devel] Logging file transfers

2005-12-13 Thread Oliver Neukum
Am Dienstag, 13. Dezember 2005 16:28 schrieb gary clark: > Hello, > > I want to be able to log file transfers from a PC to > USB storage devices? Can this be achieved in user > space or will I have to patch the kernel usb storage That calls for ptrace. At the storage driver's level all knowledge

[linux-usb-devel] Re: question for add multi-serial port to usb serial driver

2005-12-13 Thread Ian Abbott
On 13/12/05 09:35, tong changda wrote: I see qualcomm's inf file that has this %xxx% = QportInstall6k, SB\VID_1234&PID_&MI_01 %xxx% = QportInstallNMEA, USB\VID_1234&PID_&MI_02 xxx% = QportInstalltest, USB\VID_1234&PID_&MI_00 all this three has same VID&PID, diff only on

Re: [linux-usb-devel] Re: 2.6.15-rc5-mm1

2005-12-13 Thread David Brownell
On Tuesday 13 December 2005 7:35 am, Alan Stern wrote: > On Tue, 13 Dec 2005, J.A. Magallon wrote: > > PCI: cache line size of 128 is not supported by device :00:1d.7 > > > > I don't think that matters. It's more informational than a w

[linux-usb-devel] [PATCH 2.6.14-rc5] ftdi_sio: new IDs for Teratronik devices

2005-12-13 Thread Ian Abbott
From: Ian Abbott <[EMAIL PROTECTED]> Hi Greg, This patch adds vendor and product IDs to the ftdi_sio driver's device ID table for two devices from teratronik.de. The device IDs were submitted by O. Wölfelschneider of Teratronik Elektronische Systeme GmbH. The charset of the patch is latin-1

Re: [linux-usb-devel] Logging file transfers

2005-12-13 Thread Alan Stern
On Tue, 13 Dec 2005, gary clark wrote: > Hello, > > I want to be able to log file transfers from a PC to > USB storage devices? Can this be achieved in user > space or will I have to patch the kernel usb storage > driver to achieve this. I was thinking the latter > would be the obvious choice. An

Re: [linux-usb-devel] Re: 2.6.15-rc5-mm1

2005-12-13 Thread Alan Stern
On Tue, 13 Dec 2005, J.A. Magallon wrote: > Bingo! This corrected the problem. I applied it to rc5-mm2 and booted nicely. > One less bug. > > A side question. Are this messages dangerous ? > > hub 4-0:1.0: USB hub found > hub 4-0:1.0: 2 ports detected > ACPI: PCI Interrupt :00:1d.7[D] -> GSI

[linux-usb-devel] [PATCH] usbcore: fix local variable clash

2005-12-13 Thread Alan Stern
Greg: This patch (as621) fixes a local variable conflict I accidently introduced into usb_set_configuration. Alan Stern Signed-off-by: Alan Stern <[EMAIL PROTECTED]> --- Index: usb-2.6/drivers/usb/core/message.c === --- usb-2.6

Re: [linux-usb-devel] question for add multi-serial port to usb serial driver

2005-12-13 Thread Alan Stern
On Tue, 13 Dec 2005, tong changda wrote: > hello > Now I am working on add multiple usb serial port support to gserial.c, > I had refer that qualcomm 3G phone that support 3 usb port on windows pc. > On enumeration stage , with ONLY ONE usb reset, the host start four "80 06 > 00 01 00 00

[linux-usb-devel] Logging file transfers

2005-12-13 Thread gary clark
Hello, I want to be able to log file transfers from a PC to USB storage devices? Can this be achieved in user space or will I have to patch the kernel usb storage driver to achieve this. I was thinking the latter would be the obvious choice. Any ideas on this would be appreciated. Thanks, Garyc

Re: [linux-usb-devel] 2nd device node not created with dual joypad adapter

2005-12-13 Thread Alan Stern
On Tue, 13 Dec 2005, Michael Alladin wrote: > After doing some digging with regards to my original problem (PSX Dual Pad > adapter not functioning) I have noticed a couple of things. > > 1. Even though it's a DUAL Adapter, only ONE device node, /dev/input/js0 is > created. No matter how many "

[linux-usb-devel] [PATCH] drivers/usb/host/isp116x-hcd.c: Removed unused variable

2005-12-13 Thread Olav Kongas
Greg, please apply. Olav - From: Daniel Marjamäki <[EMAIL PROTECTED]> Removed unused variable Signed-off-by: Daniel Marjamäki <[EMAIL PROTECTED]> Signed-off-by: Olav Kongas <[EMAIL PROTECTED]> --- a/drivers/usb/host/isp116x-hcd.c2005-12-05 06:57:47.0 +0100 +++

[linux-usb-devel] question for add multi-serial port to usb serial driver

2005-12-13 Thread tong changda
hello Now I am working on add multiple usb serial port support to gserial.c, I had refer that qualcomm 3G phone that support 3 usb port on windows pc. On enumeration stage , with ONLY ONE usb reset, the host start four "80 06 00 01 00 00 12 00" each for a different virtual usb device,