[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-07-19 Thread Andrew Ash
The discussion for not including Amarok 1.4 packages has occurred
several times [1][2][3], so I'm changing this bug's direction towards
better support for iPhones.

[1] https://bugs.edge.launchpad.net/ubuntu/+source/amarok/+bug/368706
[2] https://bugs.edge.launchpad.net/ubuntu/+source/amarok/+bug/331449
[3] https://bugs.edge.launchpad.net/ubuntu/+source/amarok/+bug/316889

** Summary changed:

- Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
+ Support for iPhone-like devices in Amarok 2

-- 
Support for iPhone-like devices in Amarok 2
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-06-22 Thread Jonathan Thomas
** Changed in: amarok (Ubuntu)
   Status: Triaged = Confirmed

** Changed in: amarok (Ubuntu)
Milestone: jaunty-updates = None

** Changed in: amarok (Ubuntu)
 Assignee: Jonathan Thomas (echidnaman) = (unassigned)

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to amarok in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-06-01 Thread Ookadoo
Just want to add that I too have experienced this when upgrading for
9.04 and as a result have had to switch to gtkpod and ifuse.

But I still have problems (slow, directory syncing doesn't work well) so
I would love to see whatever needs it get support for these non-physical
fuse/sshfs/etc filesystems.

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-28 Thread Nico
On Tue, 2009-04-28 at 02:26 +, chris wrote:
 I mostly use arch these days, but I've learned a little about this
 problem recently, and thought I'd share (since the kde guys were kind of
 rude about it in their upstream bug tracker).
 
 The recent commit to amarok should allow it to properly detect
 iphones/touches -- *if* the device is recognized by solid, which means
 it must also be recognized by hal.  sshfs mounts don't show up in hal
 because no hardware is actually involved, and hal is for managing
 hardware.  So, something in amarok or solid, or (less likely) hal needs
 to change for sshfs to become viable in amarok2.

This is exactly what I descibe in the bug.


 
 An option which may be viable, which I'm experimenting with, is
 iFuse[1].  iFuse attempts to communicate with iphones/touches via native
 Apple protocols over USB.  Since the connection is via USB, the device
 is recognized by hal and solid, at least in theory.

Well, no.

iFuse is just like SSHFS. Both use FUSE, and fuse does not declare
volumes in HAL.

 
 For me, on arch, theory breaks down rather quickly.  The hal portion of
 iFuse is dependent on an fdi file included with iFuse, which doesn't
 exactly work (at least not on arch).  I've been hacking on it, but I'm
 not quite there yet.

This fdi file is for when HAL detects the USB device. It is no
declaration of the FUSE volume.

 
 There is a deb package for debian experimental that might be a good
 place for ubuntu users to start.  It might even work out of the box for
 you.
 


I even tried compiling it from source, just in case I was wrong. I was
not.

Nico

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to amarok in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


Re: [Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-28 Thread chris
On 04/27/2009 10:54 PM, Nico wrote:
 This is exactly what I descibe in the bug.


The upstream bug was very limited in scope.  Look at its title.  It was 
not intended to address the solid/hal issue, but to replace an internal 
recognition function that had been removed in amarok2 (Probably a good 
first step is to get isIpod to return true for iPhone.).  They fixed 
the bug, as it was reported to them (getting the amarok function isIpod 
to return true for iPhone), though they did not fix the underlying 
problem you reported here (amarok2 doesn't recognize an sshfs mounted 
iphone).

 iFuse is just like SSHFS. Both use FUSE, and fuse does not declare
 volumes in HAL.


ifuse is different because it is over a hardwired USB connection.

Note that ntfs-3g also uses fuse and its volumes are reported perfectly 
by HAL.  HAL recognition of fuse volumes was implemented circa 2006 
(search the bug database at freedesktop.org).

The reason sshfs volumes are not detected by HAL has nothing to do with 
fuse.  It is because sshfs volumes are not hardware.  HAL is the 
HARDWARE abstraction layer.  If there is no hardware involved, HAL is 
not involved.  You wouldn't expect an NFS or SMB volume to show up in 
HAL, either.  ;-)

Moreover, HAL most certainly *does* detect USB iphone connections.  You 
can prove this to yourself by running `lshal -m` and watching while you 
plug in your iphone.


 This fdi file is for when HAL detects the USB device. It is no
 declaration of the FUSE volume.



You are correct that the fdi file is for when HAL detects the iphone 
over USB; however, the fdi file most certainly does contain hal 
declarations for the ifuse volume.  The debian helper script (which was 
adapted from fedora) even assigns major and minor numbers to the device 
to facilitate this functionality.  I've gotten it partially working, but 
in my case hal is still slightly confused between the ifuse volume and 
the ptp-class camera device.  (The fdi file contains some remove 
directives related to camera keys, but they don't seem to be working for 
me.  Or they're not applying to the right usb device.  It's a little 
hard to tell.)

The main problem I'm seeing is that the match directives in the ifuse 
fdi file don't directly match the attributes reported from my iphone-3g 
to the kernel to hal.  The fdi file is out-of-date relative to some 
combination of (1) my kernel (2.6.29.1), (2) my device (iphone 3g), 
and/or (3) my hal version (0.5.12git20090406).

It's worth noting that the ifuse home page implies that iphone 3g 
support is uncertain.  I am able to mount my 3g via ifuse, however, so 
hal support should be just a matter of tweaking the fdi directives to 
properly match the hardware info the 3g is sending to hal via the kernel.


 I even tried compiling it from source, just in case I was wrong. I was 
 not.


The problem isn't with compilation.  The fdi directives are provided by 
upstream or the package maintainer.  Play more with tweaking the fdi 
file and watching the results (after restarting hald) in the full output 
of lshal.

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to amarok in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


Re: [Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-28 Thread Nico
On Tue, 2009-04-28 at 11:58 +, chris wrote:
 On 04/27/2009 10:54 PM, Nico wrote:
  This is exactly what I descibe in the bug.
 
 
 The upstream bug was very limited in scope.  Look at its title.  It was 
 not intended to address the solid/hal issue, but to replace an internal 
 recognition function that had been removed in amarok2 (Probably a good 
 first step is to get isIpod to return true for iPhone.).  They fixed 
 the bug, as it was reported to them (getting the amarok function isIpod 
 to return true for iPhone), though they did not fix the underlying 
 problem you reported here (amarok2 doesn't recognize an sshfs mounted 
 iphone).

True.

I've been on the Amarok 2 ML.

The target they have at this time is to expose more media device to the
scripting API so that manual scans of mounted volumes can be made, not
using Solid, then iphones can be mounted using whatever mean is
available (iFuse, sshfs, etc...).

 
  iFuse is just like SSHFS. Both use FUSE, and fuse does not declare
  volumes in HAL.
 
 
 ifuse is different because it is over a hardwired USB connection.

No it is not.

iFuse shows a network object multiplexed into USB as a disk.

iPhones do not show themselves as disks outside of the camera stuff. The
music stuff is through a network protocol.

So, once more, iFuse will not put anything in HAL.

 
 Note that ntfs-3g also uses fuse and its volumes are reported perfectly 
 by HAL.  HAL recognition of fuse volumes was implemented circa 2006 
 (search the bug database at freedesktop.org).

Yes, sure, because it mounts real disks/partitions.


 
 The reason sshfs volumes are not detected by HAL has nothing to do with 
 fuse.  It is because sshfs volumes are not hardware.

It is the same for iFuse. iFuse deals with USBmux (network protocol) and
AFC (network service), not with disks.


   HAL is the 
 HARDWARE abstraction layer.  If there is no hardware involved, HAL is 
 not involved.  You wouldn't expect an NFS or SMB volume to show up in 
 HAL, either.  ;-)

So do not expect iFuse to do either.

 
 Moreover, HAL most certainly *does* detect USB iphone connections.  You 
 can prove this to yourself by running `lshal -m` and watching while you 
 plug in your iphone.

Sure, it detects the only part that looks like a disk, and linux
supports it very well to give you acces to the pictures on the device.


 
 
  This fdi file is for when HAL detects the USB device. It is no
  declaration of the FUSE volume.

True, it detects the picture device and assumes that if that part is
there, then the rest will be too.


 
 
 
 You are correct that the fdi file is for when HAL detects the iphone 
 over USB

The pictures storing part of the iPhone.


 ; however, the fdi file most certainly does contain hal 
 declarations for the ifuse volume.  The debian helper script (which was 
 adapted from fedora) even assigns major and minor numbers to the device 
 to facilitate this functionality.  I've gotten it partially working, but 
 in my case hal is still slightly confused between the ifuse volume and 
 the ptp-class camera device.  (The fdi file contains some remove 
 directives related to camera keys, but they don't seem to be working for 
 me.  Or they're not applying to the right usb device.  It's a little 
 hard to tell.)
 
 The main problem I'm seeing is that the match directives in the ifuse 
 fdi file don't directly match the attributes reported from my iphone-3g 
 to the kernel to hal.  The fdi file is out-of-date relative to some 
 combination of (1) my kernel (2.6.29.1), (2) my device (iphone 3g), 
 and/or (3) my hal version (0.5.12git20090406).
 
 It's worth noting that the ifuse home page implies that iphone 3g 
 support is uncertain.  I am able to mount my 3g via ifuse, however, so 
 hal support should be just a matter of tweaking the fdi directives to 
 properly match the hardware info the 3g is sending to hal via the kernel.
 
 
  I even tried compiling it from source, just in case I was wrong. I was 
  not.
 
 
 The problem isn't with compilation.

Oh, let's say I've installed it too. :o)


   The fdi directives are provided by 
 upstream or the package maintainer.  Play more with tweaking the fdi 
 file and watching the results (after restarting hald) in the full output 
 of lshal.
 

OK, I accept that I may be wrong on this. I will investigate that part
further. But yes, it looks like the iFuse stuff tries to declare storage
devices and volumes into HAL.

In any case, I do not like giving all my hope only to iFuse. It looks
great, but my guess is that it is far from production ready,  a lot of
stuff is being re-addressed by the development team.

Nico

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to amarok in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com

[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-28 Thread Tiago Cogumbreiro
 Bug #368706 asks for the creation of a package for Amarok 1.4.

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-27 Thread chris
I mostly use arch these days, but I've learned a little about this
problem recently, and thought I'd share (since the kde guys were kind of
rude about it in their upstream bug tracker).

The recent commit to amarok should allow it to properly detect
iphones/touches -- *if* the device is recognized by solid, which means
it must also be recognized by hal.  sshfs mounts don't show up in hal
because no hardware is actually involved, and hal is for managing
hardware.  So, something in amarok or solid, or (less likely) hal needs
to change for sshfs to become viable in amarok2.

An option which may be viable, which I'm experimenting with, is
iFuse[1].  iFuse attempts to communicate with iphones/touches via native
Apple protocols over USB.  Since the connection is via USB, the device
is recognized by hal and solid, at least in theory.

For me, on arch, theory breaks down rather quickly.  The hal portion of
iFuse is dependent on an fdi file included with iFuse, which doesn't
exactly work (at least not on arch).  I've been hacking on it, but I'm
not quite there yet.

