Re: [linux-usb-devel] Stuck control URBs on some APC UPSes

2005-06-16 Thread Martin Kessler
Adam Kropelin wrote: Martin Kessler wrote: Adam Kropelin wrote: Martin Kessler wrote: Adam Kropelin wrote: I've attached a rather ugly hack to fix the problem in hid-core. I don't know if this alone will solve Martin's lockup, but I'm hoping it does. I disregarded your earlier

[linux-usb-devel] USB flash drive is not working sometimes

2005-06-16 Thread Denis Vlasenko
Hi folks, I had a 128M flash stick and it worked just fine. Now I've got 256M one (Transcend JetFlash). This one sometimes fails to work. Symptom is a failure to mount /dev/sda1. This was observer on two different machines, one with USB1 and one with USB2 controllers. Today I plugged in the

Re: [linux-usb-devel] Stuck control URBs on some APC UPSes

2005-06-16 Thread Martin Kessler
Adam Kropelin wrote: Martin Kessler wrote: Adam Kropelin wrote: Martin Kessler wrote: Adam Kropelin wrote: I've attached a rather ugly hack to fix the problem in hid-core. I don't know if this alone will solve Martin's lockup, but I'm hoping it does. I disregarded your earlier

[linux-usb-devel] Re: USB flash drive is not working sometimes

2005-06-16 Thread Matthew Dharm
I'm pretty sure that the failure mode here has little to do with usb-storage. It looks like the device fails to enumerate properly. Matt On Thu, Jun 16, 2005 at 09:33:01AM +0300, Denis Vlasenko wrote: Hi folks, I had a 128M flash stick and it worked just fine. Now I've got 256M one

[linux-usb-devel] [PATCH] for Usb-serial Bug in serial_close method.

2005-06-16 Thread chinmay.kale
Hi, Please find the patch below as per previous discussion for Linux Kernel version: linux-2.6.11.10. Hope there are no more issues. --- linux-2.6.11.10/drivers/usb/serial/usb-serial.c.orig 2005-06-15 15:56:48.0 +0530 +++ linux-2.6.11.10/drivers/usb/serial/usb-serial.c 2005-06-16

[linux-usb-devel] Re: USB flash drive is not working sometimes

2005-06-16 Thread Pete Zaitcev
On Thu, 16 Jun 2005 09:33:01 +0300, Denis Vlasenko [EMAIL PROTECTED] wrote: 2005-06-16_05:23:09.81176 kern.debug: uhci_hcd :00:1f.4: port 1 portsc 0093,00 2005-06-16_05:23:09.81179 kern.debug: hub 2-0:1.0: port 1, status 0101, change 0001, 12 Mb/s 2005-06-16_05:23:09.91495 kern.debug:

Re: [linux-usb-devel] Stuck control URBs on some APC UPSes

2005-06-16 Thread Christian Pernegger
How it the testing of Christian doing? To be honest, I had no time to test patches in the last few days - I have a deadline to meet on Monday. Will try patches ASAP. C. --- SF.Net email is sponsored by: Discover Easy Linux Migration

[linux-usb-devel] Re: USB flash drive is not working sometimes

2005-06-16 Thread Denis Vlasenko
On Thursday 16 June 2005 10:51, Pete Zaitcev wrote: On Thu, 16 Jun 2005 09:33:01 +0300, Denis Vlasenko [EMAIL PROTECTED] wrote: 2005-06-16_05:23:09.81176 kern.debug: uhci_hcd :00:1f.4: port 1 portsc 0093,00 2005-06-16_05:23:09.81179 kern.debug: hub 2-0:1.0: port 1, status 0101,

Re: [linux-usb-devel] Troubles with 116x driver on PXA255 platform

2005-06-16 Thread Ian Campbell
On Wed, 2005-06-15 at 23:27 -0500, Bill Gatliff wrote: 116x: Clock not ready after 20ms 116x: The driver does not support hardware wakeup. 116x: Please make sure that the H_WAKEUP pin is pulled low! Did you do this? In my experience this error is most often due to the H_WAKEUP pin being pulled

