Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Jun 2001 11:54:09 +0930
From:      Greg Lehey <grog@FreeBSD.org>
To:        Bill Schoolcraft <bill@wiliweld.com>
Cc:        FreeBSD Questions <questions@FreeBSD.ORG>
Subject:   Re: digital camera
Message-ID:  <20010619115409.G58585@wantadilla.lemis.com>
In-Reply-To: <Pine.LNX.4.21.0106180747400.19258-100000@corten8.billschoolcraft.com>; from bill@wiliweld.com on Mon, Jun 18, 2001 at 08:28:49AM -0700
References:  <20010518114030.J55915@wantadilla.lemis.com> <Pine.LNX.4.21.0106180747400.19258-100000@corten8.billschoolcraft.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010619115409.G58585>