From owner-freebsd-questions Tue Jun 19 10: 7:34 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ruby.he.net (ruby.he.net [216.218.187.2]) by hub.freebsd.org (Postfix) with ESMTP id B405237B410; Tue, 19 Jun 2001 10:07:21 -0700 (PDT) (envelope-from bill@wiliweld.com) Received: from corten8.billschoolcraft.com (adsl-63-193-247-201.dsl.snfc21.pacbell.net [63.193.247.201]) by ruby.he.net (8.8.6/8.8.2) with ESMTP id KAA15097; Tue, 19 Jun 2001 10:07:25 -0700 Date: Tue, 19 Jun 2001 10:07:11 -0700 (PDT) From: Bill Schoolcraft X-Sender: bill@corten8.billschoolcraft.com To: Greg Lehey Cc: FreeBSD Questions Subject: Re: digital camera [CompactFlash Card, it works!!] In-Reply-To: <20010619115409.G58585@wantadilla.lemis.com> Message-ID: System-ID: [en] (I; Linux 2.2.17-21mdk i86pc) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 At Tue, 19 Jun 2001 it looks like Greg Lehey composed: GL-->On Monday, 18 June 2001 at 8:28:49 -0700, Bill Schoolcraft wrote: GL-->> At Fri, 18 May 2001 it looks like Greg Lehey composed: GL-->> GL-->> GL-->> GL-->There are various things in the Ports Collection. I personally use a GL-->> GL-->camera with Compact Flash memory (a Nikon CoolPix 880, which I quite GL-->> GL-->like). I insert the CF card into a PCMCIA adaptor and mount it on my GL-->> GL-->laptop as an MS-DOS file system. See GL-->> GL-->http://echunga.lemis.com/~grog/diary-nov2000.html, 10 November 2000, GL-->> GL-->for more details. GL-->> GL--> GL-->> GL-->Greg GL-->> GL-->> Hello Family, GL-->> GL-->> I was reading the examples at GL-->> http://echunga.lemis.com/~grog/diary-nov2000.html and noticed that GL-->> the compact flash card was mounted from /dev/ad6s1 and my devices GL-->> stop at /dev/ad3* GL--> GL-->Your "devices" in /dev are just files which tell userland programs how GL-->to access the hardware devices. You can create them or remove them at GL-->will. To create /dev/ad8s1, the one you want, do: GL--> GL--> # cd /dev GL--> # ./MAKEDEV ad8s1 GL--> GL-->> I'm using a Toshiba-1715xcds laptop. GL-->> GL-->> I'm also getting some action in /var/log/messages that's noticing GL-->> the card (I think) GL-->> GL-->> (each line seperated by space) GL-->> ########################################################### GL-->> Jun 18 07:14:39 laptop pccardd[52]: wi0: Lucent Technologies GL-->> (WaveLAN/IEEE) inserted. GL-->> GL-->> Jun 18 07:14:44 laptop pccardd[52]: Card "SunDisk"("SDP") [5/3 GL-->> 0.6] [(null)] matched "SunDisk" ("/.*/") [(null)] [(null)] GL-->> GL-->> Jun 18 07:14:49 laptop /kernel: ata4 at port 0x280-0x28f irq 5 GL-->> slot 1 on pccard1 GL-->> GL-->> Jun 18 07:14:59 laptop /kernel: ata4-master: GL-->> ata_command: timeout waiting for intr GL-->> GL-->> Jun 18 07:15:00 laptop /kernel: ata4-master: identify failed GL-->> GL-->> Jun 18 07:14:59 laptop pccardd[52]: ata4: SunDisk (/.*/) GL-->> inserted. GL-->> GL-->> Jun 18 07:14:59 laptop pccardd[52]: pccardd started GL-->> ########################################################## GL--> GL-->OK, this looks like irq 5 is already in use for something else. This GL-->is a relatively common. You need to find out which IRQs are free, and GL-->which don't conflict with your Orinoco card. GL--> GL-->> Now this is a triple booted laptop and I've confirmed that the GL-->> SanDisk, CompactFlash PC Card Holder works with Linux, GL--> GL-->Great. You're more than half way there. GL--> GL-->> Windows_ME and now the final hurdle is FreeBSD. GL--> GL-->OK, take a look at the IRQs that Linux assigns to the Orinoco and the GL-->CF card. You can then create or change your /etc/pccard.conf to GL-->include the lines (these are in /etc/defaults/pccard.conf): GL--> GL--> # Generally available IRQs (Built-in sound-card owners remove 5) GL--> irq 3 5 10 11 13 15 GL--> GL-->Note the comment; I don't trust it too much, but it could be the sound GL-->card conflicting. Change the IRQs to include only the IRQs the system GL-->uses in Linux. Restart pccardd. That may be all you need to do. If GL-->not, come back and we'll continue. GL--> GL-->> When setting up my wirless Orinoco card FreeBSD was by far the GL-->> easiest, with Linux second (recompile kernel) GL--> GL-->This relates to my experience. I've spent some time on this issue GL-->with Debian in the last couple of days. A whole lot of us OzLabs GL-->people got the same new laptop and wireless card. It worked out of GL-->the box in FreeBSD, but Debian didn't have the module needed, so it GL-->needed to be compiled. I don't think you need to build a new Linux GL-->kernel. GL--> GL-->Greg GL-->-- GL-->When replying to this message, please copy the original recipients. GL-->If you don't, I may ignore the reply. GL-->For more information, see http://www.lemis.com/questions.html GL-->See complete headers for address and phone numbers GL--> Well, that worked. I removed the irq 5, found that Linux was giving the CompactFlash irq 9, I didn't have irq 9 in /etc/pccard.conf as available irq's so I added it. My biggest question is how did you determine /dev/ad8s1 was the device id for that ? In looking at the /dev directory my last closest dev to the one you suggested I use was /dev/ad3s4 then it jumped to your successful entry of /dev/ad8s1 I'm confused and grateful. (as usual) -- Bill Schoolcraft PO Box 210076 -o) San Francisco CA 94121 /\ "UNIX, A Way Of Life." _\_v http://forwardslashunix.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message