Re: [linux-usb-devel] question regarding usb_bulk_read() and EAGAIN

2006-12-13 Thread Garrett D'Amore
I've done some more debugging. I've not had success in getting a debug kernel built that will boot my system (Ubuntu) yet, and I don't know why _that_ is a problem, but it takes ~4 hours per attempt (compiling Linux is _slow_ on this Via 1GHz system), so I took a different tack. I started using t

[linux-usb-devel] [PATCH 3/3] Implement support for EHCI with big endian MMIO

2006-12-13 Thread Benjamin Herrenschmidt
This patch implements supports for EHCI controllers whose MMIO registers are big endian and enables that functionality for the Toshiba SCC chip. It does _not_ add support for big endian in-memory data structures as this is not needed for that chip and I hope it will never be. The guts of the patch

[linux-usb-devel] [PATCH 1/3] Rework the OHCI quirk mecanism as suggested by David

2006-12-13 Thread Benjamin Herrenschmidt
This patch applies David Brownell's suggestion for reworking the OHCI quirk mechanism via a table of PCI IDs. It adapts the existing quirks to use that mechanism. This also moves the quirks to reset() as suggested by the comment in there. This is necessary as we need to have the endian properly se

[linux-usb-devel] [PATCH 2/3] Implement support for "split" endian OHCI

2006-12-13 Thread Benjamin Herrenschmidt
This patch separates support for big endian MMIO register access and big endian descriptors in order to support the Toshiba SCC implementation which has big endian registers but little endian in-memory descriptors. It simplifies the access functions a bit in ohci.h while at it. Signed-off-by: Ben

[linux-usb-devel] [PATCH 0/3] OHCI and EHCI big endian updates #4

2006-12-13 Thread Benjamin Herrenschmidt
This version fixes a stupid bug in the quirks mecanism (passing an ohci_hcd and expecting an usb_hcd pointer... thanks non-typed function pointer). All the patches have been rebased to apply on top of Greg's pending USB patch queue for 2.6.20 These patches are reworked versions of the patch I pos

Re: [linux-usb-devel] Gadgetfs: error writing dev descriptor

2006-12-13 Thread David Brownell
On Sunday 10 December 2006 1:37 pm, Patras, George wrote: > Hello, > > I'm looking at using gadgetfs as a basis for my gadget driver. > Currently I have kernel 2.6.16.21 and a netchip2280 card and have tested > with gadget zero + usbtest (on the same box) and all is ok so far. > > I load the gad

Re: [linux-usb-devel] [patch 2.6.19-git] rndis_host learns ActiveSync basics

2006-12-13 Thread Ole André Vadla Ravnås
Great work! I found some time to test the revised driver this evening, and I came up with the following proposed changes: 1) ActiveSync RNDIS devices don't have the USB_CDC_HEADER, so I had to change the ActiveSync-specific checks in usbnet_generic_cdc_bind to ignore cdc_state.info. Tested and w

Re: [linux-usb-devel] How to explain two cameras can run together in YUV 640x480 30 fps in Windows?

2006-12-13 Thread David Brownell
On Tuesday 12 December 2006 3:18 pm, Zhang Daniel wrote: > Hi, > Thanks Dave. Following is what I got by cat /proc/bus/usb/devices. Darn, I forgot that nobody ever fixed the bug where it doesn't show the active configuration. I append a patch (untested) that ought to resolve that problem. > Th

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

