Linux - Laptop and NetbookHaving a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).
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.
The thing I installed was a non-graphical, command line thing; could have tried installing the corresponding graphical thing but am a bit hair shirt. (After all you have to be root - at least with my version - and it is wrong to be root inside X; at least this used to be the case - for security reasons.)
You could try that - a command line version.
Don't want to be irritating but on my Debian thing you'd just try: 'apt-get install motif'. At which point it'd call me a pervert and tell me to f-off.:-)
That's what I'm trying to install as well. I'm just doing from a CLI in X. And since I happen to be there I use YaST to check for the motif package as well. May jump into a lower runlevel and try just CLI work on it. Try that way. Not that it exactly takes a long time to reboot. Just a hastle to do so.
Sorry - don't really understand. Thought motif was the sort of graphical toolkit for X, so why would the command line version of hotswap need it?
Is it possible the program just wants to ask some questions, though it didn't ask me any, and needs to put up some sort of display in X? So that motif is not used by hotswap but just the configure program? If so ctrl-alt-F1 or F2 or whatever, then run configure, should solve the problem?? Incidentally maybe don't have to be root to use hotswap, perhaps could do:
configure: error: This program requires Motif.
configure: error: /bin/sh './configure' failed for motif-frontend
flat4:/home/nd4spd/tmp/hotswap-0.4.0 #
---
To compile from sources you need headers (so that the program being compiled can use functions in these libraries). Most likely they are, in this case, named like this:
I'm running Slackware 10.1 (2.4.29-bareacpi) on both my desktop and Compaq Armada E500 laptop. On the laptop, I can hot swap the DVD-ROM and CD burner -- as long as the device is *not* mounted -- without any problems. I found this out for certain when I copied files from DVD to CD for a friend. I wasn't sure it would work before I did it, but I decided to try it anyway.
I've tried to do it that way too. When I put the CD/DVD drive in, it's ok if I mount it. Taking it out, however, is another story. It doesn't like to unmount fully or something when I tell it to.
Been trying to get openmotif to work and add the devel version to it as well. So far it's not working. Missing dependencies and all. Slowly but surly I'm getting there (I think ... )
Oh, and regardless of whether or not I'm in X, it still bombs out on the motif-frontend error.
I can't even remember where I found this version of hotswap. I just looked in the original tarball and it is a GUI version. Will go snag a non-gui version and recompile.
... month and a 1/2 later ... lol
Thanks for pointing out my obvious overlooking simple things. You'd get the impression I'd never used a computer before, let alone linux. Sheesh!
I was able to use the tarball I had and with some careful ./configure options was able to get it working. I hotswapped in my IDE CD/DVD burner then back out and replaced with the battery, all without a kernel panic.
I'd say this one can be marked fixed & done. (about bloody time)
Thanks for all the assistance & guidence, lugoteehalt. Much appreciated.
Code:
For people looking to this thread later and wondering,
just how Nd4Spd was able to pull this off using: hotswap-0.4.0.tar.gz
Unpack into a tmp directory
run:
#>./configure --disable-motif-frontend
{or if you want to compile without kde}
--disable-kde-frontend
Then continue on with your usual make && make install
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.