[haiku-bugs] [Haiku] #6604: SuperTOP usb-disk case returns with residue 0 always

#6604: SuperTOP usb-disk case returns with residue 0 always
---------------------------+------------------------------------------------
   Reporter:  Matthias     |        Owner:  mmlr     
       Type:  bug          |       Status:  new      
   Priority:  normal       |    Milestone:  R1       
  Component:  Drivers/USB  |      Version:  R1/alpha2
   Keywords:               |   Blocked By:           
Has a Patch:  0            |     Platform:  All      
   Blocking:               |  
---------------------------+------------------------------------------------
 The usb-pata adapter calling itself SuperTOP IDE Bridge (Vendor ID 0x14cd,
 Product ID 0x6600) always returns with residue 0.  This makes it non-
 working in Haiku.  Other systems have the same problem and the workaround
 is, to update the residue in that case to data length minus actual
 transferred length (or something like that).  Even using data length minus
 actual transferred length instead of residue seems to work for other
 systems (NetBSD).

 /var/log/syslog doesn't give any further information except the usual
 bootup message.  When I try to access the device with diskprobe everything
 is set to zero (which is not the case).

 I would be happy to test solutions to this problem, but as I have no clue
 about the usb-code of Haiku and have no time to look at it in detail, I
 can't provide a working fix myself.

 I tested this with R1A2 and nightly-builds from 2010-09-12.  Other USB
 mass storage devices work like a charm on the same computer with Haiku.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/6604>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: