[linux-usb-devel] isp116x: Isochronous transfers not supported

2007-01-24 Thread Cesar De Oliveira
Hello everybody! I have an XScale based platform with ISP 1160 on it. I would like to connect a camera to it (with the gspcav1 driver), but the existing driver does not support isochronous transfers with a linux 2.6 kernel. I've search on the web a patch to add this functionality, but I haven't

[linux-usb-devel] Bug in USB core - discution over usb-serial

2007-01-24 Thread Nathael Pajani
Hi! I found a bug in the USB core (present in linux-2.6.20-rc5-git2 with your patch from http://kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/: gregkh-03-usb-2.6.20-rc5-git2.patch ) in the core/driver.c file, function store_new_id() the problem comes from the call to list_add_tail()

Re: [linux-usb-devel] Bug in USB core - discussion over usb-serial

2007-01-24 Thread Johannes Hölzl
Hi Nathael, Am Mittwoch, den 24.01.2007, 13:01 +0100 schrieb Nathael Pajani: Hi! I found a bug in the USB core (present in linux-2.6.20-rc5-git2 with your patch from http://kernel.org/pub/linux/kernel/people/gregkh/gregkh-2.6/: gregkh-03-usb-2.6.20-rc5-git2.patch ) in the

Re: [linux-usb-devel] Bug in USB core - discussion over usb-serial

2007-01-24 Thread Nathael Pajani
Hi all. Johannes Hölzl wrote : Hi Nathael, To solve this the new_id is added under the serial driver directory at: /sys/bus/usb-serial/drivers/driver/new_id OK, I do not have this new_id file as I must use 2.6.19.2 (stable kernel) for my client and do not want to backport

Re: [linux-usb-devel] [PATCH]switching off autosuspend through sysfs

2007-01-24 Thread Alan Stern
On Tue, 23 Jan 2007, David Brownell wrote: On Tuesday 23 January 2007 10:29 am, Alan Stern wrote: On Tue, 23 Jan 2007, David Brownell wrote: On Tuesday 23 January 2007 3:45 am, Oliver Neukum wrote: \ @@ -185,6 +218,8 @@ usb_descriptor_attr(bMaxPacketSize0, %d\n)

Re: [linux-usb-devel] [PATCH]switching off autosuspend through sysfs

2007-01-24 Thread Alan Stern
On Tue, 23 Jan 2007, Greg KH wrote: On Tue, Jan 23, 2007 at 04:22:43PM -0800, David Brownell wrote: static struct attribute *dev_attrs[] = { + /* power management attributes */ + dev_attr_autosuspend.attr, Belongs in /sys/devices/.../power/... then, right?

Re: [linux-usb-devel] Two revisions with identical descriptors, one buggy, the other not

2007-01-24 Thread Alan Stern
On Wed, 24 Jan 2007, Oliver Neukum wrote: Hi, I have a report about a device that will show an error with the FIX_CAPACITY quirk and another device that needs it. The descriptors are identical. What is to be done? Remove it, keep it, try some heuristic? It usually doesn't hurt to have an

Re: [linux-usb-devel] (no subject)

2007-01-24 Thread Alan Stern
On Wed, 24 Jan 2007 [EMAIL PROTECTED] wrote: Dear Alan, thank you for your valuable reply! Actually I do have the Book Linux Device Drivers 3 ed but it was not easy to find your mentioned example. I think i finally found it on page 151. There i used something linke wake_up and

[linux-usb-devel] [PATCH]: unusual_devs.h for Sony floppy

2007-01-24 Thread Luiz Fernando N. Capitulino
Greg: This patch increases the range for 0x054c:0x002c devices to make the following Sony USB floppy to work: T: Bus=02 Lev=01 Prnt=01 Port=02 Cnt=02 Dev#= 6 Spd=12 MxCh= 0 D: Ver= 1.10 Cls=00(ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor=054c ProdID=002c Rev=20.00 S:

[linux-usb-devel] [PATCH] small kernel driver to charge USB Blackberrys

2007-01-24 Thread Greg KH
Thanks to the work of the Barry project http://www.netdirect.ca/software/packages/barry/ I've created a simple little kernel driver to automatically switch a BlackBerry into charging mode whenever it is plugged in. I've added this to my tree, and will go to Linus after 2.6.20 is out, but

Re: [linux-usb-devel] heavy nfs[4]] causes fs badness Was: 2.6.20-rc4: known unfixed regressions (v2)

2007-01-24 Thread Alan Stern
On Tue, 23 Jan 2007, Florin Iucha wrote: It would be nice to learn exactly why the keyboard stopped working. Try using the usbmon facility (instructions in Documentation/usb/usbmon.txt) to see what happens when you type on the dead keyboard. Be sure to turn on CONFIG_USB_DEBUG as well.

Re: [linux-usb-devel] [PATCH] small kernel driver to charge USB Blackberrys

2007-01-24 Thread Chris Frey
On Wed, Jan 24, 2007 at 11:05:10AM -0800, Greg KH wrote: Thanks to the work of the Barry project http://www.netdirect.ca/software/packages/barry/ I've created a simple little kernel driver to automatically switch a BlackBerry into charging mode whenever it is plugged in. Hi, I'm from

Re: [linux-usb-devel] Support for Multiple USB Gadgets

2007-01-24 Thread David Brownell
On Tuesday 23 January 2007 6:49 am, jing xiang wrote: Hi, a few questions about the composite implementation: 1. How to handle vender/class specific requests through the control pipe? Like RNDIS, CDC ACM and mass storage, which has data to be transferred through EP0. But in composite_setup,

Re: [linux-usb-devel] [PATCH]switching off autosuspend through sysfs

2007-01-24 Thread David Brownell
On Tuesday 23 January 2007 4:32 pm, Greg KH wrote: On Tue, Jan 23, 2007 at 04:22:43PM -0800, David Brownell wrote: static struct attribute *dev_attrs[] = { + /* power management attributes */ + dev_attr_autosuspend.attr, Belongs in /sys/devices/.../power/... then,

Re: [linux-usb-devel] Philips USB ISP1161A and ISP1760 Host USB Controller Support

2007-01-24 Thread David Brownell
On Monday 22 January 2007 6:05 pm, Arvind Agrawal wrote: Hi, We are using Linux 2.6.11.7 with PXA255 Lubbock board and planning on replacing our existing Cypress SL811HS Host Controller (USB 1.1) with a USB 2.0 Controller. Our Sales rep has come with two Philips USB2.0 Controllers 1. ISP

Re: [linux-usb-devel] [PATCH]switching off autosuspend through sysfs

2007-01-24 Thread David Brownell
On Tuesday 23 January 2007 1:48 pm, Oliver Neukum wrote: Belongs in /sys/devices/.../power/... then, right? That was my thought as well.  However I don't know how you would do it, since the PM core owns the power attribute group.  There doesn't appear to be any way to add sysfs

Re: [linux-usb-devel] [PATCH]switching off autosuspend through sysfs

2007-01-24 Thread David Brownell
On Wednesday 24 January 2007 8:40 am, Alan Stern wrote: Doesn't need to be part of a group ... Yes it does -- because /sys/devices/.../power/ is a group! If so, that seems kind of sad. Some directories being more equal than others, and so forth.

Re: [linux-usb-devel] USB kernel / udev issue with Palm Treo 700p

2007-01-24 Thread Alan Stern
On Tue, 23 Jan 2007, Dirk Eddelbuettel wrote: Or maybe the Treo itself is malfunctioning. I doubt that. I'd say this new-ish (May 2006) model is 'different'. We have two of these Treo 700p (from Sprint) here, and they both behave identically: 1) they fail with current 'default' 2.6.x

Re: [linux-usb-devel] my EDambassado

2007-01-24 Thread Eliyahu Schaller
Good day, VlAG_GRA $1, 80 ClAL_LIS $3, 00 LEVl_ITRA $3, 35 http://www.rabietichb*com ( Important! Replace * with . ) -- an entire side of the square table by himself. When Aunt Petunia put a quarter of unsweetened grapefruit onto Dudleys plate with a tremulous There you are, Diddy darling,

Re: [linux-usb-devel] [PATCH] small kernel driver to charge USB Blackberrys

2007-01-24 Thread Oliver Neukum
Am Mittwoch, 24. Januar 2007 20:05 schrieb Greg KH: I've added this to my tree, and will go to Linus after 2.6.20 is out, but I wanted to let others know about it if they wish to play around with it sooner. Well, if you are connected to a bus powered hub, the device will not be configured.

Re: [linux-usb-devel] [PATCH]switching off autosuspend through sysfs

2007-01-24 Thread Oliver Neukum
Am Mittwoch, 24. Januar 2007 20:31 schrieb David Brownell: But power belongs to the core. On the other hand I see really no reason the autosuspend code is specific to USB. Would you like to raise the issue with the PM people? If you raise it I could chime in, but I don't have cycles to

Re: [linux-usb-devel] Two revisions with identical descriptors, one buggy, the other not

2007-01-24 Thread Oliver Neukum
Am Mittwoch, 24. Januar 2007 17:57 schrieb Alan Stern: On Wed, 24 Jan 2007, Oliver Neukum wrote: Hi, I have a report about a device that will show an error with the FIX_CAPACITY quirk and another device that needs it. The descriptors are identical. What is to be done? Remove it, keep

Re: [linux-usb-devel] [PATCH] small kernel driver to charge USB Blackberrys

2007-01-24 Thread Greg KH
On Wed, Jan 24, 2007 at 10:49:39PM +0100, Oliver Neukum wrote: Am Mittwoch, 24. Januar 2007 20:05 schrieb Greg KH: I've added this to my tree, and will go to Linus after 2.6.20 is out, but I wanted to let others know about it if they wish to play around with it sooner. Well, if you are

Re: [linux-usb-devel] [PATCH 30/34] USB: fix to usbfs_snoop logging of user defined control urbs

2007-01-24 Thread Chris Frey
On Tue, Jan 02, 2007 at 05:32:25PM -0800, Greg KH wrote: On Wed, Dec 20, 2006 at 11:05:44PM -0500, Alan Stern wrote: On Wed, 20 Dec 2006, Greg KH wrote: From: Chris Frey [EMAIL PROTECTED] When sending CONTROL URB's using the usual CONTROL ioctl, logging works fine, but when

[linux-usb-devel] 2.6.20-rc5: known unfixed regressions (v3) (part 1)

2007-01-24 Thread Adrian Bunk
This email lists some known regressions in 2.6.20-rc5 compared to 2.6.19 that are not yet fixed in Linus' tree. If you find your name in the Cc header, you are either submitter of one of the bugs, maintainer of an affectected subsystem or driver, a patch of you caused a breakage or I'm

Re: [linux-usb-devel] [patch, attach, RFC] usb-serial: ti_usb removing firmware

2007-01-24 Thread Oleg Verych
On 12/15/06, Alan Stern [EMAIL PROTECTED] wrote: Mister Greg, how to change configuration _inside_ the driver? Device was made to be working on second usb config after one reconnect/device change, i've lost whole day trying to make something with that. After all, usb_set_configuration()

Re: [linux-usb-devel] [PATCH]switching off autosuspend through sysfs

2007-01-24 Thread Greg KH
On Wed, Jan 24, 2007 at 11:51:17AM -0500, Alan Stern wrote: On Tue, 23 Jan 2007, Greg KH wrote: On Tue, Jan 23, 2007 at 04:22:43PM -0800, David Brownell wrote: static struct attribute *dev_attrs[] = { + /* power management attributes */ + dev_attr_autosuspend.attr,

Re: [linux-usb-devel] [linux-pm] [PATCH]switching off autosuspend through sysfs

2007-01-24 Thread Greg KH
On Wed, Jan 24, 2007 at 05:15:24PM -0800, Greg KH wrote: On Wed, Jan 24, 2007 at 11:51:17AM -0500, Alan Stern wrote: On Tue, 23 Jan 2007, Greg KH wrote: On Tue, Jan 23, 2007 at 04:22:43PM -0800, David Brownell wrote: static struct attribute *dev_attrs[] = { + /* power

Re: [linux-usb-devel] Bug in USB core - discussion over usb-serial

2007-01-24 Thread Greg KH
On Wed, Jan 24, 2007 at 02:49:03PM +0100, Nathael Pajani wrote: Hi all. Johannes H??lzl wrote : Hi Nathael, To solve this the new_id is added under the serial driver directory at: /sys/bus/usb-serial/drivers/driver/new_id OK, I do not have this new_id file as I must

Re: [linux-usb-devel] [PATCH]switching off autosuspend through sysfs

2007-01-24 Thread David Brownell
I don't know, it just really annoys me to see that power directory there with no use for it for a lot of devices :) Would it help to add a flag somewhere in struct device (or struct dev_pm_info) for indicating that the device is not cognizant of PM? If it would, the semantics would