[NBLUG/talk] HP 5200c scanner, Fedora Core 2, 2.6.5 kernel

Dave Sisley dsisley at arczip.com
Mon Jun 14 18:09:52 PDT 2004


On Mon, Jun 14, 2004 at 05:52:05PM -0700, Mark Street wrote:
> Just on a side note, you should be commended for placing your system is such 
> disarray for others to learn from your trials....  

No problem, Mark.  Really.  A botched system is not to steep a price
to pay for the advancement of linux. (cough!)

<snip>
> 
> OK, now what does the lsmod command show with the scanner plugged in.  Other 
> than the extra 36 or so lines in modules.conf everything looks normal enough.  
> Let's see if the kernel has the scanner modules loaded, look for things in 
> lsmod like usbcore and scanner, etc.
> 
> # lsmod
> 
> ex.
> usb-uhci               26124   0  (unused)
> ehci-hcd               20008   0  (unused)
> usbcore                78752   1  [hid usb-uhci ehci-hcd]

Here's my current lsmod:

Module                  Size  Used by
snd_pcm_oss            40740  0
ppdev                   5888  0
snd_intel8x0           26280  3
snd_ac97_codec         50436  1 snd_intel8x0
snd_pcm                68872  2 snd_pcm_oss,snd_intel8x0
snd_timer              17156  1 snd_pcm
snd_page_alloc          7940  2 snd_intel8x0,snd_pcm
gameport                3328  1 snd_intel8x0
snd_mpu401_uart         4864  1 snd_intel8x0
snd_rawmidi            17184  1 snd_mpu401_uart
snd_seq_device          6152  1 snd_rawmidi
snd_mixer_oss          13824  3 snd_pcm_oss
snd                    38372  11 snd_pcm_oss,snd_intel8x0,snd_ac97_codec,snd_pcm,snd_timer,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_mixer_oss
soundcore               6112  3 snd
pcspkr                  3176  0
binfmt_misc             7176  1
parport_pc             19392  1
lp                      8236  0
parport                29640  3 ppdev,parport_pc,lp
nfsd                  158496  9
exportfs                4224  1 nfsd
lockd                  47944  2 nfsd
ipv6                  184288  12
autofs4                10624  0
sunrpc                101064  19 nfsd,lockd
ipt_ttl                 1536  0
ipt_limit               1792  0
ipt_state               1536  6
iptable_mangle          2048  0
ipt_LOG                 4992  2
ipt_MASQUERADE          2560  0
ipt_TOS                 1920  0
ipt_REDIRECT            1664  0
iptable_nat            17452  3 ipt_MASQUERADE,ipt_REDIRECT
ipt_REJECT              4736  1
ip_conntrack_irc       70064  0
ip_conntrack_ftp       70576  0
ip_conntrack           24968  6 ipt_state,ipt_MASQUERADE,ipt_REDIRECT,iptable_nat,ip_conntrack_irc,ip_conntrack_ftp
iptable_filter          2048  1
ip_tables              13440  11 ipt_ttl,ipt_limit,ipt_state,iptable_mangle,ipt_LOG,ipt_MASQUERADE,ipt_TOS,ipt_REDIRECT,iptable_nat,ipt_REJECT,iptable_filter
bcm4400                35788  0
floppy                 47440  0
sg                     27552  0
scsi_mod               91344  1 sg
microcode               4768  0
dm_mod                 33184  0
uhci_hcd               23708  0
ehci_hcd               21896  0
button                  4504  0
battery                 6924  0
asus_acpi               8472  0
ac                      3340  0
ext3                  102376  2
jbd                    40216  1 ext3

> 
> I have a feeling hotplug has something to do with this....... rpm -qi hotplug
> 
> Description :
> The term "hotplugging" refers to the dynamic reconfiguration performed
> after a device has been attached to a running system. This package
> contains the application which is called by the kernel when a USB
> device is added; hotplug then loads the required modules for that
> device.
> 
> rpm -ql hotplug to see the files that are associated with hotplug.

/etc/hotplug
/etc/hotplug.d
/etc/hotplug.d/default
/etc/hotplug.d/default/default.hotplug
/etc/hotplug/blacklist
/etc/hotplug/dasd.agent
/etc/hotplug/firmware.agent
/etc/hotplug/hotplug.functions
/etc/hotplug/ieee1394.agent
/etc/hotplug/input.agent
/etc/hotplug/input.rc
/etc/hotplug/net.agent
/etc/hotplug/pci
/etc/hotplug/pci.agent
/etc/hotplug/pci.rc
/etc/hotplug/scsi.agent
/etc/hotplug/tape.agent
/etc/hotplug/usb
/etc/hotplug/usb.agent
/etc/hotplug/usb.distmap
/etc/hotplug/usb.handmap
/etc/hotplug/usb.rc
/etc/hotplug/usb.usermap
/sbin/fxload
/sbin/hotplug
/usr/share/doc/hotplug-2004_04_01
/usr/share/doc/hotplug-2004_04_01/ChangeLog
/usr/share/doc/hotplug-2004_04_01/README
/usr/share/doc/hotplug-2004_04_01/README.txt.fxload
/usr/share/man/man8/fxload.8.gz
/usr/share/man/man8/hotplug.8.gz
/var/run/usb

> 
> But let's wait and see what we find out from lsmod first before we blame 
> hotplug.
> 
> On Monday 14 June 2004 15:12, Dave Sisley wrote:
> 
> > Hmmm... That's a bit long - what am I looking for here?  Hey.  Why are
> > these lines repeated 37 times?
> >
> > alias /dev/ttySHSF[0-9]* /dev/ttySHSF
> > alias /dev/cuaHSF[0-9]* /dev/ttySHSF
> > alias /dev/hsfdiag* /dev/hsfdiag
> 
> looks like a modem/serial device of some sort. hmmmm.

So should I delete all but one copy of those (3) lines?  How did they
get in there so many times?

Thanks again for taking a look, Mark!

-dave.
-- 
Dave Sisley
dsisley at arczip.com
roth-sisley.net




More information about the talk mailing list