My USB key is recognized as a Digital Audio Player

Last update on April 11, 2009 08:34 AM by jak58
Published by jak58

My USB key is recognized as a Digital Audio Player





Problem


Some USB devices on Ubuntu are not detected as "classic", USB keys but as music players such iPod. This error causes the launch of a music player (unless you uncheck the "Play music files when their connection" in System / Preferences / peripherals and removable media), and assigns to the key an icon that is not a USB key but a player.

Solution

  • Insert your USB
  • Open a terminal and make an:


lsusb 


You will have an answer like this:

Bus 005 Device 006: ID 090c:1000 Feiya Technology Corp. Memory Bar 
Bus 005 Device 001: ID 0000:0000 
Bus 004 Device 001: ID 0000:0000 
Bus 003 Device 006: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse 
Bus 003 Device 001: ID 0000:0000 
Bus 002 Device 001: ID 0000:0000 
Bus 001 Device 001: ID 0000:0000


The FeII Technology Corp.. Memory Bar "is the line that interests us. Remove the USB key.

To correct this problem, we will intervene on a file. (better save it ,just in case)


sudo cp /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi.bak


(single line)

Then edit the file:

sudo gedit /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi


And delete the content (here in bold):

<append key="portable_audio_player.input_formats" type="strlist">audio/x-ms-wma</append>
</match>
</match>

<!-- 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>

<!-- Peak Digital Audio Player -->
<match key="@storage.originating_device:usb.vendor_id" int="0xd7d"> Save, close, connect your USB flash drive: it is now recognized as a true USB key.
Best answers for « My USB key is recognized as a Digital Audio Player » in :
My USB key is recognized as a Digital Audio Player Show My USB key is recognized as a Digital Audio Player Problem Solution Problem Some USB devices on Ubuntu are not detected as "classic", USB keys but as music players such iPod. This error causes the launch of a music player (unless you...
Installing Windows XP from a USB key Show Installing Windows XP from a USB key Creating your bootable USB key: Installing XP Here’s how to create a Windows XP, bootable, USB key. This is very useful especially persons using Netbook or in the case that your PC is not equipped...
Portable Antivirus on your Usb key ShowPortable Antivirus on your Usb key ClamWin Portable Multi Virus Cleaner HiJackFree Avast Portable There are several ways where a portable antivirus can be of great assistance. For example, I hold a farming business and the site is...
Formatting your Flashdisk (USB Key ) ShowFormatting your Flashdisk (USB Key) How to format your USB Key? It is compulsory to format your USB Key regularly if you are frequently performing File transfer to one computer to another. Your computer can get infected with potential...
Disk space / memory missing on USB stick / mp3 player ShowDisk space / memory missing on USB stick / mp3 player This is probably a problem of system files on the USB key. First of all, read the manual for the key, and verify that no utility provided with the key to reset or reformat. If...
S/PDIF format ShowS/PDIF format The S/PDIF standard ("Sony/Philips Digital Interface", or SPDIF for short) is a digital audio data transfer format. It is an international standard known as "IEC-958 type II", which defines both hardware specifications (physical...
Digital Audio ShowWhat is sound? Sound is vibrations in the air; that is, a series of rising and falling pressures in the air, deviating from the average, which is represented by atmospheric pressure. To prove this, you could place something loud (like an alarm...
USB Key ShowIntroduction to USB keys A USB key is a compact-format removable storage device which can be plugged into a computer's USB port. A USB key is a plastic shell carrying a USB connector and flash memory, a solid-state, non-volatile, rewritable kind of...