You need to specify the address of your parallel port when you insmod pd, i.e.
something like the following:
modprobe epat
insmod pd drive0=0x378 (378 is generally the standard on most motherboards.
Check your BIOS or Windows to be sure).
The correct way to load modules at boot is with conf.modules, but if this is an
external drive that you connect and disconnect, then adding it there won't help
much since you'll still have to load the driver when you want to use it.
Praveen Srinivasan
Don Simard wrote:
> I have a Dell XPS R350 with SuSE 6 installed. I followed the instructions
> about getting the ORB working, read the news postings and archives, but...
> still fail. I am a newbie so be gentle with me?
>
> below is a typescript of the commands and the dmesg. I am unsure what may be
> interferring. The ORB works fine under windows. All help greatly
> appreciated.
>
> Linux Newbie
> Don
>
> PS - are these commands usually added to an rc.local init script to load the
> modules automatically upon boot or are they added to conf.modules?
>
> t
> Script started on Fri Mar 3 14:02:25 2000
> Server:~ # insmod pd verbose=1
> Using /lib/modules/2.2.13/misc/pd.o
> /lib/modules/2.2.13/misc/pd.o: unresolved symbol pi_release
> /lib/modules/2.2.13/misc/pd.o: unresolved symbol pi_do_claimed
> /lib/modules/2.2.13/misc/pd.o: unresolved symbol pi_init
> /lib/modules/2.2.13/misc/pd.o: unresolved symbol pi_connect
> /lib/modules/2.2.13/misc/pd.o: unresolved symbol pi_write_regr
> /lib/modules/2.2.13/misc/pd.o: unresolved symbol pi_write_block
> /lib/modules/2.2.13/misc/pd.o: unresolved symbol pi_read_block
> /lib/modules/2.2.13/misc/pd.o: unresolved symbol pi_read_regr
> /lib/modules/2.2.13/misc/pd.o: unresolved symbol pi_disconnect
> Server:~ # imodprobe pd
> Using /lib/modules/2.2.13/misc/on26.o
> /lib/modules/2.2.13/misc/pd.o: init_module: Device or resource busy
> /lib/modules/2.2.13/misc/pd.o: insmod /lib/modules/2.2.13/misc/pd.o failed
> /lib/modules/2.2.13/misc/pd.o: insmod pd failed
> Server:~ # insmod pd verbose=1
> Using /lib/modules/2.2.13/misc/pd.o
> /lib/modules/2.2.13/misc/pd.o: init_module: Device or resource busy
>
> Script done on Fri Mar 3 14:02:51 2000
> Linux version 2.2.13 (root@Mandelbrot.suse.de) (gcc version egcs-2.91.66
> 19990314/Linux (egcs-1.1.2 release)) #1 Mon Nov 8 15:08:22 CET 1999
> parport0: PC-style at 0x378 [SPP,PS2]
> ppuser: User-space parallel port driver
> paride: version 1.04 installed
> paride: on26 registered as protocol 0
> pd: pd version 1.05, major 45, cluster 64, nice 0
> pda: Autoprobe failed
> pd: no valid drive found
> pd: pd version 1.05, major 45, cluster 64, nice 0
> pda: on26: port 0x3bc, mode 0, test=(255,255)
> pda: on26: port 0x3bc, mode 1, test=(255,255)
> pda: 0x378 is parport0
> pda: on26: port 0x378, mode 0, test=(255,255)
> pda: on26: port 0x378, mode 1, test=(255,255)
> pda: on26: port 0x378, mode 2, test=(255,255)
> pda: on26: port 0x378, mode 3, test=(255,255)
> pda: on26: port 0x378, mode 4, test=(255,255)
> pda: on26: port 0x278, mode 0, test=(255,255)
> pda: on26: port 0x278, mode 1, test=(255,255)
> pda: on26: port 0x278, mode 2, test=(255,255)
> pda: on26: port 0x278, mode 3, test=(255,255)
> pda: on26: port 0x278, mode 4, test=(255,255)
> pda: on26: port 0x268, mode 0, test=(255,255)
> pda: on26: port 0x268, mode 1, test=(255,255)
> pda: on26: port 0x268, mode 2, test=(255,255)
> pda: on26: port 0x268, mode 3, test=(255,255)
> pda: on26: port 0x268, mode 4, test=(255,255)
> pda: on26: port 0x27c, mode 0, test=(255,255)
> pda: on26: port 0x27c, mode 1, test=(255,255)
> pda: on26: port 0x26c, mode 0, test=(255,255)
> pda: on26: port 0x26c, mode 1, test=(255,255)
> pda: Autoprobe failed
> pd: no valid drive found
>
> -- To unsubscribe, send mail to: linux-parport-request@torque.net --
> -- with the single word "unsubscribe" in the body of the message. --
-- To unsubscribe, send mail to: linux-parport-request@torque.net --
-- with the single word "unsubscribe" in the body of the message. --
This archive was generated by hypermail 2b29 : Fri Mar 03 2000 - 17:58:09 EST