metis ~ # mtp-detect
Autodetected device "Creative Zen Vision"
(VID=041e,PID=411f) is known.
PTP: Opening session
Connected to MTP device.
USB low-level info:
Using kernel interface "usbfs"
bcdUSB: 512
bDeviceClass: 255
bDeviceSubClass: 0
bDeviceProtocol: 0
bMaxPacketSize0: 64
idVendor: 041e
idProduct: 411f
Device info:
Manufacturer: Creative Technology Ltd
Model: Creative Zen Vision
Device version: 1.30.02_0.00.18
Serial number: 00023C01E75F4159372F9ACD5397F3E3
Vendor extension ID: 0x00000006
Vendor extension description: microsoft.com:
1.0;microsoft.com/WMPPD: 10.0;mi crosoft.com/WMDRMPD: 10.1;
Supported operations:
0x1001
0x1002
0x1003
0x1004
0x1005
0x1007
0x100c
0x100d
0x100f
0x1014
0x1015
0x1006
0x1008
0x1009
0x100b
0x1010
0x1016
0x1017
0x9801
0x9802
0x9803
0x9804
0x9805
0x9806
0x9808
0x9807
0x9810
0x9811
0x9201
0x9101
0x9102
0x9103
0x9104
0x9105
0x9106
0x9107
0x9108
0x9109
Events supported:
None.
Device Properties Supported:
0x5001: Battery Level
0xd401: Unknown property
0xd402: Unknown property
0xd101: Unknown property
0xd102: Unknown property
MTP-specific device properties:
Owner name: 䴀礀 娀攀渀
glibc detected free(): invalid next size
(fast): 0x10013410 ***
Aborted
The correct value for owner name is: "My Zen". Gnomad
uses this bindings, and as such can not be used (it
crashes just like the example program does). XNJB is
able to operate correctly on MacOS X, however (dual boot).
All other example programs operate without any
difficulties, and I am able to upload music & video
content to the device.
Some information about the environment:
Portage 2.1_rc1-r1 (default-linux/ppc/ppc32/2006.0/G4,
gcc-4.1.0, glibc-2.3.6-r4, 2.6.17-rc4-g9be2f7c3 ppc)
=================================================================
System uname: 2.6.17-rc4-g9be2f7c3 ppc 7447A, altivec
supported
Gentoo Base System version 1.12.0_pre19
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: [Not Present]
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.17
sys-devel/autoconf: 2.13, 2.59-r7
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1,
1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.16.1-r2
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.11-r4
ACCEPT_KEYWORDS="ppc ~ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec -mabi=altivec
-pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/X11/xkb
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf
/etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c
/etc/env.d"
CXXFLAGS="-O2 -mcpu=G4 -mtune=G4 -maltivec
-mabi=altivec -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig cvs digest distlocks
fixpackages metadata-transfer parallel-fetch sandbox
sfperms sign"
GENTOO_MIRRORS="ftp://ftp.heanet.ie/pub/gentoo"
LC_ALL="en_GB.utf8"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links
--perms --times --compress --force --whole-file
--delete --delete-after --stats --timeout=180
--exclude='/distfiles' --exclude='/local'
--exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/cvs/gentoo-x86"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.uk.gentoo.org/gentoo-portage"
USE="ppc 16bit S3TC X a52 aac aalib adns aim alsa
altivec aotuv applet aqua_theme asf audacious audiofile
avahi bash-completion beagle berkdb bitmap-fonts bl
bluetooth bonobo bookmarks bootsplash boundschecking
bzip2 cairo cardbus cddb cdio cdparanoia cdr cdrom chm
cis cli crypt css cups curl curlwrappers daap dbus dcc
djbfft djvu dlloader dri dts dv dvd dvdr dvi ecc eds
elf encode epiphany erandom ethereal evo evolution exif
exo fat fbcon fbsplash ffmpeg fftw firefox flac
foomaticdb fortran gdbm gg gif glitz glut glx gnome
gnome-print gnutls gpgme gpm gstreamer gtk gtk2 gtkhtml
gzip hal hddtemp hfs icq id3 idn ieee1394 imlib imlib2
input_devices_keyboard input_devices_mouse ipv6 isdnlog
jabber javacomm jbig jce jp2 jpeg jpeg2k lame ldap
libcaca libg++ libnotify libsamplerate libsexy libwww
live logrotate lzo lzw mad maildir matroska md5sum
mikmod mime mjpeg mmap mng mod modplug motif mp3 mpeg
mpeg2 mplayer msn mudflap musepack musicbrainz ncurses
network nls no-old-linux nptl nsplugin ogg openal
opengl oscar pam panel-plugin pbbuttonsd pcmcia pcre
pdf pdflib perl physfs png ppcsha1 pppd python pyzor
quicktime razor rdesktop readline reflection sdl
session sftp sid silc sndfile sox speex spell spl
spreadsheet ssl startup-notification stencil-buffer
subversion svg svgz symlink sysfs t1lib tga theora
thumbnail thunar-vfs tiff timidity truetype
truetype-fonts type1-fonts udev unicode usb utf8
video_cards_ati vnc vorbis widescreen wifi wma wmf wv
x264 xanim xcomposite xml xorg xslt xv xvid yv12
zeroconf zlib elibc_glibc kernel_linux userland_GNU
video_cards_radeon"
Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS,
INSTALL_MASK, LANG, LDFLAGS, LINGUAS, MAKEOPTS,
PORTAGE_RSYNC_EXTRA_OPTS
If there is any additional data that would help you
out, be sure to let me know. Thumbs up for the progress
made thus far :)
Anonymous
Logged In: YES
user_id=517004
Update: Although I can succesfully upload content, the track
metadata arrives as a bunch of chinese characters as well.
Could there be a need for a byteswap here that is not
performed yet?
Logged In: YES
user_id=473872
Hm. Since I have no big-endian thing to test on I assign
it to Richard whenever he may get the time to look at it...
Logged In: YES
user_id=517004
Unfortunately the problem has gotten (a lot) worse in newer
versions, just tested 0.0.8 on PPC. The MTP session never
opens (although the LCD on the Zen Vision switches to
Docked) and return code 767 is emitted. I have confirmed
that the device is okay by trying on an x86 machine. The
owner string is reported correctly as "My Zen" on here as well.
Logged In: YES
user_id=473872
This is a unicode handling bug somekindof, however
I am still unable to locate it without anything to
test on :-(
Logged In: YES
user_id=473872
I hope this is fixed with the new iconv() code in
0.0.16, can you test?
Logged In: YES
user_id=606537
The unicode conversion functions in unicode.c don't work on big endian
machines. If you use iconv instead it does work though.
Richard.
Logged In: YES
user_id=473872
We don't use the internal routines from unicode.c anymore,
we only use iconv() (even in unicode.c) so then it should
work now... Anyone tried on 0.0.16?
Logged In: YES
user_id=606537
Yep - works for me. As does 0.0.15 with iconv.
Logged In: YES
user_id=473872
OK then I simply close this bug... I'm eagerly awaiting
the first XNJB using libmtp :-)