From owner-freebsd-hackers@FreeBSD.ORG Sat Feb 24 16:45:13 2007 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F81416A401 for ; Sat, 24 Feb 2007 16:45:13 +0000 (UTC) (envelope-from dakfreebsd@gmail.com) Received: from nz-out-0506.google.com (nz-out-0506.google.com [64.233.162.238]) by mx1.freebsd.org (Postfix) with ESMTP id 5A21A13C4A3 for ; Sat, 24 Feb 2007 16:45:13 +0000 (UTC) (envelope-from dakfreebsd@gmail.com) Received: by nz-out-0506.google.com with SMTP id i11so844122nzh for ; Sat, 24 Feb 2007 08:45:12 -0800 (PST) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=dDJPMcYxpdaanChhn9R2xG7N04J/hmLDWLejLwnRzAjvMas3ZxK1WlMFababHk/gHpRvRE1oiOr1v6hGbnCNeWFO/HEKsj6h7CqH2BR+CJQpc3EEHyKuZkmsESXvMDfnZoZh39GixvvIgnRzq8GwADFAtN/wsqzFLm25WkLwmzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=GOy3+WfeY7p8E+9wpQ+uc2L7YIq8r4hD+DUkh2q9YD/Hc3VZLgBk6JsUCpfsQOFyXcXnpLfNxYPaLmd/EHJQF/xfnN4KcpMuLapXtMYSctdPnxiskKqDuapZbDkivuFlGeukYPvufd0Zhgjd4YCEakH6q5z47+wQf2ROPd9bikw= Received: by 10.115.95.1 with SMTP id x1mr114753wal.1172335509774; Sat, 24 Feb 2007 08:45:09 -0800 (PST) Received: by 10.114.157.16 with HTTP; Sat, 24 Feb 2007 08:45:09 -0800 (PST) Message-ID: <5df74baa0702240845m7d318ecai803dab3bac6a83a9@mail.gmail.com> Date: Sat, 24 Feb 2007 11:45:09 -0500 From: "DAK GHATIKACHALAM" To: cokane@cokane.org In-Reply-To: <346a80220702222216w560745dbw97f12e2da94fe698@mail.gmail.com> MIME-Version: 1.0 References: <5df74baa0702181756o24be57c5r660bfb5f70db1194@mail.gmail.com> <346a80220702211957t691bc8e9y2bde48bc0d1d0d32@mail.gmail.com> <5df74baa0702222013w31a4ea16q6b7fe248f6c47f53@mail.gmail.com> <346a80220702222216w560745dbw97f12e2da94fe698@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-hackers@freebsd.org Subject: Re: Wireless card not being detected X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 24 Feb 2007 16:45:13 -0000 On 2/23/07, Coleman Kane wrote: > > On 2/22/07, DAK GHATIKACHALAM wrote: > > > On 2/21/07, Coleman Kane wrote: > > > > > > On 2/18/07, DAK GHATIKACHALAM wrote: > > > > > > > Hi Freebsd > > > > > > > > > > > > I have an issue with new card I need to make it work with freebsd, > > > > > > > > > > > > on /var/log/messages I get > > > > > > > > > > > > Feb 18 20:51:55 DAK kernel: pccard0: > > > > (manufacturer=0x0192, > > > > produc > > > > t=0x0710, function_type=6) at function 0 > > > > Feb 18 20:51:55 DAK kernel: pccard0: CIS info: Sierra Wireless, > > > > AC860, 3G > > > > Net > > > > work Adapter, R1 > > > > > > > > > > > > For some reason I dont understand why I get unknown card error > > > > > > > > Does any one has idea > > > > > > > > > > > > Thanks > > > > Dak > > > > > > > > > > > > This is a 3G wireless card (not Wi-Fi)... apparently it is supposed to > > be > > > supported by the uart or sio drivers. You should try searching google > > for: > > > freebsd "sierra wireless" AC860 > > > > > > There are apparently some sort of changes to the kernel that need to > > be > > > made. > > > > > > > Thanks a lot for your input. > > > > Yes I have made changes to /usr/src/sys/dev/pccard/pccard_quirks.c file > > > > added a static struct > > > > static struct pccard_function pccard_sierra_860_func0 = { > > 6, /* function number */ > > PCCARD_FUNCTION_SERIAL, > > 0x0006, /* last cfe number */ > > 0x00, /* ccr_base */ > > 0x07, /* ccr_mask */ > > }; > > > > static struct pccard_config_entry pccard_sierra_860_func0_cfe0 = { > > 0x0006, /* cfe number */ > > PCCARD_CFE_IO8 | PCCARD_CFE_IRQLEVEL, > > PCCARD_IFTYPE_IO, > > 1, /* num_iospace */ > > 3, /* iomask */ > > { { 0x3e8 , 0x3ee } }, /* iospace */ > > 0x3fbc, /* irqmask */ > > 0, /* num_memspace */ > > { }, /* memspace */ > > 0, /* maxtwins */ > > }; > > > > and as well /usr/src/sys/dev/pccard/pccarddevs file > > > > vendor SIERRA 0x0192 Sierra Wireless > > /* Sierra Wireless */ > > product SIERRA WIRELESS 0x0710 Sierra Wireless Card > > > > I added these the pccard device driver detects my card but > > > > on the detection of the card while booting the laptop on tI get he > > console > > I get > > > > Feb 22 22:51:12 DAK kernel: pccard0: Allocation failed for cfe 6 > > Feb 22 22:51:12 DAK kernel: pccard0: No config entry could be allocated. > > > > > > errors > > Do you have idea why I am getting there errors > > > > > > Thanks > > Dak > > > > > > -- > > > Coleman > > > > > > > > > > > > It's been awhile for me and debugging cardbus/pcmcia devices. Maybe try > changing the CFE number is the second struct to any of 0,1,2,3,4,5 ? > no matter what i use for cfe # it is th same message Feb 24 10:39:29 DAK kernel: pccard0: Allocation failed for cfe 5 Feb 24 10:39:29 DAK kernel: pccard0: No config entry could be allocated. --coleman >