From owner-freebsd-questions Mon Jun 18 20: 1: 8 2001 Delivered-To: freebsd-questions@freebsd.org Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by hub.freebsd.org (Postfix) with ESMTP id A40E137B403 for ; Mon, 18 Jun 2001 20:01:02 -0700 (PDT) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 344396ACC2; Tue, 19 Jun 2001 11:54:09 +0930 (CST) Date: Tue, 19 Jun 2001 11:54:09 +0930 From: Greg Lehey To: Bill Schoolcraft Cc: FreeBSD Questions Subject: Re: digital camera Message-ID: <20010619115409.G58585@wantadilla.lemis.com> References: <20010518114030.J55915@wantadilla.lemis.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from bill@wiliweld.com on Mon, Jun 18, 2001 at 08:28:49AM -0700 Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 6B 7B C3 8C 61 CD 54 AF 13 24 52 F8 6D A4 95 EF Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Monday, 18 June 2001 at 8:28:49 -0700, Bill Schoolcraft wrote: > At Fri, 18 May 2001 it looks like Greg Lehey composed: > > > GL-->There are various things in the Ports Collection. I personally use a > GL-->camera with Compact Flash memory (a Nikon CoolPix 880, which I quite > GL-->like). I insert the CF card into a PCMCIA adaptor and mount it on my > GL-->laptop as an MS-DOS file system. See > GL-->http://echunga.lemis.com/~grog/diary-nov2000.html, 10 November 2000, > GL-->for more details. > GL--> > GL-->Greg > > Hello Family, > > I was reading the examples at > http://echunga.lemis.com/~grog/diary-nov2000.html and noticed that > the compact flash card was mounted from /dev/ad6s1 and my devices > stop at /dev/ad3* Your "devices" in /dev are just files which tell userland programs how to access the hardware devices. You can create them or remove them at will. To create /dev/ad8s1, the one you want, do: # cd /dev # ./MAKEDEV ad8s1 > I'm using a Toshiba-1715xcds laptop. > > I'm also getting some action in /var/log/messages that's noticing > the card (I think) > > (each line seperated by space) > ########################################################### > Jun 18 07:14:39 laptop pccardd[52]: wi0: Lucent Technologies > (WaveLAN/IEEE) inserted. > > Jun 18 07:14:44 laptop pccardd[52]: Card "SunDisk"("SDP") [5/3 > 0.6] [(null)] matched "SunDisk" ("/.*/") [(null)] [(null)] > > Jun 18 07:14:49 laptop /kernel: ata4 at port 0x280-0x28f irq 5 > slot 1 on pccard1 > > Jun 18 07:14:59 laptop /kernel: ata4-master: > ata_command: timeout waiting for intr > > Jun 18 07:15:00 laptop /kernel: ata4-master: identify failed > > Jun 18 07:14:59 laptop pccardd[52]: ata4: SunDisk (/.*/) > inserted. > > Jun 18 07:14:59 laptop pccardd[52]: pccardd started > ########################################################## OK, this looks like irq 5 is already in use for something else. This is a relatively common. You need to find out which IRQs are free, and which don't conflict with your Orinoco card. > Now this is a triple booted laptop and I've confirmed that the > SanDisk, CompactFlash PC Card Holder works with Linux, Great. You're more than half way there. > Windows_ME and now the final hurdle is FreeBSD. OK, take a look at the IRQs that Linux assigns to the Orinoco and the CF card. You can then create or change your /etc/pccard.conf to include the lines (these are in /etc/defaults/pccard.conf): # Generally available IRQs (Built-in sound-card owners remove 5) irq 3 5 10 11 13 15 Note the comment; I don't trust it too much, but it could be the sound card conflicting. Change the IRQs to include only the IRQs the system uses in Linux. Restart pccardd. That may be all you need to do. If not, come back and we'll continue. > When setting up my wirless Orinoco card FreeBSD was by far the > easiest, with Linux second (recompile kernel) This relates to my experience. I've spent some time on this issue with Debian in the last couple of days. A whole lot of us OzLabs people got the same new laptop and wireless card. It worked out of the box in FreeBSD, but Debian didn't have the module needed, so it needed to be compiled. I don't think you need to build a new Linux kernel. Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message