Usb pen drive recognized as audio player

There is a bug in Ubuntu Feisty (7.04). Some (for example, mine) USB pen drives are recognized as an audio player. When I plug it in, an audio player opens. And that’s not what the system is supposed to do. The bug report can be found here: https://bugs.launchpad.net/ubuntu/+source/hal-info/+bug/90286

Until the bug won’t be fixed, you can try to correct this small thing by yourself.

  • Open a terminal
  • Type “lsusb”. This will give you a list of all the USB stuff connected to your PC (some internal devices on laptops such as webcams may also appear in the list).
  • Detect your USB pen drive (mine was: Bus 005 Device 006: ID 090c:1000 Feiya Technology Corp. Memory Bar)
  • Type ” cd /usr/share/hal/fdi/information/10freedesktop/” this will lead you in the directory we’re going to work on.
  • Type “sudo gedit 10-usb-music-players.fdi” this will open the file to be modified.
  • Remove the entry related to your drive. Mine was:

<!– Feiya Technology Corp Memory Bar –>

<match key=”@storage.originating_device:usb.vendor_id” int=”0x090c”>
<match key=”@storage.originating_device:usb.product_id” int=”0x1000″>
<merge key=”portable_audio_player.type” type=”string”>generic</merge>
<merge key=”portable_audio_player.access_method” type=”string”>storage</merge>
<append key=”portable_audio_player.input_formats” type=”strlist”>audio/mpeg</append>
</match>

</match>

  • Save and close
  • When you plug in your pen drive again, everything should be fine

I really think this bug will be corrected in the new Ubuntu version (Gusty Gibbon, 18th october 2007). If not, you now know how to temporally fix it. If you encountered this problem, please report your experience to the link above (https://bugs.launchpad.net/ubuntu/+source/hal-info/+bug/90286). The more info we have, the best it is.

Have fun using Ubuntu!

Advertisements
Usb pen drive recognized as audio player

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s