Re: [linux-usb-devel] USB Serial adapter 1.1 connected to a 2.0 Hub - usb_submit_urb fails with error -28

2005-09-20 Thread Greg KH
On Tue, Sep 20, 2005 at 07:39:33PM +0530, [EMAIL PROTECTED] wrote: > > Hello all , > > I am facing an issue when using my usb-serial adapter( USB 1.1 > compliant) connected to the host via a 2.0 Hub ( from Adaptec, Inc) > > The setup is something like this . > Linux host with Redhat 2.6.9 kerne

Re: [linux-usb-devel] Powering off an USB device

2005-09-20 Thread Greg KH
On Mon, Sep 19, 2005 at 01:40:50PM +0200, Clemens Ladisch wrote: > Powering off seems to work fine (when I throw in an extra > CLEAR_FEATURE(ENABLE) for UHCI controllers), but USB drivers don't get > disconnected. So far, this program serves as a tool for testing the > robustness of drivers' error

RE: [linux-usb-devel] A better way to load the pheripheral controller driver during developement time?

2005-09-20 Thread Andy Chuo
Hi Alan, Thanks for the info. So far, I can't change the kernel to 2.6, any chance for this to happen on 2.4.21? Inside my init() section I basically did three things: 1. request_mem_region() 2. initialize driver data. 3. request irq. The following is the reply from Dave: >Then clearly you've no

Re: [linux-usb-devel] Re: experience/performance with ub (was Re: 2.6.14-rc1 load average calculation broken?)

2005-09-20 Thread Pete Zaitcev
On Tue, 20 Sep 2005 23:03:30 +0200, Jan Dittmer <[EMAIL PROTECTED]> wrote: > You got this mini performance test of mine? (100mb files) > SD: SD-Card, HD: external 2.5" HD, IP: iPod Mini I saw the version without the Mini when Mini was not available. >usb-storageub >==

Re: [linux-usb-devel] Re: experience/performance with ub (was Re: 2.6.14-rc1 load average calculation broken?)

2005-09-20 Thread Jan Dittmer
Pete Zaitcev wrote: > On Tue, 20 Sep 2005 22:13:30 +0200, Andreas Happe <[EMAIL PROTECTED]> wrote: > > >>the block devices are mount- and usable for me (ipod u2 edition), >>thanks for the patch. > > > Thanks for the testing. Patch works for me too, thanks. > > >>BTW: how fast is ub by now?

[linux-usb-devel] ub: Comment out unconditional stall clear

2005-09-20 Thread Pete Zaitcev
This code appears to be more trouble than it's worth, considering that no normal users reload drivers. So, we comment it for now. It is not removed outright for the benefit of hackers (that is, myself). Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> --- linux-2.6.14-rc1-gregkh/drivers/block/ub.c

Re: [linux-usb-devel] Re: experience/performance with ub (was Re: 2.6.14-rc1 load average calculation broken?)

2005-09-20 Thread Pete Zaitcev
On Tue, 20 Sep 2005 22:13:30 +0200, Andreas Happe <[EMAIL PROTECTED]> wrote: > the block devices are mount- and usable for me (ipod u2 edition), > thanks for the patch. Thanks for the testing. > BTW: how fast is ub by now? It works all right for me, which means about 3 MB/s to and from a good f

Re: [linux-usb-devel] USB raw I/O via /dev/usb/ttyUSBxx

2005-09-20 Thread gerard klaver
On Tue, 2005-09-20 at 10:56 -0600, Jim Jensen wrote: > Greetings, > > I'm a retired software developer, somewhat new to Linux--especially > internals. I'm trying to write an application in c++ to operate the new > Meade Instruments Deep Sky Imager (DSI), which is a simple CCD camera > designed fo

[linux-usb-devel] Re: experience/performance with ub (was Re: 2.6.14-rc1 load average calculation broken?)

2005-09-20 Thread Andreas Happe
On Tuesday 20 September 2005 21:48, Pete Zaitcev wrote: > It seems that I have to ditch the toggle resets, at least for the > time being. Please try the attached patch and let me know if it helps. I copied the usb specific messages out of dmesg's output (which is spammed by ipw2100 warning messag

