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).
problems
in 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)
solutions
you 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..
become root and go to, for example, /tmp.
usb issue:
hal needs to be fixed/recompiled/reinstalled.
download all the packages that hal needs in order to be rebuilt
download and unpack the hal source
edit util.c
at line 201, replace strtol by strtoul
rebuild hal (will automatically compile and build a few deb packages)
install the newly created stuff
***
mtp issue:
libmtp needs to be fixed/recompiled/reinstalled.
/etc/udev/rules/45-libmtp7.rules needs to be updated.
download all the packages that libmtp needs in order to be rebuilt
download and unpack the libmtp source
edit music-players.h
add the following (braces, commas and all) to the list of sony mp3 players
rebuild libmtp (will automatically compile and build a few deb packages)
install the newly created stuff
add the following to the list of sony players
reboot and you should be done.
hth
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).
problems
in 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)
solutions
you 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..
Code:
sudo -i cd /tmp
usb issue:
hal needs to be fixed/recompiled/reinstalled.
Code:
apt-get build-dep hal
Code:
apt-get source hal
Code:
nano hal-0.5.11~rc2/hald/util.c
at line 201, replace strtol by strtoul
Code:
apt-get source --build hal
Code:
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
***
mtp issue:
libmtp needs to be fixed/recompiled/reinstalled.
/etc/udev/rules/45-libmtp7.rules needs to be updated.
Code:
apt-get build-dep libmtp7
Code:
apt-get source libmtp7
Code:
nano libmtp-0.2.6.1/src/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 },
Code:
apt-get --build source libmtp7
Code:
dpkg -i libmtp7_0.2.6.1-2ubuntu1_i386.deb dpkg -i mtp-tools_0.2.6.1-2ubuntu1_i386.deb
Code:
nano /etc/udev/rules.d/45-libmtp7.rules
# Sony Walkman NWZ-A828
ATTR{idVendor}=="054c", ATTR{idProduct}=="035b", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio"
ATTR{idVendor}=="054c", ATTR{idProduct}=="035b", SYMLINK+="libmtp-%k", MODE="660", GROUP="audio"
hth
Comment