Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with 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.
i plugged my ipod in, after doing so many times on other machines i naturally type
Code:
mount /dev/sda2 /media/ipod
but this time,
Code:
tjones:~ # mount /dev/sda2 /media/ipod
mount: special device /dev/sda2 does not exist
so i did the following to clearly see that it recognizes that it is plugged in:
Code:
tjones:~ # lsusb
Bus 002 Device 002: ID 046d:c03e Logitech, Inc. Premium Optical Wheel Mouse
Bus 002 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
Bus 001 Device 005: ID 05ac:1209 Apple Computer, Inc.
Bus 001 Device 001: ID 0000:0000
Then i found this, but i could not mount the device:
Code:
tjones:~ # cd /dev/bus/usb/001/; ls -l
total 0
crw-r--r-- 1 root root 189, 0 2007-04-20 10:43 001
crw-r--r-- 1 root root 189, 4 2007-05-11 12:26 005
tjones:/dev/bus/usb/001 # mount 005 /media/ipod
mount: 005 is not a block device
it's a 5th gen ipod and i'm running on kernel 2.6.18.2-34-default on opensuse 10.2
The output of dmesg or udevmonitor should tell you what /dev device entry gets created when you plug it in. 'cat /proc/partitions' will list all the block devices available on your system.
Do I understand correctly that you have a problem viewing the content of your iPod in amarok?
What do you have in /media/ipod/iPod_Control/iTunes ?
Do this:
then move this file somewhere and try to see content of your ipod again with amarok or banshee or whatever media player you are using. This should enable your ipod for viewing in amarok (at least worked for me). After this another iTunesLock file is created automatically by media player so check for it and if it's been created and ipod is working fine - then go to where you moved your old iTunesLock file and delete it permanently. I believe this zero-byte file is created by every program using the ipod to disable viewing or editing content by another media player.
Sorry if I misunderstood your question. Good luck.
Vlad
No, no. not getting it to work in amarok, getting it to work period. For some reason it doesn't work like the other times it has worked as sda (scsi disk?) am i missing some drivers for it?
if you are running a relatively new kernel, try this:
navigate to /dev/disk/
type ls.
you will notice four folders,
by-id; by-label; by-path; by-uuid
These are devices plugged into your computer identified by more familiar means.
For instance, in iTunes in 'Doze I named my (now deceased, RIP) 4th gen iPod BEAN, and when I threw this:
Code:
/dev/disk/by-label/BEAN /mnt/ipod auto noauto,user,uid=1000 0 0
into my /etc/fstab, the iPod not only worked () great, but automounted as well.
Note you must have scsi support for this to work, and also check to make sure you have libipod.
Whoops! Sorry, I made a mistake. It's not dmesg that shows the device creation logging, it's /var/log/messages.
I personally prefer to use udevmonitor for this purpose anyway. Just run the program in a root terminal and it will show you what udev is doing in real-time. But both should show you if and what /dev entries are being created.
At first I would've suspected that you just had the wrong device, say sdb instead of sda. But if the messages output or /proc/partitions isn't showing anything, then there probably aren't any device entries being created at all, including the ones in /dev/disk that unknownmosquito suggested. Something seems to be keeping udev from doing it's job.
I think what we really need to know is more of the details behind the problem. What, if anything, did you change about your system before it stopped working? A distro upgrade, for example? Actually, it's not even clear from the previous posts whether this is a machine that used to work but stopped for some reason, or a completely new one.
Also try confirming that it's not a hardware problem. Just because the system can detect the device doesn't mean there aren't problems. Does the ipod mount on other systems? How about the cable? Try booting with a live distro and see if you can mount there.
Let's try narrowing it down a bit, in other words.
Thanks for all of the posts.
It has worked on this machine before, and then i had to reinstall the OS and i did a "smart upgrade" on it to get the latest packages. I know the cable works and it can mount on other machines.
Unfortunately the machine is my work machine and i won't be back until Wednesday to do further tests.
The ipod worked on this machine before the reinstallation of opensuse, but not after.
I will try a live distro, any suggestions with which one? Knoppix perhaps?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.