You are not logged in.
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 ![]()
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
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
Where did you get that from? There is no plugdev group anywhere in Arch, it's "storage".
Of course, I had to create the plugdev group in /etc/group
Offline
@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. ![]()
Must look at this again!
Offline
thanks man... just what i was looking for! ![]()
Speak when you are angry and you will make the best speech you'll ever regret.
Offline
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