[linux-usb-devel] Testing OMAP using gadget zero or gadgetfs

2007-03-14 Thread Wael Adel
hi all, i m using kernel version 2.6.18 on my computer i have an OMAP 5912 OSK kit where the Usb Device Controller (UDC) omap_udc the kernel version on the kit is 2.6.19 i have connected both of my comp and my kit using usb cable, all i just wanna do is to make them communicate through usb. so h

Re: [linux-usb-devel] testing of fixes for race conditions in usb serial driver #0

2007-01-11 Thread Oliver Neukum
Am Freitag, 12. Januar 2007 07:11 schrieb Greg KH: > On Tue, Jan 09, 2007 at 11:51:18AM -0800, J wrote: > > Hi, > > > > During the last few days me and Oliver Neukum > > exchanged some messages about fixing the usb-serial.c. > > We came to an agreement and I made a patch > > (which should be appli

Re: [linux-usb-devel] testing of fixes for race conditions in usb serial driver #0

2007-01-11 Thread Oliver Neukum
Am Freitag, 12. Januar 2007 07:11 schrieb Greg KH: > On Tue, Jan 09, 2007 at 11:51:18AM -0800, J wrote: > > Hi, > > > > During the last few days me and Oliver Neukum > > exchanged some messages about fixing the usb-serial.c. > > We came to an agreement and I made a patch > > (which should be appli

Re: [linux-usb-devel] testing of fixes for race conditions in usb serial driver #0

2007-01-11 Thread Greg KH
On Tue, Jan 09, 2007 at 11:51:18AM -0800, J wrote: > Hi, > > During the last few days me and Oliver Neukum > exchanged some messages about fixing the usb-serial.c. > We came to an agreement and I made a patch > (which should be applied after 3 patches, which > were posted by Oliver on 1/2/07 at >

Re: [linux-usb-devel] testing of fixes for race conditions in usb serial driver #0

2007-01-09 Thread J
Hi, During the last few days me and Oliver Neukum exchanged some messages about fixing the usb-serial.c. We came to an agreement and I made a patch (which should be applied after 3 patches, which were posted by Oliver on 1/2/07 at [email protected]) We agreed that usb-serial h

Re: [linux-usb-devel] Testing for Interrupt Out transfers

2007-01-09 Thread Laurent Pinchart
> > May I know if the current implementation in linux supports Interrupt Out > > transfers? ( I know it should definitely) > > It does. > > > I which case can any body tell me which devices were used to test the > > interrupt out transfers? > > I don't know; maybe none. But lots of devices have be

Re: [linux-usb-devel] Testing for Interrupt Out transfers

2007-01-09 Thread Alan Stern
On Tue, 9 Jan 2007, Siddharth, Karnik (IE10) wrote: > Hi, > > May I know if the current implementation in linux supports Interrupt Out > transfers? ( I know it should definitely) It does. > I which case can any body tell me which devices were used to test the > interrupt out transfers? I don't

[linux-usb-devel] Testing for Interrupt Out transfers

2007-01-09 Thread Siddharth, Karnik (IE10)
Hi, May I know if the current implementation in linux supports Interrupt Out transfers? ( I know it should definitely) I which case can any body tell me which devices were used to test the interrupt out transfers? Regards Siddharth --

Re: [linux-usb-devel] testing of fixes for race conditions in usb serial driver #1

2007-01-02 Thread Oliver Neukum
Am Dienstag, 2. Januar 2007 21:04 schrieb J: Sorry, I was delayed. > As I wrote before, the error is that usb-serial > does not use ref counting consistently because > it does not count every outstanding pointer. > Specifically, it does not count pointers in > serial_table. This means that when

Re: [linux-usb-devel] testing of fixes for race conditions in usb serial driver #1

2007-01-02 Thread Oliver Neukum
Am Dienstag, 2. Januar 2007 21:04 schrieb J: > Hi, > Sorry, I don't see how table_lock will fix the > original problem, which I reported (race between > serial_open and  usb_serial_disconnect). I copied my > original sequence of events below and I don't think > that the proposed > table_lock will c

Re: [linux-usb-devel] testing of fixes for race conditions in usb serial driver #1

2007-01-02 Thread J
Hi, Sorry, I don't see how table_lock will fix the original problem, which I reported (race between serial_open and usb_serial_disconnect). I copied my original sequence of events below and I don't think that the proposed table_lock will change anything. As I wrote before, the error is that usb-s

[linux-usb-devel] testing of fixes for race conditions in usb serial driver #0

2007-01-02 Thread Oliver Neukum
Hi, OK, it seems that hangup should do what we want, however error codes should be fixed 5) there's a race between write() and disconnect() Regards Oliver --- a/drivers/usb/serial/usb-serial.c 2007-01-02 11:44:43.0 +0100 +++ b/drivers/usb/serial/usb-serial.c 2007

[linux-usb-devel] testing of fixes for race conditions in usb serial driver #2

2007-01-02 Thread Oliver Neukum
Hi, this should fix: 4) try_module_get() is called with unprotected pointers Please test. This is incremental to #1. Regards Oliver --- a/drivers/usb/serial/usb-serial.c 2007-01-02 10:44:39.0 +0100 +++ b/drivers/usb/serial/usb-serial.c 2007-01-02 11:09:37.000

[linux-usb-devel] testing of fixes for race conditions in usb serial driver #1

2007-01-02 Thread Oliver Neukum
Hi, this fixes: 1) serial table is not protected by locks. kref_get() may be called on freed memory 2) probe() exposes uninitialized devices 3) disconnect() does not make sure there's no more IO to unbound devices Please test. It's against 2.6.20-rc3 but should apply widely. Regards

[linux-usb-devel] testing of fixes for race conditions in usb serial driver #0

2007-01-02 Thread Oliver Neukum
Hi, as J noticed there are some races in the serial driver. 1) serial table is not protected by locks. kref_get() may be called on freed memory 2) probe() exposes uninitialized devices 3) disconnect() does not make sure there's no more IO to unbound devices 4) try_module_get() is called with unp

Re: [linux-usb-devel] testing gadgetfs on omap

2006-08-31 Thread zil iram
>If you mean the OSK vs just some generic 5912 board, that's an easy answer: >use a nonstandard A-to-A adapter cable. The OSK board support already >knows >not to turn on the VBUS power supply if it's being used as a USB >peripheral, >so all you need to do is get past the "wrong connector" pro

Re: [linux-usb-devel] testing gadgetfs on omap

2006-08-29 Thread David Brownell
gt; > >From: David Brownell <[EMAIL PROTECTED]> > >To: [email protected] > >CC: "zil iram" <[EMAIL PROTECTED]> > >Subject: Re: [linux-usb-devel] testing gadgetfs on omap > >Date: Thu, 24 Aug 2006 11:03:12 -0700 > > > &g

Re: [linux-usb-devel] testing gadgetfs on omap

2006-08-28 Thread zil iram
ROTECTED]> >To: [email protected] >CC: "zil iram" <[EMAIL PROTECTED]> >Subject: Re: [linux-usb-devel] testing gadgetfs on omap >Date: Thu, 24 Aug 2006 11:03:12 -0700 > >On Thursday 24 August 2006 3:17 am, zil iram wrote: > > > &

Re: [linux-usb-devel] testing gadgetfs on omap

2006-08-24 Thread David Brownell
On Thursday 24 August 2006 3:17 am, zil iram wrote: > > Thank you very much Dave. I have now created an application that would use > the gadgetfs driver in the kernel. Is there any way to test the application > on omap5912? Coz Omap5912 has no usb device port available, only host. (I > don't kn

Re: [linux-usb-devel] testing gadgetfs on omap

2006-08-24 Thread zil iram
Thank you very much Dave. I have now created an application that would use the gadgetfs driver in the kernel. Is there any way to test the application on omap5912? Coz Omap5912 has no usb device port available, only host. (I don't know if this helps but we have a prototyping board that could ex

Re: [linux-usb-devel] Testing HCD SUSPEND/RESUME in non-PCI bus based (ARC) controllers

2006-04-21 Thread David Brownell
> I am writing the Controller driver for ARC High Speed Controller on a > board where the "BUS IS A NON-PCI BUS" . > If i want to test the SUSPEND/RESUME functionality of Controller as > mentioned , using "sysfs ", ... how can i do that. ? Assuming you have a "platform_driver" ...

[linux-usb-devel] Testing HCD SUSPEND/RESUME in non-PCI bus based (ARC) controllers

2006-04-21 Thread rakesh kn
-- Forwarded message -- From: rakesh kn <[EMAIL PROTECTED]> Date: Apr 21, 2006 1:50 PM Subject: Testing HCD SUSPEND/RESUME in non-PCI bus based (ARC) controllers To: David Brownell <[EMAIL PROTECTED]> Hi, The struct hc_driver in 2.6.16 provides 2 methods for power management with

Re: [linux-usb-devel] Testing runtime power management for USB device

2005-12-25 Thread Alan Stern
On Mon, 26 Dec 2005 [EMAIL PROTECTED] wrote: > Hi all, > I am new to power management in Linux. I was wondering what if I want to > suspend a particular USB device without suspending the system as a whole > and after sometime resume it? Is that possible in Linux? If possible > then can anyone sugg

[linux-usb-devel] Testing runtime power management for USB device

2005-12-25 Thread kaustav.majumdar
Hi all, I am new to power management in Linux. I was wondering what if I want to suspend a particular USB device without suspending the system as a whole and after sometime resume it? Is that possible in Linux? If possible then can anyone suggest me how to do that? Thanks in advance. I am looking f

Re: [linux-usb-devel] Testing the USB host controller on linux 2.6.12

2005-09-14 Thread David Brownell
> From: Conio sandiago <[EMAIL PROTECTED]> > Date: Tue, 13 Sep 2005 10:12:09 +0200 > > Hi all > I have a USB host controller on a application board. > The OS is Linux kernel 2.6.12 > Now i want to test the USB host controller. > Please explain Start with http://www.linux-usb.org/usbtest/ and make

AW: [linux-usb-devel] Testing the USB host controller on linux 2.6.12 kernel

2005-09-13 Thread Andreas Schweigstill
Hi! >I have a USB host controller on a application board. >The OS is Linux kernel 2.6.12 >Now i want to test the USB host controller. You can find the relevant documentation for conformance testing on the USB.org website: http://www.usb.org/developers/docs/ In order to perform software test you

[linux-usb-devel] Testing the USB host controller on linux 2.6.12 kernel

2005-09-13 Thread Conio sandiago
Hi all I have a USB host controller on a application board. The OS is Linux kernel 2.6.12 Now i want to test the USB host controller. Please explain --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 *

Re: [linux-usb-devel] testing the usb 2.0

2005-09-08 Thread Conio sandiago
Hello David thanks for the article Can u please help me how to test a USB gadget driver On 9/9/05, David Brownell <[EMAIL PROTECTED]> wrote: > > From: Conio sandiago <[EMAIL PROTECTED]> > > Date: Thu, 8 Sep 2005 09:39:39 +0530 > > > > Hi all > > i have developed a USB host and gadget driver for my

Re: [linux-usb-devel] testing the usb 2.0

2005-09-08 Thread David Brownell
> From: Conio sandiago <[EMAIL PROTECTED]> > Date: Thu, 8 Sep 2005 09:39:39 +0530 > > Hi all > i have developed a USB host and gadget driver for my USB hardware. > Now i want to test the drivers. > Can anyone please suggest Other than http://www.linux-usb.org/usbtest I'm not sure what to suggest.

[linux-usb-devel] testing the usb 2.0

2005-09-07 Thread Conio sandiago
Hi all i have developed a USB host and gadget driver for my USB hardware. Now i want to test the drivers. Can anyone please suggest --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA

Re: [linux-usb-devel] testing usb device controller driver

2004-06-08 Thread David Brownell
[EMAIL PROTECTED] wrote: Hi, can i use usbtest also on host pc with kernel 2.4.21 (i think kernel 2.6. seems to be recommanded) ? What are the beste test conditions and which other applications can i use to test the controller driver (also windows applications) ? You'd need to backport usbtest t

[linux-usb-devel] testing usb device controller driver

2004-06-08 Thread tobiasarp
Hi, can i use usbtest also on host pc with kernel 2.4.21 (i think kernel 2.6. seems to be recommanded) ? What are the beste test conditions and which other applications can i use to test the controller driver (also windows applications) ? Regards Tobias Arp -

[linux-usb-devel] testing usb device controller driver

2004-06-08 Thread tobiasarp
Hi, can i use usbtest also on host pc with kernel 2.4.21 (i think kernel 2.6. seems to be recommanded) ? What are the beste test conditions and which other applications can i use to test the controller driver (also windows applications) ? Regards Tobias Arp -

Re: [linux-usb-devel] Testing

2003-09-02 Thread Matthew Dharm
Libusb provides this functionality. Matt On Tue, Sep 02, 2003 at 01:07:44PM +1000, David Findlay wrote: > Is there a way to get direct access to a device on usb via usermode? I'm just > thinking it might be easier to try and figure out how to use my device from > that mode. Thanks, > > David >

[linux-usb-devel] Testing

2003-09-02 Thread David Findlay
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Is there a way to get direct access to a device on usb via usermode? I'm just thinking it might be easier to try and figure out how to use my device from that mode. Thanks, David - -- It's not that engineers are boring people, we just get excited

Re: [linux-usb-devel] Testing a USB Keyboard without a virtual console

2003-07-08 Thread Frank Becker
Alex Bennee wrote: Hi, I've just finished updating the isp116x USB driver for our embedded system (sources available to anyone who wants a copy :-) and I'm testing the various things you can plug in. Testing the mouse was easy by doing a cat on /dev/mouse but I couldn't figure out how to test the

[linux-usb-devel] Testing a USB Keyboard without a virtual console

2003-07-08 Thread Alex Bennee
Hi, I've just finished updating the isp116x USB driver for our embedded system (sources available to anyone who wants a copy :-) and I'm testing the various things you can plug in. Testing the mouse was easy by doing a cat on /dev/mouse but I couldn't figure out how to test the keyboard. When I p

Re: [linux-usb-devel] Testing multiple cyberJacks

2002-11-29 Thread Matthias Bruestle
Mahlzeit Still at the same problem. On one PC debug output in usb-uhci dies help against the timeouts (with the packet sliding effect) on a second PC not. The current workaround is, that the reader get's a reset command, which tells the reader to reset its USB interface chip. On the first PC th

Re: [linux-usb-devel] Testing Device

2002-11-04 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 5 Nov 2002 14:33, Brandon Philips wrote: > Despite my best efforts I think I have a bug in my software. I have > read the FAQ at http://www.frogmouth.net/hid-doco/linux-hid.html > multiple times but I still don't have a solid grasp on how to g

Re: [linux-usb-devel] Testing Device

2002-11-04 Thread Brandon Philips
Despite my best efforts I think I have a bug in my software. I have read the FAQ at http://www.frogmouth.net/hid-doco/linux-hid.html multiple times but I still don't have a solid grasp on how to get a read (interrupt) and write driver working for my device. Could someone please email me or point

Re: [linux-usb-devel] Testing Device

2002-11-04 Thread David Rio
On Mon, 4 Nov 2002, Brad Hards wrote: > Please be realistic. You haven't described your device or what it is meant to > do, haven't provided a site to get the firmware, described the tests that > you've done that passed or failed (on Linux and other operating systems). OK... It is a mp3 player

AW: [linux-usb-devel] Testing Device

2002-11-04 Thread Wessler, Siegfried
One more hint, for those who experience trouble with a device and want to try that thing not only at Linux. At http://www.thesycon.com you can find an excellent windows driver package (called USBIO) that supports everything to try with: bulk, interrupt and iso endpoints. The only thing is: the fr

AW: [linux-usb-devel] Testing Device

2002-11-04 Thread Wessler, Siegfried
Hello Brandon, > Von: Brandon Philips [mailto:brandon@;sporknet.cjb.net] > I have developed a HID device with 9 buttons on it _You_ have developed that device? What USB chipset do you use? What processor, what operation system...? I got some experience in developing devices with Philips USB ch

Re: [linux-usb-devel] Testing Device

2002-11-04 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 4 Nov 2002 22:21, David Rio wrote: > On 3 Nov 2002, Brandon Philips wrote: > > I have developed a HID device with 9 buttons on it for a medical > > application. I wish to use the hiddev interface for the device and it > > seems to be the most

Re: [linux-usb-devel] Testing Device

2002-11-04 Thread David Rio
On 3 Nov 2002, Brandon Philips wrote: > I have developed a HID device with 9 buttons on it for a medical > application. I wish to use the hiddev interface for the device and it > seems to be the most practical fit. The problem I am having is I do not > know if my drivers are wrong or my device h

Re: [linux-usb-devel] Testing Device

2002-11-03 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 4 Nov 2002 13:19, Brandon Philips wrote: > I have developed a HID device with 9 buttons on it for a medical > application. I wish to use the hiddev interface for the device and it > seems to be the most practical fit. The problem I am having

[linux-usb-devel] Testing Device

2002-11-03 Thread Brandon Philips
I have developed a HID device with 9 buttons on it for a medical application. I wish to use the hiddev interface for the device and it seems to be the most practical fit. The problem I am having is I do not know if my drivers are wrong or my device has a bug because it is not looking like it is t

Re: [linux-usb-devel] Testing multiple cyberJacks

2002-10-24 Thread Matthias Bruestle
On Thu, Oct 24, 2002 at 03:00:52PM +0200, Matthias Bruestle wrote: > [List of problems deleted] The new hubs are crap. The don't even work with two devices. Mahlzeit --- This sf.net email is sponsored by: Influence the future of Java(TM) te

Re: [linux-usb-devel] Testing multiple cyberJacks

2002-10-24 Thread Matthias Bruestle
Mahlzeit I connected now 44 readers to 7 hubs (I have one hub to less for 50 devices.) and connected the hubs to their power supplies. After connecting this to the computer, the enummeration run for about 1 minute and found only 36 readers. Is there an obvious reason, why this does not detect all

Re: [linux-usb-devel] Testing multiple cyberJacks

2002-10-23 Thread Matthias Bruestle
Mahlzeit On Tue, Oct 22, 2002 at 11:25:14PM -0700, Greg KH wrote: > I agree, nice to see that many devices working that well. Are they all > on the same USB bus, or do you have different host controllers running > at the same time? They are at the same host controller. One directly and the othe

Re: [linux-usb-devel] Testing multiple cyberJacks

2002-10-22 Thread Greg KH
On Tue, Oct 22, 2002 at 11:08:20PM +0200, Matthias Bruestle wrote: > Mahlzeit > > > I could now run successfully 20 readers with 2.4.20-pre11 measuring the > timing of a command sequence consisting of three commands for the smart > card. I made a plot of this, where the x-axis is the overall runt

Re: [linux-usb-devel] Testing multiple cyberJacks

2002-10-22 Thread Matthias Bruestle
Mahlzeit I could now run successfully 20 readers with 2.4.20-pre11 measuring the timing of a command sequence consisting of three commands for the smart card. I made a plot of this, where the x-axis is the overall runtime (20 minutes) and the y-axis is the runtime of a command sequence. Every min

Re: [linux-usb-devel] Testing multiple cyberJacks

2002-10-17 Thread Matthias Bruestle
On Tue, Oct 15, 2002 at 04:51:53PM -0700, Greg KH wrote: > And could you try at least 2.4.19, if not 2.4.20-pre10? I did try 2.4.20-pre11. After at least an hour of runtime no kernel panic did occure with five readers. So it seams the bug has been fixed from 2.4.19 to 2.4.20-pre11. I will test it

Re: [linux-usb-devel] Testing multiple cyberJacks

2002-10-15 Thread Greg KH
On Tue, Oct 15, 2002 at 07:59:29PM +0200, Matthias Bruestle wrote: > Mahlzeit > > > Another oops from 2.4.18 (RH 7.1, not 7.2): > > invalid operand: > CPU: 0 > EIP: 0010:[] Not tainted > EFLAGS: 00010282 > eax: 0018 ebx: c741107c ecx: edx: c77d3f64 > esi: c66f2000 edi: c74

Re: [linux-usb-devel] Testing multiple cyberJacks

2002-10-15 Thread Matthias Bruestle
Mahlzeit Another oops from 2.4.18 (RH 7.1, not 7.2): invalid operand: CPU: 0 EIP: 0010:[] Not tainted EFLAGS: 00010282 eax: 0018 ebx: c741107c ecx: edx: c77d3f64 esi: c66f2000 edi: c7411000 ebp: c66f3d6c esp: c66f3d40 ds: 0018 es: 0018 ss: 0018 Process ctmultitest (pid

Re: [linux-usb-devel] Testing multiple cyberJacks

2002-10-15 Thread Matthias Bruestle
On Fri, Oct 11, 2002 at 11:25:51AM -0700, Greg KH wrote: > > I'm currently testing multiple readers with SuSE 8.1 (linux 2.4.19). > > The computer does freeze often at the end of tests in the middle of > > testruns. The nun lock and caps lock LEDs did then blink. The text > > console did just fre

Re: [linux-usb-devel] Testing multiple cyberJacks

2002-10-11 Thread Greg KH
On Fri, Oct 11, 2002 at 04:00:09PM +0200, Matthias Bruestle wrote: > Mahlzeit > > > I'm currently testing multiple readers with SuSE 8.1 (linux 2.4.19). > The computer does freeze often at the end of tests in the middle of > testruns. The nun lock and caps lock LEDs did then blink. The text > c

[linux-usb-devel] Testing multiple cyberJacks

2002-10-11 Thread Matthias Bruestle
Mahlzeit I'm currently testing multiple readers with SuSE 8.1 (linux 2.4.19). The computer does freeze often at the end of tests in the middle of testruns. The nun lock and caps lock LEDs did then blink. The text console did just freeze, but this text console was not in text mode, but in fbdev

[linux-usb-devel] Testing of USB audio and new ibmcam+usbvideo modules (2.4.11-pre2 +patches)

2001-10-02 Thread Dmitri
Hello, Greg & All: So I tested two patches on freshly downloaded 2.4.11-pre2. All tests were done on dual P-III 750 MHz box, with SMP kernel, on two ports of a four-port OHCI PCI card (each port is a separate 12 Mbps controller). A. Testing of ibmcam modules. All fo

[linux-usb-devel] Testing usbvision-0.3.1-test2-2.4.6.tgz==>Status

2001-07-08 Thread Dwaine Garden
Did it work??? I have still not heard from anyone if it's ok. I have the files on my site and would like to know if everything is mint. I'll pass it on to the main site and get it listed. Also if anyone out there had to add their device to the usbvision_table, please let me know. I would