Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

Activity (RSS)

Saturday, June 20 2009
50 Using multiple usbmuxd/libiphone clients fails was updated
  • Martin S.
    Martin S. commented at 2:42 AM

    Apparently the issue was a race condition when an usbmux connection is setup.
    The problem even occurred on OS 3.0 but is fixed now.

  • Nikias Bassen
    • State changed from open to resolved
    by Nikias Bassen at 2:39 AM

    Well, well. After a long debugging session (thanks Martin), this problem is history (at least I hope so).

Friday, June 19 2009
52 [PATCH] Add support for iPhone 3GS was updated
  • Nikias Bassen
    • Assigned user changed from Nikias Bassen to Matt Colyer
    • State changed from new to open
    by Nikias Bassen at 1:21 PM

    usbmuxd has been updated. Matt, it's your turn now ;)

  • Martin S.
    Martin S. created the ticket at 11:17 AM

    Here are some patches to add the new usb product ids for the iPhone 3GS.
    First patch is for usbmuxd, second for libiphone and the last for iFuse.

Monday, June 15 2009
50 Using multiple usbmuxd/libiphone clients fails was updated
  • Martin S.
    Martin S. commented at 9:51 PM

    Yep, I notice a delay where it seems the read timeout completely runs out (I think at "recv_buf_timeout: fd=5 recv returned 0"). The packet before the delay app...

  • Nikias Bassen
    Nikias Bassen commented at 9:37 PM

    As a reference: http://pims.selfip.net/usbmuxd_iphone_id.log is a log doing the same (running usbmuxd and then just calling iphone_id serial). What's strange is...

  • Martin S.
    Martin S. commented at 12:45 PM

    Hmm, simply calling "iphone_id " already fails for me...
    See new log at: http://gist.github.com/130078
    Looks like I need to do an extensive output run aswell...

  • Nikias Bassen
    Nikias Bassen commented at 11:09 AM

    Hmmm, this is something I didn't think of. My device is iPhone 3G with iPhoneOS 2.2. I changed usbmuxd debugging output a bit so that with -v -v -v -v or more y...

  • Martin S.
    • State changed from new to open
    by Martin S. at 8:53 AM

    Does it have to be caused by a concurrency issue? Even when doing nothing but calling one additional app (like having iFuse mount sitting there then calling ./i...

1 earlier change…
  • Nikias Bassen
    Nikias Bassen commented at 3:14 AM

    I committed a little change to usbmuxd so that send operations are executed within a mutex. Try if that helps, if not perhaps we'll need another lock/unlock aro...

Sunday, June 14 2009
49 automounting under GNOME with pretty name was updated
  • Nikias Bassen
    Nikias Bassen commented at 1:00 AM

    Well, it is more complicated than we thought... First thing is, to make hal passing the uid= option to ifuse,
    a gconf scheme /schemas/system/storage/default_opt...

Friday, June 12 2009
51 64bit ifuse crashes in libiphone when mounting was updated
  • Martin S.
    • Tag changed from 65bit, ifuse, libiphone, mount, segfault, x86_64 to 64bit, ifuse, libiphone, mount, segfault, x86_64
    by Martin S. at 5:05 PM

    Please supply your gnutls, libiphone and ifuse version.
    What is the full mount command you use to get this error?

  • Berkus
    Berkus created the ticket at 3:32 PM

    ArchLinux 64-bit. Installed latest released tarballs via AUR. When mounting iPod Touch either via konqueror or manually, libiphone crashes somewhere with the fo...

49 automounting under GNOME with pretty name was updated
  • Nikias Bassen
    Nikias Bassen commented at 12:49 PM

    The match pattern you wrote is like it should be. My (Ubuntu's) libgphoto2 fdi file also has this entry, but also two Apple iPhone entries, which only match aga...

  • Martin S.
    Martin S. commented at 9:53 AM

    Hmm, on my system I can't see that behavior. I guess I have some older generated preprobe definitions not containing the iPod Touch 1G then (using libgphoto2-2....

Thursday, June 11 2009
49 automounting under GNOME with pretty name was updated
  • Nikias Bassen
    • Title changed from automounting under GNOME (fdi?) to automounting under GNOME with pretty name
    by Nikias Bassen at 6:09 PM

    I found it. It's in libgphoto2's prepropbe fdi file. After explaining the issue to the libgphoto developers they commited the necessary changes. Bug for Ubuntu ...

  • Martin S.
    Martin S. commented at 9:03 AM

    Check your paths for other leftover fdi's since it won't automount without a few required keys like volume.fstype being exposed on the HAL device.
    Also check wh...

50 Using multiple usbmuxd/libiphone clients fails was created
  • Martin S.
    Martin S. created the ticket at 9:12 AM

    As taken from bug #5:

    When attempting to use multiple clients that use usbmuxd I often receive libusb errors and things do not work.
    The regular communication e...

Wednesday, June 10 2009
49 automounting under GNOME (fdi?) was updated
  • Nikias Bassen
    Nikias Bassen commented at 11:40 PM

    Ok I see. BTW, the only fdi "information" file I have in place is 31-apple-mobile-device.fdi (I deleted 30-ifuse.fdi because I don't want automounting) which ha...

  • Martin S.
    • Tag changed from automount, fdi, gnome, udev to automount, fdi, gnome, ifuse, udev
    • State changed from new to open
    by Martin S. at 4:42 PM

    Got almost exactly the same mess like you.

    For me to make auto-mounting work (halfway) I had to add this gconf key "/system/storage/default_options/fuse.ifuse/m...

  • Nikias Bassen
    Nikias Bassen created the ticket at 3:14 PM

    Just that we don't forget about this:

    My device is always detected multiple times in GNOME, I have three "Apple, Inc. iPhone" symbols on my desktop when I plug ...

Tuesday, June 09 2009
48 Failure to retrieve long plist with format information was updated
  • Nikias Bassen
    • Assigned user set to Matt Colyer
    by Nikias Bassen at 10:58 AM

    @Matt please close this ticket if you've merged the patch into git.

Monday, June 08 2009
48 Failure to retrieve long plist with format information was updated
  • Martin S.
    Martin S. commented at 8:51 AM

    Ah, superb, it's working now! Perhaps this might also fix some other stuff I encountered...

  • Nikias Bassen
    • State changed from new to open
    by Nikias Bassen at 12:53 AM

    The problem is in iphone_lckd_recv: when an encrypted plist is received that is not sent in one packet by the device then only the first packet is received. I m...

Sunday, June 07 2009
47 Use UUIDs in python-iphonesync was updated
  • Martin S.
    • Tag set to api, mobilesync, python
    • State changed from new to open
    • Assigned user set to Martin S.
    by Martin S. at 1:46 PM

    Thanks, I'll see if I can directly convert it to fully use uuid and allow for specific devices.

5 Integrate usbmuxd was updated
  • Martin S.
    • Title changed from udev matching to Integrate usbmuxd
    • State changed from open to resolved
    by Martin S. at 1:39 PM

    Closing this ticket as the initial goal "Integrate usbmuxd" has basically been reached. :)

    I'll try to move the two other issues discussed here (failed multiple...

48 Failure to retrieve long plist with format information was created
  • Martin S.
    Martin S. created the ticket at 11:58 AM

    In attempts to find out how to retrieve the equivialent to the "supported formats plist" earlier device generations have been sending after issuing a specific S...

Saturday, May 30 2009
5 udev matching was updated
  • Paul Sladen
    Paul Sladen commented at 1:32 PM

    Martin: nod.... maybe it needs fixing upstream in udev for it to be possible.

    Martin: Looking through that last log, there is an enourmous of communication with...

  • Martin S.
    Martin S. commented at 1:00 PM

    I did before I updated the current rules, the problem with this is:

    • It trys to match an "invalid" vendor interface
    • udev does not treat an usb interface as a de...
  • Paul Sladen
    • Title changed from Integrate usbmuxd (when it's ready) to udev matching
    by Paul Sladen at 12:19 PM

    Martin, would you be able to investigate matching based on:

    #ATTRS{bInterfaceClass}=="ff", ATTRS{bInterfaceSubClass}=="fe", ATTRS{bInterfaceProtocol}=="02", SYM...

Thursday, May 28 2009
5 Integrate usbmuxd (when it's ready) was updated
  • Martin S.
    Martin S. commented at 8:55 AM

    I have updated the log at http://gist.github.com/118058 to include the full communication process.

    What I did in to get that log was basically:

    • Start usbmuxd -...
Wednesday, May 27 2009
5 Integrate usbmuxd (when it's ready) was updated
  • Nikias Bassen
    Nikias Bassen commented at 11:56 PM

    According to the log file, a second client program never connects.
    The line

    usbmuxd: new client connected (fd=5)
    
    Is from the first client performing usbmuxd_s...
Tuesday, May 26 2009
5 Integrate usbmuxd (when it's ready) was updated
  • Martin S.
    Martin S. commented at 1:18 PM

    A level 5 usbmuxd debug log here: http://gist.github.com/118058

    Whatever combinations of clients I try, I occasionally get that error. At the same time the ipho...

Monday, May 25 2009
5 Integrate usbmuxd (when it's ready) was updated
  • Nikias Bassen
    Nikias Bassen commented at 10:19 PM

    @Matt: putting yourself into vboxusers will not change anything as the permission drop is using user 'nobody' and not your user account.

    I'd like some debugging...

  • Matt Colyer
    Matt Colyer commented at 7:10 PM

    @nikias: So it turns out if you have virtualbox installed those devices get owned to the vboxusers group. Now that I have added myself to that group it shouldn'...

Sunday, May 24 2009
46 libiphone 1.0 API cleanup was updated
  • Nikias Bassen
    Nikias Bassen commented at 10:21 PM

    That all sounds reasonable, however I'd like to know what in your opinion is not good with the NotificationProxy interface, perhaps we can improve it.
    I designe...

5 Integrate usbmuxd (when it's ready) was updated
  • Nikias Bassen
    Nikias Bassen commented at 4:29 PM

    Take a look:

    https://bugs.launchpad.net/ubuntu/+source/udev/+bug/348513

    A quick look into the sources reveals that version 141 and later definitely DOES NOT wal...

  • Martin S.
    Martin S. commented at 1:21 PM

    @Matt: I get this output if usbmuxd drops privileges.

    @Nikias: Try to check the output of "udevadm test $(udevadm info -q path -n /dev/usbdev*_ep85)". It should...

  • Nikias Bassen
    Nikias Bassen commented at 11:47 AM

    This is really strange. The device files that are opened are in /dev/bus/usb/BUSNUM/DEVNUM. On my system they all have access mode rw-rw-r-- and are owned by 'r...

Minor fix for HAL fdi to properly mer... was committed by Martin Szulecki at 12:26 AM
47 Use UUIDs in python-iphonesync was created
  • Matt Colyer
    Matt Colyer created the ticket at 12:15 AM

    There are two patches in this series, the first is to remove a deprecated call used in iphonesync and the second is to use the newly exposed uuid information fr...

Saturday, May 23 2009
Add a method to support fetching the ... was committed by Matt Colyer at 11:57 PM
5 Integrate usbmuxd (when it's ready) was updated
  • Matt Colyer
    Matt Colyer commented at 11:34 PM

    http://gist.github.com/116875

    The output of iphone_id -l is this:
    handle=524299 product_id=1290 uuid=

  • Martin S.
    Martin S. commented at 9:34 PM

    Had also cooked up something for the device enumeration, just ignore it as you seem to have the same done already.

    I need to pass "-p" to not drop privileges in...

  • Nikias Bassen
    Nikias Bassen commented at 7:29 PM

    Thanks for the patch. I was about to push the changes, but the symlink creation does not work on my system, it looks like this:

    $ ls -l /dev/usbmux/
    insgesamt ...
  • Martin S.
    Martin S. commented at 7:02 PM

    Use the patch below, last one had a minor typo.

  • Martin S.
    Martin S. commented at 5:44 PM

    Superb work Nikias. Below is a patch to fix the open bits of the udev rules. I also created initial packages for usbmuxd in my repository.

    I also noticed that u...

1 earlier change…
  • Nikias Bassen
    Nikias Bassen commented at 11:24 AM

    Hi,
    I refined the debugging output of usbmuxd a bit, including debugging output from libusb. This way we should find out what's wrong.

    Could you retry with the ...

46 libiphone 1.0 API cleanup was created
  • Martin S.
    Martin S. created the ticket at 12:00 PM

    As the usbmuxd integration is moving forward greatly I'd like to add this bug to remind of doing a final API cleanup of libiphone for the 1.0 release after we r...

Friday, May 22 2009
5 Integrate usbmuxd (when it's ready) was updated
  • Matt Colyer
    Matt Colyer commented at 3:07 AM

    I am running stock Ubuntu 8.10 as far as I know. Which device file is the one that libusb uses again? (I am pretty sure it's owned to root on my system).