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

2007-01-23 Thread Oliver Neukum
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? Regards Oliver -

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

2007-01-23 Thread Florin Iucha
On Mon, Jan 15, 2007 at 10:58:29AM -0500, Alan Stern wrote: > On Sun, 14 Jan 2007, Florin Iucha wrote: > > > Jiri and Trond, > > > > On Mon, Jan 15, 2007 at 01:14:09AM +0100, Jiri Kosina wrote: > > > On Sun, 14 Jan 2007, Florin Iucha wrote: > > > > > > > All the testing was done via a ssh into t

Re: [linux-usb-devel] unusual_devs collision

2007-01-23 Thread Andrew Simmons
I diffed the attached file against the listing you provided in the original e-mail; lsusb is reporting the same information on both drives. Let me know if you need anything else. Andrew andrew_dev.lst Description: Binary data

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

2007-01-23 Thread Greg KH
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? > > > > No, I thought we wa

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

2007-01-23 Thread David Brownell
> > > static struct attribute *dev_attrs[] = { > > > + /* power management attributes */ > > > + &dev_attr_autosuspend.attr, > > > > Belongs in /sys/devices/.../power/... then, right? > > No, I thought we want to drop that power/ directory. Dropping that directory hasn't AFAIK ever been discusse

[linux-usb-devel] 超美品超安のブ ランド時計ロレックス卸価格

2007-01-23 Thread ROLEX
※他社より5000-15000円安い良心価格での販売ですが 当方の商品はすべて最高級、最高ランクの商品です。 主な商品はロレックスE社製28800振動/時、ロレックス21800振動/時、 ロレックス?デイトナ シリーズ全部のタイプを揃え、是非見て御覧なさい!!! http://www.anitawatch.com 当社はロレックスなどブランド時計の平行輸入品を卸売り価格で発行、 お客様に大満足な商品を販売しております。プレゼントとしては最高の時計を選ぼう! 取引方法は振込みでございますが、ご入金を確認いたした次第に、即発送致します。 発送後、3〜5日以内に到着いたします。 ---

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

2007-01-23 Thread Greg KH
On Tue, Jan 23, 2007 at 08:37:46AM -0800, David Brownell wrote: > On Tuesday 23 January 2007 3:45 am, Oliver Neukum wrote: > \ > > @@ -185,6 +218,8 @@ > > usb_descriptor_attr(bMaxPacketSize0, "%d\n") > > > > static struct attribute *dev_attrs[] = { > > + /* power management attributes */ > >

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

2007-01-23 Thread Oliver Neukum
Am Dienstag, 23. Januar 2007 21:56 schrieb David Brownell: > 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(bMa

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

2007-01-23 Thread Oliver Neukum
Am Dienstag, 23. Januar 2007 21:23 schrieb Alan Stern: > On Tue, 23 Jan 2007, Oliver Neukum wrote: > > > Am Dienstag, 23. Januar 2007 19:34 schrieb Dirk Eddelbuettel: > > > > Also try attaching the Treo to a different computer. > > > > > > I did. Failed on two different computers.  Actually, thre

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

2007-01-23 Thread David Brownell
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") > > > > > > static struct attribute *dev_attrs[]

[linux-usb-devel] [PATCH] usbcore: trivial whitespace fixes

2007-01-23 Thread Alan Stern
From: Oliver Neukum <[EMAIL PROTECTED]> This patch (as844) makes some trivial whitespace fixes to a few files in usbcore. Oliver did most of the work and Alan added some tidying up. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> Signed-off-by: Alan Stern <[EMAIL PROTECTED]> --- Index: usb-2

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

2007-01-23 Thread Dirk Eddelbuettel
On Tue, Jan 23, 2007 at 03:23:54PM -0500, Alan Stern wrote: > On Tue, 23 Jan 2007, Oliver Neukum wrote: > > > Am Dienstag, 23. Januar 2007 19:34 schrieb Dirk Eddelbuettel: > > > > Also try attaching the Treo to a different computer. > > > > > > I did. Failed on two different computers. ?Actually,

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

2007-01-23 Thread Alan Stern
On Tue, 23 Jan 2007, Oliver Neukum wrote: > Am Dienstag, 23. Januar 2007 19:34 schrieb Dirk Eddelbuettel: > > > Also try attaching the Treo to a different computer. > > > > I did. Failed on two different computers.  Actually, three if I > > include an older Debian stable still running a 2.4 kerne

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

2007-01-23 Thread Oliver Neukum
Am Dienstag, 23. Januar 2007 19:34 schrieb Dirk Eddelbuettel: > > Also try attaching the Treo to a different computer. > > I did. Failed on two different computers.  Actually, three if I > include an older Debian stable still running a 2.4 kernel (with a > win4lin patch) which had no problems with

[linux-usb-devel] 主要有代K开......!

2007-01-23 Thread 成生
致:负责人(财务) 您好!本公司是一般纳税人企业,因业务方面关系,现有一些余额税p票以 优惠税l率向外代k开! 1.可代K开:国|税商品销售票,地|税运输票、建筑安装.广告业.其他服务业 等各类专用票J据. 2.我司本着在互惠互利遵守信用的原则与贵公司真诚合作,并且可先提供发f票 查询或确认之后付款. 祝:生意兴隆! 如有打搅在此道歉! 咨询电话:13612885985 成先生(经理) E-meil: [EMAIL PROTECTED]

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

2007-01-23 Thread Dirk Eddelbuettel
On Tue, Jan 23, 2007 at 01:22:39PM -0500, Alan Stern wrote: > On Tue, 23 Jan 2007, Oliver Neukum wrote: > > > I got you into the loop precisely because the bug is related to autosuspend > > and the log is unclear. > > > > The facts as far as I can tell are: > > > > With CONFIG_USB_SUSPEND > > -t

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

2007-01-23 Thread Alan Stern
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") > > > > static struct attribute *dev_attrs[] = { > > + /* power management attributes */ > > + &dev_attr_autosu

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

2007-01-23 Thread Alan Stern
On Tue, 23 Jan 2007, Oliver Neukum wrote: > I got you into the loop precisely because the bug is related to autosuspend > and the log is unclear. > > The facts as far as I can tell are: > > With CONFIG_USB_SUSPEND > -the device binds to the driver > -disconnects itself as as soon as there's IO t

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

2007-01-23 Thread David Brownell
On Tuesday 23 January 2007 3:45 am, Oliver Neukum wrote: \ > @@ -185,6 +218,8 @@ > usb_descriptor_attr(bMaxPacketSize0, "%d\n") > > static struct attribute *dev_attrs[] = { > + /* power management attributes */ > + &dev_attr_autosuspend.attr, Belongs in /sys/devices/.../power/... then,

Re: [linux-usb-devel] [patch]more coding style in usb/core/

2007-01-23 Thread Alan Stern
On Tue, 23 Jan 2007, Oliver Neukum wrote: > Hi, > > this converts a bit more to coding style. > Alan, I've now worshipped the gods of coding style amply. If you > want more, do it. Thanks. Some day when there's nothing much better to do... Alan Stern -

Re: [linux-usb-devel] simulating USB unplug/plug (was: [PATCH 1/3] UEAGLE : be suspend friendly)

2007-01-23 Thread Alan Stern
On Tue, 23 Jan 2007, Pavel Machek wrote: > > > > Plug/unplug should be easy enough to simulate from usb driver, no? > > > > > > If that is true then I would be very interested in knowing how. > > > I, too, am confronted with USB device error conditions which I > > > don't know how to clear except

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

2007-01-23 Thread Alan Stern
On Tue, 23 Jan 2007, Guenther Sohler wrote: > Dear Group, > > Some time before I have already asked about a review of my driver. > In the meantime, I have done some rework and no semaphore in interrupt > context anymore :) > > My driver reads data from a USB device and offers them to a device f

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

2007-01-23 Thread jing xiang
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, it seems only handle standard requests? 2. IAD descriptor f

Re: [linux-usb-devel] unusual_devs collision

2007-01-23 Thread Andrew Simmons
Thanks. I'll check it in about 6 or 7 hours when I get off from work. On 1/23/07, Oliver Neukum <[EMAIL PROTECTED]> wrote: > Am Dienstag, 23. Januar 2007 15:21 schrieb Andrew Simmons: > > Can someone send me an example command line to grab the usb device info? > > lsusb -v -d ed06:4500 > >

Re: [linux-usb-devel] unusual_devs collision

2007-01-23 Thread Oliver Neukum
Am Dienstag, 23. Januar 2007 15:21 schrieb Andrew Simmons: > Can someone send me an example command line to grab the usb device info? lsusb -v -d ed06:4500 HTH Oliver - Take Surveys. Earn Cash. Influe

[linux-usb-devel] [patch]more coding style in usb/core/

2007-01-23 Thread Oliver Neukum
Hi, this converts a bit more to coding style. Alan, I've now worshipped the gods of coding style amply. If you want more, do it. Regards Oliver Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> --- a/drivers/usb/core/usb.c2007-01-23 15:16:33.0 +0100 +++ b

Re: [linux-usb-devel] unusual_devs collision

2007-01-23 Thread Andrew Simmons
Can someone send me an example command line to grab the usb device info? > Andrew, can you please compare with the device which you reported for? > I am afraid the manufacturer fixed the issue without bumping the revision. Thanks, Andrew --

[linux-usb-devel] unusual_devs collision

2007-01-23 Thread Oliver Neukum
Hi, I have a report of a DATAST0R Technology Corp - USB4500 FW1.04 which does show the wrong capacity _with_ the current unusual_devs entry. Older kernels without it work. Andrew, can you please compare with the device which you reported for? I am afraid the manufacturer fixed the issue without b

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

2007-01-23 Thread Oliver Neukum
Am Freitag, 19. Januar 2007 16:01 schrieb Alan Stern: > On Fri, 19 Jan 2007, Oliver Neukum wrote: > > > Hi, > > > > this is the second take of the patch to switch off autosuspend Third take. > > through sysfs to allow battery powered devices to recharge of the > > bus. It includes the cleanups

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

2007-01-23 Thread Oliver Neukum
Am Montag, 22. Januar 2007 22:34 schrieb Alan Stern: > On Mon, 22 Jan 2007, Dirk Eddelbuettel wrote: > > > Oliver is more experienced in reading the CONFIG_USB_DEBUG output (which > > I'll send you offlist), but the basic symptom is that the Palm 700p > > > > i) gets recognised and mapped to t

Re: [linux-usb-devel] [GIT PATCH] USB fixes for 2.6.20-rc5

2007-01-23 Thread Cornelia Huck
On Mon, 22 Jan 2007 21:28:24 +0100, Marcel Holtmann <[EMAIL PROTECTED]> wrote: > > I don't feel comfortable adding them to the 2.6.20 kernel at this late > > period, for a variety of reasons. I really want them to be tested out > > in the -mm tree and then in the full -rc series due to the fact t

Re: [linux-usb-devel] simulating USB unplug/plug (was: [PATCH 1/3] UEAGLE : be suspend friendly)

2007-01-23 Thread Pavel Machek
Hi! > > >> if (ret != -EAGAIN) > > >> msleep(1000); > > >> +if (try_to_freeze()) > > >> +uea_err(INS_TO_USBDEV(sc), "suspend/resume not > > >> supported, " > > >> +"please unplug/repl