Re: USBDUX bulk transfer no longer working in 2.6.35, 2.6.37

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Greg,

yes. It's in the staging directory and is part of the COMEDI driver framework. The driver is called usbdux.c. You might remember me when we did the integration about a year ago.

I've been trying to reproduce the error on my computers reliably but haven't managed that so far. I'll post more detailed logs later or Jan-Mattias can you post these logs here or send them to me so that I can post them.

Re the alternate settings: indeed, the FX2 has a couple of default alternate settings and I'm using no 3 which is a mix of bulk and iso endpoints. The nice thing is that the FX2 handles then all the endpoint 0 requests and I don't have to write an endpoint 0 ISR in the firmware to handle all the endpoint 0 requests.

Anyway. I'll post more detailed logs soon. I'm just compiling the kernel for an AMD 64 bit. We'll see if that produces the errors more often.

/Bernd

Greg KH wrote:
On Thu, Jan 20, 2011 at 11:10:21PM +0000, Bernd Porr wrote:
Hi guys,

I'm the maintainer of the USBDUX data acquisition device. The driver
has been more or less unchanged for the last 2 years.

Is this the one in the drivers/staging/comedi/ directory?  Or somewhere
else?

However, with
the recent kernel versions the bulk transfers have become erratic on
one of my computers. However, other users report much stranger
behaviour such as HID keyboard/mouse stops working when plugged in
and other stuff, see below.

Now my question is: what has changed in recent kernel versions which
might cause this quite severe problem. In earlier versions
everything worked fine. In fact for over 5 years.

I don't know, we need more detailed information.

/Bernd
P.S.: the driver selects alternate setting 3 which is a certain
enpoint configuration on the FX2 cypress. This won't succeed. Seems
so that in general bulk transfers won't go through.
-------------------------------------------------------------------

usb 2-2: selecting invalid altsetting 3
usbdux 2-2:1.0: comedi_: usbdux0: could not set alternate setting 3 in high
speed.

Odd.  Did that work before?  Are you sure you have a altsetting 3 to
change to?

Can you post more detailed log files showing the failure?

thanks,

greg k-h

--
www:    http://www.berndporr.me.uk/
        http://www.linux-usb-daq.co.uk/
	http://www.imdb.com/name/nm3293421/
Mobile: +44 (0)7840 340069
Work:   +44 (0)141 330 5237
        University of Glasgow
        School of Engineering
        72 Oakfield Avenue (Rankine Building for deliveries)
        Glasgow, G12 8LT
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux