[SOLVED] Ubuntu 10.4 PowerPC install, cdrom drive not recognized after flawless install
Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
Ubuntu 10.4 PowerPC install, cdrom drive not recognized after flawless install
Hi, I just updated my daughter's ibook G4 1.25 GHz with 1.25 Gb ram from Mac os X 3.9 to Ubuntu 10.4 PowerPc. Install went flawlessly and revolutionized her dated machine : ). It was only afterward when we tried to download a cd of photos that we noticed the cdrom drive did not respond or show up on the desktop. After looking on the web for answers and talking to a couple friends, I found that this has been an issue for several versions of Ubuntu PPC. However, I cannot seem to find a permanent fix. Ubuntu forums said a temporary workaround was to use terminal and enter: sudo udisks --poll-for-media /dev/hdc (which is my cdrom drive). That worked once. I ejected the disk and put it right back in. It was not recognized after the first time (though it spun up and spun down), even with the "poll" command. It is supposed to work until I change drives or reboot etc. That was not the case. Anyway, I am looking for a permanent fix to try and get Ubuntu to recognize the cdrom (which is a superdrive, btw.). Cannot seem to find an answer to this.
Hi jdk,
Thanks for your response. Sorry to say that my daughter has taken her ibook ppc about 800 miles away. I cannot follow your advice. I guess I could walk her through it, but this is her very first Linux desktop and she has zero experience with terminal. I was looking for a solution so that when I go to visit her and her husband, I could perhaps, fix it. However, in response to your question: "Does Ubuntu know there's a cdrom drive?" No, that is the problem. It spins up and down, but does not appear on the desktop. Neither does it appear in the file manager. Using the terminal command: <sudo udisks --poll-for-media /dev/hdc>, I was able to get the cdrom to show up on the desktop "once." From the various forums I have looked at, it seems that this has been a known problem for quite some time. I am a bit puzzled as to why it has not been fixed or why a fix is not easy to come by. Any suggestions? sdgalbo
Ok, I guess she's out of luck then. I don't really understand what you're doing.
Quote:
It spins up and down, but does not appear on the desktop.
is hard to understand. You mean the CD drive makes noise? Are you sure the cd drive is /dev/hdc? That seems like a strange place for it. I'm used to /dev/sr0. I don't understand what "show up on the desktop" means or if it's important. I use my cd drive all the time and it never shows up on my desktop. Can you post a link to a forum that you think discusses the same problem?
ciao,
jdk
Hi again Jdk,
Thanks for your patience. Sorry to be obscure.
"Show up on the desktop" means this: When I place a cd or DVD in the cdrom drive, an icon ought to appear on the desktop (mount) so I can play it, use a file manager on it etc. But the cdrom is not recognized (mounted), so no icon appears on the desktop. Here is a link describing the problem from Ubuntu Wiki. It is called: PowerPCKnownissues. I am referencing the part called, "Ubuntu 10.04 Lucid Linux Cds / Dvds not recognized." Here is the link:
Secondly, when I do place a cd in the drive, the computer does "in some way" recognize it, because it physically begins spinning the disk drive. However, after a bit, it spins down and stops. But, no icon appears on the desktop.
Thirdly, concerning the designation for the cdrom drive. The person who wrote the above article used <hdb> to represent his / her device. <hdb> did not work for me. After a little unintelligent consideration, I tried the next letter up... "c" i.e., </dev/hdc> When I issued the command <udisks --poll-for-media /dev/hdc> the icon did appear on the desktop, and I was able to look at the cdrom contents (which was a cd full of photos). Problem was, it only worked once. After pulling the cd out, any other cds placed into the drive were not recognized. I tried reissuing the above <poll> command, but no icon appeared on the desktop.
If I can clarify anything else, please, just ask. I can still fix my daughter's computer, but it will be the middle of September before I see her again. Thanks much, sdgalbo
Ok, I have a functioning cdrom with no problems at all. When I insert a disk nothing appears on the desktop. I get a notification that a medium is present in that drive from my Device Notifier but nothing stays on my desktop. Clearly a PowerPC works quite differently. Since I have never used one, I am the worst person to offer any advice on the subject. Maybe someone who has a functioning drive on a powerpc can chime in.
Sorry,
jdk
It's an old machine with obsolete technology. I imagine not too many people are familiar with it nowadays. I appreciate your stopping by and giving me what you had. One more question. I was considering the nature of the temporary fix given in the Ubuntu forum i.e., the command: <udisks --poll-for-media /dev/hdc>. Could it be that there is a difference between recognizing the cdrom drive and recognizing that there is media IN the drive? The command "poll for media" seems to be saying the latter. Do you know of anything that can be done to make the operating system aware of whether or not there is a cd in the drive? If not, that's cool. Just an idea.
Yes, you're quite right. In my case the Device Notifier is aware that there's something in the CDrom. Not that it exists. Likewise when I plug something into a usb port the Device Notifier will tell me something is there as suggests things that I can do with it. As I mentioned before,
Code:
udisks --poll-for-media /dev/...
gives me absolutely no response.
Without a disk in the cdrom I get this
Actually, what you said above is quite helpful. I think what you are saying is that your cdrom info is found in folder sr0. Correct? I have seen sr0 as the cdrom info location on several other posts as well. I do not know enough about the file structure of linux to understand why the ubuntu forums listed dev/hdb (= my hdc). Might be the powerpc configuration. Actually, I got the same response to <udisks --poll-for-media /dev/hdc> as you did. Nothing actually showed up on the command line, though the icon showed up on the desktop and I was then able to access it (but only once). That leads me to believe that "something" can trigger the operating system to "see" the cd. But I don't have a clue where to look.
I think I'll get my daughter on the phone and walk her through your <udisks --show-info /dev/sr0> on terminal. I can have her cut and paste it to me via email. It may take me a day or two though. She and her husband are moving into a new apartment tomorrow.
Question: How does linux "know" there is media in the drive? Do you know the mechanism? Also, could this be a driver or firmware problem? Is there a line in your above info that could give me a clue?
thanks again, sdgalbo
Last edited by sdgalbo; 08-31-2011 at 09:21 PM.
Reason: misspelling
I think a found a solution. It doesn't get to the heart of the problem, but it should fix it. Found a post last night that says the problem exists in gnome and xfce, but not kde.
Post says: "This problem disappeared on my G4 PPC iMac when I installed Kubuntu, and set KDE as my default window manager. Under KDE CDs and DVDs mount as they should in multimedia applications and they show in the file browser. However if I switch back to Gnome or Xfce the problem remains.
Cheers"
With this info, at least I can easily fix my daughter's old ibook. Thanks much for your time and energy, jdk. Much appreciated.
I'm pleased to have been of service and well done you for having found the workaround. Please mark this thread as [solved] so that other may benefit from your work.
ciao,
jdk
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.