You are not logged in.

#51 2005-11-16 10:15:06

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

Re: Tpowa's "Simple Hardware Detection"

lanrat, next mkinitrd will have an option for using hwdetect for hostcontrollers and filesystems.
greetings
tpowa

Offline

#52 2005-11-16 11:52:32

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

Re: Tpowa's "Simple Hardware Detection"

Thanks, tpowa, I'll have to try that.

and you should change your modprobe.conf to newest version, then lp is laoded automatically too if parport_pc is loaded.

Already done, my system is up to date.

Offline

#53 2005-11-17 01:31:14

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

Re: Tpowa's "Simple Hardware Detection"

Ah, thanks, that worked.

(Damn, this script is cool.)

Offline

#54 2005-11-17 14:20:25

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

Re: Tpowa's "Simple Hardware Detection"

tpowa - I've upgraded to initscripts 0.7.1-6 from [testing], and I'm still not getting rtc loaded, as mentioned a few posts ago. Is it OK to put this here, or should I post it in Flyspray?

Offline

#55 2005-11-17 16:24:33

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

Re: Tpowa's "Simple Hardware Detection"

seems your rtc has an other hardware adress then on my pc's and hotplug,
i need the PNP address of it, search in /sys/bus/pnp/devices/ for the device with the right irq (it's in resources) then look at id and send this to me.
thanks
greetings
tpowa

Offline

#56 2005-11-17 18:02:15

desertViking
Member
From: Arizona
Registered: 2005-10-30
Posts: 170

Re: Tpowa's "Simple Hardware Detection"

Hi tpowa:

You replied to my newbie posting regarding lp printer.  I followed the advice there and upgraded the system to with the new init scripts and hwdetect.  I've been following this thread at the same time.

For some reason, my parallel port printer will not enable unless I have both parport and parport_pc.  I modified the new modprobe.conf file to added parport this way:

install parport modprobe -i parport; parport_pc modprobe -i parport_pc ; modprobe lp ; true 

And this loaded both modules.

Unfortunately, using either the modprobe.conf.pacnew or my modified version, lp doesn't get loaded.  I've only been able to load lp automatically by adding it to the module array in rc.conf.

Does this make any sense?

BTW, my system is booting in about half the time and hardware identification is generally more reliable with the new scripts.  Thx!


"In theory, there's no difference between theory and practice, but in practice there is."

Offline

#57 2005-11-17 18:38:28

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

Re: Tpowa's "Simple Hardware Detection"

install parport modprobe -i parport ;modprobe parport_pc; modprobe lp ; true
should be the right line for you

EDIT:
Please search your parport in /sys/bus/pnp/devices and provide me the id
thanks

Offline

#58 2005-11-17 21:03:44

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

Re: Tpowa's "Simple Hardware Detection"

tpowa wrote:

search in /sys/bus/pnp/devices

I don't have /sys/bus/pnp - rtc still works though, when loaded from rc.conf. It's a custom kernel, so I can live with it that way if necessary.

Offline

#59 2005-11-18 01:18:29

desertViking
Member
From: Arizona
Registered: 2005-10-30
Posts: 170

Re: Tpowa's "Simple Hardware Detection"

tpowa wrote:

EDIT:
Please search your parport in /sys/bus/pnp/devices and provide me the id
thanks

Hi tpowa,

I cannot find parport in /sys/bus/pnp/devices.  I can find parport_pc.  Its id is pnp0401.   This is what I see:i8042 aux  i8042 kbd  parport_pc  serial  systemAm I looking in the right place?

I changed modprobe.conf as suggested.  lp still does not load from that alone.  Perhaps it's related to the other issue.  "modprobe lp" from the command line, or add "lp" to the module array both seem to work.

Thx again for your hard work!


"In theory, there's no difference between theory and practice, but in practice there is."

Offline

#60 2005-11-18 06:42:51

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

Re: Tpowa's "Simple Hardware Detection"

strange that should really trigger lp module, hm don'T know why it doesn'T work on your system

Offline

#61 2005-11-18 09:30:46

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: Tpowa's "Simple Hardware Detection"

Just one problem here - ide-cd is not detected. Should it be?

Offline

#62 2005-11-18 16:37:49

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

Re: Tpowa's "Simple Hardware Detection"

no ide-cd cannot be detected it's not pci nor PNP, idecore and your chipset can be detected

Offline

#63 2005-11-18 16:43:34

swiergot
Member
From: Kraków, Poland
Registered: 2005-01-08
Posts: 145

Re: Tpowa's "Simple Hardware Detection"

Maybe it would be worth grepping through dmesg output in search of ATAPI drives.

Offline

#64 2005-11-18 19:01:39

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

Re: Tpowa's "Simple Hardware Detection"

ok added full ide,scsi detection, enjoy
greetings
tpowa

Offline

#65 2005-11-18 20:10:50

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

Re: Tpowa's "Simple Hardware Detection"

Yay! When comes the new initscripts package? 8)

