You are not logged in.

#1 2005-11-15 21:22:55

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

New initscripts ought to load lp-related modules, but don't

From lsmod:

Module                  Size  Used by
via                    39040  1
drm                    69272  2 via
snd_ens1371            21856  2
snd_ac97_codec         85116  1 snd_ens1371
snd_pcm_oss            51104  1
snd_mixer_oss          18432  1 snd_pcm_oss
snd_pcm                84868  3 snd_ens1371,snd_ac97_codec,snd_pcm_oss
snd_timer              22660  1 snd_pcm
snd_rawmidi            21408  1 snd_ens1371
snd_page_alloc          8840  1 snd_pcm
snd_seq_device          7436  1 snd_rawmidi
snd                    49380  10 snd_ens1371,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_rawmidi,snd_seq_device
soundcore               8032  2 snd
uhci_hcd               32144  0
ehci_hcd               32904  0
pci_hotplug            27204  0
parport                33864  0
via_rhine              21252  0
mii                     5248  1 via_rhine
via_ircc               24724  0
irda                  128568  1 via_ircc
crc_ccitt               2176  1 irda
pcspkr                  3680  0
gameport               12552  1 snd_ens1371
i2c_viapro              7312  0
i2c_core               18560  1 i2c_viapro
rtc                    10808  0
via_agp                 8192  1
agpgart                30160  2 drm,via_agp
usbcore               114300  3 uhci_hcd,ehci_hcd
tsdev                   6336  0
evdev                   7936  0

Okay, that's good... But in modprobe.conf:

install parport_pc modprobe -i parport_pc ; modprobe lp ; true

So why aren't these modules loading? :?

Offline

#2 2005-11-15 22:33:08

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

Re: New initscripts ought to load lp-related modules, but don't

lsmod lists parport - modprobe.conf refers to parport_pc. They are two distinct modules. There are also parport_cs and parport_serial.

If you want lp loaded alongside parport, just add a second line to modprobe.conf, and change the install module accordingly.

Offline

#3 2005-11-15 22:44:56

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

Re: New initscripts ought to load lp-related modules, but don't

Oh... So that's to load lp if parport-pc gets loaded, not to load the modules on start.

No, I know about parport and parport-pc being different. You see, the problem is that /dev/lp0 only shows up when parport-pc is loaded. I think this is a problem with hwdetect, and for that matter *all* coldplugging utilities I've seen so far - they ought to load parport-pc on machines with parallel ports, but don't.

(For the record, parport-pc depends on parport.)

Offline

#4 2005-11-15 23:19:40

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

Re: New initscripts ought to load lp-related modules, but don't

Well, you could do parport-pc in modprobe.conf, the same way lp is done above, so when parport is loaded, parport-pc and lp both get loaded as well.

Offline

Board footer

Powered by FluxBB