[sane-devel] Shotcut to detect IRQ
Stephen Liu
satimis at icare.com.hk
Mon Mar 10 10:05:47 GMT 2003
Hi folks,
I edited following files
1)
# cat /etc/modules.conf
alias parport_lowlevel parport_pc
alias eth0 8139too
alias eth1 8139too
alias sound-slot-0 ymfpci
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L
>/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S
>/dev/null 2>&1 || :
alias usb-controller usb-uhci
options aha152x aha152x=0x140,9,7,0
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2)
# cat /etc/rc.d/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
chmod 666 /dev/sg1
^^^^^^^^^^^^^^^^^^
modprobe aha152x
^^^^^^^^^^^^^^^^
Turned on the scanner and rebooted the PC
Login as "user" and started "Xsane"
Xsane started automtically and I carried out scanning immediately
without problem, no further commands being required to make it works
Lot of thanks for your assistance and time spent
B.Regards
Stephen
Gene Heskett wrote:
> On Sun March 9 2003 10:12, Stephen Liu wrote:
>
>>Hi Henning
>>
>>Further scrutinize the files under /etc/init.d
>>
>>Maybe kudzu is the file I am looking for which detects and
>>configures new and/or changed hardware on a system
>>
>># cat /etc/init.d/kudzu
>>
>>#!/bin/bash
>>#
>># kudzu This scripts runs the kudzu hardware probe.
>>#
>># chkconfig: 345 05 95
>># description: This runs the hardware probe, and optionally
>>configures \ # changed hardware.
>>
>># This is an interactive program, we need the current locale
>>
>>.....
>>....
>>
>>Have you had any comment. Or can any folk on the list shed me
>>some light?
>
>
> Thats not the file, Stephen.
>
> /etc/rc.d/rc.local is the file you want to add that stuff to on a
> redhat 7.3 system.
>
More information about the sane-devel
mailing list