Re: [PARPORT] Syquest and printer [and Zip disk, to]


Matthew Vanecek (mev0003@unt.edu)
Sat, 22 May 1999 17:56:26 +0000


Tim Waugh wrote:
>
> Matthew,
>
> Could you try this? Start off with no modules loaded.
>
> # insmod parport
> # insmod parport_pc
> # insmod ppa
> # echo 'mode=1' > /proc/scsi/ppa/1 # check the last number
> # cat /proc/scsi/ppa/1
> # mount /zip/drive
> # insmod lp
> # echo blah > /dev/lp0
>
> The 'mode=1' thing is to put the Zip drive into nibble mode, which should
> work regardless of the parallel port setting. If this makes things work,
> then we know that the problem is with ppa.c's EPP mode and your chipset
> (EPP mode works fine here).

God, I love step-by-step instructions! Ok, printing works that way.
Weird. Mobo is an Asus P5A. It doesn't have SPP available as an option.
In the kernel, what's not configured is as follows:

# CONFIG_SCSI_IZIP_EPP16 is not set
# CONFIG_SCSI_IZIP_SLOW_CTR is not set

Dunno if they would make a difference.

To avoid attachment problems (the last attachments I sent you didn't get
to you, I guess, but they *did* get to the linux-kernel list), I just
pasted a script below, of what transpired.

Thanks,

-- 
Matthew Vanecek
Course of Study: http://www.unt.edu/bcis
Visit my Website at http://people.unt.edu/~mev0003
For answers type: perl -e 'print
$i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
*****************************************************************
For 93 million miles, there is nothing between the sun and my shadow
except me. I'm always getting in the way of something...

#########################################################################

Script started on Sat May 22 12:37:56 1999 root:reliant me2v$ lsmod Module Size Used by lm_sensors 34700 0 (unused) vfat 11196 0 (autoclean) (unused) fat 25120 0 (autoclean) [vfat] root:reliant me2v$ insmod parport root:reliant me2v$ insmod parport_pc root:reliant me2v$ insmod ppa root:reliant me2v$ cat /proc/scsi/ppa/2 Version : 2.03 (for Linux 2.2.x) Parport : parport0 Mode : EPP 32 bit root:reliant me2v$ echo 'mode=1' > /proc/scsi/ppa/2 root:reliant me2v$ echo 'mode=1' > /proc/scsi/ppa/2 root:reliant me2v$ cat /proc/scsi/ppa/2 Version : 2.03 (for Linux 2.2.x) Parport : parport0 Mode : SPP root:reliant me2v$ mount /mnt/zip mount: /dev/sdb4 is not a valid block device root:reliant me2v$ mount /mnt/zip root:reliant me2v$ ls /mnt/zip Inetpub/ Profiles/ Users/ root:reliant me2v$ insmod lp root:reliant me2v$ lsmod Module Size Used by lp 5116 0 (unused) ppa 9040 1 parport_pc 5588 2 parport 6916 2 [lp ppa parport_pc] lm_sensors 34700 0 (unused) vfat 11196 1 (autoclean) fat 25120 1 (autoclean) [vfat] root:reliant me2v$ cat /etc/sysconfig/mouse > /dev/lp0 root:reliant me2v$ ls /mnt/zip Inetpub/ Profiles/ Users/ root:reliant me2v$ lpr /etc/printcap root:reliant me2v$ ls /mnt/zip Inetpub/ Profiles/ Users/ root:reliant me2v$ ls /mnt/zip/Users/ Home/ root:reliant me2v$ ls /mnt/zip/Users/Home/ Administrator angela me2v root:reliant me2v$ exit exit

Script done on Sat May 22 12:43:13 1999

-- 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 2.0b3 on Sat 22 May 1999 - 13:58:37 EDT