2006-12-13 Thread David Brownell
On Monday 11 December 2006 9:21 pm, Nikita V. Youshchenko wrote: > > > 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) > >> > > +{ > >>

Re: [linux-usb-devel] [patch] devio.c add missingINIT_LIST_HEAD()

2006-12-13 Thread Dan Carpenter
On 12/13/06, Alan Stern <[EMAIL PROTECTED]> wrote: > On Wed, 13 Dec 2006, dcarpenter wrote: > > > Could someone look over this patch as well? It should hopefully > > fix the list corruption bug on: > > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=214402 > > > > Add a missing INIT_LIST_HEAD

Re: [linux-usb-devel] Oops when connection nokia S60 series phone

2006-12-13 Thread David Brownell
> > At a quick glance, I suspect the more correct fix is to make > > the "goto out1;" after init fails be a "goto out3;" ... > > > > - Dave > > > > > > Nah. We shouldn't need to call unbind() if bind() fails. True, but we SHOULD do that if a fault shows up after it succeeds... unlikely though t

Re: [linux-usb-devel] Oops when connection nokia S60 series phone

2006-12-13 Thread Dan Carpenter
On 12/13/06, David Brownell <[EMAIL PROTECTED]> wrote: > This cleans up some unlikely error handling paths in usbnet device probing. > > Signed-off-by: David Brownell <[EMAIL PROTECTED]> > > Index: g26/drivers/usb/net/usbnet.c > === >

[linux-usb-devel] ohci patches for of glue

2006-12-13 Thread Sylvain Munaut
The first patch rework the way the ohci bus glue fits together to allow compilation of an OHCI module with several bus glue. The second add support for a new bus glue found on embedded PPC chips. All the patches have been rebased to apply on top of Greg's pending USB patch queue for 2.6.20 + Ben's

[linux-usb-devel] [PATCH] ohci: Rework bus glue integration to allow several at once

2006-12-13 Thread Sylvain Munaut
The previous model had the module_init & module_exit function in the bus glue .c files themselves. That's a problem if several glues need to be selected at once and the driver is built has module. This case is quite common in embedded system where you want to handle both the integrated ohci control

[linux-usb-devel] [PATCH] ohci: Add support for OHCI controller on the of_platform bus

2006-12-13 Thread Sylvain Munaut
PPC embedded systems can have a ohci controller builtin. In the new model, it will end up as a driver on the of_platform bus, this patches takes care of them. Signed-off-by: Sylvain Munaut <[EMAIL PROTECTED]> Acked-by: David Brownell <[EMAIL PROTECTED]> --- drivers/usb/host/Kconfig | 23 +

[linux-usb-devel] 代 理 业 务 !

2006-12-13 Thread 刘向阳
尊敬的公司领导负责人(经理/财务)您们好! 我是深圳市佰华实业有限公司的,我司实力雄厚,有着艮好的社会关系。 由于我司进项较多,完成不了每月销售额度,公司决定采取最优惠的方式来对 外代开发票。代开范围:增值税、海关缴款书、普通商品销售发票;地税,建 筑安装、运输、广告、服务业、咨询和定额发票等;本司真诚地希望能够与贵 司合作!也可为贵司节约一部分资金! 如果贵司在发票方面有任何疑虑,可上网查询或我司人员与贵司人员去税 务确定。一切发票可经贵司确认后才付款!

Re: [linux-usb-devel] Gadget driver for ISP116x?

2006-12-13 Thread Guennadi Liakhovetski
On Wed, 13 Dec 2006, Bill Gatliff wrote: > Does anyone know of a driver for the USB Device side of the ISP116x? emn, yre you sure 116x has device? 136x, 176x have them, but 116x - don't think it does... might be mistaken though. Thanks Guennadi --- Guennadi Liakhovetski ---

Re: [linux-usb-devel] How to explain two cameras can run together in YUV 640x480 30 fps in Windows?

2006-12-13 Thread Alan Stern
On Tue, 12 Dec 2006, Zhang Daniel wrote: > Hi, > I am trying to run two cameras in YUV 640x480 30 fps in Linux. The first > one is running correctly. But the second one always fails with "NO SPACE" > error. > I was told this is bandwidth issue. But why they can work run under Windows > XP. >

[linux-usb-devel] Gadget driver for ISP116x?

2006-12-13 Thread Bill Gatliff
Guys: Does anyone know of a driver for the USB Device side of the ISP116x? Thanks! b.g. -- Bill Gatliff [EMAIL PROTECTED] - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and

Re: [linux-usb-devel] [patch] devio.c add missingINIT_LIST_HEAD()

2006-12-13 Thread Alan Stern
On Wed, 13 Dec 2006, dcarpenter wrote: > Could someone look over this patch as well? It should hopefully > fix the list corruption bug on: > https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=214402 > > Add a missing INIT_LIST_HEAD() > > Signed-off-by: Dan Carpenter <[EMAIL PROTECTED]> > > d

Re: [linux-usb-devel] How to explain two cameras can run together in YUV 640x480 30 fps in Windows?

2006-12-13 Thread Nikita V. Youshchenko
> On Tuesday 12 December 2006 10:14 am, Zhang Daniel wrote: >> Hi, >> I am trying to run two cameras in YUV 640x480 30 fps in Linux. The first >> one is running correctly. But the second one always fails with "NO SPACE" >> error. While developing for an embedded system based on 2.6.10-based vend

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

2006-12-13 Thread Yinghai Lu
wakeup_level4_pgt need to be updated in addtion to boot_level4_pgt? also comment could be updated for good unstanding too. YH - Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you

Re: [linux-usb-devel] usbmon status?!?

2006-12-13 Thread Marcel Holtmann
Hi Paolo, > > Can you send me your udev rule or a note however > > you create the /dev/usbmonN? > > I create the device file with this script: > > #!/bin/sh > mkdir /dev/usbmon > mknod /dev/usbmon/1 c 253 1 > mknod /dev/usbmon/2 c 253 2 > mknod /dev/usbmon/3 c 253 3 > mknod /dev/usbmon/4 c 253 4

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

2006-12-13 Thread Yinghai Lu
On 12/12/06, Eric W. Biederman <[EMAIL PROTECTED]> wrote: > diff --git a/arch/x86_64/kernel/head.S b/arch/x86_64/kernel/head.S > index 1e6f808..2f65469 100644 > --- a/arch/x86_64/kernel/head.S > +++ b/arch/x86_64/kernel/head.S > @@ -328,9 +328,9 @@ ENTRY(wakeup_level4_pgt) > .align PAGE_SIZ

Re: [linux-usb-devel] usbmon status?!?

2006-12-13 Thread Paolo Abeni
On Tue, 2006-12-12 at 11:47 -0800, Pete Zaitcev wrote: > Can you send me your udev rule or a note however > you create the /dev/usbmonN? I create the device file with this script: #!/bin/sh mkdir /dev/usbmon mknod /dev/usbmon/1 c 253 1 mknod /dev/usbmon/2 c 253 2 mknod /dev/usbmon/3 c 253 3 mknod

[linux-usb-devel] [patch] devio.c add missingINIT_LIST_HEAD()

2006-12-13 Thread dcarpenter
Could someone look over this patch as well? It should hopefully fix the list corruption bug on: https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=214402 Add a missing INIT_LIST_HEAD() Signed-off-by: Dan Carpenter <[EMAIL PROTECTED]> diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/de