Re: [linux-usb-devel] Problem with UPS APC Back-UPS CS 650

2007-07-31 Thread Boris Losev
David Brownell: > On Monday 30 July 2007, Boris Losev wrote: > >> I've got the APC Back-UPS CS 650 and Debian Etch with the kernel >> 2.6.18-4-686. I've tried to connect my UPS to PC via USB cable and got >> the errors: >> >> usb 2-1: new low speed USB device using ohci_hcd and address 14 >> u

Re: [linux-usb-devel] Problem with UPS APC Back-UPS CS 650

2007-07-31 Thread Boris Losev
> On Mon, 30 Jul 2007, Boris Losev wrote: > > >> Hi All! >> >> >> I've got the APC Back-UPS CS 650 and Debian Etch with the kernel >> 2.6.18-4-686. I've tried to connect my UPS to PC via USB cable and got >> the errors: >> >> usb 2-1: new low speed USB device using ohci_hcd and address 14 >>

Re: [linux-usb-devel] usb-serial.c question - potential Memory fault

2007-07-31 Thread Oliver Neukum
Am Dienstag 31 Juli 2007 schrieb Greg KH: > > So I agree with the proposition of Oliver to add a buffer_size in the > > usb_serial_driver structure. > > This is very useful to prepare a buffer able to make bulk transfer. > > I don't think it is necessary to add as it has not been a problem yet > f

Re: [linux-usb-devel] software unplug

2007-07-31 Thread Lucio Crusca
Pete Zaitcev wrote: > The symptoms you described point to a sequencer lock-up in the device. > Your best bet is to change the brand of the dongle to a more reliable > one. Any suggestion about which brands could be more reliable than others? > If you work for a bigger OEM, you may be able to shop

[linux-usb-devel] [PATCH] USB BIOS early handoff only when the we the driver is configured

2007-07-31 Thread David Engraf
When CONFIG_USB_UHCI_HCD, CONFIG_USB_OHCI_HCD or CONFIG_USB_EHCI_HCD is not configured we don't need to call the quirk_usb_handoff_ function in driver/usb/host/pci_quiks.c. I think the kernel shouldn't take the control over the usb controller when we don't have the driver for it, so with this

Re: [linux-usb-devel] [PATCH] usbhid: add ASUS LCM to the blacklist

2007-07-31 Thread Jiri Kosina
On Mon, 30 Jul 2007, Chr wrote: > Ok, found it " hid_blacklist is alphabetically sorted blacklist by quirk > type. " But is there a Order for the bitfields? e.g > shouldn't: hid-quriks.c (line 439, 440) > { USB_VENDOR_ID_APPLE, USB_DEVICE_ID_APPLE_FOUNTAIN_ANSI, > HID_QUIRK_POWERBOOK_HAS_FN | HI

Re: [linux-usb-devel] hid keyboard packet from interrupt IN pipe

2007-07-31 Thread Jiri Kosina
On Wed, 25 Jul 2007, Gabriel Maganis wrote: > Is there anyway I can get an hid keyboard (a Dell, in my case) to > send the host packets via the interrupt IN pipe i.e. something like > emulating keypresses? Could you please be more specific about what you are trying to achieve? You want to

[linux-usb-devel] autosuspend for asix driver

2007-07-31 Thread Oliver Neukum
Hi, this implements autosuspend support for the asix subdriver of usbnet. It works by autoresume when the device is opened and autosuspending when it is closed. The logic is all put into the generic framework. All the subdriver has to do is setting the flag. To support this the suspend() method i

[linux-usb-devel] \x81u\x82\xDC\x82\xE8\x82\xB1\x81v(ID:gr75288)\x97l\x82\xE6\x82\xE8\x8A\xAE\x91S\x96\xB3\x97\xBF\x8F\xB5\x91\xD2\x88\xC4\x93\xE0\x82\xAA\x93\xCD\x82\xAB\x82\xDC\x82\xB5\x82\xBD\x82\x

2007-07-31 Thread hsfgy
\x81\xA6\x82\xB1\x82\xCC\x83\x81\x81[\x83\x8B\x82\xD6\x95\xD4\x90M\x82\xB5\x82\xC4\x82\xE0\x93o\x98^\x82\xB3\x82\xEA\x82\xDC\x82\xB9\x82\xF1\x81B\x89\xBA\x8BL\x82\xCCURL\x82\xA9\x82\xE7\x82\xB2\x93o\x98^\x82\xAD\x82\xBE\x82\xB3\x82\xA2\x81B \x81\x9A\x81\x99\x81\x9A\x81\x99\x81\x9A\x81\x99\x81\x9A\x

Re: [linux-usb-devel] software unplug

2007-07-31 Thread Felipe Balbi
On 7/31/07, Lucio Crusca <[EMAIL PROTECTED]> wrote: > Pete Zaitcev wrote: > > The symptoms you described point to a sequencer lock-up in the device. > > Your best bet is to change the brand of the dongle to a more reliable > > one. > Any suggestion about which brands could be more reliable than oth

Re: [linux-usb-devel] [PATCH 1/7] USB: add urb->ep

2007-07-31 Thread Alan Stern
On Mon, 30 Jul 2007, Pete Zaitcev wrote: > I am afraid that drivers call unlink left and right, even on URBs which > were not submitted and thus have ->ep == NULL. But on the other hand, > maybe we want to catch them... That's a good point. I'll add a test to one of the upcoming patches to chec

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread Alan Stern
On Mon, 30 Jul 2007, A. Kalten wrote: > On Mon, 30 Jul 2007 18:09:23 -0400 (EDT) > Alan Stern <[EMAIL PROTECTED]> wrote: > > > > > Does this patch help? > > > > http://article.gmane.org/gmane.linux.kernel/556682/raw > > > > I cannot apply that patch to the 2.6.22 source: > > [linux-2.6.2

Re: [linux-usb-devel] [PATCH 3/7] USB: add direction bit to urb->transfer_flags

2007-07-31 Thread Alan Stern
On Mon, 30 Jul 2007, Pete Zaitcev wrote: > On Mon, 30 Jul 2007 17:06:16 -0400 (EDT), Alan Stern <[EMAIL PROTECTED]> > wrote: > > > --- usb-2.6.orig/drivers/usb/core/urb.c > > +++ usb-2.6/drivers/usb/core/urb.c > > @@ -309,7 +309,21 @@ int usb_submit_urb(struct urb *urb, gfp_ > > xfertype = u

Re: [linux-usb-devel] vfs_read problem in g_file_storage

2007-07-31 Thread Alan Stern
On Tue, 31 Jul 2007, Rajesh Srinivasan wrote: > Thanks for the response alan, > > That sounds sensible, but thing is, vfs fails in the very first read of > sector 0 (offset 0), and when i do a "ls -l" , the file shows a good 8MB > (which i created with dd ) any suggestions? I have no idea what c

Re: [linux-usb-devel] [PATCH 1/7] USB: add urb->ep

2007-07-31 Thread Alan Stern
On Mon, 30 Jul 2007, David Brownell wrote: > On Monday 30 July 2007, Alan Stern wrote: > > /* power of two? */ > > -   while (temp > urb->interval) > > -   temp >>= 1; > > -   urb->interval = temp; > > +   while (max > urb->in

Re: [linux-usb-devel] [PATCH 3/7] USB: add direction bit to urb->transfer_flags

2007-07-31 Thread Alan Stern
On Mon, 30 Jul 2007, David Brownell wrote: > On Monday 30 July 2007, Alan Stern wrote: > > +static inline int usb_urb_dir_in(struct urb *urb) > > +{ > > +   return (urb->transfer_flags & URB_DIR_MASK) != URB_DIR_OUT; > > +} > > Clearer would be: == URB_DIR_IN ... or does that generate bad co

Re: [linux-usb-devel] [PATCH] USB BIOS early handoff only when the we the driver is configured

2007-07-31 Thread Alan Stern
On Tue, 31 Jul 2007, David Engraf wrote: > When CONFIG_USB_UHCI_HCD, CONFIG_USB_OHCI_HCD or CONFIG_USB_EHCI_HCD is > not configured we don't need to call the quirk_usb_handoff_ function > in driver/usb/host/pci_quiks.c. > > I think the kernel shouldn't take the control over the usb controller

Re: [linux-usb-devel] [3/3] 2.6.23-rc1: known regressions v3

2007-07-31 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc1. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Adrian Bunk6 Andi Kleen

Re: [linux-usb-devel] [3/3] 2.6.23-rc1: known regressions with patches v3

2007-07-31 Thread Michal Piotrowski
Hi all, Here is a list of some known regressions in 2.6.23-rc1 with patches available. Feel free to add new regressions/remove fixed etc. http://kernelnewbies.org/known_regressions List of Aces NameRegressions fixed since 21-Jun-2007 Adrian Bunk6

Re: [linux-usb-devel] autosuspend for asix driver

2007-07-31 Thread Alan Stern
On Tue, 31 Jul 2007, Oliver Neukum wrote: > --- a/drivers/net/usb/usbnet.c2007-07-30 14:27:40.0 +0200 > +++ b/drivers/net/usb/usbnet.c2007-07-31 11:07:51.0 +0200 > @@ -1143,6 +1157,7 @@ usbnet_probe (struct usb_interface *udev > > dev = netdev_priv(net); >

Re: [linux-usb-devel] [PATCH 1/7] USB: add urb->ep

2007-07-31 Thread David Brownell
On Tuesday 31 July 2007, Alan Stern wrote: > > Related:  consider making urb->interval and its neighbors > > be "u32" or maybe even "u16". > > Hmmm... maybe.  It's not clear the space savings would matter much; I > doubt that terribly many URBs ever get allocated at the same time. I don't follow

Re: [linux-usb-devel] software unplug

2007-07-31 Thread Lucio Crusca
Felipe Balbi wrote: > How much data are we talking about... I could transfer around 500mb > between two pcs using crappy usb-bluetooth dongles... I bought > sometime ago... Data is a few kb, but I suspect that the problem here could be "how many simultaneous connections", not "how much data". My s

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread A. Kalten
On Tue, 31 Jul 2007 10:22:42 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> wrote: > That patch > is meant for 2.6.23-rc1. Can you try running 2.6.23-rc1 plus the patch > and see if together they fix the problem? > The patch is already applied to 2.6.23-rc1. But after compiling 2.6.23-rc1 and und

Re: [linux-usb-devel] [PATCH 1/7] USB: add urb->ep

2007-07-31 Thread Alan Stern
On Tue, 31 Jul 2007, David Brownell wrote: > On Tuesday 31 July 2007, Alan Stern wrote: > > > Related:  consider making urb->interval and its neighbors > > > be "u32" or maybe even "u16". > > > > Hmmm... maybe.  It's not clear the space savings would matter much; I > > doubt that terribly many U

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread Alan Stern
On Tue, 31 Jul 2007, A. Kalten wrote: > On Tue, 31 Jul 2007 13:00:38 -0400 > "A. Kalten" <[EMAIL PROTECTED]> wrote: > > > > But after compiling 2.6.23-rc1 and undergoing the same steps > > with the usb modem as before, the problem remains. The only > > difference is that the command "rmmod uhci-

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread A. Kalten
On Tue, 31 Jul 2007 13:00:38 -0400 "A. Kalten" <[EMAIL PROTECTED]> wrote: > > But after compiling 2.6.23-rc1 and undergoing the same steps > with the usb modem as before, the problem remains. The only > difference is that the command "rmmod uhci-hcd" now reports > the message "Killed" instead of

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

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/usb/misc/ftdi-elan.c | 121253 -> 121196 (-57 bytes) drivers/usb/misc/ftdi-elan.o | 209425 -> 209265 (-160 bytes) drivers/usb/misc/ftdi-elan.c |8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) --- linux-2.6.23-rc1-mm1-

Re: [linux-usb-devel] usb-serial.c question - potential Memory fault

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 07:49:34AM +0200, Alain Degreffe wrote: > Greg, > > You are right ( of course ), but using the buffer given by the usb-serial > seems to bo logic as I said. > By this way I don't create unnecessary buffer. But in bulk transfer, the > buffer_size can be greater than > The va

Re: [linux-usb-devel] usb-serial.c question - potential Memory fault

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 09:14:30AM +0200, Oliver Neukum wrote: > Am Dienstag 31 Juli 2007 schrieb Greg KH: > > > So I agree with the proposition of Oliver to add a buffer_size in the > > > usb_serial_driver structure. > > > This is very useful to prepare a buffer able to make bulk transfer. > > >

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread A. Kalten
On Tue, 31 Jul 2007 13:35:54 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> wrote: > > Hmmm. So if you stop before the "modprobe cdc-acm" step there's no > trouble with "rmmod uhcd-hcd". What about if you do load cdc-acm but > don't run the fax program? > Here are some variations. I plug in th

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread Oliver Neukum
Am Dienstag 31 Juli 2007 schrieb A. Kalten: > On Tue, 31 Jul 2007 13:00:38 -0400 > "A. Kalten" <[EMAIL PROTECTED]> wrote: > > > > But after compiling 2.6.23-rc1 and undergoing the same steps > > with the usb modem as before, the problem remains.  The only > > difference is that the command "rmmod

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

2007-07-31 Thread Kostas Peletidis
Matthew Dharm wrote: Did you change any USB-related compile options between the two builds? Do you have usb device suspend enabled? Can you tell (via top) where the 100% CPU usage is coming from (i.e. df, usb-storage thread, syswait, etc)? Matt Hi Matt, The most relevant USB configuratio

Re: [linux-usb-devel] Problem with UPS APC Back-UPS CS 650

2007-07-31 Thread Boris Losev
>> Hi All! >> >> >> I've got the APC Back-UPS CS 650 and Debian Etch with the kernel >> 2.6.18-4-686. I've tried to connect my UPS to PC via USB cable and got >> the errors: >> >> usb 2-1: new low speed USB device using ohci_hcd and address 14 >> usb 2-1: device not accepting address 14, error -

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

2007-07-31 Thread Matthew Dharm
It would be interesting to turn on CONFIG_USB_STORAGE_DEBUG and capture the debugging output. Matt On Tue, Jul 31, 2007 at 08:37:31PM +0100, Kostas Peletidis wrote: > Matthew Dharm wrote: > >Did you change any USB-related compile options between the two builds? > > > >Do you have usb device suspe

Re: [linux-usb-devel] autosuspend for asix driver

2007-07-31 Thread Oliver Neukum
Am Dienstag 31 Juli 2007 schrieb Alan Stern: > You assign dev->intf in both the usbnet framework driver and the > subdriver.  Could the subdriver's assignment be removed? Yes, it is superfluous. I'll make a new patch. Regards Oliver --

Re: [linux-usb-devel] Problem with UPS APC Back-UPS CS 650

2007-07-31 Thread Alan Stern
On Tue, 31 Jul 2007, Boris Losev wrote: > > This error indicates that the computer is unable to communicate with > > the device. Are the cables okay? Don't forget to check any cables > > inside the computer case, connecting the motherboard to the ports. > > > > Does your computer work with oth

Re: [linux-usb-devel] [-mm patch] USB: make dev_attr_authorized_default static

2007-07-31 Thread Inaky Perez-Gonzalez
On Sunday 29 July 2007 07:58, Adrian Bunk wrote: > -DEVICE_ATTR(authorized_default, 0644, > - usb_host_authorized_default_show, > - usb_host_authorized_default_store); > +static DEVICE_ATTR(authorized_default, 0644, > > + usb_host_authorized_default_show, Ack, patchse

Re: [linux-usb-devel] [patch 05/17] usb: usb_s et_configuration() obeys authorization

2007-07-31 Thread Inaky Perez-Gonzalez
On Wednesday 18 July 2007 15:01, Ragner Magalhaes wrote: > ext [EMAIL PROTECTED] wrote: > > Will refuse to configure a non-authorized device. > > > > + if (dev->authorized == 0) > > + configuration = -1; > > if (configuration == -1) > I think would be better > if ((dev->authorized

Re: [linux-usb-devel] [patch 10/17] usb: introdu ce usb_authorize/deauthorize ()

2007-07-31 Thread Inaky Perez-Gonzalez
On Wednesday 18 July 2007 15:20, Ragner Magalhaes wrote: > ext [EMAIL PROTECTED] wrote: > > + usb_dev->config = NULL; > > + usb_dev->descriptor.bNumConfigurations = 0; > "usb_dev->descriptor.bNumConfigurations" is always zero here ... in the > "for" > > + for (cnt = 0; cnt < usb_dev->descript

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

2007-07-31 Thread Kostas Peletidis
Alan Stern wrote: On Mon, 30 Jul 2007, Kostas Peletidis wrote: Hi all, I would like to report a problem I have noticed since linux-2.6.22 that most likely has to do with the USB subsystem. I have tried both kernel versions 2.6.22 and 2.6.22.1(configured with make oldconfig) and in both

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread Alan Stern
On Tue, 31 Jul 2007, Oliver Neukum wrote: > Am Dienstag 31 Juli 2007 schrieb A. Kalten: > > On Tue, 31 Jul 2007 13:00:38 -0400 > > "A. Kalten" <[EMAIL PROTECTED]> wrote: > > > > > > But after compiling 2.6.23-rc1 and undergoing the same steps > > > with the usb modem as before, the problem remain

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

2007-07-31 Thread Alan Stern
On Tue, 31 Jul 2007, Kostas Peletidis wrote: > Hi Alan, > > I enabled CONFIG_USB_DEBUG and reproduced the problem but didn't see any > messages in the dmesg output. To ensure that the debug code was indeed > built in I unplugged the disk then plugged it back in. I got quite a few > messages, h

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

2007-07-31 Thread Branden Sletteland
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 subsystems that was causing this. I am usually doing df on USB storage devices formated as FAT 32 w/ a

[linux-usb-devel] Cleaning up the USBHID's blacklist.

2007-07-31 Thread Chr
On Tuesday, 31. July 2007, Jiri Kosina wrote: > On Mon, 30 Jul 2007, Chr wrote: > > > Ok, found it " hid_blacklist is alphabetically sorted blacklist by quirk > > type. " But is there a Order for the bitfields? e.g > > shouldn't: hid-quriks.c (line 439, 440) > > { USB_VENDOR_ID_APPLE, USB_DEVICE_

Re: [linux-usb-devel] USB-related instability on 2.6.23-rc1

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 03:06:07PM -0600, Grant Likely wrote: > I've observed instability on my Macbook c2d with the Linus' latest > tree. Symptom is that USB devices start behaving badly and the kernel > seems to be registering incorrect HID events; (ie. moving the mouse > causes odd keyboard eve

Re: [linux-usb-devel] USB-related instability on 2.6.23-rc1

2007-07-31 Thread Grant Likely
On 7/31/07, Greg KH <[EMAIL PROTECTED]> wrote: > On Tue, Jul 31, 2007 at 03:06:07PM -0600, Grant Likely wrote: > > I've attached my kernel config file and a dmesg output > > Can you enable CONFIG_USB_DEBUG and send the linux-usb-devel list and > us, the output when you have these problems? Yes, I'

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread A. Kalten
On Tue, 31 Jul 2007 16:27:51 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> wrote: > > Here's a diagnotic patch to try under 2.6.22. It should add some > interesting information to the kernel log, starting from the point > where the modem gets plugged in. > The kernel 2.6.22 was patched and recomp

Re: [linux-usb-devel] USB-related instability on 2.6.23-rc1

2007-07-31 Thread Stuart_Hayes
Greg KH wrote: > On Tue, Jul 31, 2007 at 03:06:07PM -0600, Grant Likely wrote: >> I've observed instability on my Macbook c2d with the Linus' latest >> tree. Symptom is that USB devices start behaving badly and the >> kernel seems to be registering incorrect HID events; (ie. moving the >> mouse ca

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread A. Kalten
On Tue, 31 Jul 2007 16:27:51 -0400 (EDT) Alan Stern <[EMAIL PROTECTED]> wrote: > > Here's a diagnotic patch to try under 2.6.22. It should add some > interesting information to the kernel log, starting from the point > where the modem gets plugged in. > The error occurs only if the modules are

Re: [linux-usb-devel] Can't unload uhci_hcd module with 2.6.22 -- also oops

2007-07-31 Thread Oliver Neukum
Am Dienstag 31 Juli 2007 schrieb Alan Stern: > > > For whatever it's worth.I should point out that this problem > > > only occurs when using the USB Abstract Control Model driver > > > for USB modems (i.e. the cdc_acm module).  When using my > > > USB scanner or USB printer I can unload the uhci-hc

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

2007-07-31 Thread Kostas Peletidis
Matthew Dharm wrote: It would be interesting to turn on CONFIG_USB_STORAGE_DEBUG and capture the debugging output. Matt On Tue, Jul 31, 2007 at 08:37:31PM +0100, Kostas Peletidis wrote: Matthew Dharm wrote: Did you change any USB-related compile options between the two builds? Do you

[linux-usb-devel] [PATCH] bug with EHCI cpufreq patch on nVidia controllers

2007-07-31 Thread Stuart_Hayes
This patch fixes a bug with the cpu frequency change notifier and nVidia EHCI controllers. The nVidia controllers write the transfer overlay back to the qtd when they see the "inactivate" bit set in the qh, which clears the "active" bit in qtd->hw_token. When the qh was reactivated, the "active"

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

2007-07-31 Thread Kostas Peletidis
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 > subsystems that was causing this. I am usually doing df on USB > sto

[linux-usb-devel] [PATCH 81] drivers/net/wireless/zd1201.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Mariusz Kozlowski
Signed-off-by: Mariusz Kozlowski <[EMAIL PROTECTED]> drivers/net/wireless/zd1201.c | 47231 -> 47205 (-26 bytes) drivers/net/wireless/zd1201.o | 216884 -> 216984 (+100 bytes) drivers/net/wireless/zd1201.c |3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- linux-2.6.23-rc1-mm1-a/dri

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

2007-07-31 Thread Matthew Dharm
What the heck happened to your logs? It looks like about 75% of the data is being lost from the log file... Matt On Tue, Jul 31, 2007 at 10:47:40PM +0100, Kostas Peletidis wrote: > Matthew Dharm wrote: > >It would be interesting to turn on CONFIG_USB_STORAGE_DEBUG and capture the > >debugging ou

Re: [linux-usb-devel] USB-related instability on 2.6.23-rc1

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 03:26:55PM -0600, Grant Likely wrote: > On 7/31/07, Greg KH <[EMAIL PROTECTED]> wrote: > > On Tue, Jul 31, 2007 at 03:06:07PM -0600, Grant Likely wrote: > > > I've attached my kernel config file and a dmesg output > > > > Can you enable CONFIG_USB_DEBUG and send the linux-us

Re: [linux-usb-devel] [PATCH] bug with EHCI cpufreq patch on nVidia controllers

2007-07-31 Thread Pete Zaitcev
On Tue, 31 Jul 2007 17:00:04 -0500, <[EMAIL PROTECTED]> wrote: > + list_for_each_safe (entry, tmp, &qh->qtd_list) { > + qtd = list_entry (entry, struct ehci_qtd, qtd_list); > + if (cpu_to_le32 (qtd->qtd_dma) == qh->hw_current) > + return qtd; > +

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

2007-07-31 Thread Kostas Peletidis
That's how they appeared, messed up. I need to enable usb storage debugging in my reference kernel(2.6.21.5) and see if the log looks any better or if my 1GHz VIA Nehemiah is simply not fast enough for debugging. But now I must switch to sleep mode :-) -- Kostas Matthew Dharm wrote: > What th

Re: [linux-usb-devel] USB-related instability on 2.6.23-rc1

2007-07-31 Thread Grant Likely
On 7/31/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > Greg KH wrote: > > On Tue, Jul 31, 2007 at 03:06:07PM -0600, Grant Likely wrote: > >> I've attached my kernel config file and a dmesg output > > > > Can you enable CONFIG_USB_DEBUG and send the linux-usb-devel list and > > us, the output wh

Re: [linux-usb-devel] [PATCH] bug with EHCI cpufreq patch on nVidia controllers

2007-07-31 Thread Greg KH
On Tue, Jul 31, 2007 at 04:00:15PM -0700, Pete Zaitcev wrote: > On Tue, 31 Jul 2007 17:00:04 -0500, <[EMAIL PROTECTED]> wrote: > > > + list_for_each_safe (entry, tmp, &qh->qtd_list) { > > + qtd = list_entry (entry, struct ehci_qtd, qtd_list); > > + if (cpu_to_le32 (qtd->qtd_d

Re: [linux-usb-devel] [PATCH 25] drivers/usb/misc/ftdi-elan.c: kmalloc + memset conversion to kzalloc

2007-07-31 Thread Christoph Lameter
On Tue, 31 Jul 2007, Mariusz Kozlowski wrote: > @@ -2777,12 +2777,14 @@ static int ftdi_elan_probe(struct usb_in > size_t buffer_size; > int i; > int retval = -ENOMEM; > -struct usb_ftdi *ftdi = kmalloc(sizeof(struct usb_ftdi), GFP_KERNEL); > -if (ftdi ==

Re: [linux-usb-devel] garmin_gps not working with etrex vista cx

2007-07-31 Thread Andrew Morton
On Tue, 31 Jul 2007 10:44:39 -0400 Neal Becker <[EMAIL PROTECTED]> wrote: > I can't seem to transfer routes to my garmin etrex vista cx. I get > (repeatably) truncated routes, and: > Jul 31 07:19:07 nbecker4 kernel: usb 2-2: reset full speed USB device using > ohci_hcd and address 3 > Jul 31 07:2

[linux-usb-devel] 提供各行业投资服务,包括项目评估,项目策划,投资项目委托,项目可行性分析报告,商业计划书,各行业市场研究报告,深度决策分析,各类投标书

2007-07-31 Thread 专业策划撰写商业计划书
专业策划撰写商业计划书(含可研报告等) 广州纳福咨询有限公司按国际惯例策划、撰写的项目商业计划书已经成为众多境内外实力雄厚的投资银行、国际风险投资公司、境内优秀企业投资立项的重要依椐。为能使贵公司的项目与国际投资银行、风险投资公司、境内实力雄厚的企业投资合作更加顺利开展和运行,按国际惯例撰写项目商业计划书是获得有关境内外投资合作的必要途径。只有这样,才能将您的项目更加系统、完善地展现给境内外投融资商的高层决策者;也才有可能更好地获得境内外投融资商的青睐与投资合作。 提供各行业投资服务,包括项目评估,项目策划,投资项目委托,项目可行性分析报告,商业计划书,各行业市场研究报告,深度决策分析,各类

Re: [linux-usb-devel] vfs_read problem in g_file_storage

2007-07-31 Thread Rajesh Srinivasan
Thanks Alan, After re-formatting the media, and re-creating the file, everything goes OK. Most probably a corrupted file.. But will never know now. Thanks. Rajesh > I have no idea what could be wrong. If you can read the file contents > from the command line (with dd, for example) then the dr

[linux-usb-devel] [近距离了解华为的机会]491

2007-07-31 Thread Qjkr
--- Èç ²» Ðè Òª Ïà ¹Ø ÐŠϢ Çë »Ø ¸´ ÍË ¶¨ ÓÊ [EMAIL PROTECTED] --- »ª Ϊ µÄ ÊÀ ½ç -