SlackwareThis Forum is for the discussion of Slackware 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.
Recently, I installed Slackware 11, and then found 2 problems.
1. It doesn't detect my USB devices (external HD,memory card reader,etc)
2. Every time I try to shutdown, it always stuck at 'Power down',
unless I hit the power button.
Why do you say "It doesn't detect my USB devices (external HD,memory card reader,etc)"? How are you trying to detect them? Sorry, but you have one post and we have no clue as to your Linux knowledge.
From a terminal/konsole as root type "lsusb" and post the output here.
To make the computer turn off, you need some form of power management. The easiest thing to do is open a terminal, login as root, and in the file "/etc/rc.d/rc.modules" uncomment (remove the # in front of)
Code:
#/sbin/modprobe apm
If you're not familiar with Linux, use pico to edit that file; as it's more intuitive than other editors. Once you are logged in as root type "pico /etc/rc.d/rc.modules" without the quotes and then instructions are at the bottom of the screen.
Next you will need to edit "/etc/lilo.conf" and add
Code:
append ="apm=power-off"
after the line which reads
Code:
# Start LILO global section
After making changes to /etc/lilo.conf you must run "lilo" as root to write the changes.
If your using a kernel with ACPI you may need to add acpi=noirq to lilo.conf. If you get a lot of stuff about conflicting IRQs and an error on shutdown this might be your problem.
Why do you say "It doesn't detect my USB devices (external HD,memory card reader,etc)"? How are you trying to detect them? Sorry, but you have one post and we have no clue as to your Linux knowledge.
From a terminal/konsole as root type "lsusb" and post the output here.
To make the computer turn off, you need some form of power management. The easiest thing to do is open a terminal, login as root, and in the file "/etc/rc.d/rc.modules" uncomment (remove the # in front of)
Code:
#/sbin/modprobe apm
If you're not familiar with Linux, use pico to edit that file; as it's more intuitive than other editors. Once you are logged in as root type "pico /etc/rc.d/rc.modules" without the quotes and then instructions are at the bottom of the screen.
Next you will need to edit "/etc/lilo.conf" and add
Code:
append ="apm=power-off"
after the line which reads
Code:
# Start LILO global section
After making changes to /etc/lilo.conf you must run "lilo" as root to write the changes.
Sorry, I mean automounting.
I don't see something new at /dev/mnt
When it says power down, thats when you hit the power button. there is a way to make it shut down auto, but that requires editing a config file somewhere........... ?????
When it says power down, thats when you hit the power button. there is a way to make it shut down auto, but that requires editing a config file somewhere........... ?????
Sorry, I mean automounting.
I don't see something new at /dev/mnt
Slackware by default does not do automounting. You have to recompile
the kernel, etc. for that. I am able to plug in a USB device and have
Konqueror mount it and open it's location simply by clicking on the
Removable Device icon under Storage Media, but that is not the same as
automounting.
Until you figure out automounting, you can put this in /etc/fstab:
(substitute /dev/sdb1 and /dev/sdc1 for your first two devices)
for your USB devices. You also need to create the /usb1 and /usb2 mount
points, then change the owner to your normal user by issuing:
Code:
chown mingdao.users /usb1
(substitute your username for mingdao)
and change the permissions to your liking. I use:
Code:
chmod 757 /usb1
because I'm the only one using this box, and I want full read/write
perms on my devices.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.