From owner-freebsd-mobile Sun Dec 15 14:40:41 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id OAA08936 for mobile-outgoing; Sun, 15 Dec 1996 14:40:41 -0800 (PST) Received: from zeus (zeus.gel.usherb.ca [132.210.70.7]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id OAA08914; Sun, 15 Dec 1996 14:40:30 -0800 (PST) Received: from pollux.gel.usherb.ca by zeus (4.1/SMI-4.1) id AA22779; Sun, 15 Dec 96 17:40:01 EST Received: by pollux.gel.usherb.ca (SMI-8.6/SMI-SVR4) id RAA09845; Sun, 15 Dec 1996 17:39:52 -0500 Date: Sun, 15 Dec 1996 17:39:52 -0500 (EST) From: "Alex.Boisvert" To: "Brian T. Schellenberger - Personal Account" Cc: FreeBSD Hardware , freebsd-mobile@freebsd.org Subject: Re: Zip drive In-Reply-To: <199612140149.UAA07097@mercury.interpath.com> Message-Id: Mime-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > In fact, after detecting the ppa0 device, it locks up > (but only if the drive is in fact on--if it's powered off or disconnected, > I get a "probe failed" message and the boot continues). > I am using the same driver with an Epson ZIP drive (same drive as Iomega but manufactured by Epson). I had to remove some of the detecting code because it was not seeing the drive. I also patched the driver to work with 2.2-ALPHA. Works like a charm. Alex. PS: If you need my source, just ask. From owner-freebsd-mobile Sun Dec 15 18:19:28 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id SAA01004 for mobile-outgoing; Sun, 15 Dec 1996 18:19:28 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id SAA00999; Sun, 15 Dec 1996 18:19:24 -0800 (PST) Received: (from msmith@localhost) by genesis.atrad.adelaide.edu.au (8.8.2/8.7.3) id MAA19290; Mon, 16 Dec 1996 12:47:32 +1030 (CST) From: Michael Smith Message-Id: <199612160217.MAA19290@genesis.atrad.adelaide.edu.au> Subject: Re: Zip drive In-Reply-To: from "Alex.Boisvert" at "Dec 15, 96 05:39:52 pm" To: boia01@pollux.GEL.USherb.CA (Alex.Boisvert) Date: Mon, 16 Dec 1996 12:47:31 +1030 (CST) Cc: babbleon@mercury.interpath.com, freebsd-hardware@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL28 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Alex.Boisvert stands accused of saying: > I am using the same driver with an Epson ZIP drive (same drive as Iomega > but manufactured by Epson). I had to remove some of the detecting code > because it was not seeing the drive. > > I also patched the driver to work with 2.2-ALPHA. > > Works like a charm. > Alex. > > PS: If you need my source, just ask. If we can reach some consensus on what works and what doesn't for this driver, I'll get it committed to -current so that it gets wider distribution and testing. Alex, I'd obviously like your code - and anyone else that's using it, please send me your diffs from the original. -- ]] Mike Smith, Software Engineer msmith@gsoft.com.au [[ ]] Genesis Software genesis@gsoft.com.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control. (ph) +61-8-8267-3493 [[ ]] Unix hardware collector. "Where are your PEZ?" The Tick [[ From owner-freebsd-mobile Tue Dec 17 20:28:49 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id UAA15123 for mobile-outgoing; Tue, 17 Dec 1996 20:28:49 -0800 (PST) Received: from mercury.interpath.com (babbleon@mercury.interpath.com [199.72.1.1]) by freefall.freebsd.org (8.8.4/8.8.4) with SMTP id UAA15117; Tue, 17 Dec 1996 20:28:46 -0800 (PST) Received: (from babbleon@localhost) by mercury.interpath.com (8.6.12/v1.0) id XAA15977; Tue, 17 Dec 1996 23:27:55 -0500 From: "Brian T. Schellenberger - Personal Account" Message-Id: <199612180427.XAA15977@mercury.interpath.com> Subject: Re: Zip drive To: msmith@atrad.adelaide.edu.au (Michael Smith) Date: Tue, 17 Dec 1996 23:27:55 -0500 (EST) Cc: boia01@pollux.GEL.USherb.CA, freebsd-hardware@FreeBSD.ORG, freebsd-mobile@FreeBSD.ORG In-Reply-To: <199612160217.MAA19290@genesis.atrad.adelaide.edu.au> from "Michael Smith" at Dec 16, 96 12:47:31 pm X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-mobile@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk | | Alex.Boisvert stands accused of saying: | > I am using the same driver with an Epson ZIP drive (same drive as Iomega | > but manufactured by Epson). I had to remove some of the detecting code | > because it was not seeing the drive. | > | > I also patched the driver to work with 2.2-ALPHA. | > | > Works like a charm. | > Alex. | > | > PS: If you need my source, just ask. | | If we can reach some consensus on what works and what doesn't for this | driver, I'll get it committed to -current so that it gets wider | distribution and testing. Alex, I'd obviously like your code - and | anyone else that's using it, please send me your diffs from the | original. Alex: Thank you, thank you, thank you! I have got the zip drive working here. For anybody looking at the code, I used his #define values for timeouts and his self-described "hack," but left the other code as it was originally, to get a working 2.1.0 driver (yes, I'm living the past; one reason I want a zip drive is to back up so I can update my O/S). I will be happy to send diffs (either relative to the origianl ppa3.c or to Alex's version), but I believe that the upshot of what I left and what I kept is that I have Alex's fix to make it work with my hardware without the changes for 2.2-ALPHA, but since 2.1.6 is the final, put-to-bed 2.1 (right?), I don't think the that the version I'm running is of widespread interest, is it? Anyway, I'm quite happy. Thanks for the help! -- Brian T. Schellenberger, the Man from Babble-On. "Someday I'll get around to importing all the cool quotes from my other account's .sig files." http://mercury.interpath.com/~babbleon From owner-freebsd-mobile Sat Dec 21 01:54:58 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id BAA03727 for mobile-outgoing; Sat, 21 Dec 1996 01:54:58 -0800 (PST) Received: from scotty.masternet.it (scotty.masternet.it [194.184.65.2]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id BAA03722 for ; Sat, 21 Dec 1996 01:54:52 -0800 (PST) Received: from Gmarco (ts1port1d.masternet.it [194.184.65.23]) by scotty.masternet.it (8.7.5/8.7.3) with SMTP id KAA04187 for ; Sat, 21 Dec 1996 10:55:21 +0100 (MET) Message-Id: <3.0.1.32.19961221105003.006c534c@scotty.masternet.it> X-Sender: gmarco@scotty.masternet.it X-Mailer: Windows Eudora Pro Version 3.0.1 beta 3 (32) Date: Sat, 21 Dec 1996 10:50:11 +0100 To: mobile@freebsd.org From: Gianmarco Giovannelli Subject: * 3c589c still doesn't work * Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have tried to reproduce the success of mr. Lehey with his notebook and the 3com 3c589c pcmcia but without arriving at nothing. My pcmcia don't want to be seen by all the kernel I have tried with. I tried to simplify things using a pccard.conf simplest I can with only the two pcmcia cards I own (3c589c and Sportser V34), but noone of them is seen by my kernels (2.2 -ALPHA , ctm #80 ). The cards was seen and worked with the OLD PAO packages, but crashed a lot of times so I'd like to try with a plain enviroment first. Btw I have downloaded the new PAO too .... :-) The notebook is a Oyster Brahma, P133 , 24mb ram. Here is the (last:-) kernel file --- cut --- # # BRAHMA # # $Id: BRAHMA,v 1.00 1996/12/22 06:05:56 gmarco Exp $ machine "i386" cpu "I586_CPU" ident BRAHMA maxusers 10 options INET #InterNETworking options FFS #Berkeley Fast Filesystem options NFS #Network Filesystem options MSDOSFS #MSDOS Filesystem options "CD9660" #ISO 9660 Filesystem options PROCFS #Process filesystem options "COMPAT_43" #Compatible with BSD 4.3 options BOUNCE_BUFFERS # bounce buffers options UCONSOLE #Allow users to grab the console options FAILSAFE #Be conservative options USERCONFIG #boot -c editor options VISUAL_USERCONFIG #visual boot -c editor config kernel root on wd0 controller isa0 controller pci0 controller fdc0 at isa? port "IO_FD1" bio irq 6 drq 2 vector fdintr disk fd0 at fdc0 drive 0 controller wdc0 at isa? port "IO_WD1" bio irq 14 vector wdintr disk wd0 at wdc0 drive 0 controller wdc1 at isa? port "IO_WD2" bio irq 15 vector wdintr options ATAPI #Enable ATAPI support for IDE bus options ATAPI_STATIC #Don't do it as an LKM device wcd0 #IDE CD-ROM device sc0 at isa? port "IO_KBD" tty irq 1 vector scintr # Mandatory, don't remove device npx0 at isa? port "IO_NPX" irq 13 vector npxintr # # Laptop support (see LINT for more options) # device apm0 at isa? disable # Advanced Power Management options APM_BROKEN_STATCLOCK # Workaround some buggy APM BIOS # PCCARD (PCMCIA) support #controller crd0 #device pcic0 at crd? #device pcic1 at crd? device sio0 at isa? port "IO_COM1" tty irq 4 vector siointr device sio1 at isa? port "IO_COM2" tty irq 3 vector siointr device lpt0 at isa? port? tty irq 7 vector lptintr device psm0 at isa? disable port "IO_KBD" conflicts tty irq 12 vector psmintr #device ed0 at isa? port 0x280 net irq 5 iomem 0xd8000 vector edintr device zp0 at isa? port 0x300 net irq 10 iomem 0xd8000 vector zpintr pseudo-device loop pseudo-device ether pseudo-device log pseudo-device sl 1 pseudo-device tun 1 pseudo-device pty 16 pseudo-device gzip # Exec gzipped a.out's # KTRACE enables the system-call tracing facility ktrace(2). # This adds 4 KB bloat to your kernel, and slightly increases # the costs of each syscall. #options KTRACE #kernel tracing --- end kernel file --- It doesn't work in the same way with the PCCARD (PCMCIA) support enabled. Here is the result : ---- begin ---- FreeBSD 2.2-RELEASE #0: Sat Dec 21 10:03:40 1996 root@brahma.eclipse.org:/usr/src/sys/compile/BRAHMA Calibrating clock(s) relative to mc146818A clock ... i586 clock: 132958259 Hz, i8254 clock: 1193218 Hz CPU: Pentium (132.95-MHz 586-class CPU) Origin = "GenuineIntel" Id = 0x52c Stepping=12 Features=0x1bf real memory = 25165824 (24576K bytes) avail memory = 22573056 (22044K bytes) Probing for devices on PCI bus 0: chip0 rev 176 on pci0:0 vga0 rev 0 on pci0:17 chip1 rev 178 on pci0:18:0 pci0:18:1: UMC, device=0x673a, class=storage (ide) [no driver assigned] chip2 rev 254 int a irq ?? on pci0:23 Probing for devices on the ISA bus: sc0 at 0x60-0x6f irq 1 on motherboard sc0: VGA color <16 virtual consoles, flags=0x0> pccard driver sio added sio0 at 0x3f8-0x3ff irq 4 on isa sio0: type 16550A sio1 at 0x2f8-0x2ff irq 3 on isa sio1: type 16550A lpt0 at 0x278-0x27f irq 7 on isa lpt0: Interrupt-driven port lp0: TCP/IP capable interface psm0 at 0x60-0x64 irq 12 on motherboard psm0: device ID 0, 2 buttons? fdc0 at 0x3f0-0x3f7 irq 6 drq 2 on isa fdc0: NEC 72065B fd0: 1.44MB 3.5in wdc0 at 0x1f0-0x1f7 irq 14 on isa wdc0: unit 0 (wd0): wd0: 1031MB (2111760 sectors), 2095 cyls, 16 heads, 63 S/T, 512 B/S wdc1 at 0x170-0x177 irq 15 on isa wdc1: unit 0 (atapi): , removable, intr, iordis wcd0: 1033Kb/sec, 128Kb cache, audio play, 255 volume levels, ejectable tray wcd0: 120mm data disc loaded, unlocked zp0 not found at 0x300 npx0 on motherboard npx0: INT 16 interface apm0: disabled, not probed. --- end dmesg --- my /etc/pccard.conf : --- begin /etc/pccard.conf --- # Generally available IO ports io 0x240-0x360 # Generally available IRQs (Built-in sound-card owners remove 5) # irq 3 5 10 11 13 15 irq 10 11 13 # Available memory slots memory 0xd4000 96k # 3Com Etherlink III 3C589B, 3C589C card "3Com Corporation" "3C589" config 0x1 "ep0" ? insert echo 3Com Etherlink III inserted insert /etc/pccard_ether ep0 -link0 link1 # insert /etc/pccard_ether ep0 link0 -link1 remove echo 3Com Etherlink III removed remove /sbin/ifconfig ep0 delete # US Robotics Sportster PCMCIA V.34 # US Robotics COURIER PCMCIA V.34 card "USRobotics" "PCMCIA 28800 Data/F" config 0x3 "sio2" 3 insert echo USRobotics PCMCIA Modem inserted remove echo USRobotics PCMCIA Modem removed --- end --- and finally the laptop section in /etc/sysconfig --- begin --- ##### Start Of PC-card Section ####### # If you want to enable APM BIOS driver, set to YES # (The APM BIOS driver is not configured into GENERIC kernel b/c of bugs) apm_enable=NO # If you want to use PC-card package, set to YES # (PC-card support is not configured in the GENERIC kernel) pccard_enable=YES # If you want to specify the address of memory used by PCIC, # set this address (DEFAULT=0xd0000) pccard_mem=DEFAULT # If you want to use Etnerent PCMCIA cards, specify the ifconfig portion # here. (card-specific flags like connector selection should be written in # the card-specific entry in /etc/pccard.conf). Set to DHCP if you want to # use a DHCP server to determine your IP address (not implemented). # # Set to NO if you don't want to configure your PC-CARD ethernet controller. # # for example: # # pccard_ifconfig="131.113.32.126 netmask 0xffffff00" # or # pccard_ifconfig="DHCP" # pccard_ifconfig=NO ######## End Of PC-card Section ##### --- end --- I used zp0 as driver for my board, is it correct ? Or I must use ep0 or ed0 ? Thanks in advance for any help... Regards... +-------------------------------------+--------------------+ | Internet: gmarco@masternet.it | ,,, | | Internet: gmarco@fi.nettuno.it | (o o) | | http://www2.masternet.it/~gmarco | ---oo0-(_)-0oo--- | | http://www2.masternet.it/ | Gianmarco | +-------------------------------------+--------------------+ From owner-freebsd-mobile Sat Dec 21 09:25:17 1996 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.4/8.8.4) id JAA16942 for mobile-outgoing; Sat, 21 Dec 1996 09:25:17 -0800 (PST) Received: from rocky.mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by freefall.freebsd.org (8.8.4/8.8.4) with ESMTP id JAA16935 for ; Sat, 21 Dec 1996 09:25:14 -0800 (PST) Received: (from nate@localhost) by rocky.mt.sri.com (8.7.5/8.7.3) id KAA27037; Sat, 21 Dec 1996 10:25:02 -0700 (MST) Date: Sat, 21 Dec 1996 10:25:02 -0700 (MST) Message-Id: <199612211725.KAA27037@rocky.mt.sri.com> From: Nate Williams To: Gianmarco Giovannelli Cc: mobile@freebsd.org Subject: Re: * 3c589c still doesn't work * In-Reply-To: <3.0.1.32.19961221105003.006c534c@scotty.masternet.it> References: <3.0.1.32.19961221105003.006c534c@scotty.masternet.it> Sender: owner-mobile@freebsd.org X-Loop: FreeBSD.org Precedence: bulk > I have tried to reproduce the success of mr. Lehey with his notebook and > the 3com 3c589c pcmcia but without arriving at nothing. My pcmcia don't > want to be seen by all the kernel I have tried with. Umm, I suspect you may actually get kernel crashes with your system. I'm going to fix things so that a person can't have the 'dedicated' drivers (zp/ze) and the generic PCCARD support in the same kernel. > The cards was seen and worked with the OLD PAO packages, but crashed a lot > of times so I'd like to try with a plain enviroment first. Btw I have > downloaded the new PAO too .... :-) I hope you had a different config file than you've shown. One of the problems with the 'decidated' drivers (which you are setup to use) is that apparently the 3Com configuration program won't work under Win95 and older versions of DOS, and it's necessary to run that program to determine how the card is configued. I have DOS 6.2 running on my box and it works fine, but others haven't had much luck. In any case, you need to get an DOS boot disk and stick the configuration program that came with your 3COM card on it. Boot the disk and runthe program. It *must* complain that it can't find card services, and then continue using card-level support. At that point, print out the values stored in the card (including the IOMEM value which isn't configurable). Use these values in UserConfig at boot time to tell the zp driver what the card is configured for, and it should work fine. Nate