22790 mount iphone - The FreeBSD Forums
The FreeBSD Forums  

Go Back   The FreeBSD Forums > Base System > Peripheral Hardware

Peripheral Hardware Stuff that plugs in via USB, FireWire, eSATA, PS/2, etc.

Reply
 
Thread Tools Display Modes
  #1  
Old May 14th, 2010, 01:35
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,722
Thanks: 215
Thanked 142 Times in 88 Posts
Default mount iphone

Hi. is it possible to mount my iphone (jailbroken) on my freebsd/amd64 ?
how to do that?
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416

Last edited by DutchDaemon; May 14th, 2010 at 01:50.
Reply With Quote
  #2  
Old May 14th, 2010, 02:29
cmanns cmanns is offline
Junior Member
 
Join Date: Dec 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I'm sure you can SSH to it and edit files like that.

Mounting to it would require some sort of software on the iPhone I'm sure.
Reply With Quote
  #3  
Old May 14th, 2010, 02:33
Carpetsmoker's Avatar
Carpetsmoker Carpetsmoker is offline
Member
 
Join Date: Nov 2008
Location: Eindhoven, Netherlands
Posts: 794
Thanks: 19
Thanked 123 Times in 93 Posts
Default

My iPod nano can just be mounted as a FAT32 filesystem. Not sure how things work for the iPhone.
__________________
UNIX was not designed to stop you from doing stupid things, because that would also stop you from doing clever things.
Reply With Quote
  #4  
Old May 14th, 2010, 02:45
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,722
Thanks: 215
Thanked 142 Times in 88 Posts
Default

my usb see it but how to try to mount something that i don't know what device is on /dev?
i check /dev but nothing helps!
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416
Reply With Quote
  #5  
Old May 14th, 2010, 02:47
cmanns cmanns is offline
Junior Member
 
Join Date: Dec 2008
Posts: 21
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Plug in iPhone, check output of dmesg should show ya some info, let us know
__________________
-cmanns Powered By FreeBSD
xenserv.com evilpuma.com
Reply With Quote
  #6  
Old May 14th, 2010, 02:51
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,722
Thanks: 215
Thanked 142 Times in 88 Posts
Default

usbconfig
Code:
ugen3.3: <iPhone Apple Inc.> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
dmesg give the same output
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416

Last edited by sk8harddiefast; May 14th, 2010 at 04:27.
Reply With Quote
  #7  
Old May 14th, 2010, 19:43
oliverh's Avatar
oliverh oliverh is offline
Member
 
Join Date: Nov 2008
Location: 127.0.0.1
Posts: 557
Thanks: 51
Thanked 36 Times in 33 Posts
Default

It's not possible, at least it's not as simple as "mount ..."

http://marcansoft.com/blog/2009/10/i...cing-on-linux/
http://marcansoft.com/blog/2009/10/i...-linux-part-2/

So it seems it's rather impossible in FreeBSD. I'm using my touch together with a Mac.
__________________
What was the goal of the Linux community--to replace Windows? One can imagine higher aspirations., Bill Joy
Reply With Quote
  #8  
Old May 14th, 2010, 20:28
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,722
Thanks: 215
Thanked 142 Times in 88 Posts
Default

Ok. Just i wanted to put on my iphone some songs. Never mind. No problem. It's ok
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416

Last edited by DutchDaemon; May 14th, 2010 at 20:38. Reason: capitals, spaces ...
Reply With Quote
  #9  
Old May 14th, 2010, 21:56
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,141
Thanks: 43
Thanked 703 Times in 579 Posts
Default

Install audio/libgpod. And then a music manager like audio/amarok or audio/gtkpod. Then you'll be able to transfer music to/from the iPod.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #10  
Old May 14th, 2010, 22:23
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,722
Thanks: 215
Thanked 142 Times in 88 Posts
Default

this work with iphone or only with ipod?
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416
Reply With Quote
  #11  
Old May 14th, 2010, 22:43
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,141
Thanks: 43
Thanked 703 Times in 579 Posts
Default

Should work with iPhone. It's the same protocol for all the i-products.
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #12  
Old May 14th, 2010, 22:49
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,722
Thanks: 215
Thanked 142 Times in 88 Posts
Default

is only for music or also for images,photos etc?
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416
Reply With Quote
  #13  
Old May 15th, 2010, 14:27
phoenix's Avatar
phoenix phoenix is offline
Moderator
 
Join Date: Nov 2008
Location: Kamloops, BC, Canada
Posts: 3,141
Thanks: 43
Thanked 703 Times in 579 Posts
Default

