Re: [linux-usb-devel] Again about UFI with one LUN

2007-01-05 Thread Pete Zaitcev
On Fri, 5 Jan 2007 22:06:47 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > > The 0x1A is still there. I looked at the code and it seems observing > > use_10_for_ms everywhere. But also both sd and scsi_lib can reset it > > to zero if things go wrong, which is what may be happening. I think >

Re: [linux-usb-devel] Unexpected disconnect and shutdown of the USB system

2007-01-05 Thread Alan Stern
On Fri, 5 Jan 2007, Mark Watson wrote: > OK, this looks like ehci_endpoint_disable indeed... Think its time to > buy a new motherboard I think. Or are there any workarounds? e.g. use > the modules and just unload/reload them on devices vanishing. No simple workarounds. Once this happens there's

Re: [linux-usb-devel] Again about UFI with one LUN

2007-01-05 Thread Alan Stern
On Fri, 5 Jan 2007, Pete Zaitcev wrote: > On Fri, 5 Jan 2007 10:52:27 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > > > We are led to the following reasoning: > > > > CB and CBI can't pass the LUN value as a control parameter, > > but only as part of the CDB. > > > > If scsi_

[linux-usb-devel] [PATCH] New USB ID for Pentax Optio A20 digital camera

2007-01-05 Thread Edmondo Tommasina
New USB ID for Pentax Optio A20 digital camera Signed-off-by: Edmondo Tommasina <[EMAIL PROTECTED]> --- usb.ids |1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/usb.ids b/usb.ids index b1b5f8e..a8b1406 100644 --- a/usb.ids +++ b/usb.ids @@ -2892,6 +2892,7 @@ 0006

Re: [linux-usb-devel] Again about UFI with one LUN

2007-01-05 Thread Pete Zaitcev
On Fri, 5 Jan 2007 10:52:27 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > We are led to the following reasoning: > > CB and CBI can't pass the LUN value as a control parameter, > but only as part of the CDB. > > If scsi_level is 0 then the LUN value won't be passed in th

Re: [linux-usb-devel] [rfc] new driver cdc-wdm

2007-01-05 Thread Greg KH
On Fri, Jan 05, 2007 at 07:33:40PM +0100, Oliver Neukum wrote: > Am Freitag, 5. Januar 2007 19:10 schrieb Greg KH: > > On Fri, Jan 05, 2007 at 02:39:21PM +0100, Oliver Neukum wrote: > > > + > > > +#define WDM_MINOR_BASE 32 > > > > Where did you get this minor number from? I think it conflicts wit

Re: [linux-usb-devel] Blackberry on Linux

2007-01-05 Thread Oliver Neukum
Am Freitag, 5. Januar 2007 23:15 schrieb Alan Stern: > > > Furthermore, this would mean that the device continues to draw 500 mA of > > > current even though the descriptor reverts back to indicating only 100 > > > mA.   > > > That doesn't make sense. > > > > I agree.  Based on further experiment

Re: [linux-usb-devel] Unexpected disconnect and shutdown of the USB system

2007-01-05 Thread Mark Watson
On 04/01/07, Mark Watson <[EMAIL PROTECTED]> wrote: > On 04/01/07, Alan Stern <[EMAIL PROTECTED]> wrote: > > You didn't say, but I bet you're using a VIA EHCI controller. They have a > > known failure mode which causes the ehci-hcd driver to hang; the user > > experience is exactly as you describe

Re: [linux-usb-devel] Blackberry on Linux

2007-01-05 Thread Alan Stern
On Fri, 5 Jan 2007, Mike King wrote: > > > What I see with the analyzer is that the secret command immediately > > > preceeds > > > the set-config. And, yes, a second set-config causes the device to > > > restore the power-on default device descriptor indicating 100ma. > > > > How do you know t

Re: [linux-usb-devel] Again about UFI with one LUN

2007-01-05 Thread Alan Stern
On Fri, 5 Jan 2007, Pete Zaitcev wrote: > On Fri, 5 Jan 2007 10:52:27 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > > > We are led to the following reasoning: > > > > CB and CBI can't pass the LUN value as a control parameter, > > but only as part of the CDB. > > > > If scsi_

Re: [linux-usb-devel] [2.4]proper locking on disconnect for mdc800

2007-01-05 Thread Willy Tarreau
On Fri, Jan 05, 2007 at 05:40:48PM +0100, Oliver Neukum wrote: > Hi, > > this makes mdc800 take the necessary lock in disconnect() to prevent > submission of an URB for a disconnected device. Queued, thanks Oliver ! Willy -

[linux-usb-devel] [PATCH 12/12] USB: asix: Fix AX88772 device PHY selection

2007-01-05 Thread Greg KH
From: David Hollis <[EMAIL PROTECTED]> A small typo in ax88772_bind() prevents the device from selecting the proper PHY, leaving the device useless. The attached patch fixes this. If this patch can be added to the 2.6.19.x series as well, that would be helpful for end-users. Signed-off-by: David

[linux-usb-devel] [PATCH 11/12] USB: usblp.c - add Kyocera Mita FS 820 to list of "quirky" printers

2007-01-05 Thread Greg KH
From: Martin Williges <[EMAIL PROTECTED]> This patch gets the Kyocera FS-820 working with cups 1.2 via usb again. It adds the printer to the list of "quirky" printers. The printer seems not answer to ID requests some seconds after plugging in. Patch is based on linux-2.6.19.1. Background: As far

[linux-usb-devel] [PATCH 10/12] sisusb_con warning fixes

2007-01-05 Thread Greg KH
From: Andrew Morton <[EMAIL PROTECTED]> x86_64: drivers/usb/misc/sisusbvga/sisusb_con.c: In function 'sisusbcon_putc': drivers/usb/misc/sisusbvga/sisusb_con.c:405: warning: cast from pointer to integer of different size drivers/usb/misc/sisusbvga/sisusb_con.c: In function 'sisusbcon_putcs': driv

[linux-usb-devel] [PATCH 9/12] USB: Fixed bug in endpoint release function.

2007-01-05 Thread Greg KH
From: Sarah Bailey <[EMAIL PROTECTED]> Error handling in usb_create_ep_files() is not correct unless the minor number is freed in ep_device_release(). Signed-off-by: Sarah Bailey <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/core/endpoint.c |2 +-

[linux-usb-devel] [PATCH 7/12] USB storage: fix ipod ejecting issue

2007-01-05 Thread Greg KH
From: Pete Zaitcev <[EMAIL PROTECTED]> This patch from Pete fixes the 'ejecting problem' on yet another ipod. Please applyt. Signed-off-by: Pete Zaitcev <[EMAIL PROTECTED]> Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/st

[linux-usb-devel] [PATCH 8/12] USB: small update to Documentation/usb/acm.txt

2007-01-05 Thread Greg KH
From: Oliver Neukum <[EMAIL PROTECTED]> this docu update mentions that cell phones also use cdc-acm. Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> --- Documentation/usb/acm.txt |4 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/Documentation/usb/acm.txt b/Documentatio

[linux-usb-devel] [PATCH 6/12] USB Storage: unusual_devs: add supertop drives

2007-01-05 Thread Greg KH
From: Phil Dibowitz <[EMAIL PROTECTED]> This combines patches from Alan Stern and Robert Schedel for two "Super Top" drives that need the IGNORE_RESIDUE flag but have different vendor IDs. Signed-off-by: Phil Dibowitz <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> ---

[linux-usb-devel] [PATCH 5/12] USB: omap_udc build fixes (sync with linux-omap)

2007-01-05 Thread Greg KH
From: David Brownell <[EMAIL PROTECTED]> Resync the omap_udc driver with the latest from the Linux-OMAP tree. Changes include DMA API updates (it builds again!), clock/pm updates, minor bugfixes, whitespace. Signed-off-by: David Brownell <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMA

[linux-usb-devel] [PATCH 3/12] USB: fix interaction between different interfaces in an "Option" usb device

2007-01-05 Thread Greg KH
From: Miguel Angel Alvarez <[EMAIL PROTECTED]> Just the serial port in the first interface should control DTR and RTS lines. This way, the closing of the rest of the ports does not produce a= hangup in the communication. Signed-off-by: Miguel Angel Alvarez <[EMAIL PROTECTED]> Signed-off-by: Matth

[linux-usb-devel] [PATCH 4/12] USB: funsoft is borken on sparc

2007-01-05 Thread Greg KH
From: Andrew Morton <[EMAIL PROTECTED]> drivers/usb/serial/funsoft.c: In function `funsoft_ioctl': drivers/usb/serial/funsoft.c:35: warning: dereferencing `void *' pointer drivers/usb/serial/funsoft.c:35: error: request for member `c_iflag' in something not a structure or union drivers/usb/serial

[linux-usb-devel] [PATCH 2/12] UHCI: support device_may_wakeup

2007-01-05 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> This patch (as831) adds device_may_wakeup() support to uhci-hcd; it has been lacking for a long time. Signed-off-by: Alan Stern <[EMAIL PROTECTED]> Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- drivers/usb/host/uhci-hcd.c |4 +++- 1 files chan

[linux-usb-devel] [PATCH 1/12] UHCI: make test for ASUS motherboard more specific

2007-01-05 Thread Greg KH
From: Alan Stern <[EMAIL PROTECTED]> Instead of matching all motherboards whose name contains "A7V8X" for a remote-wakeup hardware bug, this patch (as829) matches only those boards whose name is exactly equal to "A7V8X". Later motherboards don't seem to have the bug. (In fact, it's possible that

[linux-usb-devel] [GIT PATCH] USB fixes for 2.6.20-rc3

2007-01-05 Thread Greg KH
Here are some USB fixes for 2.6.20-rc3 They include: - more quirks for usbstorage and printer devices - minor bugfixes They have all been in the -mm tree for a while. The gadget driver update looks big, but David says it fixes a number of problems with it, and it's self-contained

Re: [linux-usb-devel] Again about UFI with one LUN

2007-01-05 Thread Pete Zaitcev
On Fri, 5 Jan 2007 10:52:27 -0500 (EST), Alan Stern <[EMAIL PROTECTED]> wrote: > We are led to the following reasoning: > > CB and CBI can't pass the LUN value as a control parameter, > but only as part of the CDB. > > If scsi_level is 0 then the LUN value won't be passed in th

Re: [linux-usb-devel] [rfc] new driver cdc-wdm

