[linux-usb-devel] 洪健拓展---团队训练最佳选择

2006-06-30 Thread Powson
上海鸿健商务咨询有限公司 拓展培训中心简介 上海鸿健商务咨询有限公司拓展培训中心(以下简称"鸿健拓展")隶属于上海鸿健商务咨询有限公 司,是一家从事企业体验式培训和企业户外活动推广的专业商务咨询机构。鸿健拓展通过科学策划和精 心组织,所设计的拓展培训课程和各类户外活动项目,为企业提供良好的员工户外活动服务,既增强了 团队协作能力,也让每位参与者能在相互协作的活动中体验拓展给其带来的乐趣。 2006年鸿健拓展依附强大的技术支持和管理后台,为更好的满足不同客户不同需求,鸿健拓展

Re: [linux-usb-devel] [PATCH 02/11] usbcore: add usb_device_driver

2006-06-30 Thread Alan Stern
On Fri, 30 Jun 2006, Greg KH wrote: > On Wed, Jun 28, 2006 at 11:27:40AM -0400, Alan Stern wrote: > > Greg: > > > > This patch (as732) adds a usb_device_driver structure, for representing > > drivers that manage an entire USB device as opposed to just an interface. > > Support routines like usb

Re: [linux-usb-devel] problem with full-speed devices on high-speed hub with EHCI

2006-06-30 Thread David Brownell
On Friday 30 June 2006 10:14 am, Paulo Marques wrote: > However, using the EHCI controller gives a lot of errors running this > simple script: This is with 2.6.17-git, I hope? You should try some isolation testing, for example trying this stress test with just one pl2303, just the ftdi, then tw

[linux-usb-devel] Driver for AIRcable USB Devices

2006-06-30 Thread Manuel Naranjo
Hi: I have made a driver that uses usb-serial to make AIRcable USB Devices work. The device is released under the GPL license. What I would like to know if there is any way to report this hardware as compatible, with Linux Kernel v2.6. If anyone is interesated i can send the source code to the

Re: [linux-usb-devel] [patch 2.6.17-git] move to

2006-06-30 Thread Greg KH
On Thu, Jun 29, 2006 at 12:27:23PM -0700, David Brownell wrote: > Another header file move; maybe you can do the magic to make it show up > as a real move rather than an add-plus-delete. Git will handle this when I move it from quilt to git. thanks, greg k-h Using Tomcat but need to do more? Ne

Re: [linux-usb-devel] [PATCH 02/11] usbcore: add usb_device_driver

2006-06-30 Thread Greg KH
On Wed, Jun 28, 2006 at 11:27:40AM -0400, Alan Stern wrote: > Greg: > > This patch (as732) adds a usb_device_driver structure, for representing > drivers that manage an entire USB device as opposed to just an interface. > Support routines like usb_register_device_driver, > usb_deregister_device_

[linux-usb-devel] Beagle USB Protocol Analyzer

2006-06-30 Thread Markus Schlup
Hi Linux USB developers, it's been some months ago when I got mail from Derek at totalphase.com. They are building USB protocol analyzers (http://www.totalphase.com/products/beagle/usb/) and they offered one to me to help improve USB driver development for Linux. As I'm totally off of any drive

Re: [linux-usb-devel] Fw: Problems with [USB] on Kernel 2.6.x [1/3]

2006-06-30 Thread Alan Stern
On Fri, 30 Jun 2006, Foli Ayivoh wrote: > Alan Stern wrote: > > On Wed, 28 Jun 2006, Andrew Morton wrote: > > > > > Begin forwarded message: > > > > > > Date: Tue, 27 Jun 2006 20:18:45 +0200 > > > From: Foli Ayivoh <[EMAIL PROTECTED]> > > > To: lkml > > > Subject: Problems with [USB] on Kernel

Re: [linux-usb-devel] [PATCH] Airprime driver improvements to allow full speed EvDO transfers

2006-06-30 Thread Andy Gay
On Fri, 2006-06-30 at 13:04 -0700, Roland Dreier wrote: > > + /* something happened, so free up the memory for this urb /* > > an obvious glitch here at the end of the line... Oops. Sorry 'bout that.. that comment had some more stuff that no longer applies, I edited it just before I subm

Re: [linux-usb-devel] [PATCH] Airprime driver improvements to allow full speed EvDO transfers

2006-06-30 Thread Roland Dreier
> +/* something happened, so free up the memory for this urb /* an obvious glitch here at the end of the line... Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSph

[linux-usb-devel] problem with full-speed devices on high-speed hub with EHCI

2006-06-30 Thread Paulo Marques
Hi, I have a setup with a USB2 high-speed hub connected to a USB2 port on a PC. On this hub I connect 4 usb to serial adapters (3 pl2303 and 1 ftdi). These are all full-speed devices. If I disable the EHCI controller on the BIOS, then all adapters work just fine, but the hub runs in full-sp

Re: [linux-usb-devel] [PATCH] Airprime driver improvements to allow full speed EvDO transfers

2006-06-30 Thread Andy Gay
On Fri, 2006-06-30 at 01:52 -0700, Pete Zaitcev wrote: > The idea to allocate a URB for every little user write bothers me as > well. It was a dirty code thrown together quickly by someone who could > not be bothered to use a circular buffer and two URBs. It was fine > for the visor.c, but the Air

Re: [linux-usb-devel] [PATCH] Airprime driver improvements to allow full speed EvDO transfers

2006-06-30 Thread Andy Gay
On Fri, 2006-06-30 at 00:10 -0700, Andrew Morton wrote: > > > > ... > > > > +static void airprime_read_bulk_callback(struct urb *urb, struct pt_regs > > *regs) > > +{ ... > > + tty = port->tty; > > + if (tty && urb->actual_length) { > > + tty_buffer_request_room(tty, urb->actual_l

Re: [linux-usb-devel] suspending scsi devices

2006-06-30 Thread Oliver Neukum
Am Freitag, 30. Juni 2006 16:15 schrieben Sie: > On Fri, 30 Jun 2006, Oliver Neukum wrote: > In this situation it's not clear whether blocking requests is the right > thing to do. It might be better to fail them. Or to automatically resume > the device and then carry out the request. I got to

Re: [linux-usb-devel] suspending scsi devices

2006-06-30 Thread Alan Stern
On Fri, 30 Jun 2006, Oliver Neukum wrote: > Am Freitag, 30. Juni 2006 04:17 schrieb Alan Stern: > > On Thu, 29 Jun 2006, Oliver Neukum wrote: > > > > > Hi, > > > > > > does anybody know what error to return from queuecommand for commands > > > arriving while a device is being suspended? > > > >

[linux-usb-devel] [PATCH] usbcore get rid of the timer in usb_start_wait_urb()

2006-06-30 Thread Franck Bui-Huu
This patch uses completion timeout instead of a timer to implement a timeout when submitting an URB in usb_start_wait_urb(). It also fixes a small issue. With the previous code, if no timeout happened and the URB's status was set to ECONNRESET value, the code assumed that a timeout had occured.

Re: [linux-usb-devel] [PATCH] Airprime driver improvements to allow full speed EvDO transfers

2006-06-30 Thread Alan Cox
Ar Gwe, 2006-06-30 am 14:02 +0200, ysgrifennodd Arjan van de Ven: > > Yes. I've been wondering if we should log the failure case somewhere, > > either as a tty-> object or printk. > > printk gets... interesting if you use serial console ;) > both locking and buffer space wise Not particularly. Th

Re: [linux-usb-devel] [PATCH] Airprime driver improvements to allow full speed EvDO transfers

2006-06-30 Thread Arjan van de Ven
> > tty_insert_flip_string() returns number of bytes it has actually > > inserted, but I don't believe one can do much if it returns less than > > has been requested as it means that we are out of kernel memory. > > Yes. I've been wondering if we should log the failure case somewhere, > either as

Re: [linux-usb-devel] [PATCH] Airprime driver improvements to allow full speed EvDO transfers

2006-06-30 Thread Alan Cox
Ar Gwe, 2006-06-30 am 14:51 +0400, ysgrifennodd Sergei Organov: > In fact, according to Alan Cox answer, the first call is useless here at > all, i.e., tty_buffer_request_room() is for subsequent > tty_insert_flip_char() calls in a loop, not for > tty_insert_flip_string(). tty_insert_flip_string()

Re: [linux-usb-devel] [PATCH] Airprime driver improvements to allow full speed EvDO transfers

2006-06-30 Thread Sergei Organov
Andrew Morton <[EMAIL PROTECTED]> writes: > On Fri, 30 Jun 2006 01:48:02 -0400 > Andy Gay <[EMAIL PROTECTED]> wrote: [...] >> +if (tty && urb->actual_length) { >> +tty_buffer_request_room(tty, urb->actual_length); >> +tty_insert_flip_string(tty, data, urb->actual_length)

Re: [linux-usb-devel] [PATCH] Airprime driver improvements to allow full speed EvDO transfers

2006-06-30 Thread Pete Zaitcev
On Fri, 30 Jun 2006 00:10:21 -0700, Andrew Morton <[EMAIL PROTECTED]> wrote: > > +static void airprime_read_bulk_callback(struct urb *urb, struct pt_regs > > *regs) >... > > + /* should this use GFP_KERNEL? */ > > + result = usb_submit_urb(urb, GFP_ATOMIC); > > If possible, yep. You can

Re: [linux-usb-devel] [patch 2.6.17-git] pxa2xx_udc understands GPIO based VBUS sensing

2006-06-30 Thread David Brownell
On Friday 30 June 2006 12:40 am, Lothar Wassmann wrote: > Hi, > > > > What if a hardware designer chooses to use GPIO '0' for one of these > > > functions? > > > > It's explained earlier in the patch: > > > Ok, it's obviously too early in the morning... :) ;) > > ... that is, the GPIO_bit(x) i

[linux-usb-devel] [PATCH] WiseGroup., Ltd SmartJoy Dual PLUS Adapter

2006-06-30 Thread Navaho Gunleg
This patch is to get the WiseGroup.,Ltd SmartJoy Dual Plus PS2-to-USB Adapter [0x6677:0x8802] correctly detected. It sets the NOGET and MULTI_INPUT quirks to make 2 joystick nodes appear in stead of only one. (As of yet, only confirmed working by myself.) Signed-off-by: [EMAIL PROTECTED] --- lin

Re: [linux-usb-devel] [patch 2.6.17-git] pxa2xx_udc understands GPIO based VBUS sensing

2006-06-30 Thread Lothar Wassmann
Hi, > > What if a hardware designer chooses to use GPIO '0' for one of these > > functions? > > It's explained earlier in the patch: > Ok, it's obviously too early in the morning... :) > ... that is, the GPIO_bit(x) in that gpio_set() call will > morph (0|bits) into 0 so the test succeeds. > U

Re: [linux-usb-devel] [patch 2.6.17-git] pxa2xx_udc understands GPIO based VBUS sensing

2006-06-30 Thread David Brownell
On Friday 30 June 2006 12:07 am, Lothar Wassmann wrote: > Hi, > > > + if (mach->gpio_pullup) > > + pxa_gpio_set(mach->gpio_pullup, 0); > [...] > > + if (mach->gpio_pullup) > > + pxa_gpio_set(mach->gpio_pullup, 1); > > > What if a hardware designer chooses to use GPIO '0' fo

Re: [linux-usb-devel] [PATCH] Airprime driver improvements to allow full speed EvDO transfers

2006-06-30 Thread Andrew Morton
On Fri, 30 Jun 2006 01:48:02 -0400 Andy Gay <[EMAIL PROTECTED]> wrote: > > Adapted from an earlier patch by Greg KH <[EMAIL PROTECTED]>. > That patch added multiple read urbs and larger transfer buffers to allow > data transfers at full EvDO speed. > > This version includes additional device IDs

Re: [linux-usb-devel] [patch 2.6.17-git] pxa2xx_udc understands GPIO based VBUS sensing

2006-06-30 Thread Lothar Wassmann
Hi, > + if (mach->gpio_pullup) > + pxa_gpio_set(mach->gpio_pullup, 0); [...] > + if (mach->gpio_pullup) > + pxa_gpio_set(mach->gpio_pullup, 1); > What if a hardware designer chooses to use GPIO '0' for one of these functions? Lothar Wassmann Using Tomcat but need