[linux-usb-devel] Re: experience/performance with ub (was Re: 2.6.14-rc1 load average calculation broken?)

2005-09-20 Thread Pete Zaitcev
On Sun, 18 Sep 2005 11:33:26 +0200, Jan Dittmer <[EMAIL PROTECTED]> wrote: > >>[4296299.892000] usb 5-4.1.2: new high speed USB device using ehci_hcd and > >>address 11 > >>[4296301.98] ub: cmd #0 cmd status (-104) > >>[4296301.98] ub(5.11): GetMaxLUN returned 0, using 1 LUNs > >>[4296303

Re: [linux-usb-devel] USB raw I/O via /dev/usb/ttyUSBxx

2005-09-20 Thread Alan Stern
On Tue, 20 Sep 2005, Jim Jensen wrote: > Greetings, > > I'm a retired software developer, somewhat new to Linux--especially > internals. I'm trying to write an application in c++ to operate the new > Meade Instruments Deep Sky Imager (DSI), which is a simple CCD camera > designed for amateur ast

Re: [linux-usb-devel] USB raw I/O via /dev/usb/ttyUSBxx

2005-09-20 Thread Johannes Berg
On Tue, 2005-09-20 at 10:56 -0600, Jim Jensen wrote: > I'm a retired software developer, somewhat new to Linux--especially > internals. I'm trying to write an application in c++ to operate the new > Meade Instruments Deep Sky Imager (DSI), which is a simple CCD camera > designed for amateur astro

[linux-usb-devel] USB raw I/O via /dev/usb/ttyUSBxx

2005-09-20 Thread Jim Jensen
Greetings, I'm a retired software developer, somewhat new to Linux--especially internals. I'm trying to write an application in c++ to operate the new Meade Instruments Deep Sky Imager (DSI), which is a simple CCD camera designed for amateur astronomy. Of course, Meade supplies an application th

Re: [linux-usb-devel] Philips ISP1761 support

2005-09-20 Thread Subhash Reddy Peddamallu
Hi Sanjay, > Hi All, > I am new to this mailing list and also new to Linux USB host drivers. > In one of the project we are using Philips ISP1761 USB host controller > (memory mapped). It has 2 host ports and one OTG port. As per > documentation, > it is supposed to be EHCI compliant. > > Question

Re: [linux-usb-devel] HCD and IRQ initialisation

2005-09-20 Thread Alan Stern
On Tue, 20 Sep 2005, Franck wrote: > Alan, > > My fault...I was enabling interrupts before setting hcd's state to > HC_STATE_RUNNING in my method hcd_start. > > Could you tell me what driver I should look to implement gadget > support. My hardware can be configured to be a device and support OTG

[linux-usb-devel] [PATCH] Add Novatel CDMA Wireless PC card IDs to airprime

2005-09-20 Thread David Hollis
USB: Add device id's for Novatel Wireless CDMA wireless PC card. The Novatel CDMA card behaves the same as the AirPrime by providing a USB serial port. Signed-off-by: David Hollis <[EMAIL PROTECTED]> drivers/usb/serial/airprime.c |3 ++- 1 files changed, 2 insertions(+), 1 deletion

[linux-usb-devel] Philips ISP1761 support

2005-09-20 Thread Sanjay Gandotra
Hi All, I am new to this mailing list and also new to Linux USB host drivers. In one of the project we are using Philips ISP1761 USB host controller (memory mapped). It has 2 host ports and one OTG port. As per documentation, it is supposed to be EHCI compliant. Question: does linux has built

Re: [linux-usb-devel] HCD and IRQ initialisation

2005-09-20 Thread Franck
Alan, My fault...I was enabling interrupts before setting hcd's state to HC_STATE_RUNNING in my method hcd_start. Could you tell me what driver I should look to implement gadget support. My hardware can be configured to be a device and support OTG. Is OTG fully implemented in Linux ? Thanks. --

Re: [linux-usb-devel] oops on usb storage device disconnect with 2.6.14-rc1

