LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 07-28-2006, 01:42 PM   #1
rigelan
Member
 
Registered: Jul 2005
Location: Iowa
Distribution: Slackware
Posts: 172

Rep: Reputation: 19
udev / usb / hotplug


I've looked around, but haven't really found any straight answers.

In slackware 10.2 (Kernel 2.6.15 / udev 71 )(with minimal configuration changes), In order to boot using a USB mouse & a USB keyboard, does rc.hotplug AND/OR rc.udev have to be accessed?

Should I have one or the other? Must both be executable?

Second note: Using udev, isn't the /dev directory supposed to be less populated, only with the devices that are currently being used? Mine has way too many entries. (Actually, it has less entries, it just has way too many pty & tty entries)

Last edited by rigelan; 07-28-2006 at 01:44 PM.
 
Old 07-28-2006, 03:20 PM   #2
theoffset
Member
 
Registered: Aug 2005
Location: Guadalajara, Jal, Mexico
Distribution: Slackware Linux
Posts: 211

Rep: Reputation: 30
Quote:
Originally Posted by rigelan
I've looked around, but haven't really found any straight answers.

In slackware 10.2 (Kernel 2.6.15 / udev 71 )(with minimal configuration changes), In order to boot using a USB mouse & a USB keyboard, does rc.hotplug AND/OR rc.udev have to be accessed?

Should I have one or the other? Must both be executable?
Since you are using 2.6.15+ it's recommended to have them both installed AND executable. Just having rc.hotplug should probably work, but udev won't hurt.

Quote:
Second note: Using udev, isn't the /dev directory supposed to be less populated, only with the devices that are currently being used? Mine has way too many entries. (Actually, it has less entries, it just has way too many pty & tty entries)
There was a way to limit the number of pty/tty entries created by udev, but I can't seem to find it...
Anyway, these should not hurt you at all.
 
Old 07-28-2006, 03:38 PM   #3
Marsanghas
Member
 
Registered: Sep 2003
Location: Spijkenisse, Netherlands
Posts: 116

Rep: Reputation: 15
Quote:
Originally Posted by theoffset
There was a way to limit the number of pty/tty entries created by udev, but I can't seem to find it...
I think you have to switch off the udev devices tarball... That leaves just the devices you use IIRC. Don't have any idea anymore where to change that setting.
 
Old 07-28-2006, 03:41 PM   #4
Old_Fogie
Senior Member
 
Registered: Mar 2006
Distribution: SLACKWARE 4TW! =D
Posts: 1,515

Rep: Reputation: 62
rigelan:

I'm asking here with the intention of learning from your experience

I was just wondering if you can explain why you posted this question. Do you have a problem with USB mouse and USB keyboard detection in slackware 10.2? The reason that I ask this is because I have one pc that has USB keyboard and USB mouse and I guess I must be lucky because I never ran into an issue of this kind. Does that happen for you? Is this a possible issue that I might run into one day loading on a different pc with USB/mouse/key? Thank you.
 
Old 07-28-2006, 03:56 PM   #5
rigelan
Member
 
Registered: Jul 2005
Location: Iowa
Distribution: Slackware
Posts: 172

Original Poster
Rep: Reputation: 19
No, i never really ran into detection issues. I was more wondering because I heard rumors (this forum maybe) that say that udev is all you need. I tried taking off rc.hotplug, but had to lnx-bbc it and change it back. I thought maybe there was some magic way that you didn't need it.

I just kinda have this idea that the fewer things that are running, the better, so I was checking to see what is actually required.

Other than that, my system really does work fine.

Edit: It all just came from confusion. I knew that 2.6 used udev, but I hadn't had it executable. And as I was looking inside, rc.udev said that is wasn't needed, and rc.hotplug said stuff about running udev and this and that. I just needed some clarification.

And furthermore, my only large issue with USB keyboard was figuring out which script to run to enable it.

Last edited by rigelan; 07-28-2006 at 04:02 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
FC5 pcmcia udev/hotplug strangeness LearningCurve Fedora - Installation 2 07-03-2006 07:44 PM
hotplug, udev, and module loading shievelet Linux - General 1 06-06-2006 05:19 AM
udev, hotplug and kernel hussam Linux - General 2 02-18-2006 11:01 PM
udev+hotplug+2.6.6=questions shilo Slackware 4 05-31-2004 08:43 PM
[kernel 2.6.5] hotplug/udev and compact flash rapazp Linux - Laptop and Netbook 0 04-12-2004 03:03 PM


All times are GMT -5. The time now is 12:43 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration