[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fw: Mounting Iphone with Ifuse as User





----- Forwarded Message ----
From: Alejandro Salas <kriegerd@yahoo.com>
To: Florian Kulzer <florian.kulzer+debian@icfo.es>
Sent: Wednesday, July 8, 2009 3:34:51 PM
Subject: Re: Mounting Iphone with Ifuse as User




From: Florian Kulzer <florian.kulzer+debian@icfo.es>
To: debian-user@lists.debian.org
Sent: Wednesday, July 8, 2009 2:34:43 PM
Subject: Re: Mounting Iphone with Ifuse as User

On Tue, Jul 07, 2009 at 14:27:38 -0700, Alejandro Salas wrote:
> > On Tue, Jul 07, 2009 at 11:32:10 -0700, Alejandro Salas wrote:
> > > > The fuse group should have been created by the post-installation script
> > > > of the fuse-utils package.
> > > >
> > > >>                                    I created it and added my user to the group.
> > > >> I still get the same error message. :-(. Any ideas?

[...]

> lshal -u $(hal-find-by-property --key "storage.model" --string "iPhone")
> udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1290_28b0d03934dc7a3615752383097c47f1fb34a1e4'
>  block.device = '/dev/bus/usb/007/003'  (string)
>  block.storage_device = '/org/freedesktop/Hal/devices/usb_device_1d6b_2_0000_00_1d_7'  (string)
>  info.addons = {'hald-addon-storage'} (string list)
>  info.capabilities = {'block', 'storage'} (string list)

[...]

>  storage.automount_enabled_hint = true  (bool)
>  storage.hotpluggable = false  (bool)
>  storage.model = 'iPhone'  (string)
>  storage.removable = true  (bool)
>  storage.vendor = 'Apple Computer, Inc.'  (string)
>  usb_device.bus_number = 7  (0x7)  (int)
>  usb_device.can_wake_up = false  (bool)
>  usb_device.configuration = 'PTP + Apple Mobile Device'  (string)
>  usb_device.configuration_value = 3  (0x3)  (int)

[...]

> lshal -u $(hal-find-by-property --key "volume.label" --string "iPhone")
> udi = '/org/freedesktop/Hal/devices/usb_device_5ac_1290_28b0d03934dc7a3615752383097c47f1fb34a1e4_if1'
>  block.device = '/dev/bus/usb/007/003'  (string)
>  block.storage_device = '/org/freedesktop/Hal/devices/usb_device_5ac_1290_28b0d03934dc7a3615752383097c47f1fb34a1e4'  (string)
>  info.capabilities = {'block', 'volume', 'afc'} (string list)

[...]

>  usb.configuration = 'PTP + Apple Mobile Device'  (string)
>  usb.configuration_value = 3  (0x3)  (int)

[...]

>  volume.fstype = 'fuse.ifuse'  (string)
>  volume.fsusage = 'filesystem'  (string)
>  volume.ignore = false  (bool)
>  volume.label = 'iPhone'  (string)
>  volume.mount.valid_options = {'ro', 'sync', 'dirsync', 'noatime', 'nodiratime', 'noexec', 'quiet', 'remount', 'exec'} (string list)
>  volume.unmount.valid_options = {'lazy'} (string list)
>  volume.uuid = ''  (string)
>
> I don't see anything wrong here; it looks like both udev and HAL have
> done exactly what they were supposed to be doing.
>
> What output do you get from:
>
> ls -l /dev/fuse
>
> ls -l /dev/bus/usb/*

Here they are:

ls -l /dev/fuse
crw-rw---- 1 root fuse 10, 229 2009-07-08 10:41 /dev/fuse


ls -l /dev/bus/usb/*
/dev/bus/usb/001:
total 0
crw-rw-r-- 1 root root 189, 0 2009-07-08 06:06 001

/dev/bus/usb/002:
total 0
crw-rw-r-- 1 root root 189, 128 2009-07-08 06:06 001

/dev/bus/usb/003:
total 0
crw-rw-r-- 1 root root 189, 256 2009-07-08 06:06 001
crw-rw-r-- 1 root root 189, 257 2009-07-08 06:06 002

/dev/bus/usb/004:
total 0
crw-rw-r-- 1 root root 189, 384 2009-07-08 06:06 001

/dev/bus/usb/005:
total 0
crw-rw-r-- 1 root root 189, 512 2009-07-08 06:06 001
crw-rw-r-- 1 root root 189, 513 2009-07-08 06:06 002

/dev/bus/usb/006:
total 0
crw-rw-r-- 1 root root 189, 640 2009-07-08 06:06 001

/dev/bus/usb/007:
total 0
crw-rw-r-- 1 root root 189, 768 2009-07-08 06:06 001
crw-rw-r-- 1 root root 189, 770 2009-07-08 15:59 003

The last entry ('003') appeared only after plugging the iphone to a usb port. Everything else remained the same.
Thanks again



Reply to: