Re: [linux-usb-devel] [PATCH 1/2] ax88xxx usb network driver frame alignment fix

2006-12-11 Thread Robert Krig
Hi there. Just a quick noob question, how do I apply this patch? Do I change to /usr/src/linux-2.6.19 and then just do a patch -p1 < your.patch Or do I have to patch the asix.c directly? Would I do that like this?: cd /usr/src/linux-2.6.19 patch -p1 drivers/usb/net/asix.c your.patch Nikita V.

[linux-usb-devel] Querry: Zero Byte Packets: UDC/Gadgets

2006-12-11 Thread Ajay Jain
Hello, I have a question regarding USB Gadget Implementation. The question is regarding the zero byte packets that are sent/recvd during USB Transfers. Assuming that I have my own peripheral driver, and am using a mass storage functionality on it. Who is responsible to send zero byte packets in th

Re: [linux-usb-devel] [PATCH 1/2] ax88xxx usb network driver frame alignment fix

2006-12-11 Thread Nikita V. Youshchenko
> On Sunday 10 December 2006 1:58 pm, Nikita V. Youshchenko wrote: > > +static inline void ensure_alignment(struct sk_buff *skb) > > +{ > > +   char *pkt = skb->data; > > +   int offset = NET_IP_ALIGN ? ((unsigned long)pkt - NET_IP_ALIGN) & 3 > > : 0; > > I suppose it's reasonable to expe

[linux-usb-devel] USB Serial driver

2006-12-11 Thread Adam Laurie
Folks, I've developed an open-source python library for RFID, called RFIDIOt (http://rfidiot.org), which works with ACG serial RFID readers. I've just acquired the USB version of the reader and wanted to add support for it, but it isn't immediately recognised by the usbserial driver and I wond

Re: [linux-usb-devel] Sitecom CN-124 USB 2.0 host-to-host cable : working...

2006-12-11 Thread Francois Barre
2006/12/7, David Brownell <[EMAIL PROTECTED]>: On Monday 20 November 2006 2:36 am, Francois Barre wrote: > > 2. What doesn't work : > Although things work great between two Penguins, it did fail while > trying to connect a Linux box to a Windows XP host, with the > proprietary driver at MS side a

[linux-usb-devel] About ALi's M5603C USB bridge...

2006-12-11 Thread Ilyes Gouta
Hi! I'm writing a v4l2 USB driver for my webcam, based on ALi's M5603C, and I have three questions: 1) During my experimentations, I discovered that Linux was unable to handle isochronous URBs where each one contains 256 ISOC packets. I made a small experiment where I tried to allocate such an UR

[linux-usb-devel] linux as a hub?

2006-12-11 Thread Matt
Hi, I'm wondering if it's feasible to implement a gadget driver that turns a Linux system into a hub. The hub specification in the usb spec, which I admit to not reading, is fairly hefty and makes me think there's probably a fair bit more to it then just proxying data to an outbound port or o

Re: [linux-usb-devel] Querry: Zero Byte Packets: UDC/Gadgets

2006-12-11 Thread Alan Stern
On Mon, 11 Dec 2006, Ajay Jain wrote: > Hello, > > I have a question regarding USB Gadget Implementation. The question is > regarding the zero byte packets that are sent/recvd during USB > Transfers. Assuming that I have my own peripheral driver, and am using > a mass storage functionality on it.

Re: [linux-usb-devel] About ALi's M5603C USB bridge...

2006-12-11 Thread Alan Stern
On Mon, 11 Dec 2006, Ilyes Gouta wrote: > Hi! > > I'm writing a v4l2 USB driver for my webcam, based on ALi's M5603C, > and I have three questions: > > 1) During my experimentations, I discovered that Linux was unable to > handle isochronous URBs where each one contains 256 ISOC packets. I > mad

Re: [linux-usb-devel] Webcams: ALi's M5603C USB bridge...

2006-12-11 Thread Ilyes Gouta
Hi! Thank you very much, Alan, for your answers! I'm going to carry out more experiments on the 256 ISOC packets issue tonight and I'll keep you updated. However, I'm pretty sure that Linux's USB stack can't handle ISOC URBs that would point on a large data buffer, for example an URB w/ ISOC 256

Re: [linux-usb-devel] linux as a hub?

2006-12-11 Thread Alan Stern
On Mon, 11 Dec 2006, Matt wrote: > Hi, > > I'm wondering if it's feasible to implement a gadget driver that turns a > Linux system into a hub. The hub specification in the usb spec, which I > admit to not reading, is fairly hefty and makes me think there's > probably a fair bit more to it the

Re: [linux-usb-devel] Webcams: ALi's M5603C USB bridge...

2006-12-11 Thread Alan Stern
On Mon, 11 Dec 2006, Ilyes Gouta wrote: > Hi! > > Thank you very much, Alan, for your answers! > > I'm going to carry out more experiments on the 256 ISOC packets issue > tonight and I'll keep you updated. However, I'm pretty sure that > Linux's USB stack You shouldn't talk about "Linux's USB s

[linux-usb-devel] [PATCH] usbtouchscreen: make ITM screens report BTN_TOUCH as zero when not touched

2006-12-11 Thread Daniel Ritz
[PATCH] usbtouchscreen: make ITM screens report BTN_TOUCH as zero when not touched ITM screens send invalid x/y data when not touched. this was fixes a while ago but the problem is if the screen is not touched anymore the driver never does not report BTN_TOUCH as zero. fix it by sending the repor

[linux-usb-devel] support for the Sunplus SPCP835a

2006-12-11 Thread Gerard Klaver
Hi, One question that i have, if there is support for the Sunplus SPCP835A (usb-serial/parallel device) or is somebody working on it? Reason for this question, its placed in a fingerprint device that i have. See http://gkall.hobby.nl/sunplusfps.html , not much information found yet about this de

Re: [linux-usb-devel] race in sysfs between sysfs_remove_file() and read()/write() #2

2006-12-11 Thread Maneesh Soni
On Mon, Dec 04, 2006 at 11:06:41AM -0500, Alan Stern wrote: > On Mon, 4 Dec 2006, Maneesh Soni wrote: > > > hmm, I guess Greg has to say the final word. The question is either to fail > > the IO (-ENODEV) or fail the file removal (-EBUSY). If we are not going to > > fail the removal then your patc

Re: [linux-usb-devel] Fwd: Re: linux as a hub?

2006-12-11 Thread Steve Calfee
Hi Matt, Do you work for the government? Replacing a $1 hub chip with a $1000 computer? :) More below: >>On Mon, 11 Dec 2006, Matt wrote: >> >> > Hi, >> > >> > I'm wondering if it's feasible to implement a gadget driver that turns >>a >> > Linux system into a hub. The hub specification in the

Re: [linux-usb-devel] linux as a hub?

2006-12-11 Thread Matt
Hi, Just curious, thought it would be a neat thing to do. I googled a site: http://www.bb-elec.com/product.asp?SKU=ANYWHEREUSB/5 that has a usb-over-ethernet box. I guess it's likely not to work very well for anything but constrained situations but I had been thinking that the Linux gadget d

Re: [linux-usb-devel] Fwd: Re: linux as a hub?

2006-12-11 Thread Alan Stern
On Mon, 11 Dec 2006, Steve Calfee wrote: > >>Among other problems, a full-speed hub has to be able to handle both > >>low-speed and full-speed devices attached to its downstream ports, in > >>spite of the fact that the upstream port is full-speed. If a low-speed > >>device was attached to a downs

Re: [linux-usb-devel] Querry: Zero Byte Packets: UDC/Gadgets

2006-12-11 Thread David Brownell
On Monday 11 December 2006 1:29 am, Ajay Jain wrote: >Who is responsible to send zero > byte packets in the following cases? Is it the peripheral controller > driver or is it the gadget layer's responsibility? Rule of thumb: gadget driver only knows about zero length packets in the case o

Re: [linux-usb-devel] Sitecom CN-124 USB 2.0 host-to-host cable : working...

2006-12-11 Thread David Brownell
On Monday 11 December 2006 3:59 am, Francois Barre wrote: > Attached is a patch to support this device, with the known limitation > that it only works between two linux boxes. I'd rather you just added this to the ALI M5632 support, since that's really what it uses. Don't give it a separate Kco

Re: [linux-usb-devel] [Bulk] Re: [PATCH 1/2] ax88xxx usb network driver frame alignment fix

2006-12-11 Thread David Brownell
On Monday 11 December 2006 2:48 am, Nikita V. Youshchenko wrote: > > > On Sunday 10 December 2006 1:58 pm, Nikita V. Youshchenko wrote: > > > +static inline void ensure_alignment(struct sk_buff *skb) > > > +{ > > > +   char *pkt = skb->data; > > > +   int offset = NET_IP_ALIGN ? ((unsigned

Re: [linux-usb-devel] Fwd: Re: linux as a hub?

2006-12-11 Thread Steve Calfee
From: Alan Stern <[EMAIL PROTECTED]> To: Steve Calfee <[EMAIL PROTECTED]> CC: linux-usb-devel@lists.sourceforge.net Subject: Re: [linux-usb-devel] Fwd: Re: linux as a hub? Date: Mon, 11 Dec 2006 15:27:23 -0500 (EST) On Mon, 11 Dec 2006, Steve Calfee wrote: > >>Among other problems, a full-speed

Re: [linux-usb-devel] [LinuxBIOS] [RFC][PATCH 0/2] x86_64 Early usb debug port support.

2006-12-11 Thread Alan Stern
On Thu, 7 Dec 2006, Peter Stuge wrote: > On Wed, Dec 06, 2006 at 01:08:14PM -0800, Lu, Yinghai wrote: > > -Original Message- > > From: Andi Kleen [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, December 06, 2006 12:59 PM > > > > >I haven't looked how the other usb_debug works -- if it's p

Re: [linux-usb-devel] Sitecom CN-124 USB 2.0 host-to-host cable : working...

2006-12-11 Thread Francois Barre
2006/12/11, David Brownell <[EMAIL PROTECTED]>: On Monday 11 December 2006 3:59 am, Francois Barre wrote: > Attached is a patch to support this device, with the known limitation > that it only works between two linux boxes. I'd rather you just added this to the ALI M5632 support, since that's r

Re: [linux-usb-devel] Sitecom CN-124 USB 2.0 host-to-host cable : working...

2006-12-11 Thread David Brownell
On Monday 11 December 2006 1:52 pm, Francois Barre wrote: > 2006/12/11, David Brownell <[EMAIL PROTECTED]>: > > On Monday 11 December 2006 3:59 am, Francois Barre wrote: > > > > > Attached is a patch to support this device, with the known limitation > > > that it only works between two linux boxes.

Re: [linux-usb-devel] Fwd: Re: linux as a hub?

2006-12-11 Thread David Brownell
On Monday 11 December 2006 1:18 pm, Steve Calfee wrote: >But > a HW interface could do that (for example, all fs hubs) - but it still would > not be possilble to emulate a hub without real hub repeater electronics in > the hw interface. I've seen 8 bit microcontrollers integrated into hubs,

Re: [linux-usb-devel] [PATCH 1/2] ax88xxx usb network driver frame alignment fix

2006-12-11 Thread Greg KH
On Mon, Dec 11, 2006 at 12:58:09AM +0300, Nikita V. Youshchenko wrote: > [re-sending my asix.c fixes against 2.6.19, and after discussion in > linux-usb-devel] > > When AX88xxx hardware packs several incoming frames, it puts second and > subsequent frames with 2-byte alignment. This may cause si

Re: [linux-usb-devel] autosuspend IRQ trouble

2006-12-11 Thread Dominik Brodowski
On Sat, Dec 09, 2006 at 04:03:48PM -0500, Alan Stern wrote: > > but that did not help: > > > > http://userweb.kernel.org/~brodo/dmesg-autosuspend.txt > > > > The "offending" IRQ status seems to be 2008; as INTR_MASK does neither > > include STS_FLR nor STS_RECL (if I got the math correctly), IRQ

[linux-usb-devel] [patch 2.6.19-git] ethernet gadget interop with MCCI Windows driver

2006-12-11 Thread David Brownell
It turns out that minor tweaks to the "CDC Subset" support in the Ethernet gadget driver, just updating a config descriptor, let it be automagically recognized by a Windows driver supported by MCCI. This patch adds those descriptors, so systems using PXA 255 processors (like Gumstix etc) can inter

[linux-usb-devel] More Size More Pleasure

2006-12-11 Thread Lovai Andras
hei Sir I don't care why your sausage is so small, but 84% of women do. They are pretty sure that bigger weenie will make their desire stronger. You have the chance to change your life. Here http://www.roister.net you can get it. It will help you for sure. The remedy can be sent worldwide. If y

Re: [linux-usb-devel] race in sysfs between sysfs_remove_file() and read()/write() #2

2006-12-11 Thread Greg KH
On Mon, Dec 11, 2006 at 04:13:06PM +0530, Maneesh Soni wrote: > On Mon, Dec 04, 2006 at 11:06:41AM -0500, Alan Stern wrote: > > On Mon, 4 Dec 2006, Maneesh Soni wrote: > > > > > hmm, I guess Greg has to say the final word. The question is either to > > > fail > > > the IO (-ENODEV) or fail the fi

Re: [linux-usb-devel] autosuspend IRQ trouble

2006-12-11 Thread Alan Stern
On Mon, 11 Dec 2006, Dominik Brodowski wrote: > > Yes, that's right. In fact the controller isn't supposed to send an IRQ > > when only those two bits are on. I suspect the STS_FLR bit is somehow > > getting set in the intr_enable register (don't ask me how -- there doesn't > > seem to be any co

Re: [linux-usb-devel] [PATCH 1/2] ax88xxx usb network driver frame alignment fix

2006-12-11 Thread Nikita V. Youshchenko
> Hi there. Just a quick noob question, how do I apply this patch? > Do I change to /usr/src/linux-2.6.19 and then just do a patch -p1 < > your.patch > > Or do I have to patch the asix.c directly? > Would I do that like this?: > cd /usr/src/linux-2.6.19 > patch -p1 drivers/usb/net/asix.c your.pa

Re: [linux-usb-devel] [Bulk] Re: [PATCH 1/2] ax88xxx usb network driver frame alignment fix

2006-12-11 Thread Nikita V. Youshchenko
> On Monday 11 December 2006 2:48 am, Nikita V. Youshchenko wrote: >> >> > On Sunday 10 December 2006 1:58 pm, Nikita V. Youshchenko wrote: >> > > +static inline void ensure_alignment(struct sk_buff *skb) >> > > +{ >> > > +   char *pkt = skb->data; >> > > +   int offset = NET_IP_ALIGN ?

[linux-usb-devel] Why so small member man?

2006-12-11 Thread Rashad Ali
salute Sir I don't care why your Johnson is so small, but 79% of women do. They are pretty sure that bigger woody will make their desire stronger. You have the chance to change your life. Here http://www.roister.net you can get it. It will help you for sure. The remedy can be sent worldwide. If