[linux-usb-devel] Mixed Byte order OHCI required

2005-06-16 Thread Jochen Karrer
Hi, I need an OHCI with Register and DMA descriptor byteorder separate switchable. A PCI machine has little endian OHCI registers and little endian Endpoint and transfer descriptors. For a non PCI OHCI (Netsilicon NS9750 ARM). I need big endian OHCI registers with little endian DMA descriptors.

Re: [linux-usb-devel] NETDEV WATCHDOG: usb0: transmit timed out

2005-06-16 Thread Aric D. Blumer
On Wed Jun 15 23:05:52 2005 David Brownell wrote: On Wednesday 15 June 2005 7:35 pm, Aric D. Blumer wrote: I'm bringing up the PXA27x UDC driver (on an IPAQ hx4700), and the USB test suite with g_zero has run successfully over night, and the g_file_storage gadget works. But g_ether

Re: [linux-usb-devel] Troubles with 116x driver on PXA255 platform

2005-06-16 Thread Bill Gatliff
Ian: Ian Campbell wrote: Did you do this? In my experience this error is most often due to the H_WAKEUP pin being pulled the wrong way (or not at all). I didn't do the board, but I just caught that statement on p. 9 of the datasheet... I'll break out the soldering iron, then get back to

Re: [linux-usb-devel] Mixed Byte order OHCI required

2005-06-16 Thread Dale Farnsworth
On Thu, Jun 16, 2005 at 10:18:01AM +, Jochen Karrer wrote: Hi, I need an OHCI with Register and DMA descriptor byteorder separate switchable. A PCI machine has little endian OHCI registers and little endian Endpoint and transfer descriptors. For a non PCI OHCI (Netsilicon NS9750 ARM). I

[linux-usb-devel] Re: usbserial driver throughput low

2005-06-16 Thread Petr Pisar
Simon Wu napsal(a): Hello, I have a wireless mobile/modem device that uses usbserial driver on linux. The vendor only provide custom driver for windows. The usbserial driver works work when the throughput is about 384k. But when the new modem goes to almost 2Mbps, the linux usbserial driver

Re: [linux-usb-devel] NETDEV WATCHDOG: usb0: transmit timed out

2005-06-16 Thread David Brownell
On Thursday 16 June 2005 5:49 am, Aric D. Blumer wrote: On Wed Jun 15 23:05:52 2005 David Brownell wrote: Did you follow up on my (offline) suggestions to bring up pxa27x first by using the CDC Subset rather than full CDC Ethernet? Did that work? Sorry, I missed that one in the midst

AW: [linux-usb-devel] Mixed Byte order OHCI required

2005-06-16 Thread Jochen Karrer
#define big_endian_descriptors() #define big_endian_registers() Sounds reasonable. Please submit code when you get it working. :) Se below. Its untested and I'm not convinced that we really need special readl_be and writel_be for every architecture. Everybody will add its readl

Re: [linux-usb-devel] Re: usbserial driver throughput low

2005-06-16 Thread Oliver Neukum
Am Donnerstag, 16. Juni 2005 13:01 schrieb Petr Pisar: Simon Wu napsal(a): Hello, I have a wireless mobile/modem device that uses usbserial driver on linux. The vendor only provide custom driver for windows. The usbserial driver works work when the throughput is about 384k. But when

Re: AW: [linux-usb-devel] Mixed Byte order OHCI required

2005-06-16 Thread randy_dunlap
On Thu, 16 Jun 2005 16:37:52 +0200 Jochen Karrer wrote: | | #define big_endian_descriptors() | #define big_endian_registers() | | Sounds reasonable. Please submit code when you get it working. :) | | Se below. Its untested and I'm not convinced that we really need | special

[linux-usb-devel] Re: [PATCH] for Usb-serial Bug in serial_close method.

2005-06-16 Thread Greg KH
On Thu, Jun 16, 2005 at 01:19:40PM +0530, [EMAIL PROTECTED] wrote: Hi, Please find the patch below as per previous discussion for Linux Kernel version: linux-2.6.11.10. Hope there are no more issues. You should put the description, and a single Signed-off-by: line before the patch, that way

Re: [linux-usb-devel] Re: usbserial driver throughput low

2005-06-16 Thread David Kubicek
Hello, thank you for reviewing my changes to this driver! I was hoping for somebody with better USB/kernel programming experience to do that. I'm a complete newbie in kernel programming - this update took four days to complete (including studying of kernel/USB internals:) and I sure didn't

Re: [linux-usb-devel] Re: usbserial driver throughput low

2005-06-16 Thread David Kubicek
Hello, thank you for reviewing my changes to this driver! I was hoping for somebody with better USB/kernel programming experience to do that. I'm a complete newbie in kernel programming - this update took four days to complete (including studying of kernel/USB internals:) and I sure didn't

Re: [linux-usb-devel] Re: usbserial driver throughput low

2005-06-16 Thread David Brownell
On Thursday 16 June 2005 11:17 am, David Kubicek wrote: buffer and the work of the driver continues. (urb-status) usually happens when a transfer is in progress and USB cable is plugged out. Does it really implicate actual_length==0 or not? If not, are the data in the buffer correct or

[linux-usb-devel] 【面内君が送る独り言vol.23】

2005-06-16 Thread 栗木 面内
[EMAIL PROTECTED],Aa$$!JV?.$,B?$$$+$i!VNI$$%5%$%H!W$J$N$+!) http://www.look8.org/ ?© ?Ì ?Ì ?Ð ? ? ?Ì ? ? ?Ì ?Ì ? [EMAIL PROTECTED]@CK$H2q$$$?$$!W!V$=4X78$K$J$j$?$$!W$H$$$[EMAIL PROTECTED]F~2q$7$E$i$$$N$,@5D[EMAIL PROTECTED];W$!# [EMAIL

[linux-usb-devel] [PATCH] NEW driver for yealink usb-p1k phone

2005-06-16 Thread Henk
Hi developers, In an attempt to make VOIP technology usable by other members of the household, I have created a device driver for the Yealink usb-p1k phone also known as a so called Skype phone. Basically the device consists of an usb sound-card with keyboard, LCD, speaker and will set you

Re: [linux-usb-devel] Stuck control URBs on some APC UPSes

2005-06-16 Thread Adam Kropelin
Martin Kessler wrote: Adam Kropelin wrote: Martin Kessler wrote: The kernel patch alone did not work , I'm still having the same problem. I started testing the apcupsd patch yesterday on one of our production servers w/o kernel patch. It would be best to test them together as I said above.

Re: [linux-usb-devel] Stuck control URBs on some APC UPSes

2005-06-16 Thread Adam Kropelin
Martin Kessler wrote: Have to correct my last email, I just wasn't patient enough, it took 20min between starting service apcupsd and NIS server startup succeeded message. Could also be that the communication came up because we had a few voltage fluctuations right before the message. Its

Re: [linux-usb-devel] Re: USB flash drive is not working sometimes

2005-06-16 Thread Alan Stern
On Thu, 16 Jun 2005, Denis Vlasenko wrote: On Thursday 16 June 2005 10:51, Pete Zaitcev wrote: At this point the device is toast, the microcontroller is not running. Do you mean: this is a problem with the stick. Sometimes its electronics simply do not work at first plug in ? I agree

[linux-usb-devel] [PATCH as530] Fix prototype error in modalias attribute routine

2005-06-16 Thread Alan Stern
Greg: This fixes an obvious error (it even generates a compiler diagnostic!) in the new modalias attribute routine. If the new routine has made it into 2.6.12 then this patch had better go with it. Alan Stern PS: This is what I was referring to earlier; the error was not in sysfs but in