You are not logged in.

#1 2005-11-24 18:25:43

GogglesGuy
Member
From: Rocket City
Registered: 2005-03-29
Posts: 610
Website

hotplug,hwdetect,shd.....

I know Free Software is about choice, but what is the prefered choice for ArchLinux right now?

Offline

#2 2005-11-24 18:40:59

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: hotplug,hwdetect,shd.....

hwdetect

Offline

#3 2005-11-24 23:35:39

matsche
Member
From: .at
Registered: 2004-04-27
Posts: 120

Re: hotplug,hwdetect,shd.....

hwdetect


THX!!
cu matsche

Offline

#4 2005-11-25 00:27:25

s0lar
Member
Registered: 2005-05-19
Posts: 56

Re: hotplug,hwdetect,shd.....

I use lshwd, it is fast enough for me and does what it needs to do.

Offline

#5 2005-11-25 00:37:15

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: hotplug,hwdetect,shd.....

hwdetect is faster.

Offline

#6 2005-11-25 01:17:40

khazdar
Member
From: ohio
Registered: 2003-11-06
Posts: 123

Re: hotplug,hwdetect,shd.....

what about setting your modules array manually in rc.conf?
Am I going to have to comment out the sys.init script after every update?

Offline

#7 2005-11-25 01:45:23

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: hotplug,hwdetect,shd.....

khazdar wrote:

what about setting your modules array manually in rc.conf?
Am I going to have to comment out the sys.init script after every update?

hwdetect doesn't stop your modules from loading. It only autodetects your hardware and attemps to load the proper modules.
If you don't want to use, set MOD_AUTOLOAD="no".

Offline

#8 2005-11-27 10:05:36

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,294
Website

Re: hotplug,hwdetect,shd.....

Penguin wrote:

If you don't want to use, set MOD_AUTOLOAD="no".

Why "no" is not set as default? As per the Arch Way, user is suppose to know/learn what are loaded. Auto load for new users and fresh installs, does the opposit. Moreover, hwdetect doesn't work for all custom kernels. In my case, sytem hung up at booting and I had to config rc.conf through my rescue partition.


Markku

Offline

#9 2005-11-27 12:39:40

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,324

Re: hotplug,hwdetect,shd.....

what didn't work on your system?
please be more precise, hotplug was enabled by default now hwdetect does the job so please tell me the problem that i can fix it.
there was always autodetection in Arch hwdetect is the successor.
thanks
greetings
tpowa
EDIT:
It's easy to go in rescue mode with arch kernel, just enter "load_modules=off init s" on grub/lilo boot.

Offline

#10 2005-11-28 09:33:03

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,294
Website

Re: hotplug,hwdetect,shd.....

tpowa wrote:

what didn't work on your system?
please be more precise, hotplug was enabled by default now hwdetect does the job so please tell me the problem that i can fix it.

Having hotplug enabled was not proper. I didn't complain when no direct harm. wink

Currently I am not using my machine (login problem, did a post about it), but it was hanging up when could not find something. Did the same before and I posted the result in the other forum. If I am correct, now its something different what cannot be found. I let you know later.


Markku

Offline

#11 2005-11-29 22:37:46

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,294
Website

Re: hotplug,hwdetect,shd.....

rasat wrote:

Moreover, hwdetect doesn't work for all custom kernels.

Thanks tpowa for the upgrade letting user know hwdetect requires kernel 2.6.12 and above.


Markku

Offline

#12 2005-11-30 06:51:25

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,324

Re: hotplug,hwdetect,shd.....

no problem, i think we got you all now, custom kernel users wink

Offline

#13 2005-12-01 15:08:30

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: hotplug,hwdetect,shd.....

rasat wrote:
Penguin wrote:

If you don't want to use, set MOD_AUTOLOAD="no".

Why "no" is not set as default?

Actually, hwdetect is disabled unless you set MOD_AUTOLOAD="yes" - so if you upgrade your system and don't update your rc.conf, hwdetect will be disabled.

Offline

#14 2005-12-02 05:08:41

rasat
Forum Fellow
From: Finland, working in Romania
Registered: 2002-12-27
Posts: 2,294
Website

Re: hotplug,hwdetect,shd.....

I understand your point. The default what I am here speaking about is the setting in initscript package. If you take a look, in rc.conf it says:

#
# Scan hardware and load required modules at bootup
MOD_AUTOLOAD="yes"


Markku

Offline

#15 2005-12-02 08:43:36

nagoola
Member
From: Germany / Ahrensburg
Registered: 2004-03-15
Posts: 52

Re: hotplug,hwdetect,shd.....

So just because I dont really know the differences: Why is nobody using the good ol' hotplug?

Offline

#16 2005-12-02 09:00:21

Snowman
Developer/Forum Fellow
From: Montreal, Canada
Registered: 2004-08-20
Posts: 5,212

Re: hotplug,hwdetect,shd.....

nagoola wrote:

So just because I dont really know the differences: Why is nobody using the good ol' hotplug?

That's because hotplug is quite slow.  hwdetect loads the modules much faster (as fast as if they were explicitely listed in the MODULES array). Therefore, your system will boot faster. yikes

Offline

#17 2005-12-02 12:29:09

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: hotplug,hwdetect,shd.....

nagoola wrote:

So just because I dont really know the differences: Why is nobody using the good ol' hotplug?

Because its slow as hell. Hwdetect and lshwd (hwd in daemons) do the same thing but much faster.

hotplug = grab a snickers bar
hwd, hwdetect = hold on to your seat

Offline

#18 2005-12-04 17:31:41

Snarkout
Member
Registered: 2005-11-13
Posts: 542

Re: hotplug,hwdetect,shd.....

So, where's a good place for me to read about the differences between hwd (which I'm using now) and hwdetect (assuming this is actually something new and different.  Judd's Blog entry certainly led me to believe it is).  I was simply blown away by hwd, FWIW.


Unthinking respect for authority is the greatest enemy of truth.
-Albert Einstein

Offline

#19 2005-12-04 18:00:35

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: hotplug,hwdetect,shd.....

hwdetect detects everything that hotplug does and more. HWD sees about half that stuff.

Offline

#20 2005-12-04 18:57:39

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,213

Re: hotplug,hwdetect,shd.....

In my (short) experience with Arch, hwd sees more than hotplug, and hwdetect sees more than hwd.


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#21 2005-12-04 19:45:44

tpowa
Developer
From: Lauingen , Germany
Registered: 2004-04-05
Posts: 2,324

Re: hotplug,hwdetect,shd.....

new udev-076-4 will kill hotplug and pcmcia-cs because now is everything done by udev and hwdetect.

Offline

#22 2005-12-04 21:00:27

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: hotplug,hwdetect,shd.....

Really? :shock: Hotplug is out? Finally?

Kick ass! :twisted:  :twisted:  :twisted:

Offline

#23 2005-12-05 04:29:02

MartinZ
Member
From: Chiloé, Chile
Registered: 2005-06-10
Posts: 379

Re: hotplug,hwdetect,shd.....

Cool!! I always hated hotplug, but couln't kick it away from my system.

In the last upgrade i got this:

:: udev conflicts with hotplug. Remove hotplug? [Y/n]

I was very, very happy to see how pacman removed this thing...     :twisted:


All your base are belong to us

Offline

#24 2005-12-05 10:14:19

brain0
Developer
From: Aachen - Germany
Registered: 2005-01-03
Posts: 1,382

Re: hotplug,hwdetect,shd.....

tpowa wrote:

new udev-076-4 will kill hotplug and pcmcia-cs because now is everything done by udev and hwdetect.

Installed it yesterday on my laptop, looks very nice smile

Question: pcmciautils still puts some files into /etc/hotplug and /etc/pcmcia, are they really necessary?

Offline

#25 2005-12-05 13:32:08

iphitus
Forum Fellow
From: Melbourne, Australia
Registered: 2004-10-09
Posts: 4,927

Re: hotplug,hwdetect,shd.....

Hope firmware loading via hotplug isnt broken...

Offline

Board footer

Powered by FluxBB