Don't know. I don't have any i-devices (or any Apple hardware of any kind).
__________________
Freddie

Help for FreeBSD: Handbook, FAQ, man pages, mailing lists.
Reply With Quote
  #14  
Old May 15th, 2010, 14:33
sk8harddiefast's Avatar
sk8harddiefast sk8harddiefast is offline
Senior Member
 
Join Date: Mar 2010
Location: Athens, Greece
Posts: 1,722
Thanks: 215
Thanked 142 Times in 88 Posts
Default

is not loading my iphone
__________________
====================================
| -------> UNIX. Live Free Or Die! <-------- |
====================================
You can say: I can't do something because is difficult.
You must say: I tried a lot before say that I can't.
Never Give up.
http://unixsystems.dyndns.org/
I am not an BSD expert. But I really want to help.
Don't afraid to ask me anything. If I can I will help!

Nice wallpapers to make your desktop more hardcore :) ---> http://forums.freebsd.org/showthread.php?t=13416

Last edited by sk8harddiefast; May 15th, 2010 at 14:49.
Reply With Quote
  #15  
Old May 15th, 2010, 15:26
oliverh's Avatar
oliverh oliverh is offline
Member
 
Join Date: Nov 2008
Location: 127.0.0.1
Posts: 557
Thanks: 51
Thanked 36 Times in 33 Posts
Default

Quote:
Originally Posted by phoenix View Post
Should work with iPhone. It's the same protocol for all the i-products.
It's similar, but it's not the same protocol, nor does it work via umass.

http://gtkpod.wikispaces.com/Hooking+Up+the+iPod

You can try it, but usually the newest firmware won't work.
__________________
What was the goal of the Linux community--to replace Windows? One can imagine higher aspirations., Bill Joy
Reply With Quote
  #16  
Old December 6th, 2010, 11:56
kenorb kenorb is offline
Member
 
Join Date: Oct 2010
Location: London
Posts: 330
Thanks: 57
Thanked 3 Times in 3 Posts
Default

http://www.freebsd.org/cgi/cvsweb.cg...9;r2=1.480;f=h
Added:
product APPLE IPOD_TOUCH 0x1291 iPod Touch
product APPLE IPHONE_3GS 0x1294 iPhone 3GS
product APPLE IPHONE_4 0x1297 iPhone 4
product APPLE IPAD 0x129a iPad

Quote:
Originally Posted by gavin
SVN rev 211104 on 2010-08-09 17:27:27Z by
Add entries for some devices I have locally.
Me too.

Code:
> head /usr/src/sys/dev/usb/usbdevs
$FreeBSD: src/sys/dev/usb/usbdevs,v 1.421.2.65 2010/11/29 03:38:40 thompsa Exp $
/* $NetBSD: usbdevs,v 1.392 2004/12/29 08:38:44 imp Exp $ */
...
/*-
 * Copyright (c) 1998-2004 The NetBSD Foundation, Inc.
 * All rights reserved.
 *
 * This code is derived from software contributed to The NetBSD Foundation
NetBSD? That's why doesn't work! Lazy people
__________________
> uname -a
FreeBSD kenorb 8.1-STABLE FreeBSD 8.1-STABLE #0: Tue Oct 19 15:28:55 BST 2010 root@kenorb:/usr/obj/usr/src/sys/BRO amd64

Last edited by kenorb; December 6th, 2010 at 12:05.
Reply With Quote
  #17  
Old December 6th, 2010, 16:15
Pjoter Pjoter is offline
Junior Member
 
Join Date: Aug 2010
Posts: 40
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Quote:
Originally Posted by kenorb View Post
NetBSD? That's why doesn't work! Lazy people
grrrrrrrrrrrrrr
Reply With Quote
  #18  
Old December 6th, 2010, 17:11
kenorb kenorb is offline
Member
 
Join Date: Oct 2010
Location: London
Posts: 330
Thanks: 57
Thanked 3 Times in 3 Posts
Default

Tried this library:
http://www.libimobiledevice.org/

Step by step installation instruction:

Install usbmuxd library:
Code:
wget http://marcansoft.com/uploads/usbmuxd/usbmuxd-1.0.6.tar.bz2
tar xvfj usbmuxd-1.0.6.tar.bz2 && cd usbmuxd-1.0.6/
mkdir build && cd build && cmake .. && sudo make install
Install libplist library:
Code:
wget --no-check-certificate http://github.com/downloads/JonathanBeck/libplist/libplist-1.3.tar.bz2
tar xvfj libplist-1.3.tar.bz2 && cd libplist-1.3
mkdir build && cd build && cmake .. && sudo make install
Install libimobiledevice library:
Code:
wget http://www.libimobiledevice.org/downloads/libimobiledevice-1.0.4.tar.bz2
tar xvfj libimobiledevice-1.0.4.tar.bz2 && cd libimobiledevice-1.0.4
> ./configure LDFLAGS="-L/usr/local/lib/"
> sudo make install
Install ifuse:
Code:
> wget http://www.libimobiledevice.org/downloads/ifuse-1.0.0.tar.bz2
> tar xvfj ifuse-1.0.0.tar.bz2 && cd ifuse-1.0.0
> ./configure
checking for libimobiledevice... configure: error: Package requirements (libimobiledevice-1.0 >= 1.0.0) were not met:
No package 'libimobiledevice-1.0' found
> /usr/local/bin/pkg-config --errors-to-stdout --print-errors 'libimobiledevice-1.0 >= 1.0.0'
Currently stopped here. Maybe another time.
__________________
> uname -a
FreeBSD kenorb 8.1-STABLE FreeBSD 8.1-STABLE #0: Tue Oct 19 15:28:55 BST 2010 root@kenorb:/usr/obj/usr/src/sys/BRO amd64
Reply With Quote
  #19  
Old August 22nd, 2011, 13:50
devsebsd devsebsd is offline
Junior Member
 
Join Date: Jun 2011
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Is it possible for my iphone 4?
Reply With Quote
  #20  
Old November 2nd, 2011, 01:30
draco003's Avatar
draco003 draco003 is offline
Junior Member
 
Join Date: Sep 2011
Location: District 7, Saturn
Posts: 56
Thanks: 47
Thanked 6 Times in 5 Posts
Default

I just downloaded all my Photos from my iPhone 3G

connected it as a PTP camera, then used graphics/gphoto2 to download the photos.

this command will list all the photos:
# gphoto2 --camera 'Apple iPhone (PTP Mode)' -L

or use 3G instead:
# gphoto2 --camera 'Apple iPhone 3G (PTP Mode)' -L

to download the photos:

# cd /to/download/path/ && gphoto2 --camera 'Apple iPhone 3G (PTP Mode)' -P


reference: http://blog.brixandersen.dk/?p=72
__________________
raco » OpenSource » OpenMind
ShackofHope.Org Advanced Tech for Deaf & HoH Community.
ProjectAware.Org Protecting our Ocean Planet - One Dive at a Time.
Draco-003.Com/blog My FreeBSD, Web Dev, and Electronics Weblog.
Practice Practice Practice ...
Reply With Quote
The Following User Says Thank You to draco003 For This Useful Post:
kipz (January 2nd, 2012)
  #21  
Old November 24th, 2011, 21:01
mky mky is offline
Junior Member
 
Join Date: Nov 2008
Location: Warsaw, Poland
Posts: 32
Thanks: 6
Thanked 4 Times in 2 Posts
Default

Yesterday a new port was added to the ports tree, that may be interesting for this thread: sysutils/fusefs-ifuse
Reply With Quote
The Following 3 Users Say Thank You to mky For This Useful Post:
draco003 (November 24th, 2011), kipz (January 2nd, 2012), sk8harddiefast (March 14th, 2013)
  #22  
Old January 30th, 2012, 14:36
iamjapanesester iamjapanesester is offline
Junior Member
 
Join Date: Jan 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I have to experiment with iPhone4s.
The result has been tried in my blog post.
As I also wrote earlier, and photo capture by usbmuxd PTP connection was possible. However, incorporation of music files I is not gotta like JB.

http://lists.freebsd.org/pipermail/f...ne/175902.html
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
[Solved] mount permission topher Peripheral Hardware 6 November 18th, 2009 01:19
NFS will not mount erikf154 Web & Network Services 6 July 8th, 2009 07:38
[Solved] Mount an UFS2 HD SuperMiguel Installing & Upgrading 3 June 12th, 2009 15:57
iPhone and personal domain name email Pushrod Web & Network Services 0 December 22nd, 2008 16:06
mount dubnik General 2 December 8th, 2008 05:03


All times are GMT +1. The time now is 06:43.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.
The mark FreeBSD is a registered trademark of The FreeBSD Foundation and is used by The FreeBSD Project with the permission of The FreeBSD Foundation.
Web protection and acceleration provided by CloudFlare
0