Re: usb/144199: uvisor(4) - AlphaSmart Dana incorrect stall clearing

2010-03-21 Thread linimon
Synopsis: uvisor(4) - AlphaSmart Dana incorrect stall clearing

State-Changed-From-To: open-patched
State-Changed-By: linimon
State-Changed-When: Sun Mar 21 22:08:55 UTC 2010
State-Changed-Why: 
committed to -current.


Responsible-Changed-From-To: freebsd-usb-thompsa
Responsible-Changed-By: linimon
Responsible-Changed-When: Sun Mar 21 22:08:55 UTC 2010
Responsible-Changed-Why: 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144199
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/144199: uvisor(4) - AlphaSmart Dana incorrect stall clearing

2010-02-22 Thread Hans Petter Selasky
On Monday 22 February 2010 08:25:34 Stephen Hurd wrote:
 usb/144199
 
USB serial:

- bugfix for uvisor driver

- it appears that some UVISOR devices do not
  handle when the clear stall command is issued at
  the beginning of the initial IN/OUT data transfers.
  Reason unknown, probably firmware fault. After patch
  stall is only cleared on data transfer errors.

Committed to USB P4, ID=174962 .

--HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


Re: usb/144199: uvisor(4) - AlphaSmart Dana incorrect stall clearing

2010-02-22 Thread Hans Petter Selasky
The following reply was made to PR usb/144199; it has been noted by GNATS.

From: Hans Petter Selasky hsela...@c2i.net
To: freebsd-usb@freebsd.org
Cc: Stephen Hurd sh...@sasktel.net,
 freebsd-gnats-sub...@freebsd.org
Subject: Re: usb/144199: uvisor(4) - AlphaSmart Dana incorrect stall clearing
Date: Mon, 22 Feb 2010 09:47:55 +0100

 On Monday 22 February 2010 08:25:34 Stephen Hurd wrote:
  usb/144199
  
 USB serial:
 
 - bugfix for uvisor driver
 
 - it appears that some UVISOR devices do not
   handle when the clear stall command is issued at
   the beginning of the initial IN/OUT data transfers.
   Reason unknown, probably firmware fault. After patch
   stall is only cleared on data transfer errors.
 
 Committed to USB P4, ID=174962 .
 
 --HPS
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org


usb/144199: uvisor(4) - AlphaSmart Dana incorrect stall clearing

2010-02-21 Thread Stephen Hurd

Number: 144199
Category:   usb
Synopsis:   uvisor(4) - AlphaSmart Dana incorrect stall clearing
Confidential:   no
Severity:   non-critical
Priority:   low
Responsible:freebsd-usb
State:  open
Quarter:
Keywords:   
Date-Required:
Class:  sw-bug
Submitter-Id:   current-users
Arrival-Date:   Mon Feb 22 07:30:01 UTC 2010
Closed-Date:
Last-Modified:
Originator: Stephen Hurd
Release:8-STABLE
Organization:
Environment:
FreeBSD ace.hurd.local 8.0-STABLE FreeBSD 8.0-STABLE #0: Tue Feb 16 01:20:04 
PST 2010 r...@ace.hurd.local:/tmp/obj/usr/src/sys/ACE  i386

Description:
With the AlphaSmart Dana (VID=0x081e, PID=0xdf00) the uvisor driver does not 
function (no I/O) unless the two stall clears after the clear stall at first 
run comment are removed.
How-To-Repeat:
1) Connect an AlphaSmart Dana via USB
2) Select HotSync on the Dana
3) After uvisor attaches, run ``pilot-xfer -p /dev/cuaU0 -l''
4) pilot-xfer will hang, Dana will timeout, and the device will detach
Fix:
Remove or make conditional the initial stall clears.  It's not obvious to me 
why this code is there, so I don't know which is more appropriate.

Release-Note:
Audit-Trail:
Unformatted:
___
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to freebsd-usb-unsubscr...@freebsd.org