There is a deb package for debian experimental that might be a good
place for ubuntu users to start.  It might even work out of the box for
you.

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-26 Thread Bug Watch Updater
** Changed in: amarok
   Status: New = Fix Released

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to amarok in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-24 Thread Nico
hmmm

I did a compile from SVN, including that fix.

And the problem remains the same.

The ipod-convenience package does the fuse/sshfs mount, but that mount
is not declared/seen by HAL, so Amarok still does not check it, so no
iPod Touch/iPhone is seen by Amarok.

Amarok logs with the latest SVN including the fix:
http://www.youplala.net/~will/amarok2/amarok_2.1_svn_20090424.log

Historical stuff:
http://www.youplala.net/~will/amarok2/

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-24 Thread Jonathan Thomas
Would it be possible for you to test the Amarok 2.1 beta packages from
https://edge.launchpad.net/~kubuntu-experimental/+archive/ppa ?

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to amarok in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-24 Thread Nico
OK, I have setup the ppa and upgraded the Amarok package.

It is complaining heavily about a few modules at startup (Librivox,
Lyricwiki), probably not related to our case.

And the result is the same, negative.

The sshfs mount is still not declared in HAL, Amarok uses Solid to
detect devices, Solid only uses HAL to detect devices, amarok sees no
iPhone/iPod Touch.

So the situation with the 2.1 package from the PPA is the same as with
my SVN checkout os 2.1 done this morning.


** Attachment added: amarok --debug output from the 2.1 ppa package
   http://launchpadlibrarian.net/25928598/amarok_2.1%2Bppa_20090424.log

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to amarok in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-24 Thread Jonathan Thomas
Thanks, I've reopened the upstream bug and also posted a link to here.

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-24 Thread Bug Watch Updater
** Changed in: amarok
   Status: Fix Released = New

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to amarok in ubuntu.

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-23 Thread Jonathan Thomas
A fix has been made upstream in trunk. I'll see if I can't get a stable
release update for Kubuntu 9.04 put together once Kubuntu 9.10 opens for
development.

** Bug watch added: KDE Bug Tracking System #184744
   http://bugs.kde.org/show_bug.cgi?id=184744

** Also affects: amarok via
   http://bugs.kde.org/show_bug.cgi?id=184744
   Importance: Unknown
   Status: Unknown

** Changed in: amarok (Ubuntu)
   Importance: Undecided = Medium

** Changed in: amarok (Ubuntu)
   Status: New = Triaged

** Changed in: amarok (Ubuntu)
Milestone: None = jaunty-updates

** Changed in: amarok (Ubuntu)
 Assignee: (unassigned) = Jonathan Thomas (echidnaman)

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-23 Thread Bug Watch Updater
** Changed in: amarok
   Status: Unknown = Fix Released

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-23 Thread Nico
Hi Jonathan,

Thanks for this.

Is it possible to have more details on the fix?

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 362182] Re: Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?

2009-04-23 Thread Nico
ignore my previous comment, please. I just saw the upstream bug

-- 
Amarok 2 lost support for iPhone-like devices - Choice between 2 and 1.4?
https://bugs.launchpad.net/bugs/362182
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs