i just bought a sony walkman nwz-a828.
an amazing player in terms of audio and video quality.
it really is.
ipods are crap in comparison.
anyway...
this post is because i managed to get it working both via usb and mtp.
usb is for drag&drop with any file manager.
mtp is for use with amarok (or similar multimedia app).
problemsin normal circumnstances, you'll have huge problems in 8.04 hardy:
a) device not detected as a usb device (so you can't drag&drop your music)
b) mtp doesn't see it (so you can't use it with amarok)
solutionsyou need to enable the source repositories in your package manager.
for mtp...this is really a short term hack, 'cause libmtp-0.3.0 (libmtp8) already includes this and other devices
but it's not packed for *ubuntu, yet.
so..
sudo -i
cd /tmp
become root and go to, for example, /tmp.
usb issue:hal needs to be fixed/recompiled/reinstalled.
apt-get build-dep hal
download all the packages that hal needs in order to be rebuilt
apt-get source hal
download and unpack the hal source
nano hal-0.5.11~rc2/hald/util.c
edit util.c
at line 201, replace
strtol by
strtoulapt-get source --build hal
rebuild hal (will automatically compile and build a few deb packages)
dpkg -i libhal1_0.5.11~rc2-1ubuntu8.2_i386.deb
dpkg -i hal_0.5.11~rc2-1ubuntu8.2_i386.deb
dpkg -i libhal-storage1_0.5.11~rc2-1ubuntu8.2_i386.deb
install the newly created stuff
***
mtp issue:libmtp needs to be fixed/recompiled/reinstalled.
/etc/udev/rules/45-libmtp7.rules needs to be updated.
apt-get build-dep libmtp7
download all the packages that libmtp needs in order to be rebuilt
apt-get source libmtp7
download and unpack the libmtp source
nano libmtp-0.2.6.1/src/music-players.h
edit music-players.h
add the following (braces, commas and all) to the list of sony mp3 players
{ "Sony", 0x054c, "Walkman NWZ-A828", 0x035b, DEVICE_FLAG_UNLOAD_DRIVER },
apt-get --build source libmtp7
rebuild libmtp (will automatically compile and build a few deb packages)
dpkg -i libmtp7_0.2.6.1-2ubuntu1_i386.deb
dpkg -i mtp-tools_0.2.6.1-2ubuntu1_i386.deb
install the newly created stuff
nano /etc/udev/rules.d/45-libmtp7.rules
add the following to the list of sony players
# Sony Walkman NWZ-A828
ATTR{idVendor}=="054c", ATTR{idProduct}=="035b", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio"
reboot and you should be done.
hth