Re: [linux-usb-devel] iuu_phoenix drivers. New submit for review

2007-07-17 Thread Greg KH
On Tue, Jul 17, 2007 at 03:39:35PM -0700, David Brownell wrote: > On Tuesday 17 July 2007, Greg KH wrote: > > On Fri, Jul 13, 2007 at 11:07:24PM +0200, Alain Degreffe wrote: > > > As requested, I have replaced all DMA by kmalloc. The CodingStyle came > > > from > > > Lindent script. The all define

[linux-usb-devel] 电子方案供求信息平台!

2007-07-17 Thread arescdq
电子方案网,电子方案供求信息平台! http://www.myesw.cn - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sou

Re: [linux-usb-devel] [patch 06/16] usb: add the concept of default authorization to USB hosts

2007-07-17 Thread Greg KH
On Tue, Jul 10, 2007 at 12:45:02PM -0700, [EMAIL PROTECTED] wrote: > This introduces /sys/class/usb_host/*/authorized_default; it dictates > what is going to be the default authorization state for devices > connected to the host. User space can set that using the sysfs file. > > By default it is s

Re: [linux-usb-devel] [patch 03/16] usb: usb_get_configuration() obeys authorization

2007-07-17 Thread Greg KH
On Tue, Jul 10, 2007 at 12:44:59PM -0700, [EMAIL PROTECTED] wrote: > If called and the device is not authorized to be used, then we don't > allow reading the configurations. > > Signed-off-by: Inaky Perez-Gonzalez <[EMAIL PROTECTED]> > > --- > drivers/usb/core/config.c | 21 +-

[linux-usb-devel] Update of patch 12-wusb-teach-choose-address-about-wireless-devices.patch

2007-07-17 Thread Inaky Perez-Gonzalez
Hi Greg, all This is an updated version of the patch #12 from the current WUSB series. I found I had messed up a wee bit of it (+2 vs the needed +1 in the generation of the WUSB device address from the port number). --- 12-wusb-teach-choose-address-about-wireless-devices.patch~ 2007-07-11 16:2

Re: [linux-usb-devel] New driver proposal: iuu_phoenix patch formatted and indepedent file for external compilation

2007-07-17 Thread David Brownell
On Saturday 14 July 2007, Alain Degreffe wrote: > By the way, I don't well understand if I must try to port the driver in the > gadget part. I don't quite understand the question. Are you saying that this peripheral runs Linux inside, and you want to make its firmware use standard interfaces? Si

Re: [linux-usb-devel] iuu_phoenix drivers. New submit for review

2007-07-17 Thread David Brownell
On Tuesday 17 July 2007, Greg KH wrote: > On Fri, Jul 13, 2007 at 11:07:24PM +0200, Alain Degreffe wrote: > > As requested, I have replaced all DMA by kmalloc. The CodingStyle came from > > Lindent script. The all defines are now in a .h file So I'm ready for > > your comments... Thanks for you

Re: [linux-usb-devel] [PATCH] appletouch powersaving - please apply for 2.6.23-rc1 take #3

2007-07-17 Thread Soeren Sonnenburg
On Tue, 2007-07-17 at 11:01 -0400, Dmitry Torokhov wrote: > Hi, > > On 7/17/07, Soeren Sonnenburg <[EMAIL PROTECTED]> wrote: > > > > err_free_buffer: > > @@ -656,6 +699,7 @@ static void atp_disconnect(struct usb_interface *iface) > > > >usb_set_intfdata(iface, NULL); > >if (dev) {

Re: [linux-usb-devel] [PATCH] appletouch powersaving - please apply for 2.6.23-rc1

2007-07-17 Thread Soeren Sonnenburg
On Tue, 2007-07-17 at 15:03 +0200, Johannes Berg wrote: > Hi, > > Good stuff :) > > > + int idlecount; /* number of empty packets */ > > should probably use tabs here. fixed. > > + size = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), > > +

Re: [linux-usb-devel] [PATCH] appletouch powersaving - please apply for 2.6.23-rc1

2007-07-17 Thread Dmitry Torokhov
Hi, On 7/17/07, Soeren Sonnenburg <[EMAIL PROTECTED]> wrote: > > err_free_buffer: > @@ -656,6 +699,7 @@ static void atp_disconnect(struct usb_interface *iface) > >usb_set_intfdata(iface, NULL); >if (dev) { > + cancel_work_sync(&dev->work); >usb_kill_u

Re: [linux-usb-devel] [PATCH] appletouch powersaving - please apply for 2.6.23-rc1

2007-07-17 Thread Johannes Berg
Hi, Good stuff :) > + int idlecount; /* number of empty packets */ should probably use tabs here. > + size = usb_control_msg(udev, usb_sndctrlpipe(udev, 0), > +ATP_GEYSER3_MODE_WRITE_REQUEST_ID, > +USB_DIR_

[linux-usb-devel] [PATCH] appletouch powersaving - please apply for 2.6.23-rc1

2007-07-17 Thread Soeren Sonnenburg
Hi, the attached minimally intrusive patch is based on Matthew Garret's patch 'Make appletouch shut up when it has nothing to say' patches (e.g. http://lkml.org/lkml/2007/5/13/117): Matthews description follows / second paragraph lists my additional changes. The appletouch geyser3 devices found i

Re: [linux-usb-devel] High speed devices with kernel 2.6.21.5.

2007-07-17 Thread Branden Sletteland
On 7/17/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 17 Jul 2007, Branden Sletteland wrote: > > > This results in the device being detected as a Full speed device as > > before. (Actually a High speed device plugged into a Full speed hub, > > with warnings from the USB drivers) > > > > No sk

Re: [linux-usb-devel] High speed devices with kernel 2.6.21.5.

2007-07-17 Thread Alan Stern
On Tue, 17 Jul 2007, Branden Sletteland wrote: > This results in the device being detected as a Full speed device as > before. (Actually a High speed device plugged into a Full speed hub, > with warnings from the USB drivers) > > No skip status messages are appearing. I'm at a loss. Clearly you

Re: [linux-usb-devel] iuu_phoenix drivers. New submit for review

2007-07-17 Thread Greg KH
On Fri, Jul 13, 2007 at 11:07:24PM +0200, Alain Degreffe wrote: > As requested, I have replaced all DMA by kmalloc. The CodingStyle came from > Lindent script. The all defines are now in a .h file So I'm ready for > your comments... Thanks for your time and your help. It's funny to observe > th

Re: [linux-usb-devel] usb_control_msg question

2007-07-17 Thread Pete Zaitcev
On Tue, 17 Jul 2007 12:35:57 -0700, "Gabriel Maganis" <[EMAIL PROTECTED]> wrote: > kernel module > ded0a9c0 1879410740 S Co:002:00 s 21 0a aa00 0 > ded0a9c0 1879413621 C Co:002:00 0 0 > ded0a9c0 1879413858 S Ci:002:00 s a1 02 0001 1 < > ded0a9c0 1879417615 C Ci:002:00 0 1 = 00

Re: [linux-usb-devel] usb_control_msg question

2007-07-17 Thread Gabriel Maganis
Hello Pete, Thanks for your help but the usbmon traces are exactly what's confusing because the only difference is that the device responds with the idle value if I do it using libusb i.e. below kernel module ded0a9c0 1879410740 S Co:002:00 s 21 0a aa00 0 ded0a9c0 1879413621 C Co:002:00

Re: [linux-usb-devel] High speed devices with kernel 2.6.21.5.

2007-07-17 Thread Branden Sletteland
On 7/17/07, Alan Stern <[EMAIL PROTECTED]> wrote: > On Tue, 17 Jul 2007, Branden Sletteland wrote: > > > With that code added I just see the print out for each of the four > > ports three times, and the device is not detected. > > Try this patch instead. > > Alan Stern > > > Index: 2.6.22/drivers/u

Re: [linux-usb-devel] usb_control_msg question

2007-07-17 Thread Pete Zaitcev
On Tue, 17 Jul 2007 11:04:05 -0700, "Gabriel Maganis" <[EMAIL PROTECTED]> wrote: >ret = usb_control_msg(dev, > usb_rcvctrlpipe(dev, 0), > SET_IDLE, > (0x01 << 5) + 0x01, > 0xaa00, 0, data, 0, USB_CTRL_SET_TIMEOUT); Are you sure you want to use i

Re: [linux-usb-devel] usb_control_msg question

2007-07-17 Thread Gabriel Maganis
Should be usb_sndctrlpipe, but regardless, I am still experiencing the same thing. ret = usb_control_msg(dev, usb_sndctrlpipe(dev, 0), SET_IDLE, (0x01 << 5) + 0x01, 0xaa00, 0, data, 0, USB_CTRL_SET_TIMEOUT); On 7/17/07, Gabriel Maganis <[EMAI

[linux-usb-devel] usb_control_msg question

2007-07-17 Thread Gabriel Maganis
Hello, I am trying to send commands to a keyboard to set the idle rate and confirm that it's been set like below, #define SET_IDLE 0x0A #define GET_IDLE 0x02 unsigned char data[1] = {0}; ret = usb_control_msg(dev, usb_rcvctrlpipe(dev, 0), SET_IDLE,

Re: [linux-usb-devel] [PATCH 70/78] USB: add picdem device to ldu sb

2007-07-17 Thread Xiaofan Chen
On 7/17/07, Greg KH <[EMAIL PROTECTED]> wrote: > On Tue, Jul 17, 2007 at 10:02:26AM -0700, Joey Goncalves wrote: > > > > From my perspective it is nice to know the board is handled in the kernel > > and supported up stream. As other IDs are created they could possibly > > be added to ldusb and

[linux-usb-devel] Kingsun KS-959 USB IrDA dongle - can now receive files, trouble with transmission

2007-07-17 Thread Alex Villací­s Lasso
Some good news: I have an updated version of the driver that actually works for receiving files from my cellphone with obexftp. Current source is in the tarball. The only problem is that I have trouble with the transmission of large packets, or in quick sucession. For example, when actually try

[linux-usb-devel] patch usb-fix-warning-caused-by-autosuspend-counter-going-negative.patch added to gregkh-2.6 tree

2007-07-17 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: [PATCH] USB: fix warning caused by autosuspend counter going negative to my gregkh-2.6 tree. Its filename is usb-fix-warning-caused-by-autosuspend-counter-going-negative.patch This tree can be found at

[linux-usb-devel] patch usb-documentation-update-for-usb_unlink_urb.patch added to gregkh-2.6 tree

2007-07-17 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: USB: documentation update for usb_unlink_urb to my gregkh-2.6 tree. Its filename is usb-documentation-update-for-usb_unlink_urb.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/p

[linux-usb-devel] patch usb-add-descriptors-binary-sysfs-attribute.patch added to gregkh-2.6 tree

2007-07-17 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: [PATCH] USB: add "descriptors" binary sysfs attribute to my gregkh-2.6 tree. Its filename is usb-add-descriptors-binary-sysfs-attribute.patch This tree can be found at http://www.kernel.org/pub/linux/

[linux-usb-devel] patch uhci-short-control-urbs-get-a-status-stage.patch added to gregkh-2.6 tree

2007-07-17 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: UHCI: short control URBs get a status stage to my gregkh-2.6 tree. Its filename is uhci-short-control-urbs-get-a-status-stage.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/peo

[linux-usb-devel] patch isp116x-hcd-prepare-for-urb-status.patch added to gregkh-2.6 tree

2007-07-17 Thread gregkh
This is a note to let you know that I've just added the patch titled Subject: [PATCH] isp116x-hcd: prepare for urb->status to my gregkh-2.6 tree. Its filename is isp116x-hcd-prepare-for-urb-status.patch This tree can be found at http://www.kernel.org/pub/linux/kernel/people/gre

Re: [linux-usb-devel] High speed devices with kernel 2.6.21.5.

2007-07-17 Thread Alan Stern
On Tue, 17 Jul 2007, Branden Sletteland wrote: > With that code added I just see the print out for each of the four > ports three times, and the device is not detected. Try this patch instead. Alan Stern Index: 2.6.22/drivers/usb/host/ehci-hub.c

Re: [linux-usb-devel] [PATCH 70/78] USB: add picdem device to ldu sb

2007-07-17 Thread Greg KH
On Tue, Jul 17, 2007 at 10:02:26AM -0700, Joey Goncalves wrote: > Hi: > > I was not aware of the libusb support for the PicDem board. ( not for lack > of googling let me tell you ) > that's when I started to look at was involved in writing a kernel driver to > talk to the unit. After > a l

Re: [linux-usb-devel] [patch]minimal autosuspend support for USB HID devices

2007-07-17 Thread Greg KH
On Wed, Jul 11, 2007 at 12:29:02PM +0200, Oliver Neukum wrote: > Hi, > > autosuspend for USB HID devices remains problematic as far as mice > and keyboards are concerned. While I am working on a grand solution, > here's a minimalist patch that works for those devices not continously > in use. It'l

Re: [linux-usb-devel] [PATCH 70/78] USB: add picdem device to ldu sb

2007-07-17 Thread Joey Goncalves
Hi: I was not aware of the libusb support for the PicDem board. ( not for lack of googling let me tell you ) that's when I started to look at was involved in writing a kernel driver to talk to the unit. After a little digging I discovered ldusb and it's relative ease of handling the PicDem boar

[linux-usb-devel] There is something interesting.

2007-07-17 Thread Abdul Clowes
We offer Bullet Proof dedicated servers & Antiabuse hosting for direct mailing, all types of adults, logs, fakes and other projects. We have: · 100 Mbit channel · Guaranteed uninterrupted power supply · Support service · Anonymity · Remote access to power supply (APC PDU) Standard server configu

Re: [linux-usb-devel] [PATCH 70/78] USB: add picdem device to ldu sb

2007-07-17 Thread Xiaofan Chen
On 7/17/07, Hund, Michael <[EMAIL PROTECTED]> wrote: > > > Even on full speed devices, I had the problem of missing interrupt transfers > using libusb. This was the main reason to write ldusb for interrupt > transfers. > > libusb cannot guarantee to handle an interrupt transfer in a time which is

Re: [linux-usb-devel] gadget serial on an AT91SAM9260 board..

2007-07-17 Thread David Brownell
On Friday 13 July 2007, Kenneth Watson wrote: > Hi, > > I'm having a slight problem using the gadget serial device on an > AT91SAM9260 board. When trying to connect to a virtual console on > windows or the ACM driver on linux, it seems I'm receive a control > message to do a SET_LINE_COD

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] [Em28xx] dvb-core random crashes - Got it

2007-07-17 Thread David Brownell
On Wednesday 11 July 2007, Christoph wrote: > So, > > since yesterday I'm running this: > > drivers/usb/host/ehci-hcd.c:611 > /* complete the unlinking of some qh [4.15.2.3] */ > if (status & STS_IAA) { > if (ehci->reclaim) { > COUNT (ehci->stats.reclaim); >

Re: [linux-usb-devel] Trust WB-5400 webcam

2007-07-17 Thread David Brownell
On Tuesday 10 July 2007, Steve Calfee wrote: > > Endpoint Descriptor: > > bLength 7 > > bDescriptorType 5 > > bEndpointAddress 0x81 EP 1 IN > > bmAttributes1 > > Transfer TypeIsochronous > >

Re: [linux-usb-devel] Reg:USB configuration

2007-07-17 Thread David Brownell
On Thursday 12 July 2007, S.Selin Jeba Shanthi wrote: >  We are using the AT91SAM9261 board for our application. >  Now our device is act as mass storage but i want that >  device to be act as serial device parallely. Presumably you mean you want what the USB spec calls a "composite" device. >  

Re: [linux-usb-devel] High speed, high bandwidth isoc

2007-07-17 Thread Alan Stern
On Mon, 16 Jul 2007, Steve Calfee wrote: > I am working on a project using a generic (non-FPGA) cypress fx2 to > test host controllers. > > The good news is that Linux runs interrupt IN/OUTs at 3x1024 byte > packets uframe, 24MBytes per second, over as long as I have tested, > seconds. Verifie

Re: [linux-usb-devel] [PATCH 70/78] USB: add picdem device to ldusb

2007-07-17 Thread Xiaofan Chen
On 7/17/07, Greg KH <[EMAIL PROTECTED]> wrote: > On Fri, Jul 13, 2007 at 10:20:11PM -0400, Xiaofan Chen wrote: > > On 4/27/07, Greg Kroah-Hartman <[EMAIL PROTECTED]> wrote: > > > From: Joey Goncalves <[EMAIL PROTECTED]> > > > > > >> Hi Greg: > > > > > > >I have found that /drivers/usb/misc/ldusb.

[linux-usb-devel] Banned file: message.scr in mail from you

2007-07-17 Thread Barracuda Spam Firewall
BANNED FILENAME ALERT Your message to: [EMAIL PROTECTED] was blocked by our Spam Firewall. The email you sent with the following subject has NOT BEEN DELIVERED: Subject: Mail Delivery (failure [EMAIL PROTECTED]) An attachment in that mail was of a file type that the Spam Firewall is set to blo

Re: [linux-usb-devel] [PATCH 006/149] USB: m66592-udc: peripheral controller driver for M66592

2007-07-17 Thread David Brownell
On Tuesday 17 July 2007, Yoshihiro Shimoda wrote: > Thank you very much for your comment. > I made the patch. Should I send following patch to Greg? It's probably already in his inbox, but a direct CC on the next version might help. I only really have one comment, and it relates to the patch desc