You are not logged in.

#26 2005-11-12 15:06:02

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

Re: Tpowa's "Simple Hardware Detection"

new version is in cvs, get it here, it adds more text to show modules.
http://cvs.archlinux.org/cgi-bin/viewcv … s/hwdetect

Offline

#27 2005-11-12 19:31:15

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

Re: Tpowa's "Simple Hardware Detection"

tpowa wrote:

rasat i mean to test you should try -show-modules

This option works fine. I also tested in a fresh Arch install with base packages only (latest updates), and works fine.

For my information, what generates the information in /sys? Its generated at bootup.


Markku

Offline

#28 2005-11-12 19:34:12

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

Re: Tpowa's "Simple Hardware Detection"

the kernel generates it, i think the pci drivers are doing this.

Offline

#29 2005-11-13 02:56:45

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

Re: Tpowa's "Simple Hardware Detection"

I thought also. In this case, it works only with the latest kernel(s). For the Arch CD installer, its ideal.

About the name "hwdetect", personally I feel its a bit misleading when not "detecting" but reads information what exist. Instead of "hwdetect" I would call it: "hwreader".


Markku

Offline

#30 2005-11-14 03:39:55

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Tpowa's "Simple Hardware Detection"

hwdetect says more to me than hwreader does....

Offline

#31 2005-11-14 14:20:17

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,899
Website

Re: Tpowa's "Simple Hardware Detection"

hwdetect is fine   wink


Mr Green

Offline

#32 2005-11-14 14:39:16

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

Re: Tpowa's "Simple Hardware Detection"

new files are here:
http://bugs.archlinux.org/task/3479

try and test and of course give feedback.

Offline

#33 2005-11-14 19:56:13

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

Entered the details for this feature from the initial BLOG info.

Reboot failed with no sound and no USB mouse.

The entry in /sbin:

status "Detecting Required Modules" /sbin/hwdetect-load-modules

The above entry is verbatim.

The boot-up listed....detecting required modules....fail.....

What is wrong with the feature?


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#34 2005-11-14 20:09:09

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Tpowa's "Simple Hardware Detection"

It's /sbin/hwdetect -load-modules i.e. with a space.

Offline

#35 2005-11-14 20:50:34

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

tomk;

The space you specify...is that a space after /sbin/hwdetect ?

The post is not that well printed to establish the locale of the space.. big_smile


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#36 2005-11-14 20:58:07

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

Re: Tpowa's "Simple Hardware Detection"

lilsirecho wrote:

tomk;

The space you specify...is that a space after /sbin/hwdetect ?

The post is not that well printed to establish the locale of the space.. big_smile

Yes. hwdetect is the name of the script.

Offline

#37 2005-11-14 21:09:45

lilsirecho
Veteran
Registered: 2003-10-24
Posts: 5,000

Re: Tpowa's "Simple Hardware Detection"

Penguin;

Thanks for the info.  That cured the problem.


Prediction...This year will be a very odd year!
Hard work does not kill people but why risk it: Charlie Mccarthy
A man is not complete until he is married..then..he is finished.
When ALL is lost, what can be found? Even bytes get lonely for a little bit!     X-ray confirms Iam spineless!

Offline

#38 2005-11-14 22:26:32

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Tpowa's "Simple Hardware Detection"

latest version is bombing out on me....
kernel oops...
APIC error cannot write (0xeee)

then freezes only fix is a hard reboot....
had to use a rescue disk and comment out hwdetect to boot..:(

odd thing is works fine from a term if already booted must be loading something in the wrong orded....
any idea's???

Offline

#39 2005-11-14 23:30:32

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

Re: Tpowa's "Simple Hardware Detection"

new hwdetect is available at the bugreport, now it detects PNP devices too, the hotplug trick is not needed anymore.
greetings
tpowa

Offline

#40 2005-11-15 13:34:34

baze
Member
Registered: 2005-10-30
Posts: 393

Re: Tpowa's "Simple Hardware Detection"

I'd like to know if hwd is a dependency for hwdetect...
because I updated initscripts today and used the new rc.conf which worked fine. Then I thought I wouldn't need hwd anymore and remove hwd, lshwd and ddcxinfo-arch (which was a dependency for hwd) and rebooted, but the system freezed when trying to load the modules.

I was lucky and had the hwd (and dependencies) package still in the cache so I could reinstall them by using the install disk, but now I wonder why hwdetect doesn't have hwd or something else like that as a dependency, since it seems it can't load the modules on its own

I hope you can understand what I'm trying to say wink

greets, baze

Offline

#41 2005-11-15 13:44:33

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

Re: Tpowa's "Simple Hardware Detection"

hey baze and mpie, would be nice to get your kernel logs when it hangs to see what modules cause the trouble,
send it to me per mail as .gz
thanks
greetings
tpowa

Offline

#42 2005-11-15 18:06:30

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Tpowa's "Simple Hardware Detection"

Using the latest version as per the feature request, everything that I would expect to load now loads. I still have to have evdev and rtc in rc.conf MODULES - evdev in particular, as xorg won't start without it. I also used to load snd_pcm_oss from rc.conf, but tbh, I don't think I need it anymore - at least, everything seems to be working without it.

Offline

#43 2005-11-15 18:20:44

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

Re: Tpowa's "Simple Hardware Detection"

evdev is supported by latest release, along with other PNP stuff
get it here:
http://bugs.archlinux.org/?getfile=416

EDIT:
rtc + pcspkr is also supported
pcm-oss modules are loaded via modprobe.conf

Offline

#44 2005-11-15 20:18:05

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Tpowa's "Simple Hardware Detection"

Cool. I'm getting evdev now alright, but still no rtc.

And thanks for the info re pcm_oss - I haven't updated modprobe.conf in ages.

Offline

#45 2005-11-15 20:46:34

mpie
Member
From: 404 Not found
Registered: 2005-03-06
Posts: 649

Re: Tpowa's "Simple Hardware Detection"

tpowa all is well again with the new version.... very nice

the same module that hangs hotplug... hw_random
it's used by intel agp controllers if you still want the log I will mail it..

Offline

#46 2005-11-15 20:51:52

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

Re: Tpowa's "Simple Hardware Detection"

Whoah... this hwdetect really works. And it's as fast as loading the modules manually. :shock: Awesome freakin' job, tpowa.

Offline

#47 2005-11-15 20:53:30

rpgcyco
Member
From: Australia
Registered: 2005-09-27
Posts: 74

Re: Tpowa's "Simple Hardware Detection"

Indeedly. It works for me [using the updated initscripts package], and it's very fast. Nice work. smile

- Rpg Cyco

Offline

#48 2005-11-15 22:52:43

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

Re: Tpowa's "Simple Hardware Detection"

Ahh, here's a problem: my machine has a working parallel port, so hwdetect ought to load parport-pc, but it's only loading parport. To get my printer working, I need to load parport-pc myself. Loading lp with parport, but not parport-pc, isn't enough - /dev/lp0 won't show up.

Offline

#49 2005-11-16 06:31:01

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

Re: Tpowa's "Simple Hardware Detection"

have you tried the latest hwdetcect?
i changed to modprobe -i in it that should solve this problem
and you should change your modprobe.conf to newest version, then lp is laoded automatically too if parport_pc is loaded.
greetigns
tpowa
EDIT:
It's available here:
http://bugs.archlinux.org/?getfile=416

Offline

#50 2005-11-16 09:51:51

lanrat
Member
From: Poland
Registered: 2003-10-28
Posts: 1,274

Re: Tpowa's "Simple Hardware Detection"

Very good job tpowa. I'm not using any kind of automatic module loading on boot but hwdetect (BTW don't change the name - it suits very well) is very helpful with customizing initrd config on my notebook.

Offline

Board footer

Powered by FluxBB