Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > Hardware & Laptops
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

Hardware & Laptops
Problems with hardware & laptops not being detected or supported during or after install.

 
 
Thread Tools Display Modes
Old June 8th, 2007   #11
spinstartshere
Just Give Me the Beans!
 
Join Date: May 2007
My beans are hidden!
Ubuntu 9.04 Jaunty Jackalope
Re: USB flash device mounted as a music player

There's none on mine.
spinstartshere is offline  
Old June 25th, 2007   #12
Jose Catre-Vandis
Chocolate Ubuntu Mocha Blend
 
Jose Catre-Vandis's Avatar
 
Join Date: Mar 2006
Location: Hampshire,UK
Beans: 1,783
Xubuntu 9.04 Jaunty Jackalope
Talking RESOLVED! Re: USB flash device mounted as a music player

This post could be related to an Ubuntu bug filed at: https://bugs.launchpad.net/ubuntu/+s...nfo/+bug/90286
----------------------------


Hey Guys, found a possible answer for this, works for me.

Picked up the solution from here:

https://bugs.launchpad.net/ubuntu/+s...nfo/+bug/90286

To handle this manually, insert your offending flash drive, and once loaded run
Code:
lsusb
my output is as follows:
Code:
tim@fiesty:~$ lsusb
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
Remove your flash drive

The "Feiya Technology Corp. Memory Bar" is what we are looking for, yours might be a different model but the fix should be the same. This device carries the same product ID as other products that are music players. We need to remove the entry from:

Code:
/usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi
First do a back up in case anything goes wrong:
Code:
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
Then open up /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi as root:
Code:
sudo gedit /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi
Scroll down through the file until you find the entry for your disk:
Code:
<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">
Delete the bolded section, and save and close the file.

Reinsert your flash drive and it should now appear as a flash drive/disk and not invoke the music app!

This action may get broken again by hal backports or updates, until the devs sort it out.

If it doesn't work, restore your original .fdi file

Hope this helps (you do all this at your own risk, I can't take responsibility if this does damage to your system!)
__________________
Experience is the only genuine knowledge
Karmic kernel for my dvb card (Asustek Dual P7131) now fixed thanks to Vink's custom kernel from Alexey's patch
Bimmablog
Jose Catre-Vandis is online now  
Old June 27th, 2007   #13
Unicast
A Carafe of Ubuntu
 
Unicast's Avatar
 
Join Date: Nov 2005
Location: Tamworth, UK
Beans: 138
Gutsy Gibbon Testing
Re: USB flash device mounted as a music player

Nice one, worked like a charm.

And thanks for the PM alerting me to your post!
Unicast is offline  
Old August 27th, 2007   #14
djaya2
Just Give Me the Beans!
 
Join Date: Apr 2006
Beans: 32
Ubuntu 7.04 Feisty Fawn
Re: USB flash device mounted as a music player

Thanks, worked for me too.
djaya2 is offline  
Old September 11th, 2007   #15
Glsg
First Cup of Ubuntu
 
Join Date: Sep 2007
Beans: 1
Re: USB flash device mounted as a music player

I've tried this workaround, and it works concerning the wrong recognization, but I'm not able to mount the device.
Anyone could help?

(thanks in advance, and sorry 4 my english, I'm italian)
Glsg is offline  
Old July 12th, 2008   #16
zeroword
First Cup of Ubuntu
 
Join Date: Jul 2008
Beans: 1
Re: USB flash device mounted as a music player

I tried but I could not find a Feiya Memory Bar entry anywhere.
zeroword is offline  
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:32 PM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry