From owner-freebsd-usb@FreeBSD.ORG Sun Jan 17 05:39:42 2010 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 B81F5106566B; Sun, 17 Jan 2010 05:39:42 +0000 (UTC) (envelope-from fbsd1@a1poweruser.com) Received: from mail-03.name-services.com (mail-03.name-services.com [69.64.155.195]) by mx1.freebsd.org (Postfix) with ESMTP id 9F7778FC16; Sun, 17 Jan 2010 05:39:42 +0000 (UTC) Received: from [10.0.10.3] ([202.69.174.13]) by mail-03.name-services.com with Microsoft SMTPSVC(6.0.3790.3959); Sat, 16 Jan 2010 21:39:42 -0800 Message-ID: <4B52A297.8010107@a1poweruser.com> Date: Sun, 17 Jan 2010 13:39:35 +0800 From: Fbsd1 User-Agent: Thunderbird 2.0.0.17 (Windows/20080914) MIME-Version: 1.0 To: Hans Petter Selasky References: <201001160950.o0G9o60H012955@www.freebsd.org> <201001161108.34235.hselasky@c2i.net> <4B51BF7D.5090702@a1poweruser.com> <201001161438.40452.hselasky@c2i.net> In-Reply-To: <201001161438.40452.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 17 Jan 2010 05:39:42.0911 (UTC) FILETIME=[783364F0:01CA9737] X-Sender: fbsd1@a1poweruser.com Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/142876: sysinstall abort:: usb stick as source media & usb stick as install target 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, 17 Jan 2010 05:39:42 -0000 >> > > Hi, > > I understand that. The problem I see it is that /dev/daX is used as mount > device instead of the disk label, for example /dev/ufs/FreeBSD-8-installer. > Then the device name does not matter. This is not an USB problem. Your PR is > misplaced. > > --HPS > > So change the PR "Category = usb" to I386 or software or what ever category the sysinstall program would be under. From owner-freebsd-usb@FreeBSD.ORG Sun Jan 17 05:40:03 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 142101065676 for ; Sun, 17 Jan 2010 05:40:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 02D518FC17 for ; Sun, 17 Jan 2010 05:40:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0H5e22N039937 for ; Sun, 17 Jan 2010 05:40:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0H5e23p039936; Sun, 17 Jan 2010 05:40:02 GMT (envelope-from gnats) Date: Sun, 17 Jan 2010 05:40:02 GMT Message-Id: <201001170540.o0H5e23p039936@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Fbsd1 Cc: Subject: Re: usb/142876: sysinstall abort:: usb stick as source media & usb stick as install target X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Fbsd1 List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2010 05:40:03 -0000 The following reply was made to PR usb/142876; it has been noted by GNATS. From: Fbsd1 To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/142876: sysinstall abort:: usb stick as source media & usb stick as install target Date: Sun, 17 Jan 2010 13:39:35 +0800 >> > > Hi, > > I understand that. The problem I see it is that /dev/daX is used as mount > device instead of the disk label, for example /dev/ufs/FreeBSD-8-installer. > Then the device name does not matter. This is not an USB problem. Your PR is > misplaced. > > --HPS > > So change the PR "Category = usb" to I386 or software or what ever category the sysinstall program would be under. From owner-freebsd-usb@FreeBSD.ORG Sun Jan 17 15:01:21 2010 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 D4B6F1065676 for ; Sun, 17 Jan 2010 15:01:21 +0000 (UTC) (envelope-from google@vink.pl) Received: from mail-fx0-f173.google.com (mail-fx0-f173.google.com [209.85.220.173]) by mx1.freebsd.org (Postfix) with ESMTP id 6DB498FC1B for ; Sun, 17 Jan 2010 15:01:20 +0000 (UTC) Received: by fxm21 with SMTP id 21so273651fxm.14 for ; Sun, 17 Jan 2010 07:01:20 -0800 (PST) Received: by 10.87.63.27 with SMTP id q27mr286979fgk.72.1263740479795; Sun, 17 Jan 2010 07:01:19 -0800 (PST) Received: from mail-fx0-f218.google.com (mail-fx0-f218.google.com [209.85.220.218]) by mx.google.com with ESMTPS id d8sm9078767fga.13.2010.01.17.07.01.19 (version=SSLv3 cipher=RC4-MD5); Sun, 17 Jan 2010 07:01:19 -0800 (PST) Received: by fxm10 with SMTP id 10so1454230fxm.14 for ; Sun, 17 Jan 2010 07:01:19 -0800 (PST) MIME-Version: 1.0 Received: by 10.223.5.77 with SMTP id 13mr5948539fau.86.1263740478991; Sun, 17 Jan 2010 07:01:18 -0800 (PST) In-Reply-To: <201001161324.31070.hselasky@c2i.net> References: <201001101640.o0AGe37d002491@freefall.freebsd.org> <201001161245.16118.hselasky@c2i.net> <2ae8edf31001160412k7d7c5537o4f2691121193dac9@mail.gmail.com> <201001161324.31070.hselasky@c2i.net> Date: Sun, 17 Jan 2010 16:01:18 +0100 Message-ID: <2ae8edf31001170701m6c867175rb2acc0f40bba151@mail.gmail.com> From: Wiktor Niesiobedzki To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Cc: Guido van Rooij , freebsd-usb Subject: Re: kern/141011: [usb] Encrypted root, geli password at boot; enter key never release 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, 17 Jan 2010 15:01:21 -0000 2010/1/16 Hans Petter Selasky : > > Can you also test entering KDB via: > > sysctl debug.kdb.panic=1 > Hi, When I have DDB/KDB in kernel, keyboard works flawlessly in debugger also. So looks very good from my side. Thanks! Cheers, Wiktor Niesiobedzki From owner-freebsd-usb@FreeBSD.ORG Sun Jan 17 18:30:08 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D9B8010656A5 for ; Sun, 17 Jan 2010 18:30:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id ABFE98FC1B for ; Sun, 17 Jan 2010 18:30:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0HIU82k042370 for ; Sun, 17 Jan 2010 18:30:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0HIU8I9042364; Sun, 17 Jan 2010 18:30:08 GMT (envelope-from gnats) Date: Sun, 17 Jan 2010 18:30:08 GMT Message-Id: <201001171830.o0HIU8I9042364@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: usb/141936: commit references a PR X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: dfilter service List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 17 Jan 2010 18:30:08 -0000 The following reply was made to PR usb/141936; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/141936: commit references a PR Date: Sun, 17 Jan 2010 18:29:39 +0000 (UTC) Author: thompsa Date: Sun Jan 17 18:29:30 2010 New Revision: 202508 URL: http://svn.freebsd.org/changeset/base/202508 Log: MFC r201318 Add new device ID to uipaq driver PR: usb/141936 Submitted by: HASHI Hiroaki Modified: stable/8/sys/dev/usb/serial/uipaq.c stable/8/sys/dev/usb/usbdevs Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/dev/usb/serial/uipaq.c ============================================================================== --- stable/8/sys/dev/usb/serial/uipaq.c Sun Jan 17 18:27:53 2010 (r202507) +++ stable/8/sys/dev/usb/serial/uipaq.c Sun Jan 17 18:29:30 2010 (r202508) @@ -1015,6 +1015,8 @@ static const struct usb_device_id uipaq_ /**/ {USB_VPI(USB_VENDOR_SHARP, USB_PRODUCT_SHARP_WZERO3ES, 0)}, /**/ + {USB_VPI(USB_VENDOR_SHARP, USB_PRODUCT_SHARP_WZERO3ADES, 0)}, + /**/ {USB_VPI(USB_VENDOR_SHARP, USB_PRODUCT_SHARP_WILLCOM03, 0)}, /* Symbol USB Sync */ {USB_VPI(USB_VENDOR_SYMBOL, 0x2000, 0)}, Modified: stable/8/sys/dev/usb/usbdevs ============================================================================== --- stable/8/sys/dev/usb/usbdevs Sun Jan 17 18:27:53 2010 (r202507) +++ stable/8/sys/dev/usb/usbdevs Sun Jan 17 18:29:30 2010 (r202508) @@ -2417,6 +2417,7 @@ product SHARP SL5600 0x8006 Zaurus SL-5 product SHARP SLC700 0x8007 Zaurus SL-C700 PDA product SHARP SLC750 0x9031 Zaurus SL-C750 PDA product SHARP WZERO3ES 0x9123 W-ZERO3 ES Smartphone +product SHARP WZERO3ADES 0x91ac Advanced W-ZERO3 ES Smartphone product SHARP WILLCOM03 0x9242 WILLCOM03 /* Shuttle Technology products */ _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org" From owner-freebsd-usb@FreeBSD.ORG Mon Jan 18 08:31:47 2010 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 11561106566B for ; Mon, 18 Jan 2010 08:31:47 +0000 (UTC) (envelope-from guido@gvr.org) Received: from gvr.gvr.org (gvr-gw.gvr.org [82.95.154.195]) by mx1.freebsd.org (Postfix) with ESMTP id C54F88FC12 for ; Mon, 18 Jan 2010 08:31:46 +0000 (UTC) Received: by gvr.gvr.org (Postfix, from userid 657) id A460E42D869; Mon, 18 Jan 2010 09:31:45 +0100 (CET) Date: Mon, 18 Jan 2010 09:31:45 +0100 From: Guido van Rooij To: Hans Petter Selasky Message-ID: <20100118083145.GA24285@gvr.gvr.org> References: <201001101640.o0AGe37d002491@freefall.freebsd.org> <201001101923.16236.hselasky@c2i.net> <2ae8edf31001101527w91928d0s51bf32ca47c52e7d@mail.gmail.com> <201001161245.16118.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001161245.16118.hselasky@c2i.net> Cc: Wiktor Niesiobedzki , freebsd-usb Subject: Re: kern/141011: [usb] Encrypted root, geli password at boot; enter key never release 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: Mon, 18 Jan 2010 08:31:47 -0000 On Sat, Jan 16, 2010 at 12:45:16PM +0100, Hans Petter Selasky wrote: > Hi, > > Can you try the latest version of UKBD from: > > http://p4web.freebsd.org/chv.cgi?CH=173214 > > Or: > > http://perforce.freebsd.org/chv.cgi?CH=173214 This fixes the 'hanging' enter-key. However, after the system boots multiuser I have xdm running. The first key I hit on the keyboard, one additional enter seems to be generated. To clarify: when I type in the first character of my username, xdm immeditately tells me to enter my password. This happens only once though, so the current version is perfectly useable. I also no longer have to set hw.usb.no_boot_wait to 1. -Guido From owner-freebsd-usb@FreeBSD.ORG Mon Jan 18 10:20:03 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C7FC5106566B for ; Mon, 18 Jan 2010 10:20:03 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 98C388FC0A for ; Mon, 18 Jan 2010 10:20:03 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0IAK3dT002133 for ; Mon, 18 Jan 2010 10:20:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0IAK38O002132; Mon, 18 Jan 2010 10:20:03 GMT (envelope-from gnats) Date: Mon, 18 Jan 2010 10:20:03 GMT Message-Id: <201001181020.o0IAK38O002132@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: "joeb" Cc: Subject: Re: usb/142876: sysinstall abort:: usb stick as source media & usb stick as install target X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: joeb List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Jan 2010 10:20:03 -0000 The following reply was made to PR usb/142876; it has been noted by GNATS. From: "joeb" To: , Cc: Subject: Re: usb/142876: sysinstall abort:: usb stick as source media & usb stick as install target Date: Mon, 18 Jan 2010 17:53:33 +0800 You can cancel this PR. The error described in this PR has been traced down to hardware. It seems to matter a great deal what Revision level of the USB 2.0 standard the usb stick was manufactured too. When plugging the stick into a usb port on a FreeBSD 8.0 system a bunch of messages are displayed. One of these messages contains the revision level. It seems Revision level 2.00/0.00 is only good for writing and reading data and causes the problem reported in this PR. Revision level 2.00/1.00 will allow FreeBSD to be installed on it but it is not recognized as bootable. Revision level 2.00/2.00 will allow FreeBSD to be installed on it and is recognized as bootable. A friend of mine works at a large computer store and he let me to open and test all the different manufactures of USB stick drives he had in stock. The sad part is the revision level is not printed on the stick or the packaging it was sold in. I used my Acer Travelmate 4220 laptop purchased in 2007 to test all the different sticks. The non-branded supper cheap sticks mfg'ed in Asia are all of the Revision level 2.00/0.00 type. The branded sticks mfg'ed in the USA are all of the Revision level 2.00/2.00 type and cost 25% to 50% more. From owner-freebsd-usb@FreeBSD.ORG Mon Jan 18 11:07:08 2010 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 61A0F1065676 for ; Mon, 18 Jan 2010 11:07:08 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 4FF538FC1F for ; Mon, 18 Jan 2010 11:07:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0IB78Wj047697 for ; Mon, 18 Jan 2010 11:07:08 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0IB77xf047695 for freebsd-usb@FreeBSD.org; Mon, 18 Jan 2010 11:07:07 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 18 Jan 2010 11:07:07 GMT Message-Id: <201001181107.o0IB77xf047695@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Cc: Subject: Current problem reports assigned to freebsd-usb@FreeBSD.org 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: Mon, 18 Jan 2010 11:07:08 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/142876 usb sysinstall abort:: usb stick as source media & usb sti o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa o usb/142713 usb [panic] Kernel Panik when connecting an IPhone 3GS. o usb/142427 usb EDIMAX EW7318USG should be added to usbdevs o usb/142387 usb Netgear WPN111 not recognised by uath(4) after uathloa o usb/142276 usb Cache Synchronization Error with Olympus FE210 Camera o usb/142229 usb [ums] [hang] connecting a USB mouse to a Dell PE750 lo o usb/141936 usb [usbdevs] [patch] add support for Advanced W-ZERO3[ES] o usb/141918 usb ehci_interrupt: unrecoverable error, controller halted o usb/141680 usb [uath] Netgear WG111T not working with uath driver o usb/141664 usb [pcm] Logitech USB microphone failure [regression] o usb/141474 usb [boot] FreeBSD 8.0 can not install from USB CDROM driv o usb/141467 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM o usb/141313 usb [usb8] nvidia USB 2.0 controller - stops copying on US o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb] Encrypted root, geli password at boot; enter key o usb/140928 usb [u3g] [usb8] [patch] ZTE CDMA2000 1X EV-DO (MG478/AC87 o usb/140920 usb [install] USB based install fails on 8.0-RELEASE [regr o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b f usb/140883 usb [axe] [usb8] USB gigabit ethernet hangs after short pe o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl f usb/140714 usb [hang] [usb8] system freeze when disconect my flash us o kern/140614 usb [uplcom] [patch] adding support for Radio Shack Gigwar o usb/140590 usb [bluetooth] [usb8] ng_ubt(4) ng_l2cap_process_cmd_rej o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140259 usb [libusb] [patch] [usb8] libusb-1.0 portability/compati o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A a usb/139990 usb [panic] [patch] [usb67] Kernel frequently panics after a usb/139598 usb [umass] [usb8] CAM reports "xptioctl: put "device pass o usb/139243 usb [uhci] [usb67] unplug prolific USB serial -> uhci_abor o usb/139142 usb [ehci] [usb8] [patch] ehci drivers (NVIDIA nForce4 USB o usb/138915 usb [patch] [usb8] [usb67] add support for SheevaPlug seri a usb/138904 usb [rum] [panic] [usb67] unpluging USB wifi card panics s f usb/138882 usb [ohci] [panic] [usb67] Can't install FreeBSD 7.2 due t a usb/138879 usb [uftdi] [patch] Patch to add support for CTI USB-Mini o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138570 usb [usb] [panic] USB mass device panics current 7.2-STABL o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138172 usb [u3g] [patch] [usb67] Additional dev id for u3g (Optio o usb/138138 usb [u3g] [patch] [usb67] Novatel U760 for u3g (Verizon an o usb/138124 usb [usbaudio] [usb8] Axed uaudio functionality in the usb o usb/138119 usb [usb67] [usb8] MultiBay CDROM (probably on USB bus) is o usb/137872 usb [usb67] [boot] slow booting on usb flash drive f usb/137848 usb [panic] [usb67] Page fault when using an USB bluetooth o usb/137806 usb [ukbd] [usb67] USB keyboard doesn't work until it's un o usb/137763 usb [usb67][ukbd] Logitech wireless keyboard media keys no o usb/137616 usb [usb67][usb8][usbdevs] [patch]: usbdevs update: Please o usb/137377 usb [usb8] Support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro p usb/137226 usb [usb67][patch] quirk for Philips extern USB disk o usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors f bin/137180 usb [build] [patch] building world for 8.0-BETA2 fails on o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H o usb/135938 usb [aue] [usb67] aue driver only passes traffic in promis f usb/135857 usb [urtw] [usb67] RTL8187 Wireless Adapter o usb/135575 usb [usbdevs] [patch] [usb67] Add HTC Wizard phone vid/pid o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa p usb/135372 usb [usb67][umass] Quirk report for Teclast TL-C300 usb me o usb/135348 usb [umass] USB Drive Hangs with ZFS (JMicron USB2/eSata) o usb/135206 usb machine reboots when inserted USB device o usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/135182 usb UMASS quirk - Olympus FE20 camera o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134633 usb Add support for WILLCOM03(SHARP smart phone) o usb/134631 usb [usbdevs] [patch] WiSPY DBx support requires usb tweak o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134117 usb [Patch] Add support for 'Option GlobeTrotter HSDPA Mod o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [newusb] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode p usb/132799 usb [usb][patch]GENESYS USB2IDE requires NO_SYNCHRONIZE_CA o usb/132785 usb [usb] [patch] Gemtech remote powersocket is classed as o usb/132594 usb USB subsystem causes page fault and crashes o usb/132312 usb Xorg 7.4 halts USB controller o usb/132080 usb [patch] [usb] [rum] Kernel panic after NOMEM caused by o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131912 usb [uslcom] [patch] New devices using Silicon Labs chips o usb/131900 usb [usbdevs] [patch] Additional product identification co o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c o usb/131123 usb [patch] re-add UQ_ASSUME_CM_OVER_DATA USB quirk o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130230 usb Samsung Electronics YP-U3 does not attach in 7.1-RELEA o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [newusb] DVD drive detects as 'da' device o usb/129945 usb [usbdevs] [patch] add u3g support for Longcheer WM66 U o usb/129766 usb [usb] plugging in usb modem HUAWEI E226 panics system o usb/129758 usb [uftdi] [patch] add Pyramid LCD usb support o usb/129673 usb [uhci] uhci (uhub) confused on replugging USB 1.1 scan o usb/129522 usb [ubsa] [patch] add support for ZTE AC8700 modem o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader o usb/129251 usb [usbdevs] [patch] Liebert UPS being assigned uhid and o usb/129173 usb [uplcom] [patch] Add support for Corega CG-USBRS232R a s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb] [patch] uaudio is not full duplex o usb/128803 usb [usbdevs] [patch] Quirk for I-Tuner Networks USBLCD4X2 o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/128324 usb [uplcom] [patch] remove baud rate restriction for PL23 o usb/127980 usb [umass] [patch] Fix Samsung YP U2 MP3 player on 7.x an o usb/127926 usb [boot] USB Timeout during bootup p usb/127549 usb [umass] [usb67] [patch] Meizu MiniPlayer M6 (SL) requi s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127423 usb [boot] BTX halted on Gigabyte GA-MA69VM-S2 / AMD Sempr o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attaach and detach o usb/127222 usb [ohci] Regression in 7.0 usb storage generic driver o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125736 usb [ukbd] [hang] system hangs after AT keyboard detect if o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d o usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125238 usb [ums] Habu Mouse turns off in X o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o usb/124604 usb [ums] Microsoft combo wireless mouse doesn't work o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/123509 usb [umass] continuous reset Samsung SGH-G600 phone o usb/123352 usb [usbdevs] [patch] Add Option GTMAX3.6/7.2 and Quallcom o usb/123351 usb [usbdevs] [patch] Add Reiner SCT cyberJack, Omnikey [2 o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122956 usb [ubsa] [patch] add support for Novatel Wireless XU870 o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122819 usb [usb] [patch] Patch to provide dynamic additions to th o usb/122813 usb [udbp] [request] udbp driver should be removed in favo o usb/122621 usb [new driver] [patch] New driver for Sierra Wireless 3G o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/122025 usb [uscanner] [patch] uscanner does not attach to Epson R o usb/121755 usb [ohci] [patch] Fix panic after ohci/uhub cardbus devic o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121474 usb [cam] [patch] QUIRK: SAMSUNG HM250JI in LaCie usb hard o usb/121426 usb [patch] [uscanner] add HP ScanJet 3570C o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121232 usb [usb] [panic] USB CardBus card removal causes reboot s p usb/121184 usb [uipaq] [patch] add ids from linux ipaq driver (plus a o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS o usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o usb/120572 usb [umass] [patch] quirk to support ASUS P535 as umass (a o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119981 usb [axe] [patch] add support for LOGITEC LAN-GTJ/U2 gigab o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119513 usb [irq] inserting dlink dwl-g630 wireless card results i o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119481 usb [hang] FreeBSD not responding after connecting USB-Mas o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/119201 usb [cam] [patch] Quirks for Olympus FE-210 camera, LG and o usb/118485 usb [usbdevs] [patch] Logitech Headset Workaround o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [uaudio] [patch] Not possible to record with Plantroni o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117200 usb [ugen] ugen0 prints strange string on attach if detach o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a o usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th o usb/116699 usb [usbhid] USB HID devices do not initialize at system b o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115933 usb [uftdi] [patch] RATOC REX-USB60F (usb serial converter o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o usb/114068 usb [usb67] [usb8] [umass] [patch] Problem with connection o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated s usb/108344 usb [usb67] [atausb] [panic] kernel with atausb panics whe o usb/107827 usb [usb67] [ohci] [panic] ohci_add_done addr not found o usb/107388 usb [usb67] [usb8] [new driver] [patch] add utoppy device o usb/107243 usb [usb67] [cam] [quirk] [patch] Apacer USB Flash Drive q o usb/106041 usb [usb67] [usb8] [request] FreeBSD does not recognise Mu o usb/105361 usb [usb67] [panic] Kernel panic during unmounting mass st s usb/103917 usb [usb67] [uhub] USB driver reports "Addr 0 should never o usb/103418 usb [usb67] [usb8] [patch] [request] usbhidctl(8) add abil o usb/103046 usb [usb67] [ulpt] [patch] ulpt event driven I/O with sele o usb/101775 usb [usb67] [usb8] [libusbhid] [patch] possible error in r o usb/101761 usb [usb67] [patch] [request] usb.h: increase maximal size o usb/100746 usb [usb67] [ukbd] system does not boot due to USB keyboar o usb/99538 usb [keyboard] while using USB keyboard default params of o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [bluetooth] SMP-Kernel crashes reliably when Bluetooth o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96381 usb [cam] [patch] add a quirk table entry for a flash ram o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb s usb/95348 usb [keyboard] USB keyboard unplug causes noise on screen o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93872 usb [cam] [patch] SCSI quirk required for ELTA 8061 OL USB o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/93155 usb [ulpt] /dev/ulpt0: device busy, USB printer does not w o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg o usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91629 usb [usb] usbd_abort_pipe() may result in infinite loop o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? s usb/89003 usb [request] LaCie Firewire drive not properly supported o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. o usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device f usb/84750 usb [hang] 6-BETA2 reboot/shutdown with root_fs on externa s usb/84336 usb [usb] [reboot] instant system reboot when unmounting a o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83563 usb [umass] [panic] Page Fault while detaching Mpman Usb d o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82660 usb [ehci] [panic] EHCI: I/O stuck in state 'physrd'/panic s usb/82569 usb [umass] [panic] USB mass storage plug/unplug causes sy o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. o usb/80862 usb [patch] USB locking issues: missing some Giant calls o usb/80854 usb [patch] [request] suggestion for new iface-no-probe me o usb/80829 usb [modules] [panic] possible panic when loading USB-modu s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails o usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/79722 usb [ehci] wrong alignments in ehci.h a usb/79656 usb [ehci] RHSC interrupts lost o usb/79524 usb [ulpt] printing to Minolta PagePro 1[23]xxW via USB fa o usb/79287 usb [uhci] [hang] UHCI hang after interrupt transfer o usb/79269 usb [ohci] USB ohci da0 plug/unplug causes crashes and loc o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/77184 usb [umass] [panic] kernel panic on USB device disconnect, o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device o usb/76461 usb [umass] disklabel of umass(4)-CAM(4)-da(4) not used by o usb/76395 usb [uhci] USB printer does not work, usbdevs says "addr 0 s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75797 usb [sound] [regression] 5.3-STABLE(2005 1/4) detect USB h o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for o usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) o usb/74771 usb [umass] [hang] mounting write-protected umass device a s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/73307 usb [panic] Kernel panics on USB disconnect s usb/72733 usb [ucom] [request] Kyocera 7135 Palm OS connection probl o usb/71455 usb [umass] Slow USB umass performance of 5.3 o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/70523 usb [umct] [patch] umct sending/receiving wrong characters o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/68232 usb [ugen] [patch] ugen(4) isochronous handling correction o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct o usb/63621 usb [umass] [panic] USB MemoryStick Reader stalls/crashes s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s o usb/59698 usb [keyboard] [patch] Rework of ukbd HID to AT code trans s bin/57255 usb [patch] usbd(8) and multi-function devices s usb/52026 usb [usb] [request] umass driver support for InSystem ISD2 s usb/51958 usb [urio] [patch] update for urio driver o i386/46371 usb USB controller cannot be initialized on IBM Netfinity o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 337 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Jan 18 15:42:23 2010 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 E637B1065672 for ; Mon, 18 Jan 2010 15:42:23 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.swip.net [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 748338FC22 for ; Mon, 18 Jan 2010 15:42:23 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=l0Z3a6eDwrsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=e2KQJg05DX6JUQhdhLMA:9 a=dfu7L7oOOrR9JblfpAYA:7 a=ar4rEBDnq5olmRI5WdUjlDm8fJwA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 593287611; Mon, 18 Jan 2010 16:42:21 +0100 From: Hans Petter Selasky To: Guido van Rooij Date: Mon, 18 Jan 2010 16:40:56 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101640.o0AGe37d002491@freefall.freebsd.org> <201001161245.16118.hselasky@c2i.net> <20100118083145.GA24285@gvr.gvr.org> In-Reply-To: <20100118083145.GA24285@gvr.gvr.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001181640.56574.hselasky@c2i.net> Cc: Wiktor Niesiobedzki , freebsd-usb Subject: Re: kern/141011: [usb] Encrypted root, geli password at boot; enter key never release 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: Mon, 18 Jan 2010 15:42:24 -0000 On Monday 18 January 2010 09:31:45 Guido van Rooij wrote: > On Sat, Jan 16, 2010 at 12:45:16PM +0100, Hans Petter Selasky wrote: > > Hi, > > > > Can you try the latest version of UKBD from: > > > > http://p4web.freebsd.org/chv.cgi?CH=173214 > > > > Or: > > > > http://perforce.freebsd.org/chv.cgi?CH=173214 > > This fixes the 'hanging' enter-key. > > However, after the system boots multiuser I have xdm running. The first > key I hit on the keyboard, one additional enter seems to be generated. > To clarify: when I type in the first character of my username, xdm > immeditately tells me to enter my password. This happens only once though, > so the current version is perfectly useable. I also no longer have to > set hw.usb.no_boot_wait to 1. I'm not sure exactly where that bug is. If you could add some prints to the get char function in ukbd.c and see when the clear keyboard state function is called, that would be nice. I'm a little short of time nowadays. --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 08:20:06 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C8C781065672 for ; Tue, 19 Jan 2010 08:20:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 87CA08FC2A for ; Tue, 19 Jan 2010 08:20:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0J8K6C1079297 for ; Tue, 19 Jan 2010 08:20:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0J8K6st079296; Tue, 19 Jan 2010 08:20:06 GMT (envelope-from gnats) Resent-Date: Tue, 19 Jan 2010 08:20:06 GMT Resent-Message-Id: <201001190820.o0J8K6st079296@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Tom Vijlbrief Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8DF18106566B for ; Tue, 19 Jan 2010 08:13:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 7D64D8FC1A for ; Tue, 19 Jan 2010 08:13:34 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o0J8DYav088279 for ; Tue, 19 Jan 2010 08:13:34 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o0J8DY0c088278; Tue, 19 Jan 2010 08:13:34 GMT (envelope-from nobody) Message-Id: <201001190813.o0J8DY0c088278@www.freebsd.org> Date: Tue, 19 Jan 2010 08:13:34 GMT From: Tom Vijlbrief To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/142957: patch for USB disk SYNCHRONIZE CACHE problem 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: Tue, 19 Jan 2010 08:20:07 -0000 >Number: 142957 >Category: usb >Synopsis: patch for USB disk SYNCHRONIZE CACHE problem >Confidential: no >Severity: serious >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 19 08:20:06 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Tom Vijlbrief >Release: 8.0-RELEASE-p2 >Organization: Home >Environment: FreeBSD nomadbsd.v7f.eu 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #3: Tue Jan 19 08:22:31 CET 2010 root@nomadbsd.v7f.eu:/usr/obj/usr/src/sys/TOM i386 >Description: When using a noname USB drive with ZFS the messages log is filled with: Jan 18 21:18:53 nomadbsd kernel: (da0:umass-sim0:0:0:0): SYNCHRONIZE CACHE(10). CDB: 35 0 0 0 0 0 0 0 0 0 Jan 18 21:18:53 nomadbsd kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status Error Jan 18 21:18:53 nomadbsd kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check Condition Jan 18 21:18:53 nomadbsd kernel: (da0:umass-sim0:0:0:0): ILLEGAL REQUEST asc:20,0 Jan 18 21:18:53 nomadbsd kernel: (da0:umass-sim0:0:0:0): Invalid command operation code Jan 18 21:18:53 nomadbsd kernel: (da0:umass-sim0:0:0:0): Unretryable error >How-To-Repeat: Attach my USB drive and use ZFS >Fix: Apply this patch for adding a quirck specification to the usbdevs Patch attached with submission follows: *** sys/dev/usb/usbdevs.org Tue Jan 19 08:38:49 2010 --- sys/dev/usb/usbdevs Tue Jan 19 08:39:52 2010 *************** *** 1186,1191 **** --- 1186,1192 ---- /* DMI products */ product DMI CFSM_RW 0xa109 CF/SM Reader/Writer + product DMI DISK 0x2bcf Generic Disk /* DrayTek products */ product DRAYTEK VIGOR550 0x0550 Vigor550 *** sys/dev/usb/storage/umass.c.org Tue Jan 19 08:42:49 2010 --- sys/dev/usb/storage/umass.c Tue Jan 19 08:43:00 2010 *************** *** 460,465 **** --- 460,469 ---- UMASS_PROTO_SCSI, NO_GETMAXLUN }, + {USB_VENDOR_DMI, USB_PRODUCT_DMI_DISK, RID_WILDCARD, + UMASS_PROTO_SCSI | UMASS_PROTO_BBB, + NO_SYNCHRONIZE_CACHE + }, {USB_VENDOR_EPSON, USB_PRODUCT_EPSON_STYLUS_875DC, RID_WILDCARD, UMASS_PROTO_SCSI | UMASS_PROTO_CBI, NO_INQUIRY >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 09:17:57 2010 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 839711065670; Tue, 19 Jan 2010 09:17:57 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0C0158FC0A; Tue, 19 Jan 2010 09:17:56 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o0J9FHUC017438; Tue, 19 Jan 2010 19:45:17 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id ; Tue, 19 Jan 2010 19:47:55 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 Jan 2010 19:47:55 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 Jan 2010 17:17:52 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o0J9CInH041111; Tue, 19 Jan 2010 17:12:18 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o0J9CHSa041110; Tue, 19 Jan 2010 17:12:17 +0800 (WST) (envelope-from wilkinsa) Date: Tue, 19 Jan 2010 17:12:17 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Message-ID: <20100119091217.GR39820@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <201001101437.37269.hselasky@c2i.net> <20100114072753.GJ80705@stlux503.dsto.defence.gov.au> <201001140924.47454.hselasky@c2i.net> <20100114084831.GL80705@stlux503.dsto.defence.gov.au> <20100114090329.GH63408@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20100114090329.GH63408@citylink.fud.org.nz> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 19 Jan 2010 09:17:52.0282 (UTC) FILETIME=[46E667A0:01CA98E8] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17140.005 X-TM-AS-Result: No--6.468800-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Cc: Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] 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: Tue, 19 Jan 2010 09:17:57 -0000 0n Thu, Jan 14, 2010 at 10:03:29PM +1300, Andrew Thompson wrote: >On Thu, Jan 14, 2010 at 04:48:31PM +0800, Wilkinson, Alex wrote: >> >> 0n Thu, Jan 14, 2010 at 09:24:47AM +0100, Hans Petter Selasky wrote: >> >> >I think Andrew made a fixed port which you can test. >> >> Can you please point me in the direction to this ? > >I'l update the tarball tomorrow and send it out. Got these errors: [FreeBSD 9.0-CURRENT #0 r202270: Thu Jan 14 11:20:04 WST 2010] ===> Building for webcamd-0.1.0 Warning: Object directory not changed from original /usr/ports/multimedia/webcamd/work/webcamd-0.1.0 cc -O2 -pipe -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux/drivers/media/video/gspca -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux/include -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0 -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/dummy -DCONFIG_VIDEO_V4L1_COMPAT -DHAVE_WEBCAMD -include webcamd_global.h -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -std=gnu99 -fstack-protector -c webcamd.c webcamd.c:37:23: error: video4bsd.h: No such file or directory webcamd.c:55: error: 'V4B_ALLOC_UNIT_MAX' undeclared here (not in a function) webcamd.c: In function 'main': webcamd.c:126: error: storage size of 'cmd' isn't known webcamd.c:176: error: 'V4B_DEVICES_MAX' undeclared (first use in this function) webcamd.c:176: error: (Each undeclared identifier is reported only once webcamd.c:176: error: for each function it appears in.) webcamd.c:206: error: 'V4B_IOCTL_GET_COMMAND' undeclared (first use in this function) webcamd.c:212: error: 'V4B_CMD_OPEN' undeclared (first use in this function) webcamd.c:223: error: 'V4B_IOCTL_SYNC_COMMAND' undeclared (first use in this function) webcamd.c:226: error: 'V4B_CMD_CLOSE' undeclared (first use in this function) webcamd.c:236: error: 'V4B_CMD_READ' undeclared (first use in this function) webcamd.c:244: error: 'V4B_CMD_WRITE' undeclared (first use in this function) webcamd.c:252: error: 'V4B_CMD_IOCTL' undeclared (first use in this function) webcamd.c:264: error: 'V4B_CMD_MMAP' undeclared (first use in this function) webcamd.c:126: warning: unused variable 'cmd' webcamd.c: In function 'copy_to_user': webcamd.c:299: error: variable 'cmd' has initializer but incomplete type webcamd.c:300: error: unknown field 'client_ptr' specified in initializer webcamd.c:300: warning: excess elements in struct initializer webcamd.c:300: warning: (near initialization for 'cmd') webcamd.c:301: error: unknown field 'peer_ptr' specified in initializer webcamd.c:301: warning: excess elements in struct initializer webcamd.c:301: warning: (near initialization for 'cmd') webcamd.c:302: error: unknown field 'length' specified in initializer webcamd.c:302: warning: excess elements in struct initializer webcamd.c:302: warning: (near initialization for 'cmd') webcamd.c:299: error: storage size of 'cmd' isn't known webcamd.c:306: error: 'V4B_IOCTL_WRITE_DATA' undeclared (first use in this function) webcamd.c:299: warning: unused variable 'cmd' webcamd.c: In function 'copy_from_user': webcamd.c:315: error: variable 'cmd' has initializer but incomplete type webcamd.c:316: error: unknown field 'client_ptr' specified in initializer webcamd.c:316: warning: excess elements in struct initializer webcamd.c:316: warning: (near initialization for 'cmd') webcamd.c:317: error: unknown field 'peer_ptr' specified in initializer webcamd.c:317: warning: excess elements in struct initializer webcamd.c:317: warning: (near initialization for 'cmd') webcamd.c:318: error: unknown field 'length' specified in initializer webcamd.c:318: warning: excess elements in struct initializer webcamd.c:318: warning: (near initialization for 'cmd') webcamd.c:315: error: storage size of 'cmd' isn't known webcamd.c:322: error: 'V4B_IOCTL_READ_DATA' undeclared (first use in this function) webcamd.c:315: warning: unused variable 'cmd' webcamd.c: In function 'set_mmap': webcamd.c:370: error: variable 'cmd' has initializer but incomplete type webcamd.c:370: warning: excess elements in struct initializer webcamd.c:370: warning: (near initialization for 'cmd') webcamd.c:370: warning: excess elements in struct initializer webcamd.c:370: warning: (near initialization for 'cmd') webcamd.c:370: error: storage size of 'cmd' isn't known webcamd.c:389: error: 'V4B_IOCTL_MAP_MEMORY' undeclared (first use in this function) webcamd.c:370: warning: unused variable 'cmd' webcamd.c: In function 'malloc_vm': webcamd.c:403: error: variable 'cmd' has initializer but incomplete type webcamd.c:403: warning: excess elements in struct initializer webcamd.c:403: warning: (near initialization for 'cmd') webcamd.c:403: warning: excess elements in struct initializer webcamd.c:403: warning: (near initialization for 'cmd') webcamd.c:403: error: storage size of 'cmd' isn't known webcamd.c:428: error: 'V4B_IOCTL_ALLOC_MEMORY' undeclared (first use in this function) webcamd.c:442: error: 'V4B_ALLOC_PAGES_MAX' undeclared (first use in this function) webcamd.c:446: error: 'V4B_IOCTL_FREE_MEMORY' undeclared (first use in this function) webcamd.c:403: warning: unused variable 'cmd' webcamd.c: In function 'free_vm': webcamd.c:466: error: variable 'cmd' has initializer but incomplete type webcamd.c:466: warning: excess elements in struct initializer webcamd.c:466: warning: (near initialization for 'cmd') webcamd.c:466: warning: excess elements in struct initializer webcamd.c:466: warning: (near initialization for 'cmd') webcamd.c:466: error: storage size of 'cmd' isn't known webcamd.c:483: error: 'V4B_IOCTL_FREE_MEMORY' undeclared (first use in this function) webcamd.c:466: warning: unused variable 'cmd' *** Error code 1 Stop in /usr/ports/multimedia/webcamd/work/webcamd-0.1.0. *** Error code 1 Stop in /usr/ports/multimedia/webcamd. Exit 1 -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 15:30:40 2010 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 AD78B106568F; Tue, 19 Jan 2010 15:30:40 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id C07E48FC15; Tue, 19 Jan 2010 15:30:38 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=9zKBo0zsyzYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=ldXBf-_B8ngLE07iZGMA:9 a=zuCo5EVPxe2ME6YR5X2INzG0KH0A:4 a=Zm-1vYCK5YE9VYxm:21 a=HhhIMW2kEs7IxnR4:21 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1359616748; Tue, 19 Jan 2010 16:30:36 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 19 Jan 2010 16:29:13 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <20100114090329.GH63408@citylink.fud.org.nz> <20100119091217.GR39820@stlux503.dsto.defence.gov.au> In-Reply-To: <20100119091217.GR39820@stlux503.dsto.defence.gov.au> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001191629.13323.hselasky@c2i.net> Cc: freebsd-current@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] 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: Tue, 19 Jan 2010 15:30:40 -0000 On Tuesday 19 January 2010 10:12:17 Wilkinson, Alex wrote: > 0n Thu, Jan 14, 2010 at 10:03:29PM +1300, Andrew Thompson wrote: > >On Thu, Jan 14, 2010 at 04:48:31PM +0800, Wilkinson, Alex wrote: > >> 0n Thu, Jan 14, 2010 at 09:24:47AM +0100, Hans Petter Selasky wrote: > >> >I think Andrew made a fixed port which you can test. > >> > >> Can you please point me in the direction to this ? > > > >I'l update the tarball tomorrow and send it out. > > Got these errors: > > [FreeBSD 9.0-CURRENT #0 r202270: Thu Jan 14 11:20:04 WST 2010] > > ===> Building for webcamd-0.1.0 > Warning: Object directory not changed from original > /usr/ports/multimedia/webcamd/work/webcamd-0.1.0 cc -O2 -pipe > -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux/drivers/m > edia/video/gspca > -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux/include > -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux > -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0 > -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/dummy > -DCONFIG_VIDEO_V4L1_COMPAT -DHAVE_WEBCAMD -include webcamd_global.h -O2 > -Wall -Wno-pointer-sign -fvisibility=hidden -std=gnu99 -fstack-protector > -c webcamd.c webcamd.c:37:23: error: video4bsd.h: No such file or > directory > webcamd.c:55: error: 'V4B_ALLOC_UNIT_MAX' undeclared here (not in a > function) webcamd.c: In function 'main': > webcamd.c:126: error: storage size of 'cmd' isn't known > webcamd.c:176: error: 'V4B_DEVICES_MAX' undeclared (first use in this > function) webcamd.c:176: error: (Each undeclared identifier is reported > only once webcamd.c:176: error: for each function it appears in.) > webcamd.c:206: error: 'V4B_IOCTL_GET_COMMAND' undeclared (first use in > this function) webcamd.c:212: error: 'V4B_CMD_OPEN' undeclared (first use > in this function) webcamd.c:223: error: 'V4B_IOCTL_SYNC_COMMAND' > undeclared (first use in this function) webcamd.c:226: error: > 'V4B_CMD_CLOSE' undeclared (first use in this function) webcamd.c:236: > error: 'V4B_CMD_READ' undeclared (first use in this function) > webcamd.c:244: error: 'V4B_CMD_WRITE' undeclared (first use in this > function) webcamd.c:252: error: 'V4B_CMD_IOCTL' undeclared (first use in > this function) webcamd.c:264: error: 'V4B_CMD_MMAP' undeclared (first use > in this function) webcamd.c:126: warning: unused variable 'cmd' > webcamd.c: In function 'copy_to_user': > webcamd.c:299: error: variable 'cmd' has initializer but incomplete type > webcamd.c:300: error: unknown field 'client_ptr' specified in > initializer webcamd.c:300: warning: excess elements in struct initializer > webcamd.c:300: warning: (near initialization for 'cmd') > webcamd.c:301: error: unknown field 'peer_ptr' specified in initializer > webcamd.c:301: warning: excess elements in struct initializer > webcamd.c:301: warning: (near initialization for 'cmd') > webcamd.c:302: error: unknown field 'length' specified in initializer > webcamd.c:302: warning: excess elements in struct initializer > webcamd.c:302: warning: (near initialization for 'cmd') > webcamd.c:299: error: storage size of 'cmd' isn't known > webcamd.c:306: error: 'V4B_IOCTL_WRITE_DATA' undeclared (first use in > this function) webcamd.c:299: warning: unused variable 'cmd' > webcamd.c: In function 'copy_from_user': > webcamd.c:315: error: variable 'cmd' has initializer but incomplete type > webcamd.c:316: error: unknown field 'client_ptr' specified in > initializer webcamd.c:316: warning: excess elements in struct initializer > webcamd.c:316: warning: (near initialization for 'cmd') > webcamd.c:317: error: unknown field 'peer_ptr' specified in initializer > webcamd.c:317: warning: excess elements in struct initializer > webcamd.c:317: warning: (near initialization for 'cmd') > webcamd.c:318: error: unknown field 'length' specified in initializer > webcamd.c:318: warning: excess elements in struct initializer > webcamd.c:318: warning: (near initialization for 'cmd') > webcamd.c:315: error: storage size of 'cmd' isn't known > webcamd.c:322: error: 'V4B_IOCTL_READ_DATA' undeclared (first use in > this function) webcamd.c:315: warning: unused variable 'cmd' > webcamd.c: In function 'set_mmap': > webcamd.c:370: error: variable 'cmd' has initializer but incomplete type > webcamd.c:370: warning: excess elements in struct initializer > webcamd.c:370: warning: (near initialization for 'cmd') > webcamd.c:370: warning: excess elements in struct initializer > webcamd.c:370: warning: (near initialization for 'cmd') > webcamd.c:370: error: storage size of 'cmd' isn't known > webcamd.c:389: error: 'V4B_IOCTL_MAP_MEMORY' undeclared (first use in > this function) webcamd.c:370: warning: unused variable 'cmd' > webcamd.c: In function 'malloc_vm': > webcamd.c:403: error: variable 'cmd' has initializer but incomplete type > webcamd.c:403: warning: excess elements in struct initializer > webcamd.c:403: warning: (near initialization for 'cmd') > webcamd.c:403: warning: excess elements in struct initializer > webcamd.c:403: warning: (near initialization for 'cmd') > webcamd.c:403: error: storage size of 'cmd' isn't known > webcamd.c:428: error: 'V4B_IOCTL_ALLOC_MEMORY' undeclared (first use in > this function) webcamd.c:442: error: 'V4B_ALLOC_PAGES_MAX' undeclared > (first use in this function) webcamd.c:446: error: 'V4B_IOCTL_FREE_MEMORY' > undeclared (first use in this function) webcamd.c:403: warning: unused > variable 'cmd' > webcamd.c: In function 'free_vm': > webcamd.c:466: error: variable 'cmd' has initializer but incomplete type > webcamd.c:466: warning: excess elements in struct initializer > webcamd.c:466: warning: (near initialization for 'cmd') > webcamd.c:466: warning: excess elements in struct initializer > webcamd.c:466: warning: (near initialization for 'cmd') > webcamd.c:466: error: storage size of 'cmd' isn't known > webcamd.c:483: error: 'V4B_IOCTL_FREE_MEMORY' undeclared (first use in > this function) webcamd.c:466: warning: unused variable 'cmd' > *** Error code 1 > > Stop in /usr/ports/multimedia/webcamd/work/webcamd-0.1.0. > *** Error code 1 > > Stop in /usr/ports/multimedia/webcamd. > Exit 1 Please check /etc/make.conf and replace any CFLAGS= with CFLAGS+= --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 15:36:22 2010 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 DD0001065672; Tue, 19 Jan 2010 15:36:22 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.swip.net [212.247.154.129]) by mx1.freebsd.org (Postfix) with ESMTP id 470148FC1B; Tue, 19 Jan 2010 15:36:21 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=Gve_LRKkCEkA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=P2glx0IHWMVy60WA0BMA:9 a=ml4MRkcNOpZyyE5GwiUA:7 a=GwLzP3sz2WDCq6Rw8y7mZuIKpkEA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1267613064; Tue, 19 Jan 2010 16:36:20 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Tue, 19 Jan 2010 16:34:58 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001190813.o0J8DY0c088278@www.freebsd.org> In-Reply-To: <201001190813.o0J8DY0c088278@www.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201001191634.58078.hselasky@c2i.net> Cc: Tom Vijlbrief , freebsd-gnats-submit@freebsd.org Subject: Re: usb/142957: patch for USB disk SYNCHRONIZE CACHE problem 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: Tue, 19 Jan 2010 15:36:22 -0000 On Tuesday 19 January 2010 09:13:34 Tom Vijlbrief wrote: > usb/142957 > Can you try to cvsup to 9-current and try the following patch: http://p4web.freebsd.org/chv.cgi?CH=173371 http://perforce.freebsd.org/chv.cgi?CH=173371 --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 15:38:29 2010 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 EBD0E106566C; Tue, 19 Jan 2010 15:38:29 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id AA2E38FC1F; Tue, 19 Jan 2010 15:38:29 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id A94971FFC22; Tue, 19 Jan 2010 15:38:28 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id 81B52844BD; Tue, 19 Jan 2010 16:38:28 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> <20100114090329.GH63408@citylink.fud.org.nz> <20100119091217.GR39820@stlux503.dsto.defence.gov.au> <201001191629.13323.hselasky@c2i.net> Date: Tue, 19 Jan 2010 16:38:28 +0100 In-Reply-To: <201001191629.13323.hselasky@c2i.net> (Hans Petter Selasky's message of "Tue, 19 Jan 2010 16:29:13 +0100") Message-ID: <86bpgqds0b.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] 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: Tue, 19 Jan 2010 15:38:30 -0000 Hans Petter Selasky writes: > Please check /etc/make.conf and replace any CFLAGS=3D with CFLAGS+=3D Bzzt, wrong. It will make no difference whatsoever; make.conf is included by sys.mk before the Makefile itself is read, so the Makefile overrides make.conf, not the other way around. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 15:40:06 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 99D94106566C for ; Tue, 19 Jan 2010 15:40:06 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 6BC548FC18 for ; Tue, 19 Jan 2010 15:40:06 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0JFe6NP064514 for ; Tue, 19 Jan 2010 15:40:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0JFe6Ro064513; Tue, 19 Jan 2010 15:40:06 GMT (envelope-from gnats) Date: Tue, 19 Jan 2010 15:40:06 GMT Message-Id: <201001191540.o0JFe6Ro064513@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/142957: patch for USB disk SYNCHRONIZE CACHE problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 15:40:06 -0000 The following reply was made to PR usb/142957; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: Tom Vijlbrief , freebsd-gnats-submit@freebsd.org Subject: Re: usb/142957: patch for USB disk SYNCHRONIZE CACHE problem Date: Tue, 19 Jan 2010 16:34:58 +0100 On Tuesday 19 January 2010 09:13:34 Tom Vijlbrief wrote: > usb/142957 > Can you try to cvsup to 9-current and try the following patch: http://p4web.freebsd.org/chv.cgi?CH=173371 http://perforce.freebsd.org/chv.cgi?CH=173371 --HPS From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 16:53:14 2010 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 0722F1065706; Tue, 19 Jan 2010 16:53:14 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id B4F118FC15; Tue, 19 Jan 2010 16:53:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id 1FFA17B847; Wed, 20 Jan 2010 05:53:12 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id bArSIIRCQZQO; Wed, 20 Jan 2010 05:53:07 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Wed, 20 Jan 2010 05:53:07 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 1540111432; Wed, 20 Jan 2010 05:53:07 +1300 (NZDT) Date: Wed, 20 Jan 2010 05:53:06 +1300 From: Andrew Thompson To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Message-ID: <20100119165306.GA58342@citylink.fud.org.nz> References: <201001101437.37269.hselasky@c2i.net> <20100114072753.GJ80705@stlux503.dsto.defence.gov.au> <201001140924.47454.hselasky@c2i.net> <20100114084831.GL80705@stlux503.dsto.defence.gov.au> <20100114090329.GH63408@citylink.fud.org.nz> <20100119091217.GR39820@stlux503.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100119091217.GR39820@stlux503.dsto.defence.gov.au> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] 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: Tue, 19 Jan 2010 16:53:14 -0000 On Tue, Jan 19, 2010 at 05:12:17PM +0800, Wilkinson, Alex wrote: > > 0n Thu, Jan 14, 2010 at 10:03:29PM +1300, Andrew Thompson wrote: > > >On Thu, Jan 14, 2010 at 04:48:31PM +0800, Wilkinson, Alex wrote: > >> > >> 0n Thu, Jan 14, 2010 at 09:24:47AM +0100, Hans Petter Selasky wrote: > >> > >> >I think Andrew made a fixed port which you can test. > >> > >> Can you please point me in the direction to this ? > > > >I'l update the tarball tomorrow and send it out. > > Got these errors: > > [FreeBSD 9.0-CURRENT #0 r202270: Thu Jan 14 11:20:04 WST 2010] > > ===> Building for webcamd-0.1.0 > Warning: Object directory not changed from original /usr/ports/multimedia/webcamd/work/webcamd-0.1.0 > cc -O2 -pipe -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux/drivers/media/video/gspca -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux/include -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0 -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/dummy -DCONFIG_VIDEO_V4L1_COMPAT -DHAVE_WEBCAMD -include webcamd_global.h -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -std=gnu99 -fstack-protector -c webcamd.c > webcamd.c:37:23: error: video4bsd.h: No such file or directory > webcamd.c:55: error: 'V4B_ALLOC_UNIT_MAX' undeclared here (not in a function) > webcamd.c: In function 'main': > webcamd.c:126: error: storage size of 'cmd' isn't known > webcamd.c:176: error: 'V4B_DEVICES_MAX' undeclared (first use in this function) Do you have CFLAGS set in /etc/make.conf by chance? Andrew From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 17:56:14 2010 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 BCE76106568F; Tue, 19 Jan 2010 17:56:14 +0000 (UTC) (envelope-from henry.hu.sh@gmail.com) Received: from qw-out-2122.google.com (qw-out-2122.google.com [74.125.92.24]) by mx1.freebsd.org (Postfix) with ESMTP id 5D2CE8FC13; Tue, 19 Jan 2010 17:56:14 +0000 (UTC) Received: by qw-out-2122.google.com with SMTP id 5so947851qwd.7 for ; Tue, 19 Jan 2010 09:56:13 -0800 (PST) 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=jBoaQWg8CFuleeXNeyGQumCcDv+CMxvJ0CmQG/JUs+I=; b=OeNDYezXVeZsc5CUgjwIBO+DlgJ0kODcRiwruV2AGzN3J3Sbc9isv5iYGxMqbwrMwz Ou+OpqC+sDgnQRb2R3LkPOfh9YShNUJeU1aimqJNFCR7oQjzgR7DqqFfMQ9BXfrYPUlg eU8+GcJcN1zQSkaz+fisDe0DT7YWihU9w55UE= 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=tEk8nkvWOMxtdHE5x25Cm/v+rMNMqyJ6xzdPNw8zDMzaN5crSK/5+gckaBQvB7vN/x EorRhmgpPblY3rx8Tl7Ju0MPqgiePS6HiYrDsBsdAORgBLYW9Xm2eJKqsYQ0WIMwgKqA oYhHTr1bshwsjzfKoxidnSiO4Mq3rENxzATrc= MIME-Version: 1.0 Received: by 10.229.55.69 with SMTP id t5mr5102192qcg.34.1263922394571; Tue, 19 Jan 2010 09:33:14 -0800 (PST) In-Reply-To: <201001101437.37269.hselasky@c2i.net> References: <201001101437.37269.hselasky@c2i.net> Date: Wed, 20 Jan 2010 01:33:14 +0800 Message-ID: <53a1e0711001190933y64a41e98h60fa3dec641d44fd@mail.gmail.com> From: Henry Hu To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Tue, 19 Jan 2010 17:56:14 -0000 Hello, On Sun, Jan 10, 2010 at 9:37 PM, Hans Petter Selasky wro= te: > Hi, > > During the last couple of days I've spent some time to finish my webcam > daemon. My webcam daemon is basically an application which consists of > userspace Video4Linux USB webcam drivers and some uLinux glue code which = links > with libc, pthreads and libusb. The webcamd talks to /dev/video_daemonX w= hich > is provided by the video4bsd kernel module. There is full support for > mmap/read/write/open/close. poll is not supported. I've tested on my webcam and it works here. I have an USB Video Class webcam: ugen2.2: at usbus2, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON This is the first time it works in FreeBSD! Thanks a lot! Currently, it works with -s vga and -s cif. There are many other modes supported by the webcam, but pwcview just does not support them. This webcam supports at most 1280x1024, and the quality is clearly better than 640x480. There are some problems, however. First, when I start pwcview with an unsupported mode, the content of the window is green, and I cannot kill the process. Only after terminating webcamd can I terminate the process. Second, I cannot restart pwcview without restarting webcamd. At the second time I start pwcview with -s vga, the window is green, and I cannot kill it. The situation is similar to unsupported size. I've also tried applications such as pidgin, skype and mplayer. However no one successfully played from the webcam. I doubt it needs some extra work. I've changed pwcview a bit to keep the settings in internal variables instead of fetching them every time. Else I cannot change most parameters. Maybe the webcam only supports a certain set of setting values, and use the nearest value after setting them. Thanks again for the great work! It never caused any kernel panic, and the programs are fairly stable. > Basic operation and idea: > > /dev/video_daemonX is the interface for the webcamd. /dev/videoX is the > interface for the V4L application. The video4bsd transports all data betw= een > these two devices. In the case the V4L application is using mmap, no data= is > copied due to shared kernel memory buffer! > > Licensing issues: > > Effectivly the webcamd userland program becomes GPL'ed due to the V4L USB > drivers which are GPL licensed. Some files inside the webcamd remains BSD > licensed which allows for building similar BSD licensed daemons. > > The rest of the code is BSD licensed. > > Source code: > > 1) FreeBSD 8-stable > > 2) Apply the patch below and re-install libusb in /usr/src/lib/libusb: > > http://p4web.freebsd.org/chv.cgi?CH=3D172876 > > http://perforce.freebsd.org/chv.cgi?CH=3D172876 > > 3) Compile ulinux (webcamd + libv4l + pwcview) and video4bsd (must be che= cked > out in the same folder due to dependencies) > > svn --username anonsvn --password anonsvn \ > =A0 =A0 =A0checkout svn://svn.turbocat.net/i4b/trunk/usbcam/video4bsd > > make all install > kldload video4bsd > > svn --username anonsvn --password anonsvn \ > =A0 =A0 =A0checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux > > make fetch > make patch > make all > make install > > # this will attach to the first detected webcam: > ./webcamd > > # this will try to attach to the given USB unit, interface and V4B unit. > ./webcamd -d ugen4.1 -i 0 -v 0 > > # this will display webcam contents from /dev/video0 by default. > ./pwcview/pwcview > > Feedback and bug reports are welcome. > > Yes, I am working on getting this into ports! > > Known issues: > > 1) If you detach the USB webcam you need to manually restart the webcamd. > > --HPS > > Support: I will be available at #bsdusb on efnet during the day. > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.= org" > Cheers, Henry From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 18:20:33 2010 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 41C751065670; Tue, 19 Jan 2010 18:20:33 +0000 (UTC) (envelope-from thompsa@FreeBSD.org) Received: from pele.citylink.co.nz (pele.citylink.co.nz [202.8.44.226]) by mx1.freebsd.org (Postfix) with ESMTP id F16968FC13; Tue, 19 Jan 2010 18:20:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by pele.citylink.co.nz (Postfix) with ESMTP id D6EA97B861; Wed, 20 Jan 2010 07:20:30 +1300 (NZDT) X-Virus-Scanned: Debian amavisd-new at citylink.co.nz Received: from pele.citylink.co.nz ([127.0.0.1]) by localhost (pele.citylink.co.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DZAiX1S4nCf4; Wed, 20 Jan 2010 07:20:26 +1300 (NZDT) Received: from citylink.fud.org.nz (unknown [202.8.44.45]) by pele.citylink.co.nz (Postfix) with ESMTP; Wed, 20 Jan 2010 07:20:23 +1300 (NZDT) Received: by citylink.fud.org.nz (Postfix, from userid 1001) id 0C5AB11432; Wed, 20 Jan 2010 07:20:23 +1300 (NZDT) Date: Wed, 20 Jan 2010 07:20:22 +1300 From: Andrew Thompson To: Dag-Erling Sm??rgrav Message-ID: <20100119182022.GB58342@citylink.fud.org.nz> References: <201001101437.37269.hselasky@c2i.net> <20100114090329.GH63408@citylink.fud.org.nz> <20100119091217.GR39820@stlux503.dsto.defence.gov.au> <201001191629.13323.hselasky@c2i.net> <86bpgqds0b.fsf@ds4.des.no> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <86bpgqds0b.fsf@ds4.des.no> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] 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: Tue, 19 Jan 2010 18:20:33 -0000 On Tue, Jan 19, 2010 at 04:38:28PM +0100, Dag-Erling Sm??rgrav wrote: > Hans Petter Selasky writes: > > Please check /etc/make.conf and replace any CFLAGS= with CFLAGS+= > > Bzzt, wrong. It will make no difference whatsoever; make.conf is > included by sys.mk before the Makefile itself is read, so the Makefile > overrides make.conf, not the other way around. I have tested this with CFLAGS=-g in /etc/make.conf /usr/ports/multimedia/webcamd# make -dA ... Global:CFLAGS = -g -I/usr/local/include ... (cd /usr/ports/multimedia/webcamd/work/webcamd-0.1.0; if ! /usr/bin/env SHELL=/bin/sh NO_LINT=YES PREFIX=/usr/local LOCALBASE=/usr/local X11BASE=/usr/local MOTIFLIB="-L/usr/local/lib -lXm -lXp" LIBDIR="/usr/lib" CC="cc" CFLAGS="-g -I/usr/local/include" CXX="c++" CXXFLAGS="-g -I/usr/local/include" MANPREFIX="/usr/local" BSD_INSTALL_PROGRAM="install -s -o root -g wheel -m 555" BSD_INSTALL_SCRIPT="install -o root -g wheel -m 555" BSD_INSTALL_DATA="install -o root -g wheel -m 444" BSD_INSTALL_MAN="install -o root -g wheel -m 444" make -f M akefile all; then if [ x != x ] ; then echo "===> Compilation failed unexpectedly."; (echo ) | /usr/bin/fmt 75 79 ; fi; false; fi) ... Global:CFLAGS = -g So CFLAGS is being properly passed to the /usr/ports/multimedia/webcamd/work/webcamd-0.1.0/Makefile via the environment but its getting overridden and causing the reported build error. Andrew From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 20:12:41 2010 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 9D619106566B; Tue, 19 Jan 2010 20:12:41 +0000 (UTC) (envelope-from vova@parallels.com) Received: from relay.sw.ru (mailhub.sw.ru [195.214.232.25]) by mx1.freebsd.org (Postfix) with ESMTP id 27CD18FC14; Tue, 19 Jan 2010 20:12:40 +0000 (UTC) Received: from vbook.fbsd.ru ([77.232.23.6]) (authenticated bits=0) by relay.sw.ru (8.13.4/8.13.4) with ESMTP id o0JKCXYB026573 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 Jan 2010 23:12:34 +0300 (MSK) Received: from vova by vbook.fbsd.ru with local (Exim 4.71 (FreeBSD)) (envelope-from ) id 1NXKRE-0000vD-HM; Tue, 19 Jan 2010 23:12:32 +0300 From: Vladimir Grebenschikov To: vova@fbsd.ru In-Reply-To: <1263244252.3558.29.camel@localhost> References: <201001101437.37269.hselasky@c2i.net> <1263244252.3558.29.camel@localhost> Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: quoted-printable Date: Tue, 19 Jan 2010 23:12:32 +0300 Message-ID: <1263931952.2993.7.camel@localhost> Mime-Version: 1.0 X-Mailer: Evolution 2.29.5 FreeBSD GNOME Team Port Sender: Vladimir Grebenschikov Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: vova@fbsd.ru List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Jan 2010 20:12:41 -0000 Hi=20 I've tested with recent ports. pwcview works fine, both vga and sif but skype still sees /dev/video0 but fails to play anything from it, multimedia/cheese even does not sees webcam. Is it supposed, or I am so unlucky ? PS. microphone in cam work also as snd_uaudio pcm2 -----Original Message----- From: Vladimir Grebenschikov Reply-to: vova@fbsd.ru To: Hans Petter Selasky Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing Date: Tue, 12 Jan 2010 00:10:52 +0300 Hi=20 Thanks you for efforts! I've tested it with=20 ugen4.2: at usbus4, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON on 9-CURRENT pwcview works fine: $ ./pwcview/pwcview Webcam set to: 320x240 (sif) at 5 fps skype detects video device, but shows only black window instead of picture. build webcamd.c with debug shows: $ ./webcamd Probing for 0.0.0 KrefGet: 0x483e2304 =3D 1 KrefGet: 0x483e2304 =3D 2 KrefGet: 0x483e2554 =3D 1 KrefGet: 0x483e2610 =3D 1 Added device 0x48318b04 KrefGet: 0x48318b08 =3D 1 Received command 1 0x00000000 KrefGet: 0x48318b08 =3D 2 Status =3D 0 Received command 5 0x40047601 Status =3D -22 Received command 5 0x403c7601 Status =3D 0 Received command 5 0x400e7606 Status =3D 0 Received command 5 0x800e7607 Status =3D -22 Received command 5 0x800e7607 Status =3D 0 Received command 5 0x40207609 Status =3D 0 Received command 5 0x8020760a Status =3D 0 ... and then in loop: Status =3D -22 Received command 3 0x00025800 Status =3D -22 Received command 3 0x00025800 Status =3D -22 Received command 3 0x00025800 Status =3D -22 Received command 3 0x00025800 Status =3D -22 Received command 3 0x00025800 ... Side question, is it possible to use audio microphone of USB camera ? -----Original Message----- From: Hans Petter Selasky To: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing Date: Sun, 10 Jan 2010 14:37:37 +0100 Hi, During the last couple of days I've spent some time to finish my webcam=20 daemon. My webcam daemon is basically an application which consists of userspace Video4Linux USB webcam drivers and some uLinux glue code which links=20 with libc, pthreads and libusb. The webcamd talks to /dev/video_daemonX which=20 is provided by the video4bsd kernel module. There is full support for=20 mmap/read/write/open/close. poll is not supported. Basic operation and idea: /dev/video_daemonX is the interface for the webcamd. /dev/videoX is the=20 interface for the V4L application. The video4bsd transports all data between=20 these two devices. In the case the V4L application is using mmap, no data is=20 copied due to shared kernel memory buffer! Licensing issues: Effectivly the webcamd userland program becomes GPL'ed due to the V4L USB=20 drivers which are GPL licensed. Some files inside the webcamd remains BSD=20 licensed which allows for building similar BSD licensed daemons. The rest of the code is BSD licensed. Source code: 1) FreeBSD 8-stable 2) Apply the patch below and re-install libusb in /usr/src/lib/libusb: http://p4web.freebsd.org/chv.cgi?CH=3D172876 http://perforce.freebsd.org/chv.cgi?CH=3D172876 3) Compile ulinux (webcamd + libv4l + pwcview) and video4bsd (must be checked=20 out in the same folder due to dependencies) svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b/trunk/usbcam/video4bsd make all install kldload video4bsd svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux make fetch make patch make all make install # this will attach to the first detected webcam: ./webcamd # this will try to attach to the given USB unit, interface and V4B unit. ./webcamd -d ugen4.1 -i 0 -v 0 # this will display webcam contents from /dev/video0 by default. ./pwcview/pwcview Feedback and bug reports are welcome. Yes, I am working on getting this into ports! Known issues: 1) If you detach the USB webcam you need to manually restart the webcamd. --HPS Support: I will be available at #bsdusb on efnet during the day. _______________________________________________ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-current To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" --=20 Vladimir B. Grebenschikov vova@fbsd.ru From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 21:00:21 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 661201065672 for ; Tue, 19 Jan 2010 21:00:21 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 437508FC14 for ; Tue, 19 Jan 2010 21:00:21 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0JL0Lx7040508 for ; Tue, 19 Jan 2010 21:00:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0JL0LSB040507; Tue, 19 Jan 2010 21:00:21 GMT (envelope-from gnats) Resent-Date: Tue, 19 Jan 2010 21:00:21 GMT Resent-Message-Id: <201001192100.o0JL0LSB040507@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, robert Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5E695106566B for ; Tue, 19 Jan 2010 20:52:09 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id 4D04A8FC14 for ; Tue, 19 Jan 2010 20:52:09 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o0JKq80f091470 for ; Tue, 19 Jan 2010 20:52:08 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o0JKq89R091469; Tue, 19 Jan 2010 20:52:08 GMT (envelope-from nobody) Message-Id: <201001192052.o0JKq89R091469@www.freebsd.org> Date: Tue, 19 Jan 2010 20:52:08 GMT From: robert To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/142989: canon eos 50D attaches but detaches after few seconds (1 - 4) 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: Tue, 19 Jan 2010 21:00:21 -0000 >Number: 142989 >Category: usb >Synopsis: canon eos 50D attaches but detaches after few seconds (1 - 4) >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Jan 19 21:00:20 UTC 2010 >Closed-Date: >Last-Modified: >Originator: robert >Release: FreeBSD 8.0 >Organization: >Environment: FreeBSD x300.blacquiere.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue Jan 5 21:11:58 UTC 2010 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 >Description: Canon EOS 50D dslr connected to usb ports attaches but detaches after few seconds, between 1 and 4 seconds. ugen6.2: at usbus6 ugen6.2: at usbus6 (disconnected) usbconfig list does not show any Canon device any more. >How-To-Repeat: attach canon eos 50D firmware version 1.07 with usb on freebsd 8.0 laptop. >Fix: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 21:10:08 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C4619106566B for ; Tue, 19 Jan 2010 21:10:08 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A1EB58FC19 for ; Tue, 19 Jan 2010 21:10:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0JLA8So048587 for ; Tue, 19 Jan 2010 21:10:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0JLA83E048586; Tue, 19 Jan 2010 21:10:08 GMT (envelope-from gnats) Resent-Date: Tue, 19 Jan 2010 21:10:08 GMT Resent-Message-Id: <201001192110.o0JLA83E048586@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Markus Dolze Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DA7C4106566B for ; Tue, 19 Jan 2010 21:05:31 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id C9A658FC16 for ; Tue, 19 Jan 2010 21:05:31 +0000 (UTC) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o0JL5Vre003401 for ; Tue, 19 Jan 2010 21:05:31 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.3/8.14.3/Submit) id o0JL5VYw003400; Tue, 19 Jan 2010 21:05:31 GMT (envelope-from nobody) Message-Id: <201001192105.o0JL5VYw003400@www.freebsd.org> Date: Tue, 19 Jan 2010 21:05:31 GMT From: Markus Dolze To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: usb/142991: Patch to add Crystalfontz 533 USB LCD 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: Tue, 19 Jan 2010 21:10:08 -0000 >Number: 142991 >Category: usb >Synopsis: Patch to add Crystalfontz 533 USB LCD >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Jan 19 21:10:08 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Markus Dolze >Release: 7.2-RELEASE >Organization: >Environment: FreeBSD kirika.intra.mdolze.de 7.2-RELEASE FreeBSD 7.2-RELEASE #3: Wed Jan 13 22:20:53 CET 2010 root@kirika.intra.mdolze.de:/usr/obj/usr/src/sys/GENERIC i386 >Description: Add USB product ID for Crystalfontz 533 USB LCD. >How-To-Repeat: >Fix: Apply attached patch Patch attached with submission follows: --- ./sys/dev/usb/usbdevs.orig 2010-01-13 18:59:48.000000000 +0100 +++ ./sys/dev/usb/usbdevs 2010-01-13 22:18:40.000000000 +0100 @@ -1308,6 +1308,7 @@ product FTDI CFA_633 0xfc0b Crystalfontz CFA-633 USB LCD product FTDI CFA_631 0xfc0c Crystalfontz CFA-631 USB LCD product FTDI CFA_635 0xfc0d Crystalfontz CFA-635 USB LCD +product FTDI CFA_533 0xfc0e Crystalfontz CFA-533 USB LCD product FTDI SEMC_DSS20 0xfc82 SEMC DSS-20 SyncStation /* Fuji photo products */ --- ./sys/dev/usb/uftdi.c.orig 2010-01-13 19:09:34.000000000 +0100 +++ ./sys/dev/usb/uftdi.c 2010-01-13 22:19:09.000000000 +0100 @@ -152,6 +152,7 @@ (uaa->product == USB_PRODUCT_FTDI_SERIAL_8U100AX || uaa->product == USB_PRODUCT_FTDI_SERIAL_8U232AM || uaa->product == USB_PRODUCT_FTDI_SEMC_DSS20 || + uaa->product == USB_PRODUCT_FTDI_CFA_533 || uaa->product == USB_PRODUCT_FTDI_CFA_631 || uaa->product == USB_PRODUCT_FTDI_CFA_632 || uaa->product == USB_PRODUCT_FTDI_CFA_633 || @@ -237,6 +238,7 @@ case USB_PRODUCT_FTDI_SEMC_DSS20: case USB_PRODUCT_FTDI_SERIAL_8U232AM: case USB_PRODUCT_FTDI_SERIAL_2232C: + case USB_PRODUCT_FTDI_CFA_533: case USB_PRODUCT_FTDI_CFA_631: case USB_PRODUCT_FTDI_CFA_632: case USB_PRODUCT_FTDI_CFA_633: >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 21:56:01 2010 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 3A382106568B; Tue, 19 Jan 2010 21:56:01 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id D12AB8FC12; Tue, 19 Jan 2010 21:56:00 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o0JLrLu8003228; Wed, 20 Jan 2010 08:23:21 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id ; Wed, 20 Jan 2010 08:25:59 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Wed, 20 Jan 2010 08:25:58 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Wed, 20 Jan 2010 05:55:57 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o0JLoMmn045420; Wed, 20 Jan 2010 05:50:22 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o0JLoM2r045419; Wed, 20 Jan 2010 05:50:22 +0800 (WST) (envelope-from wilkinsa) Date: Wed, 20 Jan 2010 05:50:22 +0800 From: "Wilkinson, Alex" To: freebsd-usb@freebsd.org, freebsd-current@freebsd.org Message-ID: <20100119215022.GB45270@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-usb@freebsd.org, freebsd-current@freebsd.org References: <201001101437.37269.hselasky@c2i.net> <20100114072753.GJ80705@stlux503.dsto.defence.gov.au> <201001140924.47454.hselasky@c2i.net> <20100114084831.GL80705@stlux503.dsto.defence.gov.au> <20100114090329.GH63408@citylink.fud.org.nz> <20100119091217.GR39820@stlux503.dsto.defence.gov.au> <20100119165306.GA58342@citylink.fud.org.nz> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20100119165306.GA58342@citylink.fud.org.nz> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 19 Jan 2010 21:55:58.0011 (UTC) FILETIME=[2E81D8B0:01CA9952] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17142.000 X-TM-AS-Result: No--7.858600-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Cc: Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] 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: Tue, 19 Jan 2010 21:56:01 -0000 0n Wed, Jan 20, 2010 at 05:53:06AM +1300, Andrew Thompson wrote: >> Got these errors: >> >> [FreeBSD 9.0-CURRENT #0 r202270: Thu Jan 14 11:20:04 WST 2010] >> >> ===> Building for webcamd-0.1.0 >> Warning: Object directory not changed from original /usr/ports/multimedia/webcamd/work/webcamd-0.1.0 >> cc -O2 -pipe -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux/drivers/media/video/gspca -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux/include -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/v4l-dvb/linux -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0 -I/usr/ports/multimedia/webcamd/work/webcamd-0.1.0/dummy -DCONFIG_VIDEO_V4L1_COMPAT -DHAVE_WEBCAMD -include webcamd_global.h -O2 -Wall -Wno-pointer-sign -fvisibility=hidden -std=gnu99 -fstack-protector -c webcamd.c >> webcamd.c:37:23: error: video4bsd.h: No such file or directory >> webcamd.c:55: error: 'V4B_ALLOC_UNIT_MAX' undeclared here (not in a function) >> webcamd.c: In function 'main': >> webcamd.c:126: error: storage size of 'cmd' isn't known >> webcamd.c:176: error: 'V4B_DEVICES_MAX' undeclared (first use in this function) > >Do you have CFLAGS set in /etc/make.conf by chance? yup: #grep CFLAGS /etc/make.conf CFLAGS= -O2 -pipe -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-usb@FreeBSD.ORG Tue Jan 19 22:03:13 2010 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 B998A106566B; Tue, 19 Jan 2010 22:03:13 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 1B2128FC14; Tue, 19 Jan 2010 22:03:12 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o0JM0Ykm004457; Wed, 20 Jan 2010 08:30:34 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id ; Wed, 20 Jan 2010 08:33:11 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Wed, 20 Jan 2010 08:33:11 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Wed, 20 Jan 2010 06:03:10 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o0JLvYtF045481; Wed, 20 Jan 2010 05:57:34 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o0JLvYAX045480; Wed, 20 Jan 2010 05:57:34 +0800 (WST) (envelope-from wilkinsa) Date: Wed, 20 Jan 2010 05:57:34 +0800 From: "Wilkinson, Alex" To: freebsd-usb@freebsd.org, freebsd-current@freebsd.org Message-ID: <20100119215734.GD45270@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-usb@freebsd.org, freebsd-current@freebsd.org References: <201001101437.37269.hselasky@c2i.net> <20100114090329.GH63408@citylink.fud.org.nz> <20100119091217.GR39820@stlux503.dsto.defence.gov.au> <201001191629.13323.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <201001191629.13323.hselasky@c2i.net> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 19 Jan 2010 22:03:10.0699 (UTC) FILETIME=[3068CBB0:01CA9953] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17142.000 X-TM-AS-Result: No--5.096000-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Cc: Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] 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: Tue, 19 Jan 2010 22:03:13 -0000 0n Tue, Jan 19, 2010 at 04:29:13PM +0100, Hans Petter Selasky wrote: >Please check /etc/make.conf and replace any CFLAGS= with CFLAGS+= Yup, that worked! Great! ===> Installing rc.d startup script(s) ===> Running ldconfig /sbin/ldconfig -m /usr/local/lib ===> Registering installation for webcamd-0.1.0 ===> Cleaning for webcamd-0.1.0 -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-usb@FreeBSD.ORG Wed Jan 20 06:52:00 2010 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 B47A4106566B; Wed, 20 Jan 2010 06:52:00 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 17A448FC20; Wed, 20 Jan 2010 06:51:59 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o0K6nK3k008129; Wed, 20 Jan 2010 17:19:20 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id ; Wed, 20 Jan 2010 17:21:58 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Wed, 20 Jan 2010 17:21:58 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Wed, 20 Jan 2010 14:51:57 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o0K6kK0n047815; Wed, 20 Jan 2010 14:46:20 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o0K6kKeB047814; Wed, 20 Jan 2010 14:46:20 +0800 (WST) (envelope-from wilkinsa) Date: Wed, 20 Jan 2010 14:46:20 +0800 From: "Wilkinson, Alex" To: freebsd-usb@freebsd.org, freebsd-current@freebsd.org Message-ID: <20100120064620.GJ46479@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-usb@freebsd.org, freebsd-current@freebsd.org References: <201001101437.37269.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <201001101437.37269.hselasky@c2i.net> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 20 Jan 2010 06:51:57.0576 (UTC) FILETIME=[0F1A0880:01CA999D] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17142.005 X-TM-AS-Result: No--11.677200-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Cc: Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] 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: Wed, 20 Jan 2010 06:52:00 -0000 0n Sun, Jan 10, 2010 at 02:37:37PM +0100, Hans Petter Selasky wrote: >During the last couple of days I've spent some time to finish my webcam >daemon. My webcam daemon is basically an application which consists of >userspace Video4Linux USB webcam drivers and some uLinux glue code which links >with libc, pthreads and libusb. The webcamd talks to /dev/video_daemonX which >is provided by the video4bsd kernel module. There is full support for >mmap/read/write/open/close. poll is not supported. OK, after all the wresting i have it working! Great stuff Hans and Andrew! attaches as: kernel: ugen7.2: at usbus7 And works dam well. What apps could i expect this to work with in the future ? skype ? -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-usb@FreeBSD.ORG Wed Jan 20 08:43:06 2010 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 83A39106568B; Wed, 20 Jan 2010 08:43:06 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 269D88FC0C; Wed, 20 Jan 2010 08:43:05 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o0K8eQCe025487; Wed, 20 Jan 2010 19:10:26 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id ; Wed, 20 Jan 2010 19:13:04 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Wed, 20 Jan 2010 19:13:04 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Wed, 20 Jan 2010 16:43:03 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o0K8bQAb048205; Wed, 20 Jan 2010 16:37:26 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o0K8bQ5R048204; Wed, 20 Jan 2010 16:37:26 +0800 (WST) (envelope-from wilkinsa) Date: Wed, 20 Jan 2010 16:37:26 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Message-ID: <20100120083726.GK46479@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 20 Jan 2010 08:43:03.0873 (UTC) FILETIME=[94863B10:01CA99AC] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17142.006 X-TM-AS-Result: No--20.785700-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Cc: Subject: multimedia/libv4l/ (video4bsd.ko) -> Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] 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: Wed, 20 Jan 2010 08:43:06 -0000 The following ports initially installed and worked fine: multimedia/libv4l multimedia/webcamd multimedia/pwcview however, after a reboot video4bsd.ko panic'd my machine and i was unable to boot. I had to use the LiveFS to rescue the box. Here is the bt from DDB: FreeBSD 9.0-CURRENT #0 r202270: GDB: no debug ports present KDB: debugger backends: ddb KDB: current backend: ddb 458752K of memory above 4GB ignored Copyright (c) 1992-2010 The FreeBSD Project. Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994 The Regents of the University of California. All rights reserved. FreeBSD is a registered trademark of The FreeBSD Foundation. FreeBSD 9.0-CURRENT #0 r202270: Thu Jan 14 11:20:04 WST 2010 WARNING: WITNESS option enabled, expect reduced performance. Kernel page fault with the following non-sleepable locks held: exclusive sleep mutex cdev (cdev) r = 0 (0xc0df5bd8) locked @ /usr/src/sys/kern/kern_conf.c:72 KDB: stack backtrace: db_trace_self_wrapper(c0c9e3fb,c1c20b7c,c08d5375,c0c94c4e,48,...) at db_trace_self_wrapper+0x26 kdb_backtrace(c0c94c4e,48,ffffffff,c0f3814c,c1c20bb4,...) at kdb_backtrace+0x29 _witness_debugger(c0ca08bd,c1c20bc8,4,1,0,...) at _witness_debugger+0x25 witness_warn(5,0,c0cd5368,c1c20ce8,c0df5540,...) at witness_warn+0x1fd trap(c1c20c54) at trap+0x19e calltrap() at calltrap+0x6 --- trap 0xc, eip = 0xc087f1c3, esp = 0xc1c20c94, ebp = 0xc1c20ca4 --- _mtx_assert(f000fea5,4,c0ca03dd,240,0,...) at _mtx_assert+0x53 alloc_unrl(0,4,c0c8fa0e,202,c7952000,...) at alloc_unrl+0x2f devfs_create(c7952000,40,20,c1bb1a3a,c1c20d60,...) at devfs_create+0x42 make_dev_credv(0,0,5,1a4,c1bb1a3a,...) at make_dev_credv+0x103 make_dev(c1bb2000,0,0,5,1a4,...) at make_dev+0x43 v4b_init(0,1c1ec00,1c1ec00,1c1e000,1c25000,...) at v4b_init+0x7b mi_startup() at mi_startup+0x96 begin() at begin+0x2c Fatal trap 12: page fault while in kernel mode cpuid = 0; apic id = 00 fault virtual address = 0xf000feb5 fault code = supervisor read, page not present instruction pointer = 0x20:0xc087f1c3 stack pointer = 0x28:0xc1c20c94 frame pointer = 0x28:0xc1c20ca4 code segment = base 0x0, limit 0xfffff, type 0x1b = DPL 0, pres 1, def32 1, gran 1 processor eflags = interrupt enabled, resume, IOPL = 0 current process = 0 () [thread pid 0 tid 0 ] Stopped at _mtx_assert+0x53: movl 0x10(%edx),%eax db> bt Tracing pid 0 tid 0 td 0xc0df57f0 _mtx_assert(f000fea5,4,c0ca03dd,240,0,...) at _mtx_assert+0x53 alloc_unrl(0,4,c0c8fa0e,202,c7952000,...) at alloc_unrl+0x2f devfs_create(c7952000,40,20,c1bb1a3a,c1c20d60,...) at devfs_create+0x42 make_dev_credv(0,0,5,1a4,c1bb1a3a,...) at make_dev_credv+0x103 make_dev(c1bb2000,0,0,5,1a4,...) at make_dev+0x43 v4b_init(0,1c1ec00,1c1ec00,1c1e000,1c25000,...) at v4b_init+0x7b mi_startup() at mi_startup+0x96 begin() at begin+0x2c db> It was to early in the bootstrap process to get a core dump (call doadump). i.e. "no dumpdev available" message. -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-usb@FreeBSD.ORG Wed Jan 20 09:14:36 2010 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 7DF15106566C; Wed, 20 Jan 2010 09:14:36 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.swip.net [212.247.154.225]) by mx1.freebsd.org (Postfix) with ESMTP id D2B368FC15; Wed, 20 Jan 2010 09:14:35 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=2_RHiNPu7QwA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=MJPGnJ_TKvrAjsQp_30A:9 a=TJrprNxoB2apuwS68PX6bVBhw3IA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1329321292; Wed, 20 Jan 2010 10:14:33 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Wed, 20 Jan 2010 10:13:07 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <20100120083726.GK46479@stlux503.dsto.defence.gov.au> In-Reply-To: <20100120083726.GK46479@stlux503.dsto.defence.gov.au> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001201013.07894.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: multimedia/libv4l/ (video4bsd.ko) -> Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] 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: Wed, 20 Jan 2010 09:14:36 -0000 On Wednesday 20 January 2010 09:37:26 Wilkinson, Alex wrote: > The following ports initially installed and worked fine: > > multimedia/libv4l > multimedia/webcamd > multimedia/pwcview > > however, after a reboot video4bsd.ko panic'd my machine and i was unable to > boot. I had to use the LiveFS to rescue the box. Here is the bt from DDB: > This issue is fixed. Just update the ports. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 20 09:15:56 2010 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 16389106568B; Wed, 20 Jan 2010 09:15:56 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.swipnet.se [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 707508FC19; Wed, 20 Jan 2010 09:15:55 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=KGajRZc_SssA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=s9oXJcMGAAAA:8 a=mTlX9fD86kipr6BSR9UA:9 a=aJ8Eljr0F5qvkDt_bi0A:7 a=XJi2yjoX5CrWeSlyvRdbYI74lC0A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 979144232; Wed, 20 Jan 2010 10:15:53 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 20 Jan 2010 10:14:31 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001192052.o0JKq89R091469@www.freebsd.org> In-Reply-To: <201001192052.o0JKq89R091469@www.freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201001201014.31105.hselasky@c2i.net> Cc: freebsd-gnats-submit@freebsd.org, robert Subject: Re: usb/142989: canon eos 50D attaches but detaches after few seconds (1 - 4) 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: Wed, 20 Jan 2010 09:15:56 -0000 On Tuesday 19 January 2010 21:52:08 robert wrote: > >Number: 142989 > >Category: usb > >Synopsis: canon eos 50D attaches but detaches after few seconds (1 - > > 4) Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Jan 19 21:00:20 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: robert > >Release: FreeBSD 8.0 > >Organization: > >Environment: > > FreeBSD x300.blacquiere.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue > Jan 5 21:11:58 UTC 2010 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > >Description: > > Canon EOS 50D dslr connected to usb ports attaches but detaches after few > seconds, between 1 and 4 seconds. > > ugen6.2: at usbus6 > ugen6.2: at usbus6 (disconnected) > > usbconfig list does not show any Canon device any more. > > >How-To-Repeat: > > attach canon eos 50D firmware version 1.07 with usb on freebsd 8.0 laptop. > > >Fix: > > > > > >Release-Note: > >Audit-Trail: > >Unformatted: > Can you try with an 9-current kernel? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 20 09:20:02 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CBE6E106566B for ; Wed, 20 Jan 2010 09:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id B73068FC16 for ; Wed, 20 Jan 2010 09:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0K9K2BX015075 for ; Wed, 20 Jan 2010 09:20:02 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0K9K2jK015074; Wed, 20 Jan 2010 09:20:02 GMT (envelope-from gnats) Date: Wed, 20 Jan 2010 09:20:02 GMT Message-Id: <201001200920.o0K9K2jK015074@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/142989: canon eos 50D attaches but detaches after few seconds (1 - 4) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 09:20:02 -0000 The following reply was made to PR usb/142989; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org Cc: robert , freebsd-gnats-submit@freebsd.org Subject: Re: usb/142989: canon eos 50D attaches but detaches after few seconds (1 - 4) Date: Wed, 20 Jan 2010 10:14:31 +0100 On Tuesday 19 January 2010 21:52:08 robert wrote: > >Number: 142989 > >Category: usb > >Synopsis: canon eos 50D attaches but detaches after few seconds (1 - > > 4) Confidential: no > >Severity: non-critical > >Priority: low > >Responsible: freebsd-usb > >State: open > >Quarter: > >Keywords: > >Date-Required: > >Class: sw-bug > >Submitter-Id: current-users > >Arrival-Date: Tue Jan 19 21:00:20 UTC 2010 > >Closed-Date: > >Last-Modified: > >Originator: robert > >Release: FreeBSD 8.0 > >Organization: > >Environment: > > FreeBSD x300.blacquiere.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue > Jan 5 21:11:58 UTC 2010 > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > >Description: > > Canon EOS 50D dslr connected to usb ports attaches but detaches after few > seconds, between 1 and 4 seconds. > > ugen6.2: at usbus6 > ugen6.2: at usbus6 (disconnected) > > usbconfig list does not show any Canon device any more. > > >How-To-Repeat: > > attach canon eos 50D firmware version 1.07 with usb on freebsd 8.0 laptop. > > >Fix: > > > > > >Release-Note: > >Audit-Trail: > >Unformatted: > Can you try with an 9-current kernel? --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 20 10:07:33 2010 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 047A71065679; Wed, 20 Jan 2010 10:07:33 +0000 (UTC) (envelope-from robert@blacquiere.nl) Received: from mail.blacquiere.nl (mail.blacquiere.nl [78.47.62.196]) by mx1.freebsd.org (Postfix) with ESMTP id B55948FC0A; Wed, 20 Jan 2010 10:07:32 +0000 (UTC) Received: from macmini.blacquiere.nl ([192.168.201.4] helo=shell.blacquiere.nl ident=robert) by mail.blacquiere.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NXWmn-000MEH-JH; Wed, 20 Jan 2010 10:23:37 +0100 Date: Wed, 20 Jan 2010 10:23:37 +0100 From: Robert Blacquiere To: Hans Petter Selasky Message-ID: <20100120092337.GC12448@macmini.blacquiere.nl> References: <201001192052.o0JKq89R091469@www.freebsd.org> <201001201014.31105.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001201014.31105.hselasky@c2i.net> X-Disclaimer: running FreeBSD User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: 192.168.201.4 X-SA-Exim-Mail-From: robert@blacquiere.nl X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.blacquiere.nl X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=ALL_TRUSTED, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail.blacquiere.nl) Cc: freebsd-gnats-submit@freebsd.org, freebsd-usb@freebsd.org Subject: Re: usb/142989: canon eos 50D attaches but detaches after few seconds (1 - 4) 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: Wed, 20 Jan 2010 10:07:33 -0000 On Wed, Jan 20, 2010 at 10:14:31AM +0100, Hans Petter Selasky wrote: > On Tuesday 19 January 2010 21:52:08 robert wrote: > > >Number: 142989 > > >Category: usb > > >Synopsis: canon eos 50D attaches but detaches after few seconds (1 - > > > 4) Confidential: no > > > > FreeBSD x300.blacquiere.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue > > Jan 5 21:11:58 UTC 2010 > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > > > >Description: > > > > Canon EOS 50D dslr connected to usb ports attaches but detaches after few > > seconds, between 1 and 4 seconds. > > > > ugen6.2: at usbus6 > > ugen6.2: at usbus6 (disconnected) > > > > usbconfig list does not show any Canon device any more. > > > > >How-To-Repeat: > > > > attach canon eos 50D firmware version 1.07 with usb on freebsd 8.0 laptop. > > > > >Fix: > > > > > > > > >Release-Note: > > >Audit-Trail: > > >Unformatted: > > > > Can you try with an 9-current kernel? > > --HPS I will try this later this week. Maybe tomorrow time allowing. Regards Robert Blacquiere From owner-freebsd-usb@FreeBSD.ORG Wed Jan 20 10:10:10 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A1A3106566B for ; Wed, 20 Jan 2010 10:10:10 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id EE1738FC13 for ; Wed, 20 Jan 2010 10:10:09 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0KAA9iX056867 for ; Wed, 20 Jan 2010 10:10:09 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0KAA9hY056866; Wed, 20 Jan 2010 10:10:09 GMT (envelope-from gnats) Date: Wed, 20 Jan 2010 10:10:09 GMT Message-Id: <201001201010.o0KAA9hY056866@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Robert Blacquiere Cc: Subject: Re: usb/142989: canon eos 50D attaches but detaches after few seconds (1 - 4) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Robert Blacquiere List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2010 10:10:10 -0000 The following reply was made to PR usb/142989; it has been noted by GNATS. From: Robert Blacquiere To: Hans Petter Selasky Cc: freebsd-usb@freebsd.org, freebsd-gnats-submit@freebsd.org Subject: Re: usb/142989: canon eos 50D attaches but detaches after few seconds (1 - 4) Date: Wed, 20 Jan 2010 10:23:37 +0100 On Wed, Jan 20, 2010 at 10:14:31AM +0100, Hans Petter Selasky wrote: > On Tuesday 19 January 2010 21:52:08 robert wrote: > > >Number: 142989 > > >Category: usb > > >Synopsis: canon eos 50D attaches but detaches after few seconds (1 - > > > 4) Confidential: no > > > > FreeBSD x300.blacquiere.local 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #0: Tue > > Jan 5 21:11:58 UTC 2010 > > root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64 > > > > >Description: > > > > Canon EOS 50D dslr connected to usb ports attaches but detaches after few > > seconds, between 1 and 4 seconds. > > > > ugen6.2: at usbus6 > > ugen6.2: at usbus6 (disconnected) > > > > usbconfig list does not show any Canon device any more. > > > > >How-To-Repeat: > > > > attach canon eos 50D firmware version 1.07 with usb on freebsd 8.0 laptop. > > > > >Fix: > > > > > > > > >Release-Note: > > >Audit-Trail: > > >Unformatted: > > > > Can you try with an 9-current kernel? > > --HPS I will try this later this week. Maybe tomorrow time allowing. Regards Robert Blacquiere From owner-freebsd-usb@FreeBSD.ORG Wed Jan 20 15:38:48 2010 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 75768106568B for ; Wed, 20 Jan 2010 15:38:48 +0000 (UTC) (envelope-from torfinn.ingolfsen@broadpark.no) Received: from bgo1smout1.broadpark.no (bgo1smout1.broadpark.no [217.13.4.94]) by mx1.freebsd.org (Postfix) with ESMTP id 30B398FC18 for ; Wed, 20 Jan 2010 15:38:47 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII Received: from bgo1sminn1.broadpark.no ([217.13.4.93]) by bgo1smout1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with ESMTP id <0KWJ00GOYY4NN280@bgo1smout1.broadpark.no> for freebsd-usb@FreeBSD.org; Wed, 20 Jan 2010 16:38:47 +0100 (CET) Received: from kg-v2.kg4.no ([80.203.92.186]) by bgo1sminn1.broadpark.no (Sun Java(tm) System Messaging Server 6.3-3.01 (built Jul 12 2007; 32bit)) with SMTP id <0KWJ002J1Y4MF7D0@bgo1sminn1.broadpark.no> for freebsd-usb@FreeBSD.org; Wed, 20 Jan 2010 16:38:47 +0100 (CET) Date: Wed, 20 Jan 2010 16:38:46 +0100 From: Torfinn Ingolfsen To: freebsd-usb@FreeBSD.org Message-id: <20100120163846.342388fb.torfinn.ingolfsen@broadpark.no> In-reply-to: <20100112222035.7b9d6b03.torfinn.ingolfsen@broadpark.no> References: <200909282240.53802.doconnor@gsoft.com.au> <200910291347.10390.hselasky@c2i.net> <20100110184252.a2efd4cd.torfinn.ingolfsen@broadpark.no> <201001101924.56115.hselasky@c2i.net> <20100112222035.7b9d6b03.torfinn.ingolfsen@broadpark.no> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.18.5; amd64-portbld-freebsd8.0) X-Face: "t9w2,-X@O^I`jVW\sonI3.,36KBLZE*AL[y9lL[PyFD*r_S:dIL9c[8Y>V42R0"!"yb_zN,f#%.[PYYNq; m"_0v; ~rUM2Yy!zmkh)3&U|u!=T(zyv,MHJv"nDH>OJ`t(@mil461d_B'Uo|'nMwlKe0Mv=kvV?Nh@>Hb<3s_z2jYgZhPb@?Wi^x1a~Hplz1.zH Cc: Subject: Re: SANE vs USB scanner on 8.0 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: Wed, 20 Jan 2010 15:38:48 -0000 On Tue, 12 Jan 2010 22:20:35 +0100 Torfinn Ingolfsen wrote: > Hmm, werer do I find documentation on libusb as implemted in FreeBSD > 8.0? The docs at linusb.sf.net talks a lot of data types, etc. nut > doeen't mention how "device names" (for lack of a better description) > is supposed to work. > is libusb on FreeBSD 8 supposed to work with "libusb:2:2" format > descriptors? Nobody knows? -- Regards, Torfinn Ingolfsen From owner-freebsd-usb@FreeBSD.ORG Wed Jan 20 15:51:53 2010 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 4B8A01065672 for ; Wed, 20 Jan 2010 15:51:53 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id CE99F8FC16 for ; Wed, 20 Jan 2010 15:51:52 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=2z1OXlWFAAAA:8 a=7MpVODrq4NM2RtrpnLoA:9 a=Ot7G0nAFFMoQRVePhCCbu7L71eQA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1335326254; Wed, 20 Jan 2010 16:51:50 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 20 Jan 2010 16:50:24 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <200909282240.53802.doconnor@gsoft.com.au> <20100112222035.7b9d6b03.torfinn.ingolfsen@broadpark.no> <20100120163846.342388fb.torfinn.ingolfsen@broadpark.no> In-Reply-To: <20100120163846.342388fb.torfinn.ingolfsen@broadpark.no> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001201650.24919.hselasky@c2i.net> Cc: Subject: Re: SANE vs USB scanner on 8.0 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: Wed, 20 Jan 2010 15:51:53 -0000 On Wednesday 20 January 2010 16:38:46 Torfinn Ingolfsen wrote: > On Tue, 12 Jan 2010 22:20:35 +0100 > > Torfinn Ingolfsen wrote: > > Hmm, werer do I find documentation on libusb as implemted in FreeBSD > > 8.0? The docs at linusb.sf.net talks a lot of data types, etc. nut > > doeen't mention how "device names" (for lack of a better description) > > is supposed to work. > > is libusb on FreeBSD 8 supposed to work with "libusb:2:2" format > > descriptors? > > Nobody knows? > Hi, The FreeBSD LibUSB should be feature compliant with libusb from sourceforge. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 20 17:53:16 2010 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 30A1C106566B; Wed, 20 Jan 2010 17:53:16 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe14.tele2.se [212.247.155.161]) by mx1.freebsd.org (Postfix) with ESMTP id 851FB8FC15; Wed, 20 Jan 2010 17:53:15 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=9zKBo0zsyzYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=1QOEjlIrGIGqMfsvmToA:9 a=MQBOjsDtMpGNYYZacRYA:7 a=v9YtR-xc4lA7SQTLIBpIrLA6gcwA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe14.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 593888539; Wed, 20 Jan 2010 18:53:13 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Wed, 20 Jan 2010 18:51:50 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <20100120064620.GJ46479@stlux503.dsto.defence.gov.au> In-Reply-To: <20100120064620.GJ46479@stlux503.dsto.defence.gov.au> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001201851.50069.hselasky@c2i.net> Cc: freebsd-current@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] 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: Wed, 20 Jan 2010 17:53:16 -0000 On Wednesday 20 January 2010 07:46:20 Wilkinson, Alex wrote: > And works dam well. > Thanks. > What apps could i expect this to work with in the future ? skype ? Basically all V4L appllications. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 20 17:58:00 2010 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 4005C106568D; Wed, 20 Jan 2010 17:58:00 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe06.swip.net [212.247.154.161]) by mx1.freebsd.org (Postfix) with ESMTP id 68D618FC1E; Wed, 20 Jan 2010 17:57:58 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=RYQgPGQ7BbsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=7kGAbY5_nOuQvFgCT9sA:9 a=07Ygt_TCPVjRXVcRcOuNz-qIFLAA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe06.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1332816593; Wed, 20 Jan 2010 18:57:57 +0100 From: Hans Petter Selasky To: Henry Hu Date: Wed, 20 Jan 2010 18:56:34 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <53a1e0711001190933y64a41e98h60fa3dec641d44fd@mail.gmail.com> In-Reply-To: <53a1e0711001190933y64a41e98h60fa3dec641d44fd@mail.gmail.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'( =?iso-8859-1?q?=3B=5FIjlA=3A=0A=09hGE=2E=2EEw?=, =?iso-8859-1?q?XAQ*o=23=5C/M=7ESC=3DS1-f9=7BEzRfT=27=7CHhll5Q=5Dha5Bt-s=7Co?= =?iso-8859-1?q?TlKMusi=3A1e=5BwJl=7Dkd=7DGR=0A=09Z0adGx-x=5F0zGbZj=27e?=(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001201856.35002.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Wed, 20 Jan 2010 17:58:00 -0000 Hi, On Tuesday 19 January 2010 18:33:14 Henry Hu wrote: > There are some problems, however. First, when I start pwcview with an > unsupported mode, the content of the window is green, and I cannot > kill the process. Only after terminating webcamd can I terminate the > process. I know what the problem is, and I will try to fix it in the next release of webcamd. > Second, I cannot restart pwcview without restarting webcamd. At the > second time I start pwcview with -s vga, the window is green, and I > cannot kill it. The situation is similar to unsupported size. > > I've also tried applications such as pidgin, skype and mplayer. > However no one successfully played from the webcam. I doubt it needs > some extra work. You need to recompile these applications after installing libv4l. I have vlc working with the new stuff. > > Thanks again for the great work! It never caused any kernel panic, and > the programs are fairly stable. Thanks! --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jan 20 18:00:56 2010 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 F420F106566B; Wed, 20 Jan 2010 18:00:55 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe07.swip.net [212.247.154.193]) by mx1.freebsd.org (Postfix) with ESMTP id 282428FC13; Wed, 20 Jan 2010 18:00:54 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=RYQgPGQ7BbsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=obg1LsjmO9W_VvOtepQA:9 a=aHYi9kqB8Y5nidVInDxItgpaWSQA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe07.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1359912782; Wed, 20 Jan 2010 19:00:53 +0100 From: Hans Petter Selasky To: vova@fbsd.ru Date: Wed, 20 Jan 2010 18:59:30 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <1263244252.3558.29.camel@localhost> <1263931952.2993.7.camel@localhost> In-Reply-To: <1263931952.2993.7.camel@localhost> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="koi8-r" Content-Transfer-Encoding: 7bit Message-Id: <201001201859.30886.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Wed, 20 Jan 2010 18:00:56 -0000 On Tuesday 19 January 2010 21:12:32 Vladimir Grebenschikov wrote: > Hi > > I've tested with recent ports. > > pwcview works fine, both vga and sif > > but skype still sees /dev/video0 but fails to play anything from it, > multimedia/cheese even does not sees webcam. > > Is it supposed, or I am so unlucky ? Yes it is supposed to work, but you maybe need to tweak/rebuild the gstreamer V4L2 code. --HPS From owner-freebsd-usb@FreeBSD.ORG Thu Jan 21 00:56:56 2010 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 A78F3106566B; Thu, 21 Jan 2010 00:56:56 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 0BBA08FC17; Thu, 21 Jan 2010 00:56:55 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o0L0sEZ8028807; Thu, 21 Jan 2010 11:24:14 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id ; Thu, 21 Jan 2010 11:26:54 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Jan 2010 11:26:54 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Jan 2010 08:56:51 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o0L0pCFa052835; Thu, 21 Jan 2010 08:51:12 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o0L0pC7E052834; Thu, 21 Jan 2010 08:51:12 +0800 (WST) (envelope-from wilkinsa) Date: Thu, 21 Jan 2010 08:51:12 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Message-ID: <20100121005111.GB48329@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org References: <20100120083726.GK46479@stlux503.dsto.defence.gov.au> <201001201013.07894.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <201001201013.07894.hselasky@c2i.net> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 21 Jan 2010 00:56:51.0317 (UTC) FILETIME=[9DFEAA50:01CA9A34] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17144.001 X-TM-AS-Result: No--15.390900-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Cc: Subject: Re: multimedia/libv4l/ (video4bsd.ko) -> Fatal trap 12: page fault while in kernel mode [SEC=UNCLASSIFIED] 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: Thu, 21 Jan 2010 00:56:56 -0000 0n Wed, Jan 20, 2010 at 10:13:07AM +0100, Hans Petter Selasky wrote: >On Wednesday 20 January 2010 09:37:26 Wilkinson, Alex wrote: >> The following ports initially installed and worked fine: >> >> multimedia/libv4l >> multimedia/webcamd >> multimedia/pwcview >> >> however, after a reboot video4bsd.ko panic'd my machine and i was unable to >> boot. I had to use the LiveFS to rescue the box. Here is the bt from DDB: > >This issue is fixed. Just update the ports. Ah, yep. Updating multimedia/video4bsd-kmod/ fixed this issue. Thanks! -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-usb@FreeBSD.ORG Thu Jan 21 02:48:40 2010 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 D5ECA1065679; Thu, 21 Jan 2010 02:48:40 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 3AAC98FC1F; Thu, 21 Jan 2010 02:48:39 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o0L2jxkM017204; Thu, 21 Jan 2010 13:15:59 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id ; Thu, 21 Jan 2010 13:18:38 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Jan 2010 13:18:38 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Thu, 21 Jan 2010 10:48:36 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o0L2gvHh053476; Thu, 21 Jan 2010 10:42:57 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o0L2gvo7053475; Thu, 21 Jan 2010 10:42:57 +0800 (WST) (envelope-from wilkinsa) Date: Thu, 21 Jan 2010 10:42:57 +0800 From: "Wilkinson, Alex" To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Message-ID: <20100121024257.GD48329@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-current@freebsd.org, freebsd-usb@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 21 Jan 2010 02:48:36.0645 (UTC) FILETIME=[3AAE8550:01CA9A44] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17144.001 X-TM-AS-Result: No--2.323800-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Cc: Subject: libv4l2: error converting / decoding frame data: v4l-convert: ... [SEC=UNCLASSIFIED] 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: Thu, 21 Jan 2010 02:48:40 -0000 [FreeBSD 9.0-CURRENT #1 r202680M: Thu Jan 21 09:35:32] pwcview(1) is consistently crashing on me today with the following: #sudo pwcview Webcam set to: 320x240 (sif) at 5 fps libv4l2: error converting / decoding frame data: v4l-convert: error parsing JPEG header: Bogus jpeg format Error reading from webcam: Input/output error -Alex IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-usb@FreeBSD.ORG Thu Jan 21 04:56:34 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 28E60106566B; Thu, 21 Jan 2010 04:56:34 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 00B3E8FC16; Thu, 21 Jan 2010 04:56:34 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0L4uX7C038054; Thu, 21 Jan 2010 04:56:33 GMT (envelope-from linimon@freefall.freebsd.org) Received: (from linimon@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0L4uXpm038050; Thu, 21 Jan 2010 04:56:33 GMT (envelope-from linimon) Date: Thu, 21 Jan 2010 04:56:33 GMT Message-Id: <201001210456.o0L4uXpm038050@freefall.freebsd.org> To: linimon@FreeBSD.org, freebsd-bugs@FreeBSD.org, freebsd-usb@FreeBSD.org From: linimon@FreeBSD.org Cc: Subject: Re: usb/143045: [umass] [patch] mounting Fujitsu 2600Z camera doesn't work 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: Thu, 21 Jan 2010 04:56:34 -0000 Old Synopsis: Fujitsu 2600Z camera mounting New Synopsis: [umass] [patch] mounting Fujitsu 2600Z camera doesn't work Responsible-Changed-From-To: freebsd-bugs->freebsd-usb Responsible-Changed-By: linimon Responsible-Changed-When: Thu Jan 21 04:55:30 UTC 2010 Responsible-Changed-Why: reclassify. http://www.freebsd.org/cgi/query-pr.cgi?pr=143045 From owner-freebsd-usb@FreeBSD.ORG Thu Jan 21 12:20:51 2010 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 997CE10656A6 for ; Thu, 21 Jan 2010 12:20:51 +0000 (UTC) (envelope-from ewinter@ewinter.org) Received: from neumann.bsn.com (neumann.bsn.com [83.236.223.74]) by mx1.freebsd.org (Postfix) with ESMTP id 04D0C8FC2A for ; Thu, 21 Jan 2010 12:20:49 +0000 (UTC) Received: from lobo.ewinter.org (p4FCFE3C2.dip.t-dialin.net [79.207.227.194]) (authenticated bits=128) by neumann.bsn.com (8.14.3/8.13.8) with ESMTP id o0LCKYC6019235; Thu, 21 Jan 2010 13:20:40 +0100 (CET) (envelope-from ewinter@ewinter.org) Date: Thu, 21 Jan 2010 13:26:04 +0100 From: "Ernst W. Winter" To: "Wilkinson, Alex" Message-ID: <20100121122604.GA1552@lobo.ewinter.org> References: <20100121024257.GD48329@stlux503.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100121024257.GD48329@stlux503.dsto.defence.gov.au> Organization: FreeBSD Evangelist X-Operating-System: FreeBSD lobo.ewinter.org 8.0-STABLE FreeBSD 8.0-STABLE User-Agent: Mutt/1.5.20 (2009-06-14) Cc: freebsd-usb@freebsd.org Subject: Re: libv4l2: error converting / decoding frame data: v4l-convert: ... [SEC=UNCLASSIFIED] X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: "Ernst W. Winter" List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2010 12:20:51 -0000 On Thu, 21 Jan 2010, Wilkinson, Alex wrote: > > [FreeBSD 9.0-CURRENT #1 r202680M: Thu Jan 21 09:35:32] > > pwcview(1) is consistently crashing on me today with the following: > > #sudo pwcview > Webcam set to: 320x240 (sif) at 5 fps > libv4l2: error converting / decoding frame data: v4l-convert: error parsing JPEG > header: Bogus jpeg format > Error reading from webcam: Input/output error > > -Alex > Thanks for the tip, I just tried it and it works like a charm with 8.-STABLE, didn't even know it would work or existed. Using a ASUS Laptop here M51Kseries. If I can help or if there are any other quetsions let me know. > IMPORTANT: This email remains the property of the Australian > Defence Organisation and is subject to the jurisdiction of section > 70 of the CRIMES ACT 1914. If you have received this email in > error, you are requested to contact the sender and delete the > email. > > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" Ernst Winter -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.org Mail plain ASCII text. HTML & Base64 text are spam. From owner-freebsd-usb@FreeBSD.ORG Fri Jan 22 05:04:36 2010 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 8EE21106566C; Fri, 22 Jan 2010 05:04:36 +0000 (UTC) (envelope-from wilkinsa@dsto.defence.gov.au) Received: from digger1.defence.gov.au (digger1.defence.gov.au [203.5.217.4]) by mx1.freebsd.org (Postfix) with ESMTP id 174628FC0C; Fri, 22 Jan 2010 05:04:35 +0000 (UTC) Received: from ednmsw520.dsto.defence.gov.au (ednmsw520.dsto.defence.gov.au [131.185.68.60]) by digger1.defence.gov.au (DSTO/DSTO) with ESMTP id o0M51sPv009469; Fri, 22 Jan 2010 15:31:54 +1030 (CST) Received: from ednex510.dsto.defence.gov.au (ednex510.dsto.defence.gov.au) by ednmsw520.dsto.defence.gov.au (Clearswift SMTPRS 5.3.2) with ESMTP id ; Fri, 22 Jan 2010 15:34:34 +1030 Received: from stlex511.dsto.defence.gov.au ([203.6.60.49]) by ednex510.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Fri, 22 Jan 2010 15:34:33 +1030 Received: from stlux550.dsto.defence.gov.au ([203.6.60.61]) by stlex511.dsto.defence.gov.au with Microsoft SMTPSVC(6.0.3790.3959); Fri, 22 Jan 2010 13:04:32 +0800 Received: from stlux550.dsto.defence.gov.au (localhost [127.0.0.1]) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3) with ESMTP id o0M4voNl061201; Fri, 22 Jan 2010 12:57:50 +0800 (WST) (envelope-from wilkinsa@stlux550.dsto.defence.gov.au) Received: (from wilkinsa@localhost) by stlux550.dsto.defence.gov.au (8.14.3/8.14.3/Submit) id o0M4voYd061200; Fri, 22 Jan 2010 12:57:50 +0800 (WST) (envelope-from wilkinsa) Date: Fri, 22 Jan 2010 12:57:50 +0800 From: "Wilkinson, Alex" To: freebsd-usb@freebsd.org, freebsd-current@freebsd.org Message-ID: <20100122045750.GF56085@stlux503.dsto.defence.gov.au> Mail-Followup-To: freebsd-usb@freebsd.org, freebsd-current@freebsd.org References: <201001101437.37269.hselasky@c2i.net> <20100120064620.GJ46479@stlux503.dsto.defence.gov.au> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline In-Reply-To: <20100120064620.GJ46479@stlux503.dsto.defence.gov.au> Organisation: Defence Science Technology Organisation X-Message-Flag: "Please Restore Line Breaks If Necessary" User-Agent: Mutt/1.5.20 (2009-06-14) X-OriginalArrivalTime: 22 Jan 2010 05:04:32.0819 (UTC) FILETIME=[628DA830:01CA9B20] X-TM-AS-Product-Ver: SMEX-8.0.0.1285-6.000.1038-17146.002 X-TM-AS-Result: No-0.405400-0.000000-31 X-TM-AS-User-Approved-Sender: Yes X-TM-AS-User-Blocked-Sender: No Content-Transfer-Encoding: 7bit Cc: Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] 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: Fri, 22 Jan 2010 05:04:36 -0000 0n Wed, Jan 20, 2010 at 02:46:20PM +0800, Wilkinson, Alex wrote: > 0n Sun, Jan 10, 2010 at 02:37:37PM +0100, Hans Petter Selasky wrote: > > >During the last couple of days I've spent some time to finish my webcam > >daemon. My webcam daemon is basically an application which consists of > >userspace Video4Linux USB webcam drivers and some uLinux glue code which links > >with libc, pthreads and libusb. The webcamd talks to /dev/video_daemonX which > >is provided by the video4bsd kernel module. There is full support for > >mmap/read/write/open/close. poll is not supported. /usr/ports/multimedia/pwcview (PORTVERSION=1.4.1) crashes within 2-3mins of use with the following: #sudo pwcview Webcam set to: 320x240 (sif) at 5 fps libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more bits libv4l2: error dequeuing buf: Device not configured Error reading from webcam: Device not configured I rebuilt /usr/ports/multimedia/pwcview with symbolls and got the following: #sudo gdb pwcview 75557 GNU gdb 6.1.1 [FreeBSD] Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-marcel-freebsd"...(no debugging symbols found)... Attaching to program: /usr/local/bin/pwcview, process 75557 Reading symbols from /usr/local/lib/libSDL-1.2.so.11...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libSDL-1.2.so.11 Reading symbols from /usr/local/lib/libjpeg.so.10...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libjpeg.so.10 Reading symbols from /usr/local/lib/libv4l1.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libv4l1.so.0 Reading symbols from /lib/libthr.so.3...(no debugging symbols found)...done. [New Thread 28601140 (LWP 100451)] Loaded symbols for /lib/libthr.so.3 Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done. Loaded symbols for /lib/libc.so.7 Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libiconv.so.3 Reading symbols from /usr/lib/libvgl.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libvgl.so.6 Reading symbols from /usr/local/lib/libaa.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libaa.so.1 Reading symbols from /usr/local/lib/libncurses.so.5.7...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libncurses.so.5.7 Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done. Loaded symbols for /lib/libm.so.5 Reading symbols from /usr/local/lib/libX11.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libX11.so.6 Reading symbols from /usr/local/lib/libxcb.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libxcb.so.2 Reading symbols from /usr/local/lib/libXau.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXau.so.6 Reading symbols from /usr/local/lib/libXdmcp.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXdmcp.so.6 Reading symbols from /usr/local/lib/libpthread-stubs.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libpthread-stubs.so.0 Reading symbols from /usr/lib/librpcsvc.so.5...(no debugging symbols found)...done. Loaded symbols for /usr/lib/librpcsvc.so.5 Reading symbols from /usr/lib/libusbhid.so.4...(no debugging symbols found)...done. Loaded symbols for /usr/lib/libusbhid.so.4 Reading symbols from /usr/local/lib/libv4l2.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libv4l2.so.0 Reading symbols from /usr/local/lib/libtinfo.so.5.7...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libtinfo.so.5.7 Reading symbols from /usr/local/lib/libv4lconvert.so.0...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libv4lconvert.so.0 Reading symbols from /usr/lib/librt.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/lib/librt.so.1 Reading symbols from /usr/local/lib/libXext.so.6...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXext.so.6 Reading symbols from /usr/local/lib/libXrender.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXrender.so.1 Reading symbols from /usr/local/lib/libXrandr.so.2...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXrandr.so.2 Reading symbols from /usr/local/lib/libXcursor.so.1...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXcursor.so.1 Reading symbols from /usr/local/lib/libXfixes.so.3...(no debugging symbols found)...done. Loaded symbols for /usr/local/lib/libXfixes.so.3 Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done. Loaded symbols for /libexec/ld-elf.so.1 [Switching to Thread 28601140 (LWP 100451)] 0x281958bf in syscall () from /lib/libc.so.7 (gdb) b exit Breakpoint 1 at 0x281bd974 (gdb) cont Continuing. Breakpoint 1, 0x281bd974 in exit () from /lib/libc.so.7 (gdb) bt #0 0x281bd974 in exit () from /lib/libc.so.7 #1 0x080494cf in ?? () #2 0x00000000 in ?? () #3 0xbfbfec64 in ?? () #4 0xbfbfec6c in ?? () #5 0xbfbfec50 in ?? () #6 0xbfbfec60 in ?? () #7 0x00000000 in ?? () #8 0xbfbfec5c in ?? () #9 0x08049435 in ?? () #10 0x28054f60 in dlclose () from /libexec/ld-elf.so.1 Previous frame inner to this frame (corrupt stack?) (gdb) (gdb) cont Continuing. Program exited normally. (gdb) IMPORTANT: This email remains the property of the Australian Defence Organisation and is subject to the jurisdiction of section 70 of the CRIMES ACT 1914. If you have received this email in error, you are requested to contact the sender and delete the email. From owner-freebsd-usb@FreeBSD.ORG Fri Jan 22 05:22:27 2010 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 73F15106566C; Fri, 22 Jan 2010 05:22:27 +0000 (UTC) (envelope-from daichi@freebsd.org) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id 126C18FC14; Fri, 22 Jan 2010 05:22:26 +0000 (UTC) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id E060312543B; Fri, 22 Jan 2010 14:03:07 +0900 (JST) Message-ID: <4B59318B.1020906@freebsd.org> Date: Fri, 22 Jan 2010 14:03:07 +0900 From: Daichi GOTO Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100122 Thunderbird/3.0.1 MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> In-Reply-To: <201001101437.37269.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Fri, 22 Jan 2010 05:22:27 -0000 Hi Hans, I have checked your work, and it works well, great :) This is a little tweak, --- /usr/local/etc/devd/webcamd.conf.orig 2010-01-22 13:19:20.371987293 +0900 +++ /usr/local/etc/devd/webcamd.conf 2010-01-22 13:52:00.286912793 +0900 @@ -1,5 +1,5 @@ attach 100 { - device-name "ugen[0-9]+"; + device-name "ugen[0-9.]+"; match "intclass" "(0x0e|0xff)"; action "/usr/local/etc/rc.d/webcamd start $device-name"; }; I want to know what does "intclass" mean. The webcamd(8) cannot been engaged automatically by devd(8), because of not match of "intclass". when webcam device attached, cosole output: Jan 22 13:50:26 parancell daichi: Unknown USB device: vendor 0x046d product 0x09a2 bus uhub7 Jan 22 13:50:26 parancell kernel: ugen7.2: at usbus7 % sudo usbconfig -d ugen7.2 ugen7.2: at usbus7, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON % On 2010/01/10 22:37, Hans Petter Selasky wrote: > Hi, > > During the last couple of days I've spent some time to finish my webcam > daemon. My webcam daemon is basically an application which consists of > userspace Video4Linux USB webcam drivers and some uLinux glue code which links > with libc, pthreads and libusb. The webcamd talks to /dev/video_daemonX which > is provided by the video4bsd kernel module. There is full support for > mmap/read/write/open/close. poll is not supported. > > Basic operation and idea: > > /dev/video_daemonX is the interface for the webcamd. /dev/videoX is the > interface for the V4L application. The video4bsd transports all data between > these two devices. In the case the V4L application is using mmap, no data is > copied due to shared kernel memory buffer! > > Licensing issues: > > Effectivly the webcamd userland program becomes GPL'ed due to the V4L USB > drivers which are GPL licensed. Some files inside the webcamd remains BSD > licensed which allows for building similar BSD licensed daemons. > > The rest of the code is BSD licensed. > > Source code: > > 1) FreeBSD 8-stable > > 2) Apply the patch below and re-install libusb in /usr/src/lib/libusb: > > http://p4web.freebsd.org/chv.cgi?CH=172876 > > http://perforce.freebsd.org/chv.cgi?CH=172876 > > 3) Compile ulinux (webcamd + libv4l + pwcview) and video4bsd (must be checked > out in the same folder due to dependencies) > > svn --username anonsvn --password anonsvn \ > checkout svn://svn.turbocat.net/i4b/trunk/usbcam/video4bsd > > make all install > kldload video4bsd > > svn --username anonsvn --password anonsvn \ > checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux > > make fetch > make patch > make all > make install > > # this will attach to the first detected webcam: > ./webcamd > > # this will try to attach to the given USB unit, interface and V4B unit. > ./webcamd -d ugen4.1 -i 0 -v 0 > > # this will display webcam contents from /dev/video0 by default. > ./pwcview/pwcview > > Feedback and bug reports are welcome. > > Yes, I am working on getting this into ports! > > Known issues: > > 1) If you detach the USB webcam you need to manually restart the webcamd. > > --HPS > > Support: I will be available at #bsdusb on efnet during the day. > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Daichi GOTO 81-42-316-7945 | daichi@ongs.co.jp | http://www.ongs.co.jp LinkedIn: http://linkedin.com/in/daichigoto From owner-freebsd-usb@FreeBSD.ORG Fri Jan 22 08:18:20 2010 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 F1FFF1065692; Fri, 22 Jan 2010 08:18:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.tele2.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 22CDA8FC1D; Fri, 22 Jan 2010 08:18:19 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=RYQgPGQ7BbsA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=Dyl4VEldmJR9PoooqasA:9 a=LCxFG0357GHgqYZ0tgudE_1yVjgA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1197443918; Fri, 22 Jan 2010 09:18:17 +0100 From: Hans Petter Selasky To: Daichi GOTO Date: Fri, 22 Jan 2010 09:16:51 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <4B59318B.1020906@freebsd.org> In-Reply-To: <4B59318B.1020906@freebsd.org> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001220916.51236.hselasky@c2i.net> Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Fri, 22 Jan 2010 08:18:21 -0000 On Friday 22 January 2010 06:03:07 Daichi GOTO wrote: > Hi Hans, I have checked your work, and it works well, great :) > > This is a little tweak, > > --- /usr/local/etc/devd/webcamd.conf.orig 2010-01-22 13:19:20.371987293 > +0900 > +++ /usr/local/etc/devd/webcamd.conf 2010-01-22 13:52:00.286912793 +0900 > @@ -1,5 +1,5 @@ > attach 100 { > - device-name "ugen[0-9]+"; > + device-name "ugen[0-9.]+"; > match "intclass" "(0x0e|0xff)"; > action "/usr/local/etc/rc.d/webcamd start $device-name"; > }; > > > I want to know what does "intclass" mean. The webcamd(8) cannot > been engaged automatically by devd(8), because of not match of > "intclass". Hi, See: usbconfig -u 7 -a 2 dump_curr_config_desc | grep -i class To figure out what interface class your USB device is using. --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Jan 22 08:22:47 2010 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 A1D0D1065698; Fri, 22 Jan 2010 08:22:47 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe13.tele2.se [212.247.155.129]) by mx1.freebsd.org (Postfix) with ESMTP id 035AE8FC14; Fri, 22 Jan 2010 08:22:46 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=9zKBo0zsyzYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=2UwofreFRcBtx4jehzgA:9 a=6Q9vSM1yiG_MHxnB6qwA:7 a=xikmeNiRoirvha36V6SIMZGC_WcA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe13.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 979686147; Fri, 22 Jan 2010 09:22:44 +0100 From: Hans Petter Selasky To: freebsd-current@freebsd.org Date: Fri, 22 Jan 2010 09:21:19 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001101437.37269.hselasky@c2i.net> <20100120064620.GJ46479@stlux503.dsto.defence.gov.au> <20100122045750.GF56085@stlux503.dsto.defence.gov.au> In-Reply-To: <20100122045750.GF56085@stlux503.dsto.defence.gov.au> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201001220921.19252.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing [SEC=UNCLASSIFIED] 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: Fri, 22 Jan 2010 08:22:47 -0000 On Friday 22 January 2010 05:57:50 Wilkinson, Alex wrote: > 0n Wed, Jan 20, 2010 at 02:46:20PM +0800, Wilkinson, Alex wrote: > > 0n Sun, Jan 10, 2010 at 02:37:37PM +0100, Hans Petter Selasky wrote: > > >During the last couple of days I've spent some time to finish my > > > webcam daemon. My webcam daemon is basically an application > > > which consists of userspace Video4Linux USB webcam drivers and > > > some uLinux glue code which links with libc, pthreads and > > > libusb. The webcamd talks to /dev/video_daemonX which is > > > provided by the video4bsd kernel module. There is full support > > > for mmap/read/write/open/close. poll is not supported. > > /usr/ports/multimedia/pwcview (PORTVERSION=1.4.1) crashes within 2-3mins of > use with the following: > > #sudo pwcview > Webcam set to: 320x240 (sif) at 5 fps > libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more > bits libv4l2: error dequeuing buf: Device not configured > Error reading from webcam: Device not configured > > I rebuilt /usr/ports/multimedia/pwcview with symbolls and got the > following: > Hi, Maye that is a bug in /usr/ports/multimedia/libv4l which is external code, where the printout comes from. Maybe the code should be more fault tolerant. Try googling first. Can you dump the USB descriptors of your device? usbconfig -u X -a Y dump_device_desc dump_curr_config_desc --HPS From owner-freebsd-usb@FreeBSD.ORG Fri Jan 22 09:21:23 2010 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 11A52106566C; Fri, 22 Jan 2010 09:21:23 +0000 (UTC) (envelope-from daichi@freebsd.org) Received: from natial.ongs.co.jp (natial.ongs.co.jp [202.216.246.90]) by mx1.freebsd.org (Postfix) with ESMTP id CD4088FC0A; Fri, 22 Jan 2010 09:21:22 +0000 (UTC) Received: from parancell.ongs.co.jp (dullmdaler.ongs.co.jp [202.216.246.94]) by natial.ongs.co.jp (Postfix) with ESMTPSA id AF1A312543B; Fri, 22 Jan 2010 18:21:21 +0900 (JST) Message-ID: <4B596E11.1010601@freebsd.org> Date: Fri, 22 Jan 2010 18:21:21 +0900 From: Daichi GOTO Organization: The FreeBSD Project User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.1.7) Gecko/20100122 Thunderbird/3.0.1 MIME-Version: 1.0 To: Hans Petter Selasky References: <201001101437.37269.hselasky@c2i.net> <4B59318B.1020906@freebsd.org> <201001220916.51236.hselasky@c2i.net> In-Reply-To: <201001220916.51236.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing 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: Fri, 22 Jan 2010 09:21:23 -0000 On 2010/01/22 17:16, Hans Petter Selasky wrote: > On Friday 22 January 2010 06:03:07 Daichi GOTO wrote: >> Hi Hans, I have checked your work, and it works well, great :) >> >> This is a little tweak, >> >> --- /usr/local/etc/devd/webcamd.conf.orig 2010-01-22 13:19:20.371987293 >> +0900 >> +++ /usr/local/etc/devd/webcamd.conf 2010-01-22 13:52:00.286912793 +0900 >> @@ -1,5 +1,5 @@ >> attach 100 { >> - device-name "ugen[0-9]+"; >> + device-name "ugen[0-9.]+"; >> match "intclass" "(0x0e|0xff)"; >> action "/usr/local/etc/rc.d/webcamd start $device-name"; >> }; >> >> >> I want to know what does "intclass" mean. The webcamd(8) cannot >> been engaged automatically by devd(8), because of not match of >> "intclass". > > Hi, Thank you quick response :) > See: > > usbconfig -u 7 -a 2 dump_curr_config_desc | grep -i class # usbconfig -u 7 -a 2 dump_curr_config_desc | grep -i class bInterfaceClass = 0x000e bInterfaceSubClass = 0x0001 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x000e bInterfaceSubClass = 0x0002 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0001 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 bInterfaceClass = 0x0001 bInterfaceSubClass = 0x0002 # > To figure out what interface class your USB device is using. > > --HPS > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" -- Daichi GOTO 81-42-316-7945 | daichi@ongs.co.jp | http://www.ongs.co.jp LinkedIn: http://linkedin.com/in/daichigoto From owner-freebsd-usb@FreeBSD.ORG Fri Jan 22 16:55:19 2010 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 2F83A1065672 for ; Fri, 22 Jan 2010 16:55:19 +0000 (UTC) (envelope-from robert@blacquiere.nl) Received: from mail.blacquiere.nl (mail.blacquiere.nl [78.47.62.196]) by mx1.freebsd.org (Postfix) with ESMTP id DE9E58FC16 for ; Fri, 22 Jan 2010 16:55:18 +0000 (UTC) Received: from macmini.blacquiere.nl ([192.168.201.4] helo=shell.blacquiere.nl ident=robert) by mail.blacquiere.nl with esmtp (Exim 4.69 (FreeBSD)) (envelope-from ) id 1NYMmy-000B4k-SK; Fri, 22 Jan 2010 17:55:17 +0100 Date: Fri, 22 Jan 2010 17:55:16 +0100 From: Robert Blacquiere To: Hans Petter Selasky Message-ID: <20100122165516.GE12448@macmini.blacquiere.nl> References: <201001200920.o0K9K2jK015074@freefall.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201001200920.o0K9K2jK015074@freefall.freebsd.org> X-Disclaimer: running FreeBSD User-Agent: Mutt/1.5.18 (2008-05-17) X-SA-Exim-Connect-IP: 192.168.201.4 X-SA-Exim-Mail-From: robert@blacquiere.nl X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on mail.blacquiere.nl X-Spam-Level: X-Spam-Status: No, score=0.7 required=5.0 tests=ALL_TRUSTED, FH_DATE_PAST_20XX autolearn=no version=3.2.5 X-SA-Exim-Version: 4.2 X-SA-Exim-Scanned: Yes (on mail.blacquiere.nl) Cc: freebsd-usb@freebsd.org Subject: Re: usb/142989: canon eos 50D attaches but detaches after few seconds (1 - 4) 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: Fri, 22 Jan 2010 16:55:19 -0000 On Wed, Jan 20, 2010 at 09:20:02AM +0000, Hans Petter Selasky wrote: > The following reply was made to PR usb/142989; it has been noted by GNATS. > On Tuesday 19 January 2010 21:52:08 robert wrote: > > >Number: 142989 > > >Category: usb > > >Synopsis: canon eos 50D attaches but detaches after few seconds (1 - > > > 4) Confidential: no > > >Severity: non-critical > > >Priority: low > > >Responsible: freebsd-usb > > >State: open > > >Quarter: > > >Keywords: > > >Date-Required: > > >Class: sw-bug > > >Submitter-Id: current-users > > >Arrival-Date: Tue Jan 19 21:00:20 UTC 2010 > > >Closed-Date: > > >Last-Modified: > > >Originator: robert > > >Release: FreeBSD 8.0 > > >Organization: > > >Environment: > > > > > > attach canon eos 50D firmware version 1.07 with usb on freebsd 8.0 laptop. > > > > Can you try with an 9-current kernel? Hi, I have downloaded the FreeBSD 9.0 (CURRENT) amd64 live cd (FreeBSD-9.0-CURRENT-201001-amd64-livefs.iso) Booted the laptop with this cd and attached the Canon 50D. ugen6.2 attaches and stays attached until I disconnect the camera. It seems there is a bug fixed in the time between 8.0 RELEASE and 9.0-CURRENT. Regards Robert Blacquiere From owner-freebsd-usb@FreeBSD.ORG Sat Jan 23 23:20:02 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7E347106568B for ; Sat, 23 Jan 2010 23:20:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 5930C8FC18 for ; Sat, 23 Jan 2010 23:20:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0NNK1Su090786 for ; Sat, 23 Jan 2010 23:20:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0NNK1xg090785; Sat, 23 Jan 2010 23:20:01 GMT (envelope-from gnats) Resent-Date: Sat, 23 Jan 2010 23:20:01 GMT Resent-Message-Id: <201001232320.o0NNK1xg090785@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-usb@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mike Durian Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8F33A106566B for ; Sat, 23 Jan 2010 23:12:02 +0000 (UTC) (envelope-from durian@boogie.com) Received: from mailhost.boogie.com (mailhost.boogie.com [67.41.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 34A138FC12 for ; Sat, 23 Jan 2010 23:12:01 +0000 (UTC) Received: from mailhost.boogie.com (localhost [127.0.0.1]) by mailhost.boogie.com (8.14.3/8.14.3) with ESMTP id o0NMcSW7007027 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Sat, 23 Jan 2010 15:38:28 -0700 (MST) (envelope-from durian@mailhost.boogie.com) Received: (from durian@localhost) by mailhost.boogie.com (8.14.3/8.14.3/Submit) id o0NMcSYO007026; Sat, 23 Jan 2010 15:38:28 -0700 (MST) (envelope-from durian) Message-Id: <201001232238.o0NMcSYO007026@mailhost.boogie.com> Date: Sat, 23 Jan 2010 15:38:28 -0700 (MST) From: Mike Durian To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: usb/143139: Quirk for Century EX35SW4_SB4 JBOD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Mike Durian List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 23:20:02 -0000 >Number: 143139 >Category: usb >Synopsis: Quirk for Century EX35SW4_SB4 JBOD >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-usb >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sat Jan 23 23:20:01 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Mike Durian >Release: FreeBSD 8.0-STABLE i386 >Organization: >Environment: System: FreeBSD fever.boogie.com 8.0-STABLE FreeBSD 8.0-STABLE #1: Sat Jan 23 09:33:09 MST 2010 root@fever.boogie.com:/usr/obj/usr/src/sys/BOOGIE i386 >Description: This quirk quiets error messages about lack of SYNCHRONIZE CACHE support on the Century 4 disc jbod. >How-To-Repeat: Run ZFS over this device. >Fix: --- usbdevs.orig 2010-01-23 09:05:08.000000000 -0700 +++ usbdevs 2010-01-23 09:05:54.000000000 -0700 @@ -1053,6 +1053,7 @@ /* Century products */ product CENTURY EX35QUAT 0x011e Century USB Disk Enclosure +product CENTURY EX35SW4_SB4 0x011f Century USB Disk Enclosure /* Cherry products */ product CHERRY MY3000KBD 0x0001 My3000 keyboard --- quirk/usb_quirk.c.orig 2010-01-23 09:09:44.000000000 -0700 +++ quirk/usb_quirk.c 2010-01-23 09:15:38.000000000 -0700 @@ -169,6 +169,7 @@ USB_QUIRK(CENTURY, EX35QUAT, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, UQ_MSC_FORCE_PROTO_SCSI, UQ_MSC_FORCE_SHORT_INQ, UQ_MSC_NO_START_STOP, UQ_MSC_IGNORE_RESIDUE), + USB_QUIRK(CENTURY, EX35SW4_SB4, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), USB_QUIRK(CYPRESS, XX6830XX, 0x0000, 0xffff, UQ_MSC_NO_GETMAXLUN, UQ_MSC_NO_SYNC_CACHE), USB_QUIRK(DESKNOTE, UCR_61S2B, 0x0000, 0xffff, UQ_MSC_FORCE_WIRE_BBB, >Release-Note: >Audit-Trail: >Unformatted: From owner-freebsd-usb@FreeBSD.ORG Sat Jan 23 23:46:52 2010 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 430211065693; Sat, 23 Jan 2010 23:46:52 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.swip.net [212.247.154.97]) by mx1.freebsd.org (Postfix) with ESMTP id 999E28FC13; Sat, 23 Jan 2010 23:46:51 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=y9SXTcw9ZD0A:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=31YfyRiU5eY-c2jaEQMA:9 a=75AoqPAGHES1NmytM8x8lR8OcSkA:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1336067070; Sun, 24 Jan 2010 00:46:49 +0100 From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Mike Durian Date: Sun, 24 Jan 2010 00:45:27 +0100 User-Agent: KMail/1.12.4 (FreeBSD/8.0-STABLE; KDE/4.3.4; amd64; ; ) References: <201001232238.o0NMcSYO007026@mailhost.boogie.com> In-Reply-To: <201001232238.o0NMcSYO007026@mailhost.boogie.com> X-Face: +~\`s("[*|O,="7?X@L.elg*F"OA\I/3%^p8g?ab%RN'(; _IjlA: hGE..Ew, XAQ*o#\/M~SC=S1-f9{EzRfT'|Hhll5Q]ha5Bt-s|oTlKMusi:1e[wJl}kd}GR Z0adGx-x_0zGbZj'e(Y[(UNle~)8CQWXW@:DX+9)_YlB[tIccCPN$7/L' MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Message-Id: <201001240045.27492.hselasky@c2i.net> Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/143139: Quirk for Century EX35SW4_SB4 JBOD 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: Sat, 23 Jan 2010 23:46:52 -0000 On Saturday 23 January 2010 23:38:28 Mike Durian wrote: > usb/143139 > Committed to USB P4. See change 173601. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat Jan 23 23:50:04 2010 Return-Path: Delivered-To: freebsd-usb@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 318721065694 for ; Sat, 23 Jan 2010 23:50:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 075598FC12 for ; Sat, 23 Jan 2010 23:50:04 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.3/8.14.3) with ESMTP id o0NNo3fi016739 for ; Sat, 23 Jan 2010 23:50:03 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id o0NNo3Ha016729; Sat, 23 Jan 2010 23:50:03 GMT (envelope-from gnats) Date: Sat, 23 Jan 2010 23:50:03 GMT Message-Id: <201001232350.o0NNo3Ha016729@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: Hans Petter Selasky Cc: Subject: Re: usb/143139: Quirk for Century EX35SW4_SB4 JBOD X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Hans Petter Selasky List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Jan 2010 23:50:04 -0000 The following reply was made to PR usb/143139; it has been noted by GNATS. From: Hans Petter Selasky To: freebsd-usb@freebsd.org, Mike Durian Cc: FreeBSD-gnats-submit@freebsd.org Subject: Re: usb/143139: Quirk for Century EX35SW4_SB4 JBOD Date: Sun, 24 Jan 2010 00:45:27 +0100 On Saturday 23 January 2010 23:38:28 Mike Durian wrote: > usb/143139 > Committed to USB P4. See change 173601. --HPS