Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 211769 - =media-sound/banshee-0.13.2 problems with ipod
Summary: =media-sound/banshee-0.13.2 problems with ipod
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Sound Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-02-28 14:52 UTC by Samuli Suominen (RETIRED)
Modified: 2008-06-16 13:26 UTC (History)
3 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
build.log banshee (20080229-085753.log,165.48 KB, text/plain)
2008-02-29 09:00 UTC, Christian Faulhammer (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Samuli Suominen (RETIRED) gentoo-dev 2008-02-28 14:52:09 UTC
And deps I've added for it,

=dev-dotnet/ipod-sharp-0.8.0
=dev-dotnet/mono-zeroconf-0.7.5
=media-libs/libnjb-2.2.6
=media-libs/libmtp-0.2.5-r1

And because I had to bump some of these, without owning the corresponding 
hardware I'd appericiate any feedback from ATs, devs, users of these deps. Otherwise, I'm afraid, it's only compile test.
Comment 1 nixnut (RETIRED) gentoo-dev 2008-02-28 15:39:06 UTC
isn't ~ppc yet, so removing us from cc
Comment 2 Christian Faulhammer (RETIRED) gentoo-dev 2008-02-29 09:00:39 UTC
Created attachment 144927 [details]
build.log banshee

Fails test here.

Portage 2.1.4.4 (default-linux/x86/2007.0/desktop, gcc-4.1.2, glibc-2.6.1-r0, 2.6.24-gentoo-r3 i686)
=================================================================
System uname: 2.6.24-gentoo-r3 i686 AMD Athlon(tm) X2 Dual Core Processor BE-2400
Timestamp of tree: Fri, 29 Feb 2008 07:16:01 +0000
app-shells/bash:     3.2_p17-r1
dev-java/java-config: 1.3.7, 2.1.4
dev-lang/python:     2.4.4-r9
dev-python/pycrypto: 2.0.1-r6
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.23-r3
ACCEPT_KEYWORDS="x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /opt/openjms/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config /var/lib/hsqldb /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-O2"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv"
GENTOO_MIRRORS="ftp://sunsite.informatik.rwth-aachen.de/pub/Linux/gentoo/"
LANG="de_DE.utf8"
LC_ALL="de_DE.utf8"
LINGUAS="de"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/sunrise"
SYNC="rsync://rsync.informatik.rwth-aachen.de/gentoo-portage"
USE="3dnow 3dnowext X a52 acl acpi aiglx alsa apache2 apm applet artworkextra asf audiofile avahi bash-completion beagle berkdb bidi bitmap-fonts bogofilter bootsplash branding bzip2 cairo ccache cdda cddb cdparanoia cdr cli console cracklib crypt css cups curl custom-cflags dbus dga directfb divx4linux dri dts dvd dvdr dvdread dvi eds emacs emboss encode esd evince evo exif fam fat fbcon fdftk ffmpeg firefox flac foomaticdb fortran ftp gb gcj gdbm gif glitz gnome gpm gsf gstreamer gtk gtk2 gtkhtml hal howl iconv icq idn imagemagick imap imlib immqt-bc isdnlog java javascript jpeg jpeg2k kde ldap libnotify lirc lm_sensors mad maildir matroska mbox midi mikmod mime mmx mmxext mng mono mp3 mpeg mpeg2 mudflap mule mysql nautilus ncurses nforce2 nls nocardbus nptl nptlonly nsplugin nvidia objc objc++ objc-gc offensive ogg opengl openmp pam pango pcre pdf perl php plotutils pmu png ppds pppd prediction preview-latex print python qt3 qt3support qt4 quicktime readline reflection samba sdk session slang spell spl sse ssl svg svga t1lib tcl tcpd tetex theora threads thumbnailing tiff tk toolkit-scroll-bars totem tracker truetype truetype-fonts type1-fonts udev unicode usb userlocales vcd videos vorbis win32codecs wmf wxwindows x86 xface xft xine xml xorg xosd xpm xv xvid zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="mouse keyboard" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" LIRC_DEVICES="atiusb" USERLAND="GNU" VIDEO_CARDS="vesa fbdev fglrx"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Samuli Suominen (RETIRED) gentoo-dev 2008-02-29 12:59:05 UTC
(In reply to comment #2)
> Created an attachment (id=144927) [edit]
> build.log banshee
> 
> Fails test here.

Thanks, should be fixed now.
Comment 4 Christian Faulhammer (RETIRED) gentoo-dev 2008-03-01 12:57:53 UTC
(In reply to comment #3)
> (In reply to comment #2)
> > Created an attachment (id=144927) [edit]
> > build.log banshee
> > 
> > Fails test here.
> 
> Thanks, should be fixed now.

 It is...but I have no iPod, so I can do x86 with compile test only for those modules.  Anyone from x86 with such a gadget?
Comment 5 Markus Meier gentoo-dev 2008-03-01 13:32:14 UTC
(In reply to comment #4)
>  It is...but I have no iPod, so I can do x86 with compile test only for those
> modules.  Anyone from x86 with such a gadget?

I have an Ipod, but have troubles with my x86 boxes... (the grub-update somehow broke my mac mini, but downgrading does not help either... nfc)
I'll test it as soon as everything works again (maybe in a few days...).
Comment 6 Markus Meier gentoo-dev 2008-03-03 19:54:47 UTC
first problem, if built with all USE-flags set, banshee tries to mount/use it as an mtp device:
# banshee 
Warning: [03/03/2008 20:38:41] (Cannot connect to NetworkManager) - An available, working network connection will be assumed
Debug: [03/03/2008 20:38:41] (Loading audio profiles) - /usr/share/banshee/audio-profiles
Debug: [03/03/2008 20:38:42] (Default player engine) - GStreamer 0.10
Debug: [03/03/2008 20:38:42] (Audio CD Core Initialized) - 
Debug: [03/03/2008 20:38:42] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_2723_E940
Debug: [03/03/2008 20:38:42] (Missing Properties) - Cannot find usb.vendor_id
Debug: [03/03/2008 20:38:42] (Missing Properties) - Cannot find usb.product_id
Debug: [03/03/2008 20:38:42] (Missing Properties) - Cannot find portable_audio_player.type. Attempting to continue...
Debug: [03/03/2008 20:38:42] (MTP: Starting initialization) - Name: Mtp Device, Device: 0, Bus:0
Error: [03/03/2008 20:38:42] (Device error) - There was an error using the device. Read http://www.banshee-project.org/Guide/DAPs/MTP for more information. 

libmtpsharp.LibMtpException: LIBMTP_ERROR_NO_DEVICE_ATTACHED
  at libmtpsharp.Error.CheckError (ErrorCode errorCode) [0x00000] 
  at libmtpsharp.LibMtp.GetConnectedDevices (System.IntPtr& list) [0x00000] 
  at libmtpsharp.MtpDevice.Detect () [0x00000] 
  at Banshee.Dap.Mtp.MtpDap.Initialize (Hal.Device halDevice) [0x00000] 
System.Exception: org.freedesktop.Hal.NoSuchProperty: No property org.podsleuth.ipod.serial_number on device with id /org/freedesktop/Hal/devices/volume_uuid_2723_E940
  at IDeviceProxy.GetPropertyString (System.String ) [0x00000] 
  at Hal.Device.GetPropertyString (System.String key) [0x00000] 
  at IPod.HalClient.HalDevice+HalProductionInfo..ctor (Hal.Volume volume) [0x00000] 
  at IPod.HalClient.HalDevice..ctor (Hal.Volume volume) [0x00000] 
  at Banshee.Dap.Ipod.IpodDap.LoadIpod () [0x00000] 
Information: [03/03/2008 20:38:42] (Mass Storage Support Ignoring iPod) - The USB mass storage audio player support ignored an iPod. Either Banshee's iPod support is broken or missing, or the iPod itself may be corrupted.
Debug: [03/03/2008 20:38:42] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_2723_E940
Debug: [03/03/2008 20:38:42] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_XXXX
Debug: [03/03/2008 20:38:42] (Missing Properties) - Cannot find usb.vendor_id
Debug: [03/03/2008 20:38:42] (Missing Properties) - Cannot find usb.product_id
Debug: [03/03/2008 20:38:42] (Missing Properties) - Cannot find portable_audio_player.type. Attempting to continue...
Debug: [03/03/2008 20:38:42] (MTP: Starting initialization) - Name: Mtp Device, Device: 0, Bus:0
Error: [03/03/2008 20:38:42] (Device error) - There was an error using the device. Read http://www.banshee-project.org/Guide/DAPs/MTP for more information. 

libmtpsharp.LibMtpException: LIBMTP_ERROR_NO_DEVICE_ATTACHED
  at libmtpsharp.Error.CheckError (ErrorCode errorCode) [0x00000] 
  at libmtpsharp.LibMtp.GetConnectedDevices (System.IntPtr& list) [0x00000] 
  at libmtpsharp.MtpDevice.Detect () [0x00000] 
  at Banshee.Dap.Mtp.MtpDap.Initialize (Hal.Device halDevice) [0x00000] 
Debug: [03/03/2008 20:38:42] (Waiting for possible DAP to mount) - /org/freedesktop/Hal/devices/volume_uuid_XXXX
Debug: [03/03/2008 20:38:42] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_XXXX
Debug: [03/03/2008 20:38:42] (Testing device for DAP support) - /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A2700159F1EA8_0_0
Debug: [03/03/2008 20:38:42] (Missing Properties) - Cannot find usb.vendor_id
Debug: [03/03/2008 20:38:42] (Missing Properties) - Cannot find usb.product_id
Debug: [03/03/2008 20:38:42] (MTP: Unsupported Device) - The device's portable_audio_player.type IS NOT mtp
Debug: [03/03/2008 20:38:42] (DAP has not been added) - /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_XXXX_0_0
Warning: [03/03/2008 20:38:42] (Power Management Call Failed) - Cannot find GNOME Power Manager: Name org.freedesktop.PowerManagement or org.gnome.PowerManager has no owner


USE="-mtp" helps a little bit:
# banshee 
Warning: [03/03/2008 20:45:28] (Cannot connect to NetworkManager) - An available, working network connection will be assumed
Debug: [03/03/2008 20:45:28] (Loading audio profiles) - /usr/share/banshee/audio-profiles
Debug: [03/03/2008 20:45:28] (Default player engine) - GStreamer 0.10
Debug: [03/03/2008 20:45:28] (Audio CD Core Initialized) - 
Debug: [03/03/2008 20:45:29] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_2723_E940
System.Exception: org.freedesktop.Hal.NoSuchProperty: No property org.podsleuth.ipod.serial_number on device with id /org/freedesktop/Hal/devices/volume_uuid_2723_E940
  at IDeviceProxy.GetPropertyString (System.String ) [0x00000] 
  at Hal.Device.GetPropertyString (System.String key) [0x00000] 
  at IPod.HalClient.HalDevice+HalProductionInfo..ctor (Hal.Volume volume) [0x00000] 
  at IPod.HalClient.HalDevice..ctor (Hal.Volume volume) [0x00000] 
  at Banshee.Dap.Ipod.IpodDap.LoadIpod () [0x00000] 
Information: [03/03/2008 20:45:29] (Mass Storage Support Ignoring iPod) - The USB mass storage audio player support ignored an iPod. Either Banshee's iPod support is broken or missing, or the iPod itself may be corrupted.
Debug: [03/03/2008 20:45:29] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_2723_E940
Debug: [03/03/2008 20:45:29] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_XXXX
Debug: [03/03/2008 20:45:29] (Waiting for possible DAP to mount) - /org/freedesktop/Hal/devices/volume_uuid_XXXX
Debug: [03/03/2008 20:45:29] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_XXXX
Debug: [03/03/2008 20:45:29] (Testing device for DAP support) - /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_XXXXX_0_0
Debug: [03/03/2008 20:45:29] (DAP has not been added) - /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_XXXXX_0_0
Warning: [03/03/2008 20:45:29] (Power Management Call Failed) - Cannot find GNOME Power Manager: Name org.freedesktop.PowerManagement or org.gnome.PowerManager has no owner

It is not corrupt, I can see all songs with gtkpod (and of course play music =)).
Comment 7 Samuli Suominen (RETIRED) gentoo-dev 2008-03-04 13:25:11 UTC
(In reply to comment #6)
> first problem, if built with all USE-flags set, banshee tries to mount/use it
> as an mtp device:
[..]
> USE="-mtp" helps a little bit:
[..]
> It is not corrupt, I can see all songs with gtkpod (and of course play music
> =)).

Was HAL restarted after installing libnjb and libmtp.. ? I'm not sure if it's required or not, but they install HAL fdi files.. or can you confirm this is a regression from current stable banshee?
Comment 8 Santiago M. Mola (RETIRED) gentoo-dev 2008-03-04 16:57:43 UTC
I'll test my ipod on amd64.

We have to stable some other stuff, what versions should we go for?

For amd64:
Package                       Version             Current Keywords  Masks     
============================= =================== ================= =========
dev-dotnet/taglib-sharp       1.1.73998-r1        ~amd64            K         
dev-dotnet/taglib-sharp       1.9.75474           ~amd64            K         
dev-dotnet/taglib-sharp       2.0.2.0             ~amd64            K         
dev-dotnet/podsleuth          0.6.1               ~amd64            K         
dev-dotnet/dbus-sharp         0.6.0               ~amd64            K         
dev-dotnet/dbus-sharp         0.6.1a              ~amd64            K         
dev-dotnet/dbus-glib-sharp    0.4.1               ~amd64            K         
dev-dotnet/ipod-sharp         0.8.0               ~amd64            K         
dev-dotnet/mono-zeroconf      0.7.5               ~amd64            K         
media-sound/banshee           0.13.2              ~amd64            K 
Comment 9 Samuli Suominen (RETIRED) gentoo-dev 2008-03-04 17:15:01 UTC
(In reply to comment #8)
> I'll test my ipod on amd64.

Cool
> 
> We have to stable some other stuff, what versions should we go for?

Latest *
Comment 10 Santiago M. Mola (RETIRED) gentoo-dev 2008-03-04 22:35:42 UTC
I can't emerge gst-plugins-good due to bug #211933 so I can't test banshee atm.
Comment 11 Santiago M. Mola (RETIRED) gentoo-dev 2008-03-05 11:31:54 UTC
 * QA Notice: Pre-stripped files found:
 * /var/tmp/portage/media-sound/banshee-0.13.2/image/usr/lib64/banshee/Banshee.Dap/libnjbglue.so
Comment 12 Santiago M. Mola (RETIRED) gentoo-dev 2008-03-07 12:43:22 UTC
Haven't managed to test it on a chroot because some dbus problems, although, testing it on my main system ("almost stable") and that's what I get when I have my iPod attached:

Debug: [07/03/2008 13:38:20] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_2219_B142
System.Exception: org.freedesktop.Hal.NoSuchProperty: No property org.podsleuth.ipod.serial_number on device with id /org/freedesktop/Hal/devices/volume_uuid_2219_B142
  at IDeviceProxy.GetPropertyString (System.String ) [0x00000] 
  at Hal.Device.GetPropertyString (System.String key) [0x00000] 
  at IPod.HalClient.HalDevice+HalProductionInfo..ctor (Hal.Volume volume) [0x00000] 
  at IPod.HalClient.HalDevice..ctor (Hal.Volume volume) [0x00000] 
  at Banshee.Dap.Ipod.IpodDap.LoadIpod () [0x00000] 
Information: [07/03/2008 13:38:20] (Mass Storage Support Ignoring iPod) - The USB mass storage audio player support ignored an iPod. Either Banshee's iPod support is broken or missing, or the iPod itself may be corrupted.
Debug: [07/03/2008 13:38:20] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_2219_B142
Debug: [07/03/2008 13:38:20] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_cea1818a_6c6c_44fb_9793_60844247ba94
Debug: [07/03/2008 13:38:20] (Waiting for possible DAP to mount) - /org/freedesktop/Hal/devices/volume_uuid_cea1818a_6c6c_44fb_9793_60844247ba94
Debug: [07/03/2008 13:38:20] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_cea1818a_6c6c_44fb_9793_60844247ba94
Debug: [07/03/2008 13:38:20] (Testing device for DAP support) - /org/freedesktop/Hal/devices/volume_uuid_146A68946A687500
Debug: [07/03/2008 13:38:20] (Waiting for possible DAP to mount) - /org/freedesktop/Hal/devices/volume_uuid_146A68946A687500
Debug: [07/03/2008 13:38:20] (DAP has not been added) - /org/freedesktop/Hal/devices/volume_uuid_146A68946A687500
Debug: [07/03/2008 13:38:20] (Testing device for DAP support) - /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A2700161268A4_0_0
Debug: [07/03/2008 13:38:20] (DAP has not been added) - /org/freedesktop/Hal/devices/storage_serial_Apple_iPod_000A2700161268A4_0_0

Similar to maekke's error...
Comment 13 Santiago M. Mola (RETIRED) gentoo-dev 2008-03-07 13:02:20 UTC
This looks like this bug:

http://banshee-project.org/Troubleshooting/iPod/RaidBug

but it's supposed to be already fixed in our hal and udev versions, so I haven't figured out where's the problem now.
Comment 14 Markus Meier gentoo-dev 2008-03-07 23:19:00 UTC
(In reply to comment #7)
> Was HAL restarted after installing libnjb and libmtp.. ? I'm not sure if it's
> required or not, but they install HAL fdi files.. or can you confirm this is a
> regression from current stable banshee?

I get the same error message as coldwind with restarted system (sorry for the noise =)). But I also have no clue why this error still happens...
Comment 15 Santiago M. Mola (RETIRED) gentoo-dev 2008-03-10 18:01:31 UTC
Weird. It works perfectly now... (not tested in full stable yet).
Comment 16 Samuli Suominen (RETIRED) gentoo-dev 2008-04-17 15:53:08 UTC
Well.. If it's not working, we don't want it in stable. Banshee has a version bump available and it needs to be bumped, we can retry with that version when it's added..
Comment 17 Samuli Suominen (RETIRED) gentoo-dev 2008-05-12 10:29:22 UTC
http://bugzilla.gnome.org/show_bug.cgi?id=531727 .. seems this version has issues with confusing MTP with mass storage devices..

Comment 18 Samuli Suominen (RETIRED) gentoo-dev 2008-06-16 13:26:34 UTC
I've removed =banshee-0.13.2* from tree. Current is banshee-1.0.0, and AFAIR upstream fixed some of these issues, please retry.