Bug 131583 - [umass] Failure when detaching umass Device
Summary: [umass] Failure when detaching umass Device
Status: Open
Alias: None
Product: Base System
Classification: Unclassified
Component: usb (show other bugs)
Version: 7.1-STABLE
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-usb (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-11 07:30 UTC by schmidt
Modified: 2021-10-31 08:53 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description schmidt 2009-02-11 07:30:02 UTC
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>

Fix: 

n/k
How-To-Repeat: connect and disconnect the player
Comment 1 Eitan Adler freebsd_committer freebsd_triage 2017-12-31 07:58:50 UTC
For bugs matching the following criteria:

Status: In Progress Changed: (is less than) 2014-06-01

Reset to default assignee and clear in-progress tags.

Mail being skipped
Comment 2 Graham Perrin freebsd_committer freebsd_triage 2021-10-31 08:53:03 UTC
(In reply to schmidt from comment #0)

I don't imagine that the Sandisk Sansa e280 MP3 Player is still in use, but are symptoms of this bug reproducible with FreeBSD 13.0-RELEASE?