2007-01-05 Thread Oliver Neukum
Am Freitag, 5. Januar 2007 19:10 schrieb Greg KH: > On Fri, Jan 05, 2007 at 02:39:21PM +0100, Oliver Neukum wrote: > > +/* --- prototypes --- */ > > + > > +static int __init wdm_init(void); > > +static void __exit wdm_exit(void); > > + > > +static int wdm_probe(struct usb_interface *intf, const str

Re: [linux-usb-devel] [rfc] new driver cdc-wdm

2007-01-05 Thread Greg KH
On Fri, Jan 05, 2007 at 02:39:21PM +0100, Oliver Neukum wrote: > +/* --- prototypes --- */ > + > +static int __init wdm_init(void); > +static void __exit wdm_exit(void); > + > +static int wdm_probe(struct usb_interface *intf, const struct usb_device_id > *id); > +static void wdm_disconnect(struct

Re: [linux-usb-devel] Blackberry on Linux

2007-01-05 Thread Mike King
> > Am Donnerstag, 4. Januar 2007 17:39 schrieb Mike King: > >     CLASS_SPECIFIC CMD (secret command) value=0, index=1, length=0 > >     SET_CONFIGURATION config value = 1,index=0,length=0 > >     reset > >     reset > >     reset > >     GET_DESCRIPTOR DEVICE > >     SET_ADDRESS > >     GET_DESC

Re: [linux-usb-devel] Blackberry on Linux

2007-01-05 Thread Mike King
> > On Thu, 4 Jan 2007, Mike King wrote: > > > Alan, > > > > > > > > On Thu, 4 Jan 2007, Mike King wrote: > > > > > > > > > > > Anytime a SET_CONFIGURATION is sent to the device without being > > > > > > > > preceeded > > > > > > > > by the secret vendor specific command the device reverts to

[linux-usb-devel] [PATCH]race on disconnect in mdc800

2007-01-05 Thread Oliver Neukum
Hi, I overlooked one. Setting the flag and killing the URBs must be under the lock so that no URB is submitted after usb_kill_urb() Regards Oliver --- a/drivers/usb/image/mdc800.c 2007-01-05 16:47:56.0 +0100 +++ b/drivers/usb/image/mdc800.c 2007-01-05 16:48:05.

[linux-usb-devel] [2.4]proper locking on disconnect for mdc800

2007-01-05 Thread Oliver Neukum
Hi, this makes mdc800 take the necessary lock in disconnect() to prevent submission of an URB for a disconnected device. Regards Oliver Signed-off-by: Oliver Neukum <[EMAIL PROTECTED]> --- a/drivers/usb/mdc800.c 2007-01-05 16:59:45.0 +0100 +++ b/drivers/usb/mdc80

Re: [linux-usb-devel] Again about UFI with one LUN

2007-01-05 Thread Alan Stern
On Thu, 4 Jan 2007, Pete Zaitcev wrote: > On Thu, 4 Jan 2007 16:13:40 -0800, Matthew Dharm <[EMAIL PROTECTED]> wrote: > > On Thu, Jan 04, 2007 at 04:01:19PM -0800, Pete Zaitcev wrote: > > > > 81003f5575c0 1779789944 S Co:004:00 s 21 00 000c 12 = > > > 1220 2400 > >

Re: [linux-usb-devel] ELAN U132 adapter technical queries

2007-01-05 Thread Tony Olech
Hi Ben, I know the code is not very readable, but unfortunately I developed the driver using a frame-buffer kernel slackware system that had 128 columns and naturally I used all the 128 columns with tabs=4. I found to my horror that the kernel standard is 80 columns and tabs=8 (which was not follo

Re: [linux-usb-devel] [rfc] new driver cdc-wdm

2007-01-05 Thread Oliver Neukum
Am Donnerstag, 4. Januar 2007 19:38 schrieb Pete Zaitcev: > On Thu, 4 Jan 2007 17:59:41 +0100, Oliver Neukum <[EMAIL PROTECTED]> wrote: > > > + case USB_CDC_DMM_TYPE: > > + maxcom = le16_to_cpu(*((u16 *)(buffer + 5))); > > What an atrocious way to program. If you insis

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

2007-01-05 Thread Benjamin Herrenschmidt
On Fri, 2007-01-05 at 08:45 +, Tony Olech wrote: > Hi Ben, > > when I tried to include the file that defined the quirks, > ELAN's driver failed to compile. > > Thanks for your interest in this issue. > > ELAN is currently in favour of open source for linux drivers > of ELAN's hardware, and t

Re: [linux-usb-devel] Data Transmission Error with OHCI Host Controller

2007-01-05 Thread amateur
On Wed, Jan 03, 2007 at 08:58:07PM -0800, David Brownell wrote: > On Monday 01 January 2007 4:52 am, amateur wrote: > > Hi Guys, > > > > I have a problem with bluez on a arm platform. Here is the detail: > > On the arm embedded platform, I invoke this command > > l2ping -s 667 BDADDR > > to te

Re: [linux-usb-devel] Gadgetfs: Propsed removal of deferred endpoint configuration mode

2007-01-05 Thread Phil Endecott
David Brownell wrote: > Should you feel like coming up with a patch to remove that "simple" > config mode from gadgetfs, please do so. That's probably within my abilities. Is anyone using this feature and likely to be inconvenienced? I've changed the subject to hopefully get their attention. Doe

[linux-usb-devel] Policy Violation

2007-01-05 Thread GSIANTISPAM
The following message sent by this account has violated system policy: Connection From: 59.144.53.190 From: linux-usb-devel@lists.sourceforge.net To: [EMAIL PROTECTED] Date: Fri, 05 Jan 2007 04:01:38 -0500 Subject: Re: Question The following violations were detected: --- Scan information follow

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

2007-01-05 Thread Tony Olech
Hi Ben, when I tried to include the file that defined the quirks, ELAN's driver failed to compile. Thanks for your interest in this issue. ELAN is currently in favour of open source for linux drivers of ELAN's hardware, and this type of code review can only strengthen the case. However it would

[linux-usb-devel] 【自宅で収入】 〜2007年最初の募集〜

2007-01-05 Thread miyako
 独占広告━━━    Home Office World Office inc.   ≪第15期募集要項≫ http://www.j-netshop.com/business.htm    ◆家のパソコンを利用して、収入を得たい方      ◆空いた時間を利用して副業したい方      ◆自由な時間を利用しておこづかいを稼ぎたい主婦の方     ※すでにアメリカとヨーロッパで成功しているシステムを 自宅のパソコンで、収入ツ