From owner-freebsd-usb@FreeBSD.ORG Sun Sep 13 12:43:57 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0F6061065676; Sun, 13 Sep 2009 12:43:57 +0000 (UTC) (envelope-from vinnix.bsd@gmail.com) Received: from mail-yx0-f193.google.com (mail-yx0-f193.google.com [209.85.210.193]) by mx1.freebsd.org (Postfix) with ESMTP id 77F338FC16; Sun, 13 Sep 2009 12:43:56 +0000 (UTC) Received: by yxe31 with SMTP id 31so3019684yxe.29 for ; Sun, 13 Sep 2009 05:43:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=Lgh3+Mxa3HVDGDgZYaYt4bdoYnkP6oPsg12owqY8LLI=; b=WZX2zZdc4C9o0gNszeWZpH4zh/zrnBRejQnpSgLdPX6pOrNWbMy5vLfhp/Lx168K84 +PYDI88Wph5IQ6TxqJnlFY9AEFAdkqwWgeTdNZYtFzpWdtxKnFY3ZIM/05D6So55FMck YmVUX5XIOU/37ej1OtTkmtDMoVvjoZ2lcmTkM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=F51EQwUs+IK2FQEx0GhLDFL6kCrHqq27Iqs8yF8wDj7TZ7t0WXnon5aMnQvJjewpRX v4oaNViezfXiI+1oEjffhV0Fgwp1BBDX/ilgTV/4cd0wFyWO0ooEpqWrPD83PZFAk5FN 2bQyvGd9g69SPKZSASBOrjX8nl9qsbj0DXCis= MIME-Version: 1.0 Received: by 10.100.40.17 with SMTP id n17mr5271003ann.187.1252844170069; Sun, 13 Sep 2009 05:16:10 -0700 (PDT) In-Reply-To: References: <20090908201713.GD41185@e.0x20.net> <20090909104528.20b28e65@ernst.jennejohn.org> <20090909181620.GA19090@e.0x20.net> <1e31c7980909121438p6389820fte3923b4c9c9729e8@mail.gmail.com> Date: Sun, 13 Sep 2009 09:16:10 -0300 Message-ID: <1e31c7980909130516g1b3cb9fn5df77c23ec072413@mail.gmail.com> From: Vinicius Abrahao To: Florent Thoumie , lars.engels@0x20.net, luigi@FreeBSD.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current , freebsd-usb@freebsd.org Subject: Re: CFH: fix multimedia/pwcbsd with usb2 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 13 Sep 2009 12:43:57 -0000 Thanks Florent, That's it for sure. I recompile my kernel yesterday and now pwcbsd is loading normally. Therefore, now I see that pwc is the wrong driver for me. My webcam is a Philips SPC500NC. ID 093a:2603 Pixart Imaging, Inc. At Google I found that linux-gspca-kmod is the right driver for me. But this seen broken as pwcbsd was in the past. In file included from /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.c:44: /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h:69:30: error: dev/usb/usb_port.h: No such file or directory In file included from /usr/local/share/linux-kmod-compat/linux_compat/linux_compat.c:44: /usr/local/share/linux-kmod-compat/linux_compat/ldev_stub.h:69:30: error: dev/usb/usb_port.h: No such file or directory mkdep: compile failed *** Error code 1 I'm using linux_base-f10-10_2 / linux-kmod-compat-20080408 with the 9.0 (-current). Thanks in advance, Vinicius search related: [1] http://forums.freebsd.org/showthread.php?t=3D2163 [2] http://www.freebsd.org/cgi/cvsweb.cgi/ports/multimedia/linux-gspca-kmod= / On Sat, Sep 12, 2009 at 11:05 PM, Florent Thoumie wrote: > On Sat, Sep 12, 2009 at 10:38 PM, Vinicius Abrahao > wrote: >> >> Hi Guys, >> >> Thanks for hard work with pwcbsd. Now the port is compile here =A0at >> 9.0-current, but >> I'm have some trouble to load the module: >> >> KLD pwc.ko: depends on kernel - not available or version mismatch >> linker_load_file: Unsupported file type >> >> using the 9.0-CURRENT #16: Sun Sep =A06 10:40:56 BRT 2009 . >> >> Any ideas? > > You've compiled pwcbsd against kernel sources that aren't in sync with th= e > kernel you're running. > > -- > Florent Thoumie > flz@FreeBSD.org > FreeBSD Committer >