DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Well im trying to get my iPod to work under debian, and it's not an easy thing. The only thing i've done is write this in the fstab:
/dev/sda2 /media/ipod vfat noauto,users,rw 0 0
when i mount /media/ipod i can cd in to it but gtkpod cant find it and i can't umount /media/ipod, I can onle eject it but then after that i can't remount it again
Could someone please help me? I think theres something i havent done.
Sorry did not work. But when i put the iPod in the docker it auto connects to the pc but don't mount, I have to type "mount /media/ipod" but when i unmount it the ipod icon on the desktop goes away but one the ipod screen it says "please don't disconnect"
Mine tells me that the device is busy sometimes as well. You might want to try: rmmod sbp2 before you disconnect. Then when you start it again, if you're in the same session, just 'modprobe sbp2' and you're set.
If you still can't see into it try mounting it to /mnt/ipod. That's where gtkpod looks for it by default.
If you keep having trouble with it and you're just itching to mess with you're iPod, try GNUpod. It runs from the command line but it's pretty straitforward. There's a Debian package called gnupod-tools that you can get through apt.
I couldn't get mine to work properly with gtkpod either so I've been using GNUpod and so far no problems.
Okay, I just got gtkpod to work on mine so I'll say what I did and maybe it will help.
After installing it, I had to 'apt-get install udev autofs hotplug' like leonscape said. As a matter of fact, I think that was what I was missing. I had hotplug already but udev and autofs weren't present and everything worked after I installed them.
My fstab is this: /dev/sda2 /mnt/ipod vfat noauto,user 0 0
So I 'mount /mnt/ipod' and then start gtkpod.
I'm using firewire so all the needed modules are there. When I disconnect, like stated above, I enter 'umount /mnt/ipod' and then 'rmmod sbp2'. After the 'rmmod sbp2' command, my iPod screen says it's okay to disconnect.
Obviously, I have sbp2 loaded at boot. If you don't have it set that way just 'modprobe sbp2' before you mount.
I hope this helps.
ipod and stuff is working great for me, but I have a question nevertheless:
After a while, using the iPod on debian, i started getting lazy and now I just do a umount /mnt/ipod and unplug it, without bothering su'ing to root and rmmod the sbp2.
Do you think this will somehow harm my system or the iPod, or ist the rmmod sbp2 only necessary if one is fond of the "ready to disconnect" picture appearing on the pod?
So far, my iPod works great...
I've read this, and I've wracked my brain (and wracked Google) and I still get no iPod showing up as connected to /dev/sd*. I am running SATA drives, and those show up already as /dev/sda & /dev/sdb -- so it follows that if the iPod were connected properly to the firewire cable, I would see a /dev/sdc (/dev/sdc1, /dev/sdc2, etc etc) -- right?
If I do an `lsmod | grep sbp2` and `dmesg` I get the following handy info:
Code:
# lsmod | grep sbp2
sbp2 24392 0
ieee1394 111512 3 eth1394,ohci1394,sbp2
scsi_mod 125228 5 sbp2,sr_mod,sd_mod,usb_storage,libata
# dmesg
ieee1394: Node added: ID:BUS[0-01:1023] GUID[000a2700025b6621]
ieee1394: The root node is not cycle master capable; selecting a new root node and resetting...
ohci1394: fw-host0: SelfID received outside of bus reset sequence
ieee1394: Node changed: 0-01:1023 -> 0-00:1023
ieee1394: Node changed: 0-00:1023 -> 0-01:1023
Am I missing a module? Do I need to apt-get anything else? I just want my FAT32 3G iPod to work via firewire with gtkpod! (And um, JHymn... maybe...)
did you run the rescan-scsi-bus script after plugin it in?
if you dont have it, google for it.
after running it I can see my iPod.
Now, hotplug runs the script for my everytime I plug or unplug the iPod. See also in the Readme of gtkpod, there is a section at the end about it.
I checked out the gtkpod readme, and I looked into the URL's it provided, like the FAQ section on linux1394.org, especially the part to do with hotplug. Most of these instructions seem to have info and tips for a 2.4.x kernel -- I am running Debian Sarge with kernel 2.6.8. Supposedly, I shouldn't have to do anything to get hotplug & sbp2 to work properly? What am I missing? My dmesg shows that my machine clearly notices something going on when I plug the iPod in, but it doesn't recognize it properly.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.