LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 11-10-2008, 01:05 PM   #1
smoldah
LQ Newbie
 
Registered: Nov 2008
Location: foz - Brazil
Distribution: slack 12.1
Posts: 6

Rep: Reputation: 0
ipodtouch + slack 12.1


Hello guys.. ive got an ipodtouch and can some1 here help me out how to mount it?

when i plug it into USB i cant mount it cuz at dmesg it appears this:
Quote:
usb 1-1: new high speed USB device using ehci_hcd and address 7
usb 1-1: configuration #1 chosen from 3 choices
it doesnt appear as sda or sdb or something like.
just these 2 lines..
then i've read in some forum ppl said that when the ehci_hcd appears i should do modprobe ehci_hcd. but after typing this command this is what appears in my dmesg:

Quote:
sysfs: duplicate filename 'ehci_hcd' can not be created
WARNING: at fs/sysfs/dir.c:424 sysfs_add_one()
Pid: 3969, comm: modprobe Tainted: P 2.6.24.5-smp #2
[<c01b8eff>] sysfs_add_one+0x9f/0xe0
[<c01b9438>] create_dir+0x48/0x90
[<c01b94a9>] sysfs_create_dir+0x29/0x50
[<c039397f>] kobject_get+0xf/0x20
[<c0393e43>] kobject_add+0x93/0x1b0
[<c0119a7f>] module_finalize+0x11f/0x140
[<c014a154>] mod_sysfs_setup+0x24/0xb0
[<c014b657>] sys_init_module+0x12b7/0x18c0
[<c05d6bb0>] usb_root_hub_lost_power+0x0/0x40
[<c01784d0>] do_sync_read+0x0/0x120
[<c0104336>] syscall_call+0x7/0xb
=======================
kobject_add failed for ehci_hcd with -EEXIST, don't try to register things with the same name in the same directory.
Pid: 3969, comm: modprobe Tainted: P 2.6.24.5-smp #2
[<c0393ec3>] kobject_add+0x113/0x1b0
[<c0119a7f>] module_finalize+0x11f/0x140
[<c014a154>] mod_sysfs_setup+0x24/0xb0
[<c014b657>] sys_init_module+0x12b7/0x18c0
[<c05d6bb0>] usb_root_hub_lost_power+0x0/0x40
[<c01784d0>] do_sync_read+0x0/0x120
[<c0104336>] syscall_call+0x7/0xb
=======================
so how can i solve this problem? i need to mount it so i could be able to sync it with amarok or gtkpod or whatever program. but the first step is to mount it.
aah and b4 making this thread i've been searching everywhere in this forum about slack+ipodtouch but havent found anything like

thx
 
Old 11-10-2008, 01:33 PM   #2
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
It's not going to show up as a usb mass storage device. apple used an encrypted filesystem for these and even if you are using itunes on mac or windows you can't use it like a usb harddisk the way you could with other ipods. this doesn't mean that it can't work with linux. I have an ipod touch working with gtkpod. it syncs over wifi so I don't even have to plug it in. First off you must jailbreak your ipod! this is the only way to make it work with linux and also offers so many other added benefits. then after it's jailbroken and running sshd with a static IP address (yes that is important) then you mount it over wifi with ssh and fuse and can use it with gtkpod just like any other mounted iPod. I've got everything working except photos, I can't seem to get those working, but everything else works great (including album art) It's a bit of a complicated setup and took me a while to get working but I can walk you through it if you'd like.
 
Old 11-10-2008, 01:43 PM   #3
smoldah
LQ Newbie
 
Registered: Nov 2008
Location: foz - Brazil
Distribution: slack 12.1
Posts: 6

Original Poster
Rep: Reputation: 0
ooooooh..

my ipodtouch is already jailbroken.. and i can access it using ssh. (of course sshd is running and it has a static ip)
but i've read several posts about using wi-fi sync+gtkpod like what u do, but most of people said that the transfer is pretty slow. is that true?

and can u tell me how can i mount it over wifi with ssh+fuse? or do u have any url explaining howto do it?



btw, thx for reply

Last edited by smoldah; 11-10-2008 at 01:53 PM.
 
Old 11-10-2008, 04:40 PM   #4
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Doesn't seem any slower then my other iPods that use usb. and afaik there isn't another way to do it. can you log into your ipod as root without a password? like:
Code:
ssh root@10.0.0.3
once this is set up there are some scripts in a package called 'ipod-convenience' that will take care of the mounting / unmounting with fuse. It is most important that the first time you run 'ipod-touch-mount' that the ipod is plugged in. the script reads some info from lsusb and puts it on the ipod so that album art works. if it's not plugged in the first time album art won't work.
 
Old 11-10-2008, 04:52 PM   #5
smoldah
LQ Newbie
 
Registered: Nov 2008
Location: foz - Brazil
Distribution: slack 12.1
Posts: 6

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by johnson_steve View Post
Doesn't seem any slower then my other iPods that use usb. and afaik there isn't another way to do it. can you log into your ipod as root without a password? like:
Code:
ssh root@10.0.0.3
once this is set up there are some scripts in a package called 'ipod-convenience' that will take care of the mounting / unmounting with fuse. It is most important that the first time you run 'ipod-touch-mount' that the ipod is plugged in. the script reads some info from lsusb and puts it on the ipod so that album art works. if it's not plugged in the first time album art won't work.
yea thats what im trying to find. i've made some changes in my ipodtouch.
first of all is to make it Passwordless login. generating a ssh-keygen without pass then copy it into my ipod.
after it, ive tested ssh root@192.168.0.3 and it logged in without asking passwd.
imho second step is to install sshfs right? i have downloaded sshfs 2.2 and installed it.
next step: sshfs root@192.168.0.23:/var/root /mnt/ipod // right?
i cant mount using the command above. it says:
Quote:
fuse: mountpoint is not empty
fuse: if you are sure this is safe, use the 'nonempty' mount option
but if i use this command: sshfs -o nonempty root@192.168.0.23:/var/root /mnt/ipod // success :O

and inside /mnt/ipod what i got is:
Library Media Photos iTunes_Control


right?
but i cant sync it with gtkpod i got this error:
Quote:
Error initialising iPod: Couldn't find the iPod firewire ID


btw i cant find ipod-convenience in *.tgz :/

thx
 
Old 11-10-2008, 05:18 PM   #6
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
OK, the not empty thing means that there is something in the mount point just make sure your ipod isn't mounted and
Code:
rm -rf /mnt/iPod/*
the 'iPod firewire ID' is the bit of information from lsusb I was talking about. the scripts in the 'ipod-convenience' package which was iirc hard to find as anything but an ubuntu package. I have the 'ipod-convenience_0.9.orig.tar.gz' I can email it to you if you'd like. the instructions inside should help you sort it out.
 
Old 11-10-2008, 05:44 PM   #7
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
File sent.
 
Old 11-11-2008, 07:23 AM   #8
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,901

Rep: Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024
This is why I don't buy Apple products. Would it really have hurt them to have these devices show up as a usb drive, make them more compatible with everything and allow their customers the convenience to drag/drop mp3s to the damn thing like 'lesser' mp3 players do? Oh, and would it really hurt them to support ogg and flac?

Sorry, couldn't resist ranting. This stuff really annoys me as I'd love to buy a ipod touch if it wasn't for this nonsense. Still, it won't be long before some less restrictive copycat devices show up on the market.
 
Old 11-11-2008, 10:16 AM   #9
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Well one one hand they are forced to use drm to comply with their vendors and the record companies, on the other hand I have a beautiful little 1/4" thick touchscreen unix handheld with bash, tcpdump and lots of other goodies. Other then the photos every feature works better with linux then it did with my mac. so they had to close it up but it runs unix and they didn't exactly make it that difficult to get root access to the thing and do what ever you want with it.
 
Old 11-11-2008, 10:16 PM   #10
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
Quote:
Would it really have hurt them to have these devices show up as a usb drive, make them more compatible with everything and allow their customers the convenience to drag/drop mp3s to the damn thing like 'lesser' mp3 players do?
Yes actually, it would have.

The main advantage of the iPod is it's database. On "lesser" players, as you put it, playback is generally just sequential or random though the files as they appear on the device (best case, it might allow you to play whole directories).

The iPod's database allows for much more robust playback options. For example, you could want to listen to all albums by a single artist, or all albums of a specific genre or year of release. This simply isn't possible on a player that doesn't keep a database of ID3 tag information.

Apple could have designed the iPod to create it's own database when you put new songs onto it (and indeed, there are players from other manufacturers that do this), but then you have to wait for the relatively slow CPU in the player to go through all the songs and create the database, rather than have the much more powerful computer blow through it in 2 seconds.

I have an older Creative player that generates it's own database, and if there is enough music on there I have had to wait 2 to 3 minutes after I powered it on for it to generate the database before I could actually play any music. It doesn't sound like a lot, but if you add music often and have to sit through that "Updating Database..." dialog every time you turn it on, you will get sick of it real quick.
 
Old 11-12-2008, 11:34 AM   #11
GazL
LQ Veteran
 
Registered: May 2008
Posts: 6,901

Rep: Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024Reputation: 5024
Quote:
Originally Posted by MS3FGX View Post
Apple could have designed the iPod to create it's own database when you put new songs onto it (and indeed, there are players from other manufacturers that do this), but then you have to wait for the relatively slow CPU in the player to go through all the songs and create the database, rather than have the much more powerful computer blow through it in 2 seconds.
That's a fair point, though having the index creation offloaded to a more powerful host doesn't necessarily mean the device has to be so closed off. I know there are some 3rd party ipod 'loader' programs out there, but they've all been reverse engineered and on occasion Apple has been known to change the encryption keys in new ipod revisions which break them.

The simple fact is that Apple Inc. like to keep everything locked up tight. Perhaps if they provided a iTunes version for Linux, I might look more kindly on them, though i don't really like iTunes. It's way to bloated.
 
Old 11-18-2008, 11:27 AM   #12
Cuetzpallin
Member
 
Registered: Feb 2008
Location: Monterrey, MX
Distribution: Slackware since 3.4 and love it!!!
Posts: 164

Rep: Reputation: 31
As I can see, there is no way to make it work with linux as in the M$ OS?
I mean, drag and drop music, videos and photos like a charm?
I need to use a lot of software for different stuff?
 
Old 11-18-2008, 12:28 PM   #13
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
I am not sure what you are referring too. You need software to interface with the iPod on every platform; there is no drag and drop with an iPod.
 
Old 11-18-2008, 06:22 PM   #14
johnson_steve
Senior Member
 
Registered: Apr 2005
Location: BrewCity, USA (Milwaukee, WI)
Distribution: Xubuntu 9.10, Gentoo 2.6.27 (AMD64), Darwin 9.0.0 (arm)
Posts: 1,152

Rep: Reputation: 46
Quote:
Originally Posted by MS3FGX View Post
I am not sure what you are referring too. You need software to interface with the iPod on every platform; there is no drag and drop with an iPod.
Yep no drag and drop even on OSX you need to use iTunes to put stuff on any ipod. I've had this ipod working with iTunes on OSX and Gtkpod on linux and the results are about the same. I can't seem to update the photos from gtkpod they seam to work but then they aren't on the ipod, but I can add songs to my iPod even if I forgot it in the car which you cannot do with an apple or PC.
 
Old 11-19-2008, 11:32 AM   #15
Cuetzpallin
Member
 
Registered: Feb 2008
Location: Monterrey, MX
Distribution: Slackware since 3.4 and love it!!!
Posts: 164

Rep: Reputation: 31
Quote:
Originally Posted by johnson_steve View Post
Yep no drag and drop even on OSX you need to use iTunes to put stuff on any ipod. I've had this ipod working with iTunes on OSX and Gtkpod on linux and the results are about the same. I can't seem to update the photos from gtkpod they seam to work but then they aren't on the ipod, but I can add songs to my iPod even if I forgot it in the car which you cannot do with an apple or PC.
How do you do that? I mean, add songs to an Ipod on your car? hehe just curious.

And talking about gtkpod, it is possible to add movies and photos to an Ipod? or what other software do you use?
 
  


Reply



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
slack 12 is sluggish on a machine that runs slack 11 and earlier perfectly... detpenguin Slackware 10 03-05-2008 09:32 PM
Please recommend Slack-based & Slack-compatible distros. brjoon1021 Slackware 19 11-04-2007 03:14 PM
Slack 10.2 slack 10.2 ran xserver after all on sata with via board devafree LinuxQuestions.org Member Success Stories 5 05-30-2006 11:54 PM
Frozen-Bubble(from slack 8.2) Not Running in slack 9 bongski55 Slackware 8 01-02-2006 04:10 PM
cd rom error on installation media (With both slack 9,1 and slack 10) busbarn Slackware - Installation 6 07-15-2004 03:03 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:09 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
Open Source Consulting | Domain Registration