From owner-freebsd-usb@FreeBSD.ORG Sun Oct 11 09:23:55 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6F3B2106566B for ; Sun, 11 Oct 2009 09:23:55 +0000 (UTC) (envelope-from sven@hazejager.nl) Received: from chainsoftware.nl (tunnel655.ipv6.xs4all.nl [IPv6:2001:888:10:28f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 071628FC0C for ; Sun, 11 Oct 2009 09:23:54 +0000 (UTC) Received: from chainsoftware.nl (localhost [127.0.0.1]) by chainsoftware.nl (8.14.3/8.14.3) with ESMTP id n9B9NrgH023993 for ; Sun, 11 Oct 2009 11:23:54 +0200 (CEST) (envelope-from sven@hazejager.nl) Received: from localhost (sven@localhost) by chainsoftware.nl (8.14.3/8.14.3/Submit) with ESMTP id n9B9Nr88023990 for ; Sun, 11 Oct 2009 11:23:53 +0200 (CEST) (envelope-from sven@hazejager.nl) X-Authentication-Warning: proxy.chain.loc: sven owned process doing -bs Date: Sun, 11 Oct 2009 11:23:53 +0200 (CEST) From: Sven Hazejager To: freebsd-usb@freebsd.org Message-ID: <0910111122164F.-1077952704@somehost.domainz.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, hits=-3.977 tests=ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.64 on 192.168.0.1 Subject: Simple manner to read 1-pin high/low from USB under FBSD? 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, 11 Oct 2009 09:23:55 -0000 Hi all, I'm using a simple circuit to read led pulses from my electricity meter and am now using simple C code to poll the parallel port to detect a high/low change on pin 12. (see http://offog.org/code/electricity.html) My new server probably won't have a parallel port anymore. So the question is: is there a simple manner to read 1-pin high/low from USB under FBSD? Any examples anywhere? Thanks! Sven From owner-freebsd-usb@FreeBSD.ORG Sun Oct 11 09:57:25 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7C9741065670; Sun, 11 Oct 2009 09:57:25 +0000 (UTC) (envelope-from hselasky@freebsd.org) Received: from swip.net (mailfe11.swip.net [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id D27488FC40; Sun, 11 Oct 2009 09:57:24 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=JgJz4lpzYnkA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=6I5d2MoRAAAA:8 a=crGzQoN6Asx_Qzrb9UIA:9 a=J6yXXhKjCth5NJ_l8soA:7 a=O1xM5XO3q_M5QAzimG4otUWd6wEA:4 a=knub8hjH8h4A:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1148126911; Sun, 11 Oct 2009 11:57:22 +0200 Received-SPF: softfail receiver=mailfe11.swip.net; client-ip=188.126.201.140; envelope-from=hselasky@freebsd.org From: Hans Petter Selasky To: freebsd-ports@freebsd.org, freebsd-usb@freebsd.org, freebsd-current@freebsd.org Date: Sun, 11 Oct 2009 11:58:11 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910111158.14692.hselasky@freebsd.org> Cc: Subject: [patch] USB video support in KDE4 + sane + more under FreeBSD 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, 11 Oct 2009 09:57:25 -0000 Hi, I was compiling the latest version of KDE4 on my box and I noticed it picked up my installed libv4l2. The only problem is that you need some patches before everything is compiling :-) About libv4lX on FreeBSD, please see: http://lists.freebsd.org/pipermail/freebsd-emulation/2009-June/006231.html Only USB webcams supported yet. After installation manually add -lv4lxdrivers to all the libv4l*.pc files! I will try to get this included into my ulinux distribution soon. Before: Libs: -L${libdir} -lv4lconvert After: Libs: -L${libdir} -lv4lconvert -lv4lxdrivers /usr/local/lib/pkgconfig/libv4lconvert.pc /usr/local/lib/pkgconfig/libv4l2.pc /usr/local/lib/pkgconfig/libv4l1.pc Then patch KDE4 like this: --- /usr/ports/net/kdenetwork4/work/kdenetwork-4.3.1/kopete/libkopete/avdevice/videodevice.h.orig 2009-10-11 11:41:54.000000000 +0200 +++ /usr/ports/net/kdenetwork4/work/kdenetwork-4.3.1/kopete/libkopete/avdevice/videodevice.h 2009-10-11 11:44:34.000000000 +0200 @@ -62,6 +62,13 @@ #endif // __linux__ +#if defined(__FreeBSD__) && defined(ENABLE_AV) +#include +#ifdef HAVE_LIBV4L2 +#include +#endif // HAVE_V4L2 +#endif + #include #include #include 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 056291065679 for ; Sun, 11 Oct 2009 10:16:59 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe11.swipnet.se [212.247.155.65]) by mx1.freebsd.org (Postfix) with ESMTP id 87B838FC0A for ; Sun, 11 Oct 2009 10:16:58 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=UuNRGLdq-uYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=ZzufrYesAAAA:8 a=1nHZZS6boZxUcd-BVYIA:9 a=dfntwI6ib_jdyGahLbWQJb7kzusA:4 a=QM-7qno-AAcA:10 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe11.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1148131479; Sun, 11 Oct 2009 12:16:56 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 11 Oct 2009 12:17:47 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <0910111122164F.-1077952704@somehost.domainz.com> In-Reply-To: <0910111122164F.-1077952704@somehost.domainz.com> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910111217.49002.hselasky@c2i.net> Cc: Subject: Re: Simple manner to read 1-pin high/low from USB under FBSD? 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, 11 Oct 2009 10:16:59 -0000 On Sunday 11 October 2009 11:23:53 Sven Hazejager wrote: > Hi all, > > I'm using a simple circuit to read led pulses from my electricity meter > and am now using simple C code to poll the parallel port to detect a > high/low change on pin 12. (see http://offog.org/code/electricity.html) > > My new server probably won't have a parallel port anymore. So the question > is: is there a simple manner to read 1-pin high/low from USB under FBSD? > Any examples anywhere? usbconfig in FreeBSD-8/9 supports control requests from the command line. usbconfig -u XXX -a YYY do_request --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Oct 11 14:19:49 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7DB13106566B for ; Sun, 11 Oct 2009 14:19:49 +0000 (UTC) (envelope-from sven@hazejager.nl) Received: from chainsoftware.nl (tunnel655.ipv6.xs4all.nl [IPv6:2001:888:10:28f::2]) by mx1.freebsd.org (Postfix) with ESMTP id F3BE88FC14 for ; Sun, 11 Oct 2009 14:19:48 +0000 (UTC) Received: from chainsoftware.nl (localhost [127.0.0.1]) by chainsoftware.nl (8.14.3/8.14.3) with ESMTP id n9BEJjgT009128; Sun, 11 Oct 2009 16:19:45 +0200 (CEST) (envelope-from sven@hazejager.nl) Received: from localhost (sven@localhost) by chainsoftware.nl (8.14.3/8.14.3/Submit) with ESMTP id n9BEJjp5009125; Sun, 11 Oct 2009 16:19:45 +0200 (CEST) (envelope-from sven@hazejager.nl) X-Authentication-Warning: proxy.chain.loc: sven owned process doing -bs Date: Sun, 11 Oct 2009 16:19:45 +0200 (CEST) From: Sven Hazejager To: Hans Petter Selasky In-Reply-To: <200910111217.49002.hselasky@c2i.net> Message-ID: <09101116183255.-1077948416@somehost.domainz.com> References: <0910111122164F.-1077952704@somehost.domainz.com> <200910111217.49002.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, hits=-3.689 tests=ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.64 on 192.168.0.1 Cc: freebsd-usb@freebsd.org Subject: Re: Simple manner to read 1-pin high/low from USB under FBSD? 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, 11 Oct 2009 14:19:49 -0000 On Sun, 11 Oct 2009, Hans Petter Selasky wrote: >> My new server probably won't have a parallel port anymore. So the question >> is: is there a simple manner to read 1-pin high/low from USB under FBSD? >> Any examples anywhere? > > usbconfig in FreeBSD-8/9 supports control requests from the command line. > > usbconfig -u XXX -a YYY do_request Thanks for your reply, would I need some GPIO device like this: http://www.fivemanconspiracy.com/node/45 Please excuse my ignorance, I'm completely new to low-level hacking and I'm very happy that I got the parallel port option going in the first place :-) Sven From owner-freebsd-usb@FreeBSD.ORG Sun Oct 11 14:38:20 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C5B7B1065676 for ; Sun, 11 Oct 2009 14:38:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe12.swipnet.se [212.247.155.97]) by mx1.freebsd.org (Postfix) with ESMTP id 4F7978FC0A for ; Sun, 11 Oct 2009 14:38:19 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.0 c=1 a=UuNRGLdq-uYA:10 a=MnI1ikcADjEx7bvsp0jZvQ==:17 a=atjvDLXKAAAA:8 a=CVj4utX5Qhq6xpOkMSsA:9 a=66EdAio0GQv0CiDTHJ9-5FJldb8A:4 Received: from [188.126.201.140] (account mc467741@c2i.net HELO laptop.adsl.tele2.no) by mailfe12.swip.net (CommuniGate Pro SMTP 5.2.16) with ESMTPA id 1139946852; Sun, 11 Oct 2009 16:38:15 +0200 From: Hans Petter Selasky To: Sven Hazejager Date: Sun, 11 Oct 2009 16:39:05 +0200 User-Agent: KMail/1.11.4 (FreeBSD/9.0-CURRENT; KDE/4.2.4; i386; ; ) References: <0910111122164F.-1077952704@somehost.domainz.com> <200910111217.49002.hselasky@c2i.net> <09101116183255.-1077948416@somehost.domainz.com> In-Reply-To: <09101116183255.-1077948416@somehost.domainz.com> X-Face: (%:6u[ldzJ`0qjD7sCkfdMmD*RxpOwEEQ+KWt[{J#x6ow~JO:,zwp.(t; @Aq :4:&nFCgDb8[3oIeTb^'",;u{5{}C9>"PuY\)!=#\u9SSM-nz8+SR~B\!qBv MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200910111639.07588.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Simple manner to read 1-pin high/low from USB under FBSD? 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, 11 Oct 2009 14:38:20 -0000 On Sunday 11 October 2009 16:19:45 Sven Hazejager wrote: > On Sun, 11 Oct 2009, Hans Petter Selasky wrote: > >> My new server probably won't have a parallel port anymore. So the > >> question is: is there a simple manner to read 1-pin high/low from USB > >> under FBSD? Any examples anywhere? > > > > usbconfig in FreeBSD-8/9 supports control requests from the command line. > > > > usbconfig -u XXX -a YYY do_request > > Thanks for your reply, would I need some GPIO device like this: > http://www.fivemanconspiracy.com/node/45 > > Please excuse my ignorance, I'm completely new to low-level hacking and > I'm very happy that I got the parallel port option going in the first > place :-) > > Sven Hi, I don't know. You need to ask the manufacturer. Ask them if the control endpoint is used to turn on/off the pin(s) you want. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Oct 11 16:56:19 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A852B106566B for ; Sun, 11 Oct 2009 16:56:19 +0000 (UTC) (envelope-from sven@hazejager.nl) Received: from chainsoftware.nl (tunnel655.ipv6.xs4all.nl [IPv6:2001:888:10:28f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 3B7878FC0C for ; Sun, 11 Oct 2009 16:56:19 +0000 (UTC) Received: from chainsoftware.nl (localhost [127.0.0.1]) by chainsoftware.nl (8.14.3/8.14.3) with ESMTP id n9BGuGb5014207; Sun, 11 Oct 2009 18:56:16 +0200 (CEST) (envelope-from sven@hazejager.nl) Received: from localhost (sven@localhost) by chainsoftware.nl (8.14.3/8.14.3/Submit) with ESMTP id n9BGuGWj014204; Sun, 11 Oct 2009 18:56:16 +0200 (CEST) (envelope-from sven@hazejager.nl) X-Authentication-Warning: proxy.chain.loc: sven owned process doing -bs Date: Sun, 11 Oct 2009 18:56:16 +0200 (CEST) From: Sven Hazejager To: Hans Petter Selasky In-Reply-To: <200910111639.07588.hselasky@c2i.net> Message-ID: <09101118515750.-1077948416@somehost.domainz.com> References: <0910111122164F.-1077952704@somehost.domainz.com> <200910111217.49002.hselasky@c2i.net> <09101116183255.-1077948416@somehost.domainz.com> <200910111639.07588.hselasky@c2i.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, hits=-3.849 tests=ALL_TRUSTED,AWL,BAYES_00 X-Scanned-By: MIMEDefang 2.64 on 192.168.0.1 Cc: freebsd-usb@freebsd.org Subject: Re: Simple manner to read 1-pin high/low from USB under FBSD? 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, 11 Oct 2009 16:56:19 -0000 On Sun, 11 Oct 2009, Hans Petter Selasky wrote: >> Thanks for your reply, would I need some GPIO device like this: >> http://www.fivemanconspiracy.com/node/45 > > I don't know. You need to ask the manufacturer. Ask them if the control > endpoint is used to turn on/off the pin(s) you want. Well, I only need to read high/low, not to set anything... I've mailed the manufacturer for info, thanks for suggesting. Sven From owner-freebsd-usb@FreeBSD.ORG Sun Oct 11 17:35:50 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FACD1065676 for ; Sun, 11 Oct 2009 17:35:50 +0000 (UTC) (envelope-from tlb@tlb.org) Received: from anybots.com (mail.anybots.com [64.142.12.96]) by mx1.freebsd.org (Postfix) with SMTP id 1EC9A8FC14 for ; Sun, 11 Oct 2009 17:35:49 +0000 (UTC) Received: (qmail 97834 invoked from network); 11 Oct 2009 17:35:49 -0000 Received: from unknown (HELO ?10.10.10.66?) (10.10.10.66) by 10.10.10.20 with SMTP; 11 Oct 2009 17:35:49 -0000 Message-Id: <8CA5CC87-EA53-4055-9747-D23B1F853537@tlb.org> From: Trevor Blackwell To: Sven Hazejager In-Reply-To: <09101118515750.-1077948416@somehost.domainz.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v935.3) Date: Sun, 11 Oct 2009 10:35:49 -0700 References: <0910111122164F.-1077952704@somehost.domainz.com> <200910111217.49002.hselasky@c2i.net> <09101116183255.-1077948416@somehost.domainz.com> <200910111639.07588.hselasky@c2i.net> <09101118515750.-1077948416@somehost.domainz.com> X-Mailer: Apple Mail (2.935.3) Cc: freebsd-usb@freebsd.org Subject: Re: Simple manner to read 1-pin high/low from USB under FBSD? 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, 11 Oct 2009 17:35:50 -0000 Try Phidgets. http://phidgets.com. It's easy to read digital signals as a HID device. You can get started with not much more than: fd=open("/dev/uhidN",...) while (1) { char buf[8]; read(fd, buf, 8); int input_signal = (buf[X]>>Y)&1; printf("%d\n", input_signal) } for some values of N, X and Y. You can get more general if you want. -- Trevor Blackwell 650 776 7870 tlb@tlb.org On Oct 11, 2009, at 9:56 AM, Sven Hazejager wrote: > On Sun, 11 Oct 2009, Hans Petter Selasky wrote: > >>> Thanks for your reply, would I need some GPIO device like this: >>> http://www.fivemanconspiracy.com/node/45 >> >> I don't know. You need to ask the manufacturer. Ask them if the >> control >> endpoint is used to turn on/off the pin(s) you want. > > Well, I only need to read high/low, not to set anything... I've > mailed the manufacturer for info, thanks for suggesting. > > Sven > _______________________________________________ > 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" From owner-freebsd-usb@FreeBSD.ORG Sun Oct 11 18:25:54 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F15641065676 for ; Sun, 11 Oct 2009 18:25:54 +0000 (UTC) (envelope-from tamaru@myn.rcast.u-tokyo.ac.jp) Received: from mailv3.ecc.u-tokyo.ac.jp (mailv3.ecc.u-tokyo.ac.jp [133.11.225.58]) by mx1.freebsd.org (Postfix) with ESMTP id 76B118FC08 for ; Sun, 11 Oct 2009 18:25:54 +0000 (UTC) Received: from mailv1.ecc.u-tokyo.ac.jp (mailv1.ecc.u-tokyo.ac.jp [133.11.225.59]) by mailv3.ecc.u-tokyo.ac.jp (Postfix) with ESMTP id A768D6C02A7 for ; Mon, 12 Oct 2009 02:47:55 +0900 (JST) Received: from mhs002.ecc.u-tokyo.ac.jp (mhs002.ecc.u-tokyo.ac.jp [133.11.70.162]) by mailv1.ecc.u-tokyo.ac.jp (Postfix) with ESMTP id 2EE376C0042 for ; Mon, 12 Oct 2009 02:47:54 +0900 (JST) Received: from amulet.amuletic.net (124.155.55.252 [124.155.55.252]) by mhs002.ecc.u-tokyo.ac.jp (SpamBlock.pstn.b 3.4.102) with ESMTP id for ; Mon, 12 Oct 2009 02:47:34 +0900 Date: Mon, 12 Oct 2009 02:47:34 +0900 Message-ID: From: Hiroharu Tamaru To: Sven Hazejager In-Reply-To: <09101118515750.-1077948416@somehost.domainz.com> References: <0910111122164F.-1077952704@somehost.domainz.com> <200910111217.49002.hselasky@c2i.net> <09101116183255.-1077948416@somehost.domainz.com> <200910111639.07588.hselasky@c2i.net> <09101118515750.-1077948416@somehost.domainz.com> User-Agent: User-Agent: Wanderlust/2.14.0 (Africa) Emacs/21.3 Mule/5.0 (SAKAKI) MIME-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-IP: 124.155.55.252 X-FROM-DOMAIN: myn.rcast.u-tokyo.ac.jp X-FROM-EMAIL: tamaru@myn.rcast.u-tokyo.ac.jp Cc: freebsd-usb@freebsd.org Subject: Re: Simple manner to read 1-pin high/low from USB under FBSD? 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, 11 Oct 2009 18:25:55 -0000 Hi At Sun, 11 Oct 2009 18:56:16 +0200 (CEST), Sven Hazejager wrote: > On Sun, 11 Oct 2009, Hans Petter Selasky wrote: > > >> Thanks for your reply, would I need some GPIO device like this: > >> http://www.fivemanconspiracy.com/node/45 > > > > I don't know. You need to ask the manufacturer. Ask them if the control > > endpoint is used to turn on/off the pin(s) you want. > > Well, I only need to read high/low, not to set anything... I've mailed the > manufacturer for info, thanks for suggesting. I once considered replacing ppi(4) functionalities with usb- to-parallel converters as well. They seem to follow the USB Printer Class specification. http://www.usb.org/developers/devclass_docs/usbprint11.pdf According to the protocol description, they seem to be rather intelligent in processing the handshake and do not allow the host to program each bits like ppi(4) interface does. However, they do seem to support couple of input pins like "paper empty", "select" and "error" (pin 12, 13, and 15, IIRC). So, for your use, probably they may be good enough. I myself didn't actually try them, 'cause I needed more bits in and out anyway. YMMV, but just FYI. I'd be interested in success stories with USB GPIO devices as well, so if you'd try it, please send in your experiences too. I haven't looked at the device you mentioned, but if they release a spec sheet like the one I mentioned above, you should be able to used them fine. -- Hiroharu Tamaru From owner-freebsd-usb@FreeBSD.ORG Mon Oct 12 11:07:04 2009 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2F90F106568D for ; Mon, 12 Oct 2009 11:07:04 +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 1C8B88FC1F for ; Mon, 12 Oct 2009 11:07: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 n9CB73Ca036587 for ; Mon, 12 Oct 2009 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9CB73gh036583 for freebsd-usb@FreeBSD.org; Mon, 12 Oct 2009 11:07:03 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Oct 2009 11:07:03 GMT Message-Id: <200910121107.n9CB73gh036583@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, 12 Oct 2009 11:07:04 -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/139243 usb [uhci] unplug prolific USB serial -> uhci_abort_xfer: o usb/139142 usb [regression] ehci drivers (NVIDIA nForce4 USB 2.0 cont o usb/138915 usb [patch][usb8][usb67] add support for SheevaPlug serial o usb/138904 usb [rum] unpluging USB wifi card panics system f usb/138882 usb [ohci] [panic] Can't install FreeBSD 7.2 due to ohci p o usb/138879 usb [uftdi] [patch] Patch to add support for CTI USB-Mini o usb/138798 usb 8.0-BETA4 can't boot from USB flash drive [regression] o usb/138675 usb [usb8] [panic] page fault, perhaps in USB o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o usb/138563 usb [usb8] [patch] Increase buffer sizes to accomodate lon o usb/138389 usb [usb8] [patch] NULL pointer dereference in usb_endpoin o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138172 usb Additional dev id for u3g (Option mini PCIe) o usb/138138 usb Novatel U760 for u3g (Verizon and Bell Canada) o usb/138124 usb [usb8] Axed uaudio functionality in the usbng (alterna o usb/138119 usb MultiBay CDROM (propably on USB bus) is not recognized o usb/137872 usb slow booting on usb flash drive f usb/137848 usb Page fault when using an USB bluetooth adapter o usb/137806 usb [ukbd] USB keyboard doesn't work until it's unplugged 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/137191 usb [usb8][patch] export ums(4) output report parser data 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 o usb/137129 usb SteelSeries Ikari USB laser mouse not attaching o usb/137035 usb Sony cyber-shot DSC-P72 not accessible - cam quirks p usb/136761 usb [usbdevs][usb67][patch] Teach usbdevs / u3g(4) about H o usb/135938 usb [aue] aue driver only passes traffic in promisc mode f usb/135857 usb RTL8187 Wireless Adapter o usb/135575 usb [usbdevs] [patch] Add HTC Wizard phone vid/pid informa 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/130325 usb [usb] [patch] fix tools/tools/usb/print-usb-if-vids.sh 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 s usb/127549 usb [umass] [patch] Meizu MiniPlayer M6 (SL) requires some 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 p usb/125264 usb [patch] sysctl for set usb mouse rate (very useful for 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/107924 usb [usb67] usbd(8) does not call detach 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 311 problems total. From owner-freebsd-usb@FreeBSD.ORG Wed Oct 14 07:30:35 2009 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 CE7E6106566C; Wed, 14 Oct 2009 07:30:35 +0000 (UTC) (envelope-from stas@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id A5CD58FC18; Wed, 14 Oct 2009 07:30:35 +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 n9E7UZIm006782; Wed, 14 Oct 2009 07:30:35 GMT (envelope-from stas@freefall.freebsd.org) Received: (from stas@localhost) by freefall.freebsd.org (8.14.3/8.14.3/Submit) id n9E7UYhO006737; Wed, 14 Oct 2009 07:30:34 GMT (envelope-from stas) Date: Wed, 14 Oct 2009 07:30:34 GMT Message-Id: <200910140730.n9E7UYhO006737@freefall.freebsd.org> To: hlh@restart.be, stas@FreeBSD.org, freebsd-usb@FreeBSD.org From: stas@FreeBSD.org Cc: Subject: Re: usb/137035: Sony cyber-shot DSC-P72 not accessible - cam quirks 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, 14 Oct 2009 07:30:35 -0000 Synopsis: Sony cyber-shot DSC-P72 not accessible - cam quirks State-Changed-From-To: open->closed State-Changed-By: stas State-Changed-When: Wed Oct 14 07:30:34 UTC 2009 State-Changed-Why: Fixed. http://www.freebsd.org/cgi/query-pr.cgi?pr=137035 From owner-freebsd-usb@FreeBSD.ORG Wed Oct 14 17:21:57 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A00291065676 for ; Wed, 14 Oct 2009 17:21:57 +0000 (UTC) (envelope-from sven@hazejager.nl) Received: from chainsoftware.nl (tunnel655.ipv6.xs4all.nl [IPv6:2001:888:10:28f::2]) by mx1.freebsd.org (Postfix) with ESMTP id 312DA8FC1A for ; Wed, 14 Oct 2009 17:21:57 +0000 (UTC) Received: from chainsoftware.nl (localhost [127.0.0.1]) by chainsoftware.nl (8.14.3/8.14.3) with ESMTP id n9EHLttW034820; Wed, 14 Oct 2009 19:21:55 +0200 (CEST) (envelope-from sven@hazejager.nl) Received: from localhost (sven@localhost) by chainsoftware.nl (8.14.3/8.14.3/Submit) with ESMTP id n9EHLs5E034817; Wed, 14 Oct 2009 19:21:54 +0200 (CEST) (envelope-from sven@hazejager.nl) X-Authentication-Warning: proxy.chain.loc: sven owned process doing -bs Date: Wed, 14 Oct 2009 19:21:54 +0200 (CEST) From: Sven Hazejager To: Trevor Blackwell , Hiroharu Tamaru In-Reply-To: <8CA5CC87-EA53-4055-9747-D23B1F853537@tlb.org> Message-ID: <09101419165353.-1077948416@somehost.domainz.com> References: <0910111122164F.-1077952704@somehost.domainz.com> <200910111217.49002.hselasky@c2i.net> <09101116183255.-1077948416@somehost.domainz.com> <200910111639.07588.hselasky@c2i.net> <09101118515750.-1077948416@somehost.domainz.com> <8CA5CC87-EA53-4055-9747-D23B1F853537@tlb.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Spam-Status: No, hits=-3.977 tests=ALL_TRUSTED,BAYES_00 X-Scanned-By: MIMEDefang 2.64 on 192.168.0.1 Cc: freebsd-usb@freebsd.org Subject: Re: Simple manner to read 1-pin high/low from USB under FBSD? 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, 14 Oct 2009 17:21:57 -0000 > Try Phidgets. http://phidgets.com. It's easy to read digital signals as a HID > device. You can get started with not much more than: Thanks for all the suggestions. I had trouble getting the crude analog-to-digital (on/off) circuit to work, so I have decided to use an Arduino Nano (http://www.arduino.cc) that actually has 10-bit analog inputs. So, I will be doing the pulse counting on the Arduino, and output interval values through its USB-serial interface, which I'll read out from Perl or C or something. This should all work from FreeBSD without any problems! Sven From owner-freebsd-usb@FreeBSD.ORG Wed Oct 14 19:27:32 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 66A251065692 for ; Wed, 14 Oct 2009 19:27:32 +0000 (UTC) (envelope-from tlb@tlb.org) Received: from anybots.com (mail.anybots.com [64.142.12.96]) by mx1.freebsd.org (Postfix) with SMTP id 410568FC1D for ; Wed, 14 Oct 2009 19:27:31 +0000 (UTC) Received: (qmail 71603 invoked from network); 14 Oct 2009 19:27:30 -0000 Received: from unknown (HELO mobile005.mycingular.net) (tlb@32.177.201.13) by mail.anybots.com with SMTP; 14 Oct 2009 19:27:30 -0000 Message-Id: <45D4F638-E36E-4073-BA26-7A747E3DC58C@tlb.org> From: Trevor Blackwell To: Sven Hazejager In-Reply-To: <09101419165353.-1077948416@somehost.domainz.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v936) Date: Wed, 14 Oct 2009 12:27:28 -0700 References: <0910111122164F.-1077952704@somehost.domainz.com> <200910111217.49002.hselasky@c2i.net> <09101116183255.-1077948416@somehost.domainz.com> <200910111639.07588.hselasky@c2i.net> <09101118515750.-1077948416@somehost.domainz.com> <8CA5CC87-EA53-4055-9747-D23B1F853537@tlb.org> <09101419165353.-1077948416@somehost.domainz.com> X-Mailer: Apple Mail (2.936) Cc: freebsd-usb@freebsd.org Subject: Re: Simple manner to read 1-pin high/low from USB under FBSD? 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, 14 Oct 2009 19:27:32 -0000 Sounds reasonable. I've also had good luck with the ADAM 6000 family, http://www.bb-elec.com/product_multi_family.asp?MultiFamilyId=12&TrailType=Sub&Trail=39 Plug them into power and Ethernet and you can telnet to them and give text commands to read A/D pins. Easy to automate from Python just using sockets. They're obviously less flexible than an Arduino, but they do come in nice little boxes with screw terminals, static zap protection on the inputs, blinking lights and all that good stuff for $200-$400 each. I think there's a USB version too that does the same protocol over serial instead of sockets. But Ethernet is pretty nice because you can put it anywhere, or have more than one. -- Trevor Blackwell tlb@tlb.org 650 776 7870 On Oct 14, 2009, at 10:21 , Sven Hazejager wrote: >> Try Phidgets. http://phidgets.com. It's easy to read digital >> signals as a HID device. You can get started with not much more than: > > Thanks for all the suggestions. I had trouble getting the crude > analog-to-digital (on/off) circuit to work, so I have decided to use > an Arduino Nano (http://www.arduino.cc) that actually has 10-bit > analog inputs. So, I will be doing the pulse counting on the > Arduino, and output interval values through its USB-serial > interface, which I'll read out from Perl or C or something. > > This should all work from FreeBSD without any problems! > > Sven From owner-freebsd-usb@FreeBSD.ORG Thu Oct 15 07:39:34 2009 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A67DD1065670 for ; Thu, 15 Oct 2009 07:39:34 +0000 (UTC) (envelope-from vvelox@vvelox.net) Received: from vulpes.vvelox.net (vulpes.vvelox.net [99.69.115.42]) by mx1.freebsd.org (Postfix) with ESMTP id 78E468FC12 for ; Thu, 15 Oct 2009 07:39:34 +0000 (UTC) Received: from vixen42.vulpes (unknown [10.69.0.2]) (Authenticated sender: vvelox) by vulpes.vvelox.net (Postfix) with ESMTP id BDD9DB844 for ; Thu, 15 Oct 2009 02:21:11 -0500 (CDT) Date: Thu, 15 Oct 2009 02:20:48 -0500 From: "Zane C. B." To: freebsd-usb@freebsd.org Message-ID: <20091015022048.4ce19c0e@vixen42.vulpes> X-Mailer: Claws Mail 3.7.2 (GTK+ 2.16.6; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: USD HID and keyboards 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, 15 Oct 2009 07:39:34 -0000 Any one ever manage to get extra keys to work on a USB keyboard in the RELENG_7 branch? Just looking into it for the first time since switching to 7 and it is still appearing to be non-workable still.