You are not logged in.

#1 2008-02-09 11:06:17

GregW
Member
From: 53°24'N 2°35'W
Registered: 2008-02-09
Posts: 56

My Experience with a Samsung YP-U3 MP3/OGG player

Hi All,

I decided to purchase a Samsung YP-U3 as it has native support for OGG format, what I didn't realise at the time is that the USB connection does not show as a USB storage device, but uses crappy MTP to communicate with the device.

However, there were a few good docs on the web indicating how to get this device working with Amarok, and as that's the media manager I use on my Archlinux laptop I thought that was the way to go. It was easy to install libmtp from the repository and searching for the player with mtp-detect found the device! yippe. However, as a non root user it would not work and the udev rule to create the device node did not create it.

# Samsung YP-U3 (YP-U3)
SUBSYSTEM!="usb_device", ACTION!="add", GOTO="libmtp_rules_end"
SYSFS{idVendor}=="04e8", SYSFS{idProduct}=="507d", SYMLINK+="libmtp-%k", GROUP="audio", MODE="666"
LABEL="libmtp_rules_end"

the device showns up with lsusb:

root@el-diablo greg]# lsusb
Bus 004 Device 001: ID 0000:0000
Bus 005 Device 003: ID 04e8:507d Samsung Electronics Co., Ltd
Bus 005 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 003: ID 044e:3007 Alps Electric Co., Ltd GlidePoint PS/2 TouchPad
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
[root@el-diablo greg]#

Inorder to get this device working, I had to modify

/etc/udev/rules.d/udev.rules
# starting from kernel 2.6.22 use this rule
SUBSYSTEM=="usb", ACTION=="add", ENV{DEVTYPE}=="usb_device", NAME="bus/usb/$env{BUSNUM}/$env{DEVNUM}", GROUP="plugdev", MODE="0664"
#

Of course, I had to create the plugdev group in /etc/group, and add my non-root user to the group inorder to access the device from within Amarok and to scan the device from the command line with mtp-detect. All working now big_smile

I don't think the device permissions should be as restrictive as they are on /dev/bus/usb/XXX and wonder if i should file this as a "bug" .
I hope others may find this useful connecting this player to an Archlinux box.

Cheers
GregW

Offline

#2 2008-02-09 15:38:20

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 1,872

Re: My Experience with a Samsung YP-U3 MP3/OGG player

Where did you get that from? There is no plugdev group anywhere in Arch, it's "storage".


I hate sigs. This one only exists to remind myself to get an avatar.

Offline

#3 2008-02-09 18:28:31

skottish
Forum Fellow
From: Here
Registered: 2006-06-16
Posts: 7,880

Re: My Experience with a Samsung YP-U3 MP3/OGG player

byte wrote:

Where did you get that from? There is no plugdev group anywhere in Arch, it's "storage".

GregW wrote:

Of course, I had to create the plugdev group in /etc/group

Offline

#4 2008-04-25 21:17:53

ninian
Member
From: Scotland
Registered: 2008-02-24
Posts: 642
Website

Re: My Experience with a Samsung YP-U3 MP3/OGG player

@GregW,

Thanks for the info. My son has a Samsung YP-K3 player which seems to need the same kind of fiddling to get it to work.
Although I haven't experimented with it for a while, the problem I had was that the device wouldn't be recognized by Amarok unless the command /etc/start_udev was explicitly run after each reboot. hmm
Must look at this again!

Offline

#5 2009-05-12 22:47:41

king.flasher.dave
Member
From: Berlin
Registered: 2008-11-25
Posts: 135
Website

Re: My Experience with a Samsung YP-U3 MP3/OGG player

thanks man... just what i was looking for! smile


Speak when you are angry and you will make the best speech you'll ever regret.

Offline

#6 2009-05-12 23:31:54

makimaki
Member
From: Ireland
Registered: 2009-04-02
Posts: 109

Re: My Experience with a Samsung YP-U3 MP3/OGG player

I have a YP-U4, and I just went in to the settings and changed it from MTP to Mass Storage Device. It's then detected as a usb key and works fine.


====* -- Joke
    O
    \|/ --- Me
    / \             Whooooosh

Offline

Board footer

Powered by FluxBB