Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Feb 2009 07:48:21 +0100 (CET)
From:      Gerhard Schmidt <schmidt@ze.tum.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   usb/131583: Failure when detaching umass Device
Message-ID:  <200902110648.n1B6mK6n084870@etustar.ze.tum.de>
Resent-Message-ID: <200902110730.n1B7U2pU086103@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help


>Number:         131583
>Category:       usb
>Synopsis:       Failure when detaching umass Device
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-usb
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Feb 11 07:30:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Gerhard Schmidt <schmidt@ze.tum.de>
>Release:        FreeBSD 7.1-STABLE amd64
>Organization:
Technische Universität München
>Environment:
System: FreeBSD etustar.ze.tum.de 7.1-STABLE FreeBSD 7.1-STABLE #9: Mon Feb 9 09:13:59 CET 2009 root@etustar.ze.tum.de:/usr/src/sys/amd64/compile/ETUSTAR amd64


	
>Description:
I've a Sandisk Sansa e280 MP3 Player. The Mplayer is charged via USB cable. To charge the player 
I've connected the Player to my FreeBSD Workstation. After charging the Player (ca 2h) I disconnected the Player
and get the following Message 

umass0: BBB reset failed, IOERROR
umass0: BBB bulk-in clear stall failed, IOERROR
umass0: BBB bulk-out clear stall failed, IOERROR

repeating every two secounds. The umass device has never been mounted during the charge time.  

The player is an MTP device and has an entry in my hal policies. 

      <!-- SanDisk Sansa e200/e250/e260/e270/e280 -->
      <match key="usb.vendor_id" int="0x0781">
        <match key="usb.product_id" int="0x7420">
          <match key="info.capabilities" contains_not="portable_audio_player">
            <append key="info.capabilities" type="strlist">portable_audio_player</append>
          </match>
          <merge key="info.vendor" type="string">SanDisk</merge>
          <merge key="info.product" type="string">Sansa e200/e250/e260/e270/e280</merge>
          <merge key="info.category" type="string">portable_audio_player</merge>
          <merge key="portable_audio_player.access_method" type="string">user</merge>
          <match key="portable_audio_player.access_method.protocols" contains_not="mtp">
            <append key="portable_audio_player.access_method.protocols" type="strlist">mtp</append>
          </match>
          <append key="portable_audio_player.access_method.drivers" type="strlist">libmtp</append>
          <match key="portable_audio_player.output_formats" contains_not="audio/mpeg">
            <append key="portable_audio_player.output_formats" type="strlist">audio/mpeg</append>
          </match>
          <match key="portable_audio_player.output_formats" contains_not="audio/x-ms-wma">
            <append key="portable_audio_player.output_formats" type="strlist">audio/x-ms-wma</append>
          </match>
          <merge key="portable_audio_player.libmtp.protocol" type="string">mtp</merge>
        </match>
      </match>
      <!-- SanDisk Sansa e280 -->
      <match key="usb.vendor_id" int="0x0781">
        <match key="usb.product_id" int="0x7421">
          <match key="info.capabilities" contains_not="portable_audio_player">
            <append key="info.capabilities" type="strlist">portable_audio_player</append>
          </match>
          <merge key="info.vendor" type="string">SanDisk</merge>
          <merge key="info.product" type="string">Sansa e280</merge>
          <merge key="info.category" type="string">portable_audio_player</merge>
          <merge key="portable_audio_player.access_method" type="string">user</merge>
          <match key="portable_audio_player.access_method.protocols" contains_not="mtp">
            <append key="portable_audio_player.access_method.protocols" type="strlist">mtp</append>
          </match>
          <append key="portable_audio_player.access_method.drivers" type="strlist">libmtp</append>
          <match key="portable_audio_player.output_formats" contains_not="audio/mpeg">
            <append key="portable_audio_player.output_formats" type="strlist">audio/mpeg</append>
          </match>
          <match key="portable_audio_player.output_formats" contains_not="audio/x-ms-wma">
            <append key="portable_audio_player.output_formats" type="strlist">audio/x-ms-wma</append>
          </match>
          <merge key="portable_audio_player.libmtp.protocol" type="string">mtp</merge>
        </match>
      </match>
      <!-- SanDisk Sansa e280 v2 -->
      <match key="usb.vendor_id" int="0x0781">
        <match key="usb.product_id" int="0x7422">
          <match key="info.capabilities" contains_not="portable_audio_player">
            <append key="info.capabilities" type="strlist">portable_audio_player</append>
          </match>
          <merge key="info.vendor" type="string">SanDisk</merge>
          <merge key="info.product" type="string">Sansa e280 v2</merge>
          <merge key="info.category" type="string">portable_audio_player</merge>
          <merge key="portable_audio_player.access_method" type="string">user</merge>
          <match key="portable_audio_player.access_method.protocols" contains_not="mtp">
            <append key="portable_audio_player.access_method.protocols" type="strlist">mtp</append>
          </match>
          <append key="portable_audio_player.access_method.drivers" type="strlist">libmtp</append>
          <match key="portable_audio_player.output_formats" contains_not="audio/mpeg">
            <append key="portable_audio_player.output_formats" type="strlist">audio/mpeg</append>
          </match>
          <match key="portable_audio_player.output_formats" contains_not="audio/x-ms-wma">
            <append key="portable_audio_player.output_formats" type="strlist">audio/x-ms-wma</append>
          </match>
          <merge key="portable_audio_player.libmtp.protocol" type="string">mtp</merge>
        </match>
      </match>
 
>How-To-Repeat:
connect and disconnect the player
>Fix:
n/k
	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902110648.n1B6mK6n084870>