You are not logged in.

#1 2008-05-09 01:50:36

farghal
Member
From: Cairo, Egypt
Registered: 2008-04-25
Posts: 22

[Solved] Automount Generic MP3 Player with UTF-8 encoding

Hello, everybody!

Ubuntu refugee here.

So far I'm going fine with Arch, I just have a couple of problems related to my Generic USB Mp3 player:

1) I want HAL to mount the player with UTF-8 encoding. Right now, it shows Arabic characters as ??????.

2) In Ubuntu, it used to recognize the player as an MP3 player, give it a nice icon, and add it as a music source in Rhythmbox. In Arch, on the other hand, the player is mounted as a generic USB flash drive. How can I make Arch recognize it as an MP3 player?

Thanks in advance.

Last edited by farghal (2008-05-10 20:17:09)

Offline

#2 2008-05-10 14:21:17

farghal
Member
From: Cairo, Egypt
Registered: 2008-04-25
Posts: 22

Re: [Solved] Automount Generic MP3 Player with UTF-8 encoding

Bump.

Was my description of the problem vague? Do I need to make it clearer?

Please help. Thanks in advance.

Offline

#3 2008-05-10 14:34:20

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: [Solved] Automount Generic MP3 Player with UTF-8 encoding

I believe you can find some useful hints in the Arch Wiki (HAL page linked).


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#4 2008-05-10 14:40:51

farghal
Member
From: Cairo, Egypt
Registered: 2008-04-25
Posts: 22

Re: [Solved] Automount Generic MP3 Player with UTF-8 encoding

Well, I had already gone through this article before posting here. I couldn't find anything related to UTF-8 except mounting an NTFS partition with UTF-8 encoding.. which needless to say is very far from what I need. Also, I can't find any info in the article related to recognizing generic mp3 players.

Thanks for your response.

Offline

#5 2008-05-10 15:12:44

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: [Solved] Automount Generic MP3 Player with UTF-8 encoding

Well, if you have Ubuntu still installed, you could have a look at its HAL configuration files (or ask some Ubuntu user to provide them, perhaps in the Arch subforum in the Ubuntu forums).
Or wait for someone who has more experience on this topic to pop in smile


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#6 2008-05-10 15:31:33

farghal
Member
From: Cairo, Egypt
Registered: 2008-04-25
Posts: 22

Re: [Solved] Automount Generic MP3 Player with UTF-8 encoding

Done: http://ubuntuforums.org/showthread.php? … ost4926589

Thanks for your suggestion, finferflu. I hope it gets solved.

Offline

#7 2008-05-10 15:41:23

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: [Solved] Automount Generic MP3 Player with UTF-8 encoding

Your MP3 player is probably using FAT32 formatted storage, and FAT32 + UTF-8 seems to be bad karma.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#8 2008-05-10 15:49:37

farghal
Member
From: Cairo, Egypt
Registered: 2008-04-25
Posts: 22

Re: [Solved] Automount Generic MP3 Player with UTF-8 encoding

It is FAT32. Butl I think I'm kinda stuck with it, as the firmware on the player would probably go crazy if I format the filesystem with any other type :-(

Plus, Ubuntu dealt with it just fine. I just need to figure out whatever Ubuntu does to their configuration and add that magic to my installation. :-)

Offline

#9 2008-05-10 16:31:51

farghal
Member
From: Cairo, Egypt
Registered: 2008-04-25
Posts: 22

Re: [Solved] Automount Generic MP3 Player with UTF-8 encoding

Problem #1 was solved: http://ubuntuforums.org/showpost.php?p= … ostcount=8

As for problem #2 I will put here what I wrote in the Ubuntu Forums post:

What does it take for Gnome to recognize a USB device as a portable mp3 player (and display it as a music source in Rhythmbox) instead of just a generic USB flash drive? Is it a HAL thing? or a Gnome/Rhythmbox thing?

Does anybody here have an MP3 player that is properly recognized as such in Arch? What did you do to make it happen?

My MP3 player is an Apacer Audio Steno AU524.

Offline

#10 2008-05-10 20:14:07

farghal
Member
From: Cairo, Egypt
Registered: 2008-04-25
Posts: 22

Re: [Solved] Automount Generic MP3 Player with UTF-8 encoding

GOT IT WORKING!! Yay!

I got the solution from here:
http://blog.pcode.nl/2006/08/24/introdu … io-player/

The trick is to make HAL identify your Digital Audio Player (DAP) by adding a rule to /usr/share/hal/fdi/information/10freedesktop/10-usb-music-players.fdi  --  and since, in my case, Ubuntu already had a 10-usb-music-players.fdi file that recognized my player, all I had to do was boot up from an Ubuntu live cd and copy Ubuntu's 10-usb-music-players.fdi over Arch's.

Now my issues with Arch are down to only one: http://bbs.archlinux.org/viewtopic.php?pid=360647


Thanks everybody.

Last edited by farghal (2008-05-10 20:16:49)

Offline

#11 2010-05-21 10:45:56

benharminson
Member
Registered: 2010-05-20
Posts: 4

Re: [Solved] Automount Generic MP3 Player with UTF-8 encoding

Hi
I am also using the FAT32. But the solution doesn't working for me. Still I am facing the same problem. My friend suggest me to partition it again. Should I do so?? Or is there any other solution available?

Offline

Board footer

Powered by FluxBB