Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
|
12-15-2006, 11:38 PM
|
#1
|
LQ Newbie
Registered: Dec 2006
Posts: 4
Rep:
|
Slack 11 : Doesn't detect USB devices & can't shutdown ??
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.
Any suggestion ?
Thanks in advance
|
|
|
12-16-2006, 03:40 AM
|
#2
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,817
|
You might try to install kernel 2.6.x
That will solve most of your problems with hardware detection and also ACPI problems
|
|
|
12-16-2006, 03:47 AM
|
#3
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
Welcome to LQ!
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.
|
|
|
12-16-2006, 08:52 PM
|
#4
|
Member
Registered: Mar 2005
Distribution: slackware 11, arch 2007.08
Posts: 154
Rep:
|
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.
|
|
|
12-17-2006, 04:54 AM
|
#5
|
LQ Newbie
Registered: Dec 2006
Posts: 4
Original Poster
Rep:
|
Quote:
Originally Posted by Bruce Hill
Welcome to LQ!
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
|
|
|
12-17-2006, 05:36 AM
|
#6
|
Member
Registered: Aug 2003
Posts: 834
Rep:
|
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........... ?????
|
|
|
12-17-2006, 05:40 AM
|
#7
|
LQ Addict
Registered: Jul 2003
Location: London, UK
Distribution: Slackware
Posts: 7,464
Rep:
|
Quote:
Originally Posted by M$ISBS
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........... ?????
|
See Bruce's post..
|
|
|
12-17-2006, 07:04 AM
|
#8
|
HCL Maintainer
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,941
Rep:
|
Originally posted by mnemonix
Quote:
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:
Code:
/dev/sdb1 /usb1 vfat noauto,users,rw,umask=1000 0 0
/dev/sdc1 /usb2 vfat noauto,users,rw,umask=1000 0 0
(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:
because I'm the only one using this box, and I want full read/write
perms on my devices.
This Quick and Dirty Guide to Linux File Permissions in LQ's Linux Tutorials is very good.
And afaik Slackware doesn't use /dev/mnt:
Code:
mingdao@silas:~$ mount /usb1
mingdao@silas:~$ ls -lh /dev/mnt
/bin/ls: /dev/mnt: No such file or directory
It doesn't on my boxen.
Last edited by Bruce Hill; 12-17-2006 at 07:07 AM.
|
|
|
All times are GMT -5. The time now is 11:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|