LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices



Reply
 
Search this Thread
Old 09-01-2010, 10:54 PM   #1
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Rep: Reputation: 201Reputation: 201Reputation: 201
Use Iphone/Ipod with Slack like in Ubuntu?


I'm out of my depth on this one and was hoping someone had some idea how to get this working. I have an Iphone that has some music on it. Under Ubuntu 10.04 I can simply plug it in to the usb jack and I'm offered two choices, one to open f-spot for dealing with the pictures on the phone, and the other to launch a media player to deal with the music. I've been through SBo installed all the packages that mention Ipods, but I have no idea how to go about mounting the phone etc. It is picked up in dmesg when I plug it in:
Quote:
sb 1-4: new high speed USB device using ehci_hcd and address 8
usb 1-4: New USB device found, idVendor=05ac, idProduct=1294
usb 1-4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 1-4: Product: iPhone
usb 1-4: Manufacturer: Apple Inc.
usb 1-4: SerialNumber: 300bd977d3241fbc79eb9af9e8b291dd78bdbb5a
dtest@dtest:~$
I'm don't really ever use anything usb except thumb drives which are picked up like hard drives so this is all new to me.
 
Old 09-01-2010, 11:03 PM   #2
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,092

Rep: Reputation: 222Reputation: 222Reputation: 222
AFAIK if the i-whatever isn't jailbroken, then you most likely CANNOT mount it like an external disc. The only way to get at the music is either by (Amarok???) or whatever other program is use under Linux for the i-whatevers. I don't know about pictures.

--

Except, now I may eat my own words: ifuse can apparently mount your i-whatever, but I still don't know if your i-device has to be jailbroken? Check the documentations.

Ah yes of course, and there is also gtkpod. Hope that gives you at least SOME kind of help?

I don't own any of the i-devices, so thats the best I can do. Hopefully someone who has these i-thingies can offer better insight.

--edit

I would think Ubuntu though has it's own repositories for this? If you are running Ubuntu, check apt(?) or whatever other program is used to get at their repositories, or better yet, Debians repositories?

Last edited by Jeebizz; 09-01-2010 at 11:05 PM.
 
1 members found this post helpful.
Old 09-01-2010, 11:10 PM   #3
D1ver
Member
 
Registered: Jan 2010
Distribution: Slackware 13.37
Posts: 527
Blog Entries: 3

Rep: Reputation: 126Reputation: 126
I don't really know much about the topic but I did notice when I was compiling kernel 2.6.35 the option to build Iphone support. Maybe this is required for what your trying to do..?

My old Ipod mounts and can be manipulated with Amarok, but I've never dealt with the new i-devices.
 
1 members found this post helpful.
Old 09-01-2010, 11:12 PM   #4
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Yeah that's the rub, it's just out of the box functionality with Ubuntu so I'm not real sure what's going on there. My problem is that other than dmesg, I just can't get slackware to see the phone that I can tell. I have all the ifuse, gtkpod, etc that I could find on SBo. I'm guessing I just don't know how to use it, and I'm having trouble finding the information.
 
Old 09-01-2010, 11:14 PM   #5
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Originally Posted by D1ver View Post
I don't really know much about the topic but I did notice when I was compiling kernel 2.6.35 the option to build Iphone support. Maybe this is required for what your trying to do..?
I needed to build a new kernel anyway. I'll see what that does for the situation.
 
Old 09-01-2010, 11:15 PM   #6
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,092

Rep: Reputation: 222Reputation: 222Reputation: 222
Quote:
Originally Posted by damgar

My problem is that other than dmesg, I just can't get slackware to see the phone that I can tell.
Logically maybe right now I would say, maybe said serial number would at least help distinguish each i-device, and somehow would be included in the documentation of amarok/whatever, (ipod from iphone, etc), until I read this from your output.

Code:
usb 1-4: SerialNumber: 300bd977d3241fbc79eb9af9e8b291dd78bdbb5a
Leave it to Apple to also obscure their own identities of their h/w.

What a bunch of buttheads.

Last edited by Jeebizz; 09-01-2010 at 11:17 PM.
 
Old 09-01-2010, 11:23 PM   #7
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Interesting that rhythbox seems to see the phone, but I get these errors:
Quote:
Device 0 (VID=05ac and PID=1294) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
libusb couldn't open USB device /dev/bus/usb/007/002: Permission denied.
libusb requires write access to USB device nodes.
libusb couldn't open USB device /dev/bus/usb/007/003: Permission denied.
libusb requires write access to USB device nodes.
Device 0 (VID=05ac and PID=1294) is UNKNOWN.
Please report this VID/PID and the device model to the libmtp development team
LIBMTP PANIC: could not inspect object property descriptions!
LIBMTP PANIC: could not inspect object property descriptions!
LIBMTP PANIC: could not inspect object property descriptions!

(rhythmbox:8676): Rhythmbox-WARNING **: libmtp error: PTP Layer error 02fe: get_track_metadata(): call to ptp_mtp_getobjectpropssupported() failed.
 
Old 09-01-2010, 11:30 PM   #8
Jeebizz
Senior Member
 
Registered: May 2004
Distribution: Slackware 14.1 64-bit with multilib
Posts: 2,092

Rep: Reputation: 222Reputation: 222Reputation: 222
Ok judging by that latest output I have to ask, the device then is not in anyway jailbroken then?

Maybe you might(?) have better luck with an unlocked devices?

Only other thing I can think of to perhaps get past those errors, is make sure your username is added to the appropriate places in /etc/group? Though not sure how much of a difference would that be either.

Arrggh, damn you i-devices!

Last edited by Jeebizz; 09-01-2010 at 11:32 PM.
 
Old 09-01-2010, 11:36 PM   #9
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Originally Posted by Jeebizz View Post
Ok judging by that latest output I have to ask, the device then is not in anyway jailbroken then?

Maybe you might(?) have better luck with an unlocked devices?

Only other thing I can think of to perhaps get past those errors, is make sure your username is added to the appropriate places in /etc/group? Though not sure how much of a difference would that be either.

Arrggh, damn you i-devices!
Yes they are a PITA, and no it's not jailbroken. This wouldn't be something I'd even care about, except I noticed when playing with Ubuntu that this was automatic, so there has to be a way for it to work in Slack....and now I have to know. To be quite honest I'll probably never mess with this again after I figure it out, but getting there is all the fun..and frustration.

Speaking of groups, looking at an old tutorial for doing this on Ubuntu 9.10 they talk about adding your user to the fuse group, however I don't have a fuse group.....hmm. Time to boot into 'bunter I reckon.
 
Old 09-02-2010, 12:00 AM   #10
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Nope, nothing useful here. Booting back into slack, I get this error when I attach my Iphone while running rhythmbox from the terminal
Quote:
(rhythmbox:2846): GStreamer-WARNING **:
Trying to join task 0x81be8c8 from its thread would deadlock.
You cannot change the state of an element from its streaming
thread. Use g_idle_add() or post a GstMessage on the bus to
schedule the state change from the main thread.

Last edited by damgar; 09-02-2010 at 12:17 AM.
 
Old 09-02-2010, 12:52 AM   #11
larryhaja
Member
 
Registered: Jul 2008
Distribution: Slackware 13.1
Posts: 293

Rep: Reputation: 76
It looks like you don't need to jailbreak the I(Phone|Touch) device. After a quick google search I came across this Ubuntu page.
https://help.ubuntu.com/community/Po...Devices/iPhone
Which uses the libimobiledevice library to read the filesystem. I don't have an i-whatever device to test so I don't know how hard/easy it is to install and manage.
http://www.libimobiledevice.org/
 
Old 09-02-2010, 07:17 AM   #12
ricky_cardo
Member
 
Registered: Feb 2006
Location: Syracuse, NY
Distribution: Slackware 14.1x86_64 and Current
Posts: 30

Rep: Reputation: 5
Well here is my story: (And It gives me read only)
Added the following from slackbuilds:
-ifuse-1.0.0-x86_64-1_SBo.tgz
-libplist-1.3-x86_64-1_SBo.tgz
-libtasn1-2.2-x86_64-1_SBo.tgz
-libimobiledevice-1.0.2-x86_64-1_SBo.tgz
-usbmuxd-1.0.4-x86_64-1_SBo.tgz

Next I made a dir to mount in in : mkdir /home/rich/iLV

Here is what I could do:
ifuse /home/rich/iLV (mount the iPhone in my case)
ideviceinfo (look at info)
idevicesyslog (watch transactions)

Then ran amarok:
-can see music if you use /home/rich/iLV as local directory


This about as far as I got
 
1 members found this post helpful.
Old 09-02-2010, 10:00 PM   #13
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Success!!!!

GOT IT!!!! Kinda. I'm listening to my iPhone and it even seems as though I can drag and drop files, create new files, etc on the iPhone, which I wasn't able to with iTunes if I remember correctly. Remember this is a standard iPhone, running some version of OS3, not having a machine to run iTunes I haven't updated the OS since picture messaging was released. In other words, not jailbroken.

It's kind of touchy, doesn't work perfectly everytime, but I noticed I get similar behavior in Ubuntu so we'll see.

These are the steps in abridged format, they may not all be necessary:

I went to SBo and searched for "ipod" and installed all the packages that came up as well as their dependencies. I wish I could give an exact accounting, but I had to clean out /tmp and my sbopkg queue went with it.

gtkpod
usbmuxd
libplist
ifuse
libimobiledevice
libtasn1

that seems to be all of them.

I updated libgpod to 0.7.94 by downloading the source and using the standard slackbuild from my favorite mirror.

EDIT: I also rebuilt rhythmbox (the only media player I've tried thus far) using the GSB slackbuild.

After all of that I rebuilt gvfs, I have GSB installed so I used their slackbuild for that.

I plugged in the phone a few times and it was seen then lost several times, but finally it "just worked" I'll play with it some to see what happens, but for now at least, I'm able to at least access it. I haven't tried to sync it yet.

Last edited by damgar; 09-02-2010 at 10:20 PM. Reason: Forgot about rebuilding rhythmbox
 
Old 09-03-2010, 12:22 AM   #14
damgar
Senior Member
 
Registered: Sep 2009
Location: dallas, tx
Distribution: Slackware - current multilib/gsb Arch
Posts: 1,949
Blog Entries: 8

Original Poster
Rep: Reputation: 201Reputation: 201Reputation: 201
Quote:
Originally Posted by D1ver View Post
I don't really know much about the topic but I did notice when I was compiling kernel 2.6.35 the option to build Iphone support. Maybe this is required for what your trying to do..?

My old Ipod mounts and can be manipulated with Amarok, but I've never dealt with the new i-devices.
I didn't notice this when building my kernel. Where did you see it at?
 
  


Reply

Tags
iphone, ipod, slackware


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Confirmed: Ubuntu 10.04 Supports iPhone / iPod Touch Out Of The Box LXer Syndicated Linux News 0 02-27-2010 05:50 PM
LXer: Reviews Of iPhone/iPod Synchronizing Applications For Linux LXer Syndicated Linux News 0 02-08-2010 11:41 PM
LXer: Ubuntu Linux and Your iPhone / iPod Touch LXer Syndicated Linux News 0 01-09-2010 07:11 PM
LXer: Ubuntu Linux and Your iPhone / iPod Touch LXer Syndicated Linux News 2 01-09-2010 01:46 PM


All times are GMT -5. The time now is 08:33 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration