Re: [linux-usb-devel] USB Gadget Serial Blocking Read Problem

2007-07-17 Thread David Brownell
On Friday 13 July 2007, Sagusti.Robert wrote: > Hi, > > I'm running kernel 2.6.20 on an AT91RM9200 processor. I have > the gadget serial driver loaded and I am successfully reading > and writing data in and out the USB port to a windows terminal. > In my user code, when I open the gadget driver po

Re: [linux-usb-devel] USB Gadget - Peripheral Controller Driver question

2007-07-13 Thread Alan Stern
On Fri, 13 Jul 2007, Skip Rafferty wrote: > Sorry for the lack of detail, and yes I'm talking > about bulk endpoints. > > The gadget provides a printer class device and the > host system in this case is Windows. There is no > protocol, the app just opens the USB device and writes > the contents

Re: [linux-usb-devel] USB Gadget - Peripheral Controller Driver question

2007-07-13 Thread Alan Stern
On Fri, 13 Jul 2007, Skip Rafferty wrote: > I am supporting a Peripheral Controller Driver (PCD) > for a USB device (hw and fw from a vendor) that > refuses to deliver data to its gadget driver client > when the data ends on a MaxPacketSize boundary (512 in > this case). You're talking about da

[linux-usb-devel] USB Gadget - Peripheral Controller Driver question

2007-07-13 Thread Skip Rafferty
I am supporting a Peripheral Controller Driver (PCD) for a USB device (hw and fw from a vendor) that refuses to deliver data to its gadget driver client when the data ends on a MaxPacketSize boundary (512 in this case). The requests submitted to the PCD have an 8K buffer and the incoming data le

[linux-usb-devel] USB Gadget Serial Blocking Read Problem

2007-07-13 Thread Sagusti.Robert
Hi, I'm running kernel 2.6.20 on an AT91RM9200 processor. I have the gadget serial driver loaded and I am successfully reading and writing data in and out the USB port to a windows terminal. In my user code, when I open the gadget driver port, I open it with the default blocking flag so that my

Re: [linux-usb-devel] USB gadget video streaming

2007-01-10 Thread Laurent Pinchart
Hi Patrik, > I'm writing an USB Video Class Driver (UVC) to use the DaVinci EVM > (1.10) as a video class device (camera). The UVC driver is based on the > gadget zero skeleton (USB Gadget API for Linux). > I have configured an isochronous in-endpoint with a payload size of 642 > byte [1]. The Vid

Re: [linux-usb-devel] USB gadget video streaming

2007-01-10 Thread Patrik Nagel
Hi David, Thanks a lot for your detailed answer! David Brownell wrote: > On Tuesday 09 January 2007 8:27 am, Patrik Nagel wrote: > >> Hi, >> >> I'm writing an USB Video Class Driver (UVC) to use the DaVinci EVM >> (1.10) as a video class device (camera). The UVC driver is based on the >> gad

Re: [linux-usb-devel] USB gadget video streaming

2007-01-09 Thread David Brownell
On Tuesday 09 January 2007 8:27 am, Patrik Nagel wrote: > Hi, > > I'm writing an USB Video Class Driver (UVC) to use the DaVinci EVM > (1.10) as a video class device (camera). The UVC driver is based on the > gadget zero skeleton (USB Gadget API for Linux). You'll also want to see how the CDC E

[linux-usb-devel] USB gadget video streaming

2007-01-09 Thread Patrik Nagel
Hi, I'm writing an USB Video Class Driver (UVC) to use the DaVinci EVM (1.10) as a video class device (camera). The UVC driver is based on the gadget zero skeleton (USB Gadget API for Linux). I have configured an isochronous in-endpoint with a payload size of 642 byte [1]. The Video Class Devic

Re: [linux-usb-devel] USB Gadget Serial - PXA-270 to WinXP

2006-09-27 Thread David Brownell
On Wednesday 27 September 2006 3:06 am, Thomi Aurel RUAG A wrote: > Hi > Im working on a Intel XScale PXA-270 Board with linux 2.6.17 > (linux-2.6.17-pcm027-3). I hope you know that the pxa27x UDC code is still not working very reliably. Oddly enough, the hardware folk Intel tasked with designing

[linux-usb-devel] USB Gadget Serial - PXA-270 to WinXP

2006-09-27 Thread Thomi Aurel RUAG A
Hi Im working on a Intel XScale PXA-270 Board with linux 2.6.17 (linux-2.6.17-pcm027-3). I'd like to establish a connection to a WinXP Host over the USB Gadget Framework, therefore a configured the USB Gadget support with the "Serial Gadget" as a module. The compilation was successful and during ke

Re: [linux-usb-devel] usb/gadget/pxa2xx_udc.c and IXP420BB

2006-09-06 Thread Jean-François Rousval
Hello ; The preview statuts is after apply : - your patch posted the 16 august - the patch posted by Kevin Hilman the 18 august I have add a "arm/mach-ixp4xx/sbc1625-setup.c" file with "arch/arm/mach-ixp4xx/ixdp425-setup.c" as model. During the boot I see : pxa2xx_udc: version 4-Ma

Re: [linux-usb-devel] usb/gadget/pxa2xx_udc.c and IXP420BB

2006-09-06 Thread Milan Svoboda
Hello, I created and posted (to this list some time ago) patches which allow to use this driver on IXP4xx platform. Please apply them and then only add your IXP420_BB define. Nothing else would be needed then. As far as I see, you can compile this driver, but did you really test it? Without pl

[linux-usb-devel] usb/gadget/pxa2xx_udc.c and IXP420BB

2006-09-05 Thread Jean-François Rousval
I am porting uClinux 2.6.x to a Micro/sys SBC1625 board. The processor of this board is a IXP420BB. My need is to use of "File-backed Storage Gadget". I have find some problems in the /linux-2.6.x/drivers/usb/gadget/pxa2xx_udc.c. For compile and execute this file I have : - include rat

Re: [linux-usb-devel] USB Gadget RNDIS patch (buffer overflow)

2006-02-21 Thread Greg KH
On Tue, Feb 21, 2006 at 05:37:41AM -0600, Shaun Tancheff wrote: > This is a very small patch a buffer overwrite I encountered with the > RNDIS parser Great. But can you take a look at the file, Documentation/SubmittingPatches, and redo the patch in the proper format (-u and -p1 style), and add a

[linux-usb-devel] USB Gadget RNDIS patch (buffer overflow)

2006-02-21 Thread Shaun Tancheff
This is a very small patch a buffer overwrite I encountered with the RNDIS parser [EMAIL PROTECTED]:/opt/tmp$ diff -c rndis.c rndis.c.orig *** rndis.c 2006-02-21 05:31:58.0 -0600 --- rndis.c.orig2006-02-21 05:05:20.0 -0600 *** *** 856,867 /*

Re: [linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-06 Thread David Brownell
On Monday 06 February 2006 8:24 am, Badari Pulavarty wrote: > To give you little context here.. > > Zach Brown proposed vectored AIO interfaces and support. He added > aio_readv/aio_writev file-operations to support this. Christoph Hellwig > pointed out that, we are adding yet another file-op and

Re: [linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-06 Thread Badari Pulavarty
On Fri, 2006-02-03 at 17:40 -0800, David Brownell wrote: > > Thinking about it, (like regular vectored IO) it makes sense to return > > success if we already queued up part of IO, in case of and error. > > Isn't it ? This way, one can go and wait for those IOs to finish. > > Doesn't make a lot of

Re: [linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-05 Thread David Brownell
> > The simple way to meet Badari's current goal is: calculate the length > > of the whole iovec, use that to allocate the right size i/o buffer, then > > have the AIO write path gather data into that, and the AIO read "retry" > > path scatter data out of it after reads complete. > > Okay. That

Re: [linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-05 Thread Alan Stern
On Sun, 5 Feb 2006, David Brownell wrote: > > > A: 100 bytes at addr1, 512 bytes at addr2 > > > B: 512 bytes at addr2, 100 bytes at addr2 > > > > > > Request A always requires copying for the packet straddling offset 100 > > > (relative to message start) but request B never requires copying

Re: [linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-05 Thread David Brownell
> > A: 100 bytes at addr1, 512 bytes at addr2 > > B: 512 bytes at addr2, 100 bytes at addr2 > > > > Request A always requires copying for the packet straddling offset 100 > > (relative to message start) but request B never requires copying (so it > > could support a full zerocopy I/O mod

Re: [linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-04 Thread Alan Stern
On Fri, 3 Feb 2006, David Brownell wrote: > > It's not really a group of related requests; it's a single request for > > which the memory buffer consists of several discontiguous pieces. This is > > a significant distinction. With readv/writev you specify a single > > starting offset in the f

Re: [linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-03 Thread David Brownell
> > > Thinking about it, (like regular vectored IO) it makes sense to return > > > success if we already queued up part of IO, in case of and error. > > > Isn't it ? This way, one can go and wait for those IOs to finish. > > > > Doesn't make a lot of sense to me, but then I'm probably missing > >

Re: [linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-03 Thread Alan Stern
On Fri, 3 Feb 2006, David Brownell wrote: > > Thinking about it, (like regular vectored IO) it makes sense to return > > success if we already queued up part of IO, in case of and error. > > Isn't it ? This way, one can go and wait for those IOs to finish. > > Doesn't make a lot of sense to me, b

Re: [linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-03 Thread David Brownell
> Thinking about it, (like regular vectored IO) it makes sense to return > success if we already queued up part of IO, in case of and error. > Isn't it ? This way, one can go and wait for those IOs to finish. Doesn't make a lot of sense to me, but then I'm probably missing something by having see

Re: [linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-03 Thread Badari Pulavarty
Alan Stern wrote: On Fri, 3 Feb 2006, Badari Pulavarty wrote: Hi, I am trying to collapse all the vectored and AIO operations to a single set of file-operations. My initial posting, is available here: http://marc.theaimsgroup.com/?l=linux-kernel&m=113889673116697&w=2 As part of this work, I

Re: [linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-03 Thread Badari Pulavarty
On Fri, 2006-02-03 at 15:54 -0500, Alan Stern wrote: > On Fri, 3 Feb 2006, Badari Pulavarty wrote: > > > Hi, > > > > I am trying to collapse all the vectored and AIO operations > > to a single set of file-operations. My initial posting, is > > available here: > > > > http://marc.theaimsgroup.com

Re: [linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-03 Thread Alan Stern
On Fri, 3 Feb 2006, Badari Pulavarty wrote: > Hi, > > I am trying to collapse all the vectored and AIO operations > to a single set of file-operations. My initial posting, is > available here: > > http://marc.theaimsgroup.com/?l=linux-kernel&m=113889673116697&w=2 > > As part of this work, I cha

[linux-usb-devel] usb gadget vector support for aio_read/aio_write

2006-02-03 Thread Badari Pulavarty
Hi, I am trying to collapse all the vectored and AIO operations to a single set of file-operations. My initial posting, is available here: http://marc.theaimsgroup.com/?l=linux-kernel&m=113889673116697&w=2 As part of this work, I changed aio_read()/aio_write() methods to take a vector, so I can

RE: [linux-usb-devel] USB gadget/RNDIS Reset Problem

2006-01-24 Thread JITHENDRAN A
hether USB Client is responding properly for the requests? Thanks ~Jithendran -Original Message- From: JITHENDRAN A Sent: Thursday, December 29, 2005 11:37 AM To: 'linux-usb-devel@lists.sourceforge.net' Cc: 'linux-usb-devel@lists.sourceforge.net' Subject: RE: [linux-usb

RE: [linux-usb-devel] USB gadget/RNDIS Reset Problem

2006-01-16 Thread JITHENDRAN A
r this? -Original Message- From: JITHENDRAN A Sent: Thursday, December 29, 2005 11:37 AM To: 'linux-usb-devel@lists.sourceforge.net' Cc: 'linux-usb-devel@lists.sourceforge.net' Subject: RE: [linux-usb-devel] USB gadget/RNDIS Reset Problem Hello, We had tried connectivity

Re: [linux-usb-devel] USB gadget/RNDIS Reset Problem

2006-01-03 Thread Andreas Schweigstill
Dear Jithendran! JITHENDRAN A schrieb: Hello, We are developing a VoIP enabled WiFI mobile handset using PXA255 running Triton Linux 2.6.10.We have enabled the RNDIS gadget in the kernel for the Ethernet over USB functionality When the handset is connected to the USB port of Windows XP host

Re: [linux-usb-devel] USB gadget/RNDIS Reset Problem

2005-12-30 Thread David Brownell
On Wednesday 28 December 2005 10:07 pm, JITHENDRAN A wrote: > We had tried connectivity with linux hosts test with following linux > versions > > Linux 2.4.20-8 > Linux 2.4.20 > Linux 2.6.5(Fedora Core 2) > > But our device is not detected in all above versions (usbnet.c doesnot > supports our de

RE: [linux-usb-devel] USB gadget/RNDIS Reset Problem

2005-12-28 Thread JITHENDRAN A
sage- From: JITHENDRAN A Sent: Thursday, December 29, 2005 11:12 AM To: 'David Brownell'; linux-usb-devel@lists.sourceforge.net Cc: JITHENDRAN A; 'linux-usb-devel@lists.sourceforge.net' Subject: RE: [linux-usb-devel] USB gadget/RNDIS Reset Problem We tried backporting from 2.6.14

RE: [linux-usb-devel] USB gadget/RNDIS Reset Problem

2005-12-28 Thread JITHENDRAN A
ip_tables: (C) 2000-2002 Netfilter core team NET: Registered protocol family 1 -Original Message- From: David Brownell [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 27, 2005 11:07 PM To: linux-usb-devel@lists.sourceforge.net Cc: JITHENDRAN A; 'linux-usb-devel@lists.sourceforge.net&#x

Re: [linux-usb-devel] USB gadget/RNDIS Reset Problem

2005-12-27 Thread David Brownell
On Tuesday 27 December 2005 12:04 am, JITHENDRAN A wrote: > Hello, > We are developing a VoIP enabled WiFI mobile handset using PXA255 running > Triton Linux 2.6.10.We have enabled the RNDIS gadget in the kernel for the > Ethernet over USB functionality ... > We get the following error when we

[linux-usb-devel] USB gadget/RNDIS Reset Problem

2005-12-27 Thread JITHENDRAN A
Hello, We are developing a VoIP enabled WiFI mobile handset using PXA255 running Triton Linux 2.6.10.We have enabled the RNDIS gadget in the kernel for the Ethernet over USB functionality When the handset is connected to the USB port of Windows XP host, the USB peripheral will enumerate to the

Re: [linux-usb-devel] USB Gadget driver support on kernel 2.4.21?

2005-08-29 Thread David Brownell
> From: "Andy Chuo" <[EMAIL PROTECTED]> > Date: Mon, 29 Aug 2005 09:47:32 +0800 > > ... > > The development platform is running Linux 2.4.21-rmk2 and as far as I > understand this version (not till 2.4.23) doesn't support USB Gadget driver. That is, it doesn't bundle support for that framework.

[linux-usb-devel] USB Gadget driver support on kernel 2.4.21?

2005-08-28 Thread Andy Chuo
Hi, I'm working on an USB gadget driver and currently I've got some questions and, as I am a newbie on this, I hope some of you can help. The hardware platform I am working on is an ARM 926EJ-S core SOC and the USB device controller is one of the IPs in the SOC core. I've read quite a lot on the L

[linux-usb-devel] Re: [linux-usb-devel] usb-gadget-driver-for-mq11xx-graphics-chip.patch added to -mm tree

2005-08-05 Thread Andrew Zabolotny
On Fri, 05 Aug 2005 06:34:53 -0700 [EMAIL PROTECTED] wrote: > > +static void *mq_alloc_buffer (struct usb_ep *_ep, unsigned bytes, > > +dma_addr_t *dma, int gfp_flags) > > +{ > > + return kmalloc (bytes, gfp_flags); > > +} > > + > > +static void mq_free_buffer (struct

[linux-usb-devel] usb-gadget-driver-for-mq11xx-graphics-chip.patch added to -mm tree

2005-08-05 Thread akpm
The patch titled usb gadget driver for MQ11xx graphics chip has been added to the -mm tree. Its filename is usb-gadget-driver-for-mq11xx-graphics-chip.patch Patches currently in -mm which might be from [EMAIL PROTECTED] are platform-device-driver-for-mq11xx-graphics-chip.patch fram

[linux-usb-devel] usb gadget driver for MQ11xx graphics chip

2005-08-02 Thread James Hicks
This patch adds USB gadget support for the USB peripheral controller on the MQ11xx graphics chip, used on several MIPS and ARM platforms, including the iPAQ H5550. Signed-off-by: Jamey Hicks <[EMAIL PROTECTED]> Signed-off-by: Andrew Zabolotny <[EMAIL PROTECTED]> --- commit 9b2407962e0786705efeed

Re: [linux-usb-devel] USB Gadget for 2.4.19

2005-07-08 Thread Andre Haupt
[EMAIL PROTECTED] wrote: [ expecting this won't make it to the list ... ] I am using an XScale-Board (PXA255) with arm linux 2.4.19-rmk7-pxa1 (for some reason, i know its ancient ;-)). I want to develop a usb gadget driver to communicate with the xscale-board. Hence the question: Is ther

[linux-usb-devel] USB Gadget for 2.4.19

2005-07-07 Thread Andre Haupt
Hi all, I am using an XScale-Board (PXA255) with arm linux 2.4.19-rmk7-pxa1 (for some reason, i know its ancient ;-)). I want to develop a usb gadget driver to communicate with the xscale-board. Hence the question: Is there any backport of the usb-gadget framework for 2.4.19 kernels? Any hin

[linux-usb-devel] usb gadget driver for OBEX."

2005-06-23 Thread rakesh
Hi have you know any information about "usb gadget driver for OBEX." help me. thank you regards rakesh --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward artic

[linux-usb-devel] usb gadget ethernet build error with pxa255

2005-06-13 Thread Ian Campbell
Hi David, When I build latest git (pulled this morning) for my pxa255 platform I get the following error CC [M] drivers/usb/gadget/ether.o /home/icampbell/devel/kernel/2.6-git/drivers/usb/gadget/ether.c: In function `eth_bind': /home/icampbell/devel/kernel/2.6-git/drivers/usb/gadget/ether.c:

Re: [linux-usb-devel] USB Gadget driver for AT91RM9200

2005-05-31 Thread Matt HAMEAU
Hi Tobias, First, get the files from the CVS of the old at91 driver from Thomas Rathbone: http://cvs.sourceforge.net/viewcvs.py/at91-udp/at91-udc/ This will replace the files contained in your /usr/src/linux2.4.x.x/drivers/usb/ folder. Extract the attached archive (i hope it will not be rejected)

Re: [linux-usb-devel] USB Gadget driver for AT91RM9200

2005-05-30 Thread Matt HAMEAU
Finally, backporting was not so hard. I have a working USB driver for 2.4 kernels so if somebody is interested, tell me. Regards Matthieu HAMEAU --- Matt HAMEAU <[EMAIL PROTECTED]> a écrit: > Hi everybody, > > I'm currently trying to backport the at91 udc driver > from 2.6.12-rc4-at91 to 2.4.

Re: [linux-usb-devel] USB Gadget driver for AT91RM9200

2005-05-27 Thread Matt HAMEAU
Hi everybody, I'm currently trying to backport the at91 udc driver from 2.6.12-rc4-at91 to 2.4.27-vrs1 kernel. Does someone already did this work? (specially Mr Andreas Schweigstill, who first asked for this question ?) so that i dont have to re-invent the wheel! Thanks by advance for your help

Re: [linux-usb-devel] USB Gadget driver for AT91RM9200

2005-05-17 Thread David Brownell
On Tuesday 17 May 2005 6:26 am, Tobias Arp wrote: > Hi, > > take a look at this link: http://sourceforge.net/projects/at91-udp/ > > and browse the cvs files. > > Its a device driver from Tom Rathbone. I am not sure if it's the same > that is in the bitkeaper archives you mentioned. It's an old

Re: [linux-usb-devel] USB Gadget driver for AT91RM9200

2005-05-17 Thread Tobias Arp
Hi, take a look at this link: http://sourceforge.net/projects/at91-udp/ and browse the cvs files. Its a device driver from Tom Rathbone. I am not sure if it s the same that is in the bitkeaper archives you mentioned. Regards Tobias Arp _

[linux-usb-devel] USB Gadget driver for AT91RM9200

2005-05-17 Thread Andreas Schweigstill
Dear Linux/ARM/USB community, searching for a driver for the USB device controller of our AT91RM9200 processor I found some files (at91_udc.[ch]) for Linux kernel 2.6.x. Has someone ported this driver also to Linux kernel 2.4.x? Where can I find it? I read that Linus isn't using Bitkeeper anymore

Re: [linux-usb-devel] USB Gadget MASS Storage Device w/Windows

2005-05-04 Thread David Brownell
2005 2:17 PM > To: linux-usb-devel@lists.sourceforge.net > Cc: Benavides, Tony > Subject: Re: [linux-usb-devel] USB Gadget MASS Storage Device w/Windows > > On Wednesday 04 May 2005 10:49 am, Benavides, Tony wrote: > > Hello, > > > > I am using a mainstone pxa process

RE: [linux-usb-devel] USB Gadget MASS Storage Device w/Windows

2005-05-04 Thread Benavides, Tony
done. -Tony -Original Message- From: David Brownell [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 04, 2005 2:17 PM To: linux-usb-devel@lists.sourceforge.net Cc: Benavides, Tony Subject: Re: [linux-usb-devel] USB Gadget MASS Storage Device w/Windows On Wednesday 04 May 2005 10:49 am, Bena

Re: [linux-usb-devel] USB Gadget MASS Storage Device w/Windows

2005-05-04 Thread David Brownell
On Wednesday 04 May 2005 10:49 am, Benavides, Tony wrote: > Hello, > > I am using a mainstone pxa processor with a linux 2.6.9 kernel. I thought "mainstone" was the devel board, not the processor; and that the CPU on that board would be a pxa 27x ("bulverde"). So far as I know, there's no usable

Re: [linux-usb-devel] USB Gadget MASS Storage Device w/Windows

2005-05-04 Thread Alan Stern
On Wed, 4 May 2005, Benavides, Tony wrote: > Hello, > > I am using a mainstone pxa processor with a linux 2.6.9 kernel. > My goal is to configure the kernel with USB Mass Storage support and via > USB see the storage device in Windows. > > Initially I have built in the kernel the support. > >

[linux-usb-devel] USB Gadget MASS Storage Device w/Windows

2005-05-04 Thread Benavides, Tony
Hello, I am using a mainstone pxa processor with a linux 2.6.9 kernel. My goal is to configure the kernel with USB Mass Storage support and via USB see the storage device in Windows. Initially I have built in the kernel the support. I cannot find any documentation on how to setup the mass stor

Re: [linux-usb-devel] USB-Gadget Doc

2005-01-04 Thread Thomas Brinker
Am Montag, 3. Januar 2005 23:49 schrieb David Brownell: > The "main thing" is to implement the various methods correctly; > there's a test framework to help make sure you're interpreting > the API specification (kerneldoc, mostly in ) > correctly. The problem is that "correctly" is going to depend

Re: [linux-usb-devel] USB-Gadget Doc

2005-01-03 Thread David Brownell
On Sunday 02 January 2005 1:16 pm, Thomas Brinker wrote: > Hi! > > Am Samstag, 1. Januar 2005 18:18 schrieb David Brownell: > > What sort of details are you looking for? > > I'm looking for some general information about what you have to do in order > to > implement some udc-drivers. The exist

Re: [linux-usb-devel] USB-Gadget Doc

2005-01-02 Thread Thomas Brinker
Hi! Am Samstag, 1. Januar 2005 18:18 schrieb David Brownell: > What sort of details are you looking for? I'm looking for some general information about what you have to do in order to implement some udc-drivers. The existing drivers (pxa/net2280) are full of pci/dma and hardware specific stuff,

Re: [linux-usb-devel] USB-Gadget Doc

2005-01-01 Thread David Brownell
On Saturday 01 January 2005 7:35 am, Thomas Brinker wrote: > Hi everybody! > > Happy new year to all of you. And you too! :) > In these days I am writing on a USB-Gadget-device-driver for FHG_USB32 > IP-Modul from emsys and Fraunhofer Gesellschaft. > Is there any further doc on the net, perhap

Re: [linux-usb-devel] USB-Gadget Doc

2005-01-01 Thread Stephen J. Gowdy
Did you look at www.linux-usb.org? On Sat, 1 Jan 2005, Thomas Brinker wrote: > Hi everybody! > > Happy new year to all of you. > > In these days I am writing on a USB-Gadget-device-driver for FHG_USB32 > IP-Modul from emsys and Fraunhofer Gesellschaft. > Is there any further doc on the net, perha

[linux-usb-devel] USB-Gadget Doc

2005-01-01 Thread Thomas Brinker
Hi everybody! Happy new year to all of you. In these days I am writing on a USB-Gadget-device-driver for FHG_USB32 IP-Modul from emsys and Fraunhofer Gesellschaft. Is there any further doc on the net, perhaps a little bit more detailed than the included doc of the linuxkernel. Searching for 'u

Re: [linux-usb-devel] USB Gadget with EZ-USB FX2?

2004-10-28 Thread Ted Huntington
The ovfx driver for some cameras uses the FX2 bulk mode, and a person names Vladimir at http://volodya-project.sourceforge.net/overview.php has done a large amount of development for the chip. The chip is great and I have some code at http://tedhuntington.us/software.htm. stop violence, teach

RE: [linux-usb-devel] USB Gadget with EZ-USB FX2?

2004-10-27 Thread Santoso, Yusdi
Hi David, >> Does anybody know if there is any implementation of >> USB Gadget API controller driver for EZ-USB FX2 chip? >It's right here with my port of uCLinux to the 8051 ... ;) Hmmthat's not exactly what I'm thinking off ... :) >More seriously, I think the "SX2" would be a realistic go

Re: [linux-usb-devel] USB Gadget with EZ-USB FX2?

2004-10-27 Thread David Brownell
On Wednesday 27 October 2004 18:48, Santoso, Yusdi wrote: > Hi all, > > Does anybody know if there is any implementation of > USB Gadget API controller driver for EZ-USB FX2 chip? It's right here with my port of uCLinux to the 8051 ... ;) More seriously, I think the "SX2" would be a realistic g

[linux-usb-devel] USB Gadget with EZ-USB FX2?

2004-10-27 Thread Santoso, Yusdi
Hi all, Does anybody know if there is any implementation of USB Gadget API controller driver for EZ-USB FX2 chip? Thanks, Yusdi --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reade

[linux-usb-devel] USB Gadget Development ...

2004-07-31 Thread Herbert Poetzl
Hi Greg! Hi List! I'm trying (for a few days now) to collect relevant information to build a gadget controller for s3c2410 but it seems I'm out of luck here ... all pages somehow point to the following url: http://www.linux-usb.org/gadget/ but I can find a recent tarball (kernel sources) or

Re: [linux-usb-devel] usb gadget driver for printer

2004-07-28 Thread David Brownell
On Thursday 22 July 2004 07:04, Alan Stern wrote: > On Thu, 22 Jul 2004, [ks_c_5601-1987] ¹ÚÈ£»ó wrote: > > > In file_storage.c from /driver/usb/gadget, there are two parts handling > > Standard Request and Class-Specific Request. However, in my opinion, there > > is one part handling Requests in

Re: [linux-usb-devel] usb gadget driver for printer

2004-07-22 Thread Alan Stern
On Thu, 22 Jul 2004, [ks_c_5601-1987] ¹ÚÈ£»ó wrote: > In file_storage.c from /driver/usb/gadget, there are two parts handling > Standard Request and Class-Specific Request. However, in my opinion, there > is one part handling Requests in net2280.c, that is... > tmp = dev->driver->setup (&dev->gad

[linux-usb-devel] usb gadget driver for printer

2004-07-21 Thread 박호상
Hello I would like to make a device driver for printer. So, I want to use g_serial to develop device driver, but there are some questions. There are two requests. Those are Standard Request and Class-Specific Request. In g_serial, it handles Standard Request in gs_setup function which is called by

Re: [linux-usb-devel] USB Gadget 2.4.26: file-storage with BigEndian CPU / without EP_INTR_IN_NUM

2004-06-01 Thread Alain Volmat
> It seems I'd already done most of that, just not submitted it. > See the attached patch ... not much actually, except for that > endpoint autoconfig stuff, but it includes a notable bugfix > (extra semicolon caused failures). > > I'll send a patch for Gadget Zero separately, making it use > the

Re: [linux-usb-devel] USB Gadget 2.4.26: file-storage with BigEndian CPU / without EP_INTR_IN_NUM

2004-06-01 Thread David Brownell
Pete Zaitcev wrote: I'd suggest updating the utility routines first, including usb_ep_autoconfig(), to keep _necessary_ diffs between the two kernel versions smaller. Honestly, I'm not looking forward to it. It seems I'd already done most of that, just not submitted it. See the attached

Re: [linux-usb-devel] USB Gadget 2.4.26: file-storage with BigEndian CPU / without EP_INTR_IN_NUM

2004-06-01 Thread Pete Zaitcev
On Tue, 01 Jun 2004 15:40:37 -0700 David Brownell <[EMAIL PROTECTED]> wrote: > Alain Volmat wrote: > > ... I think this problem should > > be fixed just by using the usb_gadget_config_ functions. I saw > > that the latest version (the one inside 2.6.6) has been patched in order to > > use the new

Re: [linux-usb-devel] USB Gadget 2.4.26: file-storage with BigEndian CPU / without EP_INTR_IN_NUM

2004-06-01 Thread David Brownell
Alain Volmat wrote: ... I think this problem should be fixed just by using the usb_gadget_config_ functions. I saw that the latest version (the one inside 2.6.6) has been patched in order to use the new function but I didn't saw any patch for the 2.4 version (I'm using the 2.4.26 kernel). Actually

Re: [linux-usb-devel] USB Gadget 2.4.26: file-storage with BigEndian CPU / without EP_INTR_IN_NUM

2004-06-01 Thread Alan Stern
On Tue, 1 Jun 2004, Alain Volmat wrote: > Hi all, > > I got two questions concerning the file-storage gadget driver. > > 1. I got a problem while using it on a BigEndian CPU. The configuration > descriptor length (wTotalLength becomes 0x2000 instead of 0x0020). > Since there is no problem for

[linux-usb-devel] USB Gadget 2.4.26: file-storage with BigEndian CPU / without EP_INTR_IN_NUM

2004-06-01 Thread Alain Volmat
Hi all, I got two questions concerning the file-storage gadget driver. 1. I got a problem while using it on a BigEndian CPU. The configuration descriptor length (wTotalLength becomes 0x2000 instead of 0x0020). Since there is no problem for the ether.c gadget, I think this problem should be fixe

[linux-usb-devel] USB Gadget UDC for S3C2410?

2004-03-23 Thread Steven Hein
Hi-- Just wondering if anyone is doing any work on a USB Gadget UDC driver for the Samsung S3C2410.? I didn't see any evidence of it, but I thought I'd ask before I start from scratch.. Thanks! -- Steve Hein ([EMA

Re: [linux-usb-devel] USB gadget device drivers

2003-11-09 Thread David Brownell
Is there a different place to download the files until bkbits is up again? It's only kernel.bkbits.net ... I finally moved it to a hosted project: http://usb-gadget.bkbits.net Which means you can browse things through HTTP, and will need to use different URLs to download things with BK: b

Re: [linux-usb-devel] USB gadget device drivers

2003-11-09 Thread Till Harbaum
Hi, On Friday 07 November 2003 22:33, David Meggy wrote: > I've being trying to use bk://kernel.bkbits.net/db/linux/gadget-2.6, but > the site kernel.bkbits.net, seems to be down all day today. Is there > another way to get an update? I also couldn't find a db repository at > http://www.bkbits.n

Re: [linux-usb-devel] USB gadget device drivers

2003-11-07 Thread David Brownell
David Meggy wrote: On Thu, 2003-11-06 at 17:39, David Brownell wrote: See http://www.linux-usb.org/gadget; the BK trees have drivers for three other USB controllers. Or four if you count "dummy_hcd". I've being trying to use bk://kernel.bkbits.net/db/linux/gadget-2.6, but the site kernel.bkbits

Re: [linux-usb-devel] USB gadget device drivers

2003-11-07 Thread David Meggy
On Thu, 2003-11-06 at 17:39, David Brownell wrote: > See http://www.linux-usb.org/gadget; the BK trees have drivers for > three other USB controllers. Or four if you count "dummy_hcd". I've being trying to use bk://kernel.bkbits.net/db/linux/gadget-2.6, but the site kernel.bkbits.net, seems to be

Re: [linux-usb-devel] USB gadget device drivers

2003-11-06 Thread David Brownell
David Meggy wrote: Hi I've just been looking for USB device chips and drivers for them. I can see in the stock Linux tree a driver for net2280, but nothing else. A few webpages refer to other drivers, but I can't seem to find any. See http://www.linux-usb.org/gadget; the BK trees have drivers fo

[linux-usb-devel] USB gadget device drivers

2003-11-06 Thread David Meggy
Hi I've just been looking for USB device chips and drivers for them. I can see in the stock Linux tree a driver for net2280, but nothing else. A few webpages refer to other drivers, but I can't seem to find any. Also if I do decide to write my own driver, is there any documentation on what func

Re: [linux-usb-devel] USB Gadget on ARM9 SoC

2003-10-27 Thread David Brownell
Bahns, Christopher H wrote: Hello, I have a functional USB Gadget API (i.e. device-side) implementation (net2280.o) for my NetChip Net2280 PCI card (it is actually part of the standard Linux kernel distribution). This is great for development on a PC-based desktop system. Glad to hear that the not-

[linux-usb-devel] USB Gadget on ARM9 SoC

2003-10-27 Thread Bahns, Christopher H
Hello, I have a functional USB Gadget API (i.e. device-side) implementation (net2280.o) for my NetChip Net2280 PCI card (it is actually part of the standard Linux kernel distribution). This is great for development on a PC-based desktop system. Now, moving over to the embedded system -- Atmel AT91

[linux-usb-devel] usb gadget newbie question

2003-10-14 Thread Satoshi Kawase
(BI had a few newbie question that I wanted to throw out to the gadget (Bdevelopers out there. Sorry about the heavy Windoze line: (B (B1. Is there a way for a Linux machine using the USB Serial Gadget to work (Bwith Windows? (B (B2. I know there are USB to Serial hardware adaptors out t

RE: [linux-usb-devel] USB Gadget Mode Driver for 2.4 kernel - Help Required

2003-09-17 Thread Arun Prasad
-Original Message- From: David Brownell [mailto:[EMAIL PROTECTED] Sent: Monday, September 15, 2003 8:45 PM To: Arun Prasad Cc: [EMAIL PROTECTED] Subject: Re: [linux-usb-devel] USB Gadget Mode Driver for 2.4 kernel - Help Required Start with the pointer Stephen Gowdy gave you earlier

Re: [linux-usb-devel] USB Gadget Mode Driver for 2.4 kernel - Help Required

2003-09-15 Thread David Brownell
Arun Prasad wrote: Hello, I'll have to write gadget/device mode USB driver for a custom(MIPS) board. Any pointer/reference would be of great help. Start with the pointer Stephen Gowdy gave you earlier: the link off the front page of http://www.linux-usb.org/ gives the BK repositories, and mention

[linux-usb-devel] USB Gadget Mode Driver for 2.4 kernel - Help Required

2003-09-15 Thread Arun Prasad
Hello, I'll have to write gadget/device mode USB driver for a custom(MIPS) board. Any pointer/reference would be of great help. Warm Regards Arun --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-03 Thread Al Borchers
Joshua Wise wrote: > > We certainly should have a serial "gadget". > In progress. Progress is in the handhelds.org CVS repository, as 'char.c'. I have also started writing a USB gadget serial device. It has the usual tty driver interface so it will look like a normal serial port to user space. Lo

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread Joshua Wise
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > That does seem excessive; you don't need TCP to do network > booting, just UDP. A good example of where CONFIG_EMBEDDED > should be able to remove bells'n'whistles. "Gripe, whine, moan." :) Shoulda woulda coulda can't. Wonder if I can do some PF_RA

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread David Brownell
Joshua Wise wrote: The kernel is already 430k; we need to get it sub-256k. Correction: 530k w/ ethernet gadget, networking, and TCP/IP. 380k w/g_zero. Also, luckily, the iPAQ h1900 has 512k of boot flash, but all other iPAQs have a boot sector of 256k. That does seem excessive; you don't need TC

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread Joshua Wise
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 > The kernel is already 430k; we need to get it sub-256k. Correction: 530k w/ ethernet gadget, networking, and TCP/IP. 380k w/g_zero. Also, luckily, the iPAQ h1900 has 512k of boot flash, but all other iPAQs have a boot sector of 256k. > ~jwise ++~j

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread Joshua Wise
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 02 September 2003 6:06 pm, David Brownell wrote: > What's the serial port used for ... command interpreter? > Or downloading files? Both. bootldr serial code which is ported to LAB has a generic readchar/writechar interface which is overri

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread David Brownell
Joshua Wise wrote: I'm thinking of having it emulate a serial port. This is for Linux As Bootloader, the next-generation iPAQ bootloader, and some new iPAQs do not have a serial port, so we need USB support. What's the serial port used for ... command interpreter? Or downloading files? One quest

RE: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread Borchers, Al (C)(STP)
From: Joshua Wise [mailto:[EMAIL PROTECTED] > It may be more helpful to write a little > document on your experiences... I started with zero.c and built up from there. That is a great starting place. The code there is needed to handle the basic enumeration duties a USB device is expected to do-

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread Joshua Wise
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tuesday 02 September 2003 2:01 pm, Borchers, Al (C)(STP) wrote: > I am finishing a gadget and host driver that provides Unix style > pipes between a host and device over USB 2.0/1.1. Not sure if > the company I am contracting with will be willing t

RE: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread Borchers, Al (C)(STP)
Greg mentioned a USB gadget serial device a few days ago and it piqued my interest. I am finishing a gadget and host driver that provides Unix style pipes between a host and device over USB 2.0/1.1. Not sure if the company I am contracting with will be willing to release it GPL or not (my guess i

Re: [linux-usb-devel] USB Gadget - serial?

2003-09-02 Thread David Brownell
Joshua Wise wrote: Is there a tutorial out there or a list of what I need to do to get a really teeny driver up and going? g_zero seems to be rather large for what it does... No tutorial, at least not now -- beyond the overview in the 2.6 kerneldoc (Documentation/DocBook/gadget.pdf). You'

  1   2   >