2005-09-20 Thread Greg KH
On Mon, Sep 19, 2005 at 10:19:32AM -0500, James Bottomley wrote: > On Sun, 2005-09-18 at 15:01 -0700, Greg KH wrote: > > Should I apply any additional patches too? Or just this one will > > suffice? > > Just to make assurances doubly sure, could you remove all the scsi > patches and just pull the

[linux-usb-devel] (no subject)

2005-09-20 Thread Matthias Urlichs
Subject: [PATCH] usb/serial/option.c: Increase input buffer size The card sometimes sends >2000 bytes in one single chunk. Ouch. Signed-Off-By: Matthias Urlichs <[EMAIL PROTECTED]> --- drivers/usb/serial/option.c |4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) b5b1ca1fb5ee02c3b0

[linux-usb-devel] Re: [PATCH] Add support for the USB Device interfaces on the AMCC 440EP

2005-09-20 Thread Nico Hermann
Wade, how did you test the device function? I tried the zero and the ether-gadget driver without success. On the host I get the following message over and over again: -- usb 1-2: new full speed USB devic

Re: [linux-usb-devel] HCD and IRQ initialisation

2005-09-20 Thread Alan Stern
On Tue, 20 Sep 2005, Franck wrote: > Hi, > > I'm still debuging this [EMAIL PROTECTED] HCD. Hardware causes me a lot of > troubles. Anyways, I have noticed that if I plug a usb device before > booting, then HC's IRQ are not handled. That can be explain by the > following call graph: > > usb_add_

Re: [linux-usb-devel] A better way to load the pheripheral controller driver during developement time?

2005-09-20 Thread Alan Stern
On Tue, 20 Sep 2005, Andy Chuo wrote: > Hi there, > > I am currently working on a USB2.0 UDC peripheral driver with gadget zero > bound to it (development stage). In the kernel config I made the controller > driver and the gadget zero as the built-in modules. When the system starts, > peripheral

[linux-usb-devel] USB Serial adapter 1.1 connected to a 2.0 Hub - usb_submit_urb fails with error -28

2005-09-20 Thread monali.katkar
Hello all , I am facing an issue when using my usb-serial adapter( USB 1.1 compliant) connected to the host via a 2.0 Hub ( from Adaptec, Inc) The setup is something like this . Linux host with Redhat 2.6.9 kernel --> USB 2.0 Hub --> USB-serial converter --> indicates usb cables The Linux host

Re: [linux-usb-devel] [PATCH] Remove remaining mentions of URB_ASYNC_UNLINK

2005-09-20 Thread Greg KH
On Mon, Sep 19, 2005 at 11:14:23AM -0400, Alan Stern wrote: > Greg: > > This patch (as565) removes the last remaining mentions of URB_ASYNC_UNLINK > in the USB subtree. One is only in a comment and the other is in a > defunct driver. > > Alan Stern > > > > Signed-off-by: Alan Stern <[EMAIL

[linux-usb-devel] Re: Don't build hc_crisv10

2005-09-20 Thread Greg KH
On Mon, Sep 19, 2005 at 11:18:49AM -0400, Alan Stern wrote: > Greg: > > I don't know who, if anybody, still cares about the hc_crisv10 host > controller driver. It's badly out of date and certainly won't work > properly in the current USB stack. > > It wouldn't be a bad idea to remove it from

[linux-usb-devel] HCD and IRQ initialisation

2005-09-20 Thread Franck
Hi, I'm still debuging this [EMAIL PROTECTED] HCD. Hardware causes me a lot of troubles. Anyways, I have noticed that if I plug a usb device before booting, then HC's IRQ are not handled. That can be explain by the following call graph: usb_add_hcd ->hc_reset ->request_irq ->hc_start

[linux-usb-devel] A better way to load the pheripheral controller driver during developement time?

2005-09-20 Thread Andy Chuo
Hi there, I am currently working on a USB2.0 UDC peripheral driver with gadget zero bound to it (development stage). In the kernel config I made the controller driver and the gadget zero as the built-in modules. When the system starts, peripheral driver successfully registered and the gadget zero