Offline

#66 2005-11-18 20:42:26

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Tpowa's "Simple Hardware Detection"

Actually, it sits in testing.

Offline

#67 2005-11-18 20:58:04

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Tpowa's "Simple Hardware Detection"

No one has addressed the fact that this 'hwdetect' happens before modules from rc.conf get loaded. For some of us (me at least) this is unacceptable, because some modules MUST BE LOADED BEFORE OTHER ONES. This is a serious issue for me because some sound modules (ALSA-OSS support) won't work unless they are loaded BEFORE the main ALSA modules.


·¬»· i am shadowhand, powered by webfaction

Offline

#68 2005-11-18 22:18:11

LB06
Member
From: The Netherlands
Registered: 2003-10-29
Posts: 435

Re: Tpowa's "Simple Hardware Detection"

I'd like to report a little bug. You didn't take into account that snd-intel8x0m == snd_intel8x0m, so if I blacklist the latter, it will be ignored.

Offline

#69 2005-11-18 23:41:16

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

Re: Tpowa's "Simple Hardware Detection"

shadowhan i can't confirm alsa oss modules, because they are triggered by modprobe.conf and it works fine here, be more precise else i can't help you, the modules are sorted alphabetical so please try to help us to get it perfect.
greetings
tpowa

Offline

#70 2005-11-18 23:45:22

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

Re: Tpowa's "Simple Hardware Detection"

Uhh Shadowhand, the OSS stuff works fine for me... What sound card are you using?

Offline

#71 2005-11-19 00:34:05

shadowhand
Member
From: MN, USA
Registered: 2004-02-19
Posts: 1,142
Website

Re: Tpowa's "Simple Hardware Detection"

Gullible Jones wrote:

Uhh Shadowhand, the OSS stuff works fine for me... What sound card are you using?

Soundblaster Live (snd-emu10k1)

For me, snd-pcm-oss must be loaded before any other ALSA module or my ALSA OSS emulation will bork (no Flash plugin sound, for instance). I don't know why, but I figured it out a while ago and it's been working ever since.

Also, soundcore and snd-seq have to be loaded after snd-pcm-oss but before other modules, to make the sound sequencer work properly (for me). This is a less important issue, and I haven't tested it in a while, but at one time, it was the case.


·¬»· i am shadowhand, powered by webfaction

Offline

#72 2005-11-19 01:45:15

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

Re: Tpowa's "Simple Hardware Detection"

I've never heard of anyone else having this trouble with an SB Live... :? Can someone confirm this problem?

Offline

#73 2005-11-19 01:46:09

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

Re: Tpowa's "Simple Hardware Detection"

shadowhand:
I have the same module. I found that if I have this line in modprobe.conf everything loads fine:

install snd-pcm modprobe -i snd-pcm ; modprobe snd-pcm-oss ; true
install snd-seq modprobe -i snd-seq ; modprobe snd-seq-oss ; true

Offline

#74 2005-11-19 02:09:51

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

Re: Tpowa's "Simple Hardware Detection"

That's in there by default! :?

Offline

#75 2005-11-19 02:21:56

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

Re: Tpowa's "Simple Hardware Detection"

I had it left out one time for some reason and it gave me problems -thought maybe thats what happened to him.

Offline

Board footer

Powered by FluxBB