From owner-freebsd-usb@FreeBSD.ORG Sun Jun 26 04:12:58 2011 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 F325C1065670 for ; Sun, 26 Jun 2011 04:12:58 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 85E338FC18 for ; Sun, 26 Jun 2011 04:12:58 +0000 (UTC) Received: by wyg24 with SMTP id 24so1117427wyg.13 for ; Sat, 25 Jun 2011 21:12:57 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=GQBM0cZQPVcoplGWggVU2DmA7v304jhjJi03Ovm4WSM=; b=i3H0SGMlOGLA+fZwAmCyTBQnrXm4iwdsNnyqPcGSdDHM2+qLk4HiTDeNWDeIVYwze2 51QQzJ18T++aiGRmfZx+xyWGEM4RwO0Md/RspfdMVqZ3NV9WI3SUpHJQ1BJJLBpOeQkr V3erybi91gUG2e1Q5FzsGZrs9SqmgrqdN7rOU= 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=RyWOIr5nBtqBBuFJU4Zv1HwmoVXQaWI7cC5KU8NklxOzOzmjPj237NSeHPkPB+zLpf SWagWRA+hvupxepdDM3wy0nWa/NOZk0cNei30GL53BLn3+9G1vMOhyBVSMFCdy7P/id/ YZH9QcLecAj5cZTr7ryqThXpIvqMeL6I7WzBI= MIME-Version: 1.0 Received: by 10.216.63.143 with SMTP id a15mr1001139wed.65.1309059995184; Sat, 25 Jun 2011 20:46:35 -0700 (PDT) Received: by 10.216.65.203 with HTTP; Sat, 25 Jun 2011 20:46:35 -0700 (PDT) In-Reply-To: References: Date: Sat, 25 Jun 2011 22:46:35 -0500 Message-ID: From: Brandon Gooch To: Maksim Yevmenkin Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-bluetooth@freebsd.org" , freebsd-usb@freebsd.org Subject: Re: Broadcom BCM2046B1 in HCI mode? 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, 26 Jun 2011 04:12:59 -0000 On Wed, Jun 22, 2011 at 11:17 AM, Maksim Yevmenkin wrote: > On Tuesday, June 21, 2011, Brandon Gooch wr= ote: >> I have one of these in my notebook: >> >> uhub4: on usbus0 >> >> This is a bluetooth device in HID mode, but I'd like to switch it to >> HCI mode. I found the following in rc.conf(5): >> >> =A0=A0 =A0 ubthidhci_enable >> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (bool) If set to ``YES'', change the = USB Bluetooth controller >> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 from HID mode to HCI mode. =A0You als= o need to specify the >> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 location of USB Bluetooth controller = with the >> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 ubthidhci_busnum and ubthidhci_addr v= ariables. >> >> =A0=A0 =A0 ubthidhci_busnum >> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Bus number where the USB Bluetooth co= ntroller is located. >> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Check the output of usbconfig(8) on y= our system to find this >> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 information. >> >> =A0=A0 =A0 ubthidhci_addr >> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Bus address of the USB Bluetooth cont= roller. =A0Check the out- >> =A0=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 put of usbconfig(8) on your system to= find this information. >> >> So I added the appropriate directives to /etc/rc.conf, to no avail: >> >> ubthidhci_enable=3D"YES" >> ubthidhci_busnum=3D"0" >> ubthidhci_addr=3D"5" >> >> This basically calls usbconfig(8) at system start-up in the following wa= y: >> >> /usr/sbin/usbconfig -u 0 -a 5 do_request 0x40 0 0 0 0 > /dev/null 2>&1 >> >> Running this command manually, I see this output: >> >> REQUEST =3D >> >> ...which I've read as potentially being OK, as the operation still may >> have successfully completed -- it hasn't :( >> >> So, has anyone had any luck using this rc.conf(5) directive, or does >> anyone on this list have a modified usbconfig(8) command that may help >> me coax HCI from this device? > > > Switching device between hid and hci modes is s something that is > device / manufacturer specific. It could be that this particular > device need different request or something like that. I would suggest > to look at linux tool called hid2hci. It has support for different > devices from different manufacturers. > > Thanks, > Max > That was an excellent suggestion, so I went and checked it out. In fact, I verified that it indeed does the trick in a couple of recent Linux distros. So can someone help me decipher the byte sequence I need to provide to usbconfig(8)? The hid2hci utility has this function defined for dealing with the device in question: http://git.kernel.org/?p=3Dbluetooth/bluez.git;a=3Dblob;f=3Dtools/hid2hci.c= ;h=3D45a3a3db8b29411ee193e480f5ce8a82a40103d1;hb=3D7822123d08b176ef8b3e8aae= cbc3c8ff25a33483#l122 static int usb_switch_dell(struct usb_dev_handle *dev, enum mode mode) ... char report[] =3D { 0x7f, 0x00, 0x00, 0x00 }; ... report[1] =3D 0x13; .... err =3D usb_control_msg(dev, USB_ENDPOINT_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE, USB_REQ_SET_CONFIGURATION, 0x7f | (0x03 << 8), 0, report, sizeof(report), 5000); ... And according to: http://lxr.linux.no/#linux+v2.6.39/include/linux/usb.h#L1400 usb_control_msg() is prototyped: extern int usb_control_msg(struct usb_device *dev, unsigned int pipe, __u8 request, __u8 requesttype, __u16 value, __u16 index, void *data, __u16 size, int timeout); ...and I'd like to know what this means in terms of the following (from src/usr.sbin/usbconfig/usbconfig.c): libusb20_dev_request_sync(pdev, &opt->setup, opt->buffer, &actlen, 5000 /* 5 seconds */ , 0)) which is prototyped as: libusb20_dev_request_sync(struct libusb20_device *pdev, struct LIBUSB20_CONTROL_SETUP_DECODED *setup, void *data, uint16_t *pactlen, uint32_t timeout, uint8_t flags); I'm looking for something like the following: # usbconfig -u 0 -a 5 do_request 0x37f 0x13 0 0 0 However, this isn't correct I know, but I could use some help sorting it out -- any takers? -Brandon (Bad form: I'm cross-posting) From owner-freebsd-usb@FreeBSD.ORG Sun Jun 26 04:53:01 2011 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 CF5DF106566B for ; Sun, 26 Jun 2011 04:53:01 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 1F6DF8FC13 for ; Sun, 26 Jun 2011 04:53:00 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=7KD0iiTHYGd0xbPMAUtcJ3OZoqPCTpa2X22hnPESm4A= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=uYOExMtR3AgA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=pGLkceISAAAA:8 a=VwQbUJbxAAAA:8 a=1nfGWUGlAAAA:8 a=xbU7mWCAinygaXXFtVcA:9 a=XFxqMdqDK0fjI2IDBncA:7 a=wPNLvfGTeEIA:10 a=MSl-tDqOz04A:10 a=Tg7oEr8spFhzmkyB:21 a=71lIdpBemrfgIryE:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 143226464; Sun, 26 Jun 2011 06:52:58 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Sun, 26 Jun 2011 06:51:17 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106260651.17090.hselasky@c2i.net> Cc: "freebsd-bluetooth@freebsd.org" , Maksim Yevmenkin Subject: Re: Broadcom BCM2046B1 in HCI mode? 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, 26 Jun 2011 04:53:01 -0000 On Sunday 26 June 2011 05:46:35 Brandon Gooch wrote: > On Wed, Jun 22, 2011 at 11:17 AM, Maksim Yevmenkin > > wrote: > > On Tuesday, June 21, 2011, Brandon Gooch wrote: > >> I have one of these in my notebook: > >> > >> uhub4: on usbus0 > >> > >> This is a bluetooth device in HID mode, but I'd like to switch it to > >> HCI mode. I found the following in rc.conf(5): > >> > >> ubthidhci_enable > >> (bool) If set to ``YES'', change the USB Bluetooth > >> controller from HID mode to HCI mode. You also need to specify the > >> location of USB Bluetooth controller with the > >> ubthidhci_busnum and ubthidhci_addr variables. > >> > >> ubthidhci_busnum > >> Bus number where the USB Bluetooth controller is > >> located. Check the output of usbconfig(8) on your system to find this > >> information. > >> > >> ubthidhci_addr > >> Bus address of the USB Bluetooth controller. Check the > >> out- put of usbconfig(8) on your system to find this information. > >> > >> So I added the appropriate directives to /etc/rc.conf, to no avail: > >> > >> ubthidhci_enable="YES" > >> ubthidhci_busnum="0" > >> ubthidhci_addr="5" > >> > >> This basically calls usbconfig(8) at system start-up in the following > >> way: > >> > >> /usr/sbin/usbconfig -u 0 -a 5 do_request 0x40 0 0 0 0 > /dev/null 2>&1 > >> > >> Running this command manually, I see this output: > >> > >> REQUEST = > >> > >> ...which I've read as potentially being OK, as the operation still may > >> have successfully completed -- it hasn't :( > >> > >> So, has anyone had any luck using this rc.conf(5) directive, or does > >> anyone on this list have a modified usbconfig(8) command that may help > >> me coax HCI from this device? > > > > Switching device between hid and hci modes is s something that is > > device / manufacturer specific. It could be that this particular > > device need different request or something like that. I would suggest > > to look at linux tool called hid2hci. It has support for different > > devices from different manufacturers. > > > > Thanks, > > Max > > That was an excellent suggestion, so I went and checked it out. In > fact, I verified that it indeed does the trick in a couple of recent > Linux distros. > > So can someone help me decipher the byte sequence I need to provide to > usbconfig(8)? > > The hid2hci utility has this function defined for dealing with the > device in question: > > http://git.kernel.org/?p=bluetooth/bluez.git;a=blob;f=tools/hid2hci.c;h=45a > 3a3db8b29411ee193e480f5ce8a82a40103d1;hb=7822123d08b176ef8b3e8aaecbc3c8ff25 > a33483#l122 > > static int usb_switch_dell(struct usb_dev_handle *dev, enum mode mode) > ... > char report[] = { 0x7f, 0x00, 0x00, 0x00 }; > ... > report[1] = 0x13; > .... > err = usb_control_msg(dev, > USB_ENDPOINT_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE, > USB_REQ_SET_CONFIGURATION, 0x7f | (0x03 << 8), 0, > report, sizeof(report), 5000); > ... > > And according to: > > http://lxr.linux.no/#linux+v2.6.39/include/linux/usb.h#L1400 > > usb_control_msg() is prototyped: > > extern int usb_control_msg(struct usb_device *dev, unsigned int pipe, > __u8 request, __u8 requesttype, __u16 value, __u16 index, > void *data, __u16 size, int timeout); > > ...and I'd like to know what this means in terms of the following > (from src/usr.sbin/usbconfig/usbconfig.c): > > libusb20_dev_request_sync(pdev, &opt->setup, > opt->buffer, &actlen, 5000 /* 5 seconds */ , 0)) > > which is prototyped as: > > libusb20_dev_request_sync(struct libusb20_device *pdev, > struct LIBUSB20_CONTROL_SETUP_DECODED *setup, void *data, > uint16_t *pactlen, uint32_t timeout, uint8_t flags); > > I'm looking for something like the following: > > # usbconfig -u 0 -a 5 do_request 0x37f 0x13 0 0 0 > > However, this isn't correct I know, but I could use some help sorting > it out -- any takers? > Hi, Try this: usbconfig -d X.Y do_request 0x21 0x09 0x037f 0x0000 0x04 0x7f 0x13 0x00 0x00 --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Jun 26 15:56:42 2011 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 4A78F106566B; Sun, 26 Jun 2011 15:56:42 +0000 (UTC) (envelope-from jamesbrandongooch@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 977468FC0A; Sun, 26 Jun 2011 15:56:41 +0000 (UTC) Received: by wwe6 with SMTP id 6so3845597wwe.31 for ; Sun, 26 Jun 2011 08:56:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=AFyfer/Nic1qKYZ++KZ2s+6sjaSMzCLqPUVf6W2vmQc=; b=mHsVL1gCM+RXf5J5VpKhZhQ5VBjnA5Ebge0duUImBpJjCrGG/xJYffPXyeqxbyzYac +V5skn1EJhrKZwkiLGgbOKCSErh2TdY0iyABVTabwUBExqzp1qKViu+HIexuQibLbYGI vmxlyuKYhF2rIFfy2sSdZfIFMeamFZnex2rkU= 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=q82axNc18Up3QRoPnRE4IB1O4jWSzE3wwxNdNFOptqQGSYy6jrUEyrdmX1G40U2mgT edRec59p+Qoac7gGOfPajQ2F/r6L4tO32mAGuNjPwTQVc5cMKYszxT3BLrOtN216xrM3 4de8iWjHvmwGTiznNG4FCmXW4GQzgCS0H+5BQ= MIME-Version: 1.0 Received: by 10.216.232.13 with SMTP id m13mr1459805weq.110.1309103800294; Sun, 26 Jun 2011 08:56:40 -0700 (PDT) Received: by 10.216.65.203 with HTTP; Sun, 26 Jun 2011 08:56:40 -0700 (PDT) In-Reply-To: <201106260651.17090.hselasky@c2i.net> References: <201106260651.17090.hselasky@c2i.net> Date: Sun, 26 Jun 2011 10:56:40 -0500 Message-ID: From: Brandon Gooch To: Hans Petter Selasky Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: "freebsd-bluetooth@freebsd.org" , freebsd-usb@freebsd.org, Maksim Yevmenkin Subject: Re: Broadcom BCM2046B1 in HCI mode? 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, 26 Jun 2011 15:56:42 -0000 On Sat, Jun 25, 2011 at 11:51 PM, Hans Petter Selasky wr= ote: > On Sunday 26 June 2011 05:46:35 Brandon Gooch wrote: >> On Wed, Jun 22, 2011 at 11:17 AM, Maksim Yevmenkin >> >> wrote: >> > On Tuesday, June 21, 2011, Brandon Gooch > wrote: >> >> I have one of these in my notebook: >> >> >> >> uhub4: on usbu= s0 >> >> >> >> This is a bluetooth device in HID mode, but I'd like to switch it to >> >> HCI mode. I found the following in rc.conf(5): >> >> >> >> =A0 =A0 =A0ubthidhci_enable >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0(bool) If set to ``YES'', change t= he USB Bluetooth >> >> controller from HID mode to HCI mode. =A0You also need to specify the >> >> location of USB Bluetooth controller with the >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0ubthidhci_busnum and ubthidhci_add= r variables. >> >> >> >> =A0 =A0 =A0ubthidhci_busnum >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Bus number where the USB Bluetooth= controller is >> >> located. Check the output of usbconfig(8) on your system to find this >> >> information. >> >> >> >> =A0 =A0 =A0ubthidhci_addr >> >> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Bus address of the USB Bluetooth c= ontroller. =A0Check the >> >> out- put of usbconfig(8) on your system to find this information. >> >> >> >> So I added the appropriate directives to /etc/rc.conf, to no avail: >> >> >> >> ubthidhci_enable=3D"YES" >> >> ubthidhci_busnum=3D"0" >> >> ubthidhci_addr=3D"5" >> >> >> >> This basically calls usbconfig(8) at system start-up in the following >> >> way: >> >> >> >> /usr/sbin/usbconfig -u 0 -a 5 do_request 0x40 0 0 0 0 > /dev/null 2>&= 1 >> >> >> >> Running this command manually, I see this output: >> >> >> >> REQUEST =3D >> >> >> >> ...which I've read as potentially being OK, as the operation still ma= y >> >> have successfully completed -- it hasn't :( >> >> >> >> So, has anyone had any luck using this rc.conf(5) directive, or does >> >> anyone on this list have a modified usbconfig(8) command that may hel= p >> >> me coax HCI from this device? >> > >> > Switching device between hid and hci modes is s something that is >> > device / manufacturer specific. It could be that this particular >> > device need different request or something like that. I would suggest >> > to look at linux tool called hid2hci. It has support for different >> > devices from different manufacturers. >> > >> > Thanks, >> > Max >> >> That was an excellent suggestion, so I went and checked it out. In >> fact, I verified that it indeed does the trick in a couple of recent >> Linux distros. >> >> So can someone help me decipher the byte sequence I need to provide to >> usbconfig(8)? >> >> The hid2hci utility has this function defined for dealing with the >> device in question: >> >> http://git.kernel.org/?p=3Dbluetooth/bluez.git;a=3Dblob;f=3Dtools/hid2hc= i.c;h=3D45a >> 3a3db8b29411ee193e480f5ce8a82a40103d1;hb=3D7822123d08b176ef8b3e8aaecbc3c= 8ff25 >> a33483#l122 >> >> static int usb_switch_dell(struct usb_dev_handle *dev, enum mode mode) >> ... >> =A0 =A0 =A0 =A0 char report[] =3D { 0x7f, 0x00, 0x00, 0x00 }; >> ... >> =A0 =A0 =A0 =A0 report[1] =3D 0x13; >> .... >> =A0 =A0 =A0 =A0 err =3D usb_control_msg(dev, >> =A0 =A0 =A0 =A0 =A0 =A0 USB_ENDPOINT_OUT | USB_TYPE_CLASS | USB_RECIP_IN= TERFACE, >> =A0 =A0 =A0 =A0 =A0 =A0 USB_REQ_SET_CONFIGURATION, 0x7f | (0x03 << 8), 0= , >> =A0 =A0 =A0 =A0 =A0 =A0 report, sizeof(report), 5000); >> ... >> >> And according to: >> >> http://lxr.linux.no/#linux+v2.6.39/include/linux/usb.h#L1400 >> >> usb_control_msg() is prototyped: >> >> extern int usb_control_msg(struct usb_device *dev, unsigned int pipe, >> =A0 =A0 =A0 =A0 =A0__u8 request, __u8 requesttype, __u16 value, __u16 in= dex, >> =A0 =A0 =A0 =A0 =A0void *data, __u16 size, int timeout); >> >> ...and I'd like to know what this means in terms of the following >> (from src/usr.sbin/usbconfig/usbconfig.c): >> >> libusb20_dev_request_sync(pdev, &opt->setup, >> =A0 =A0 opt->buffer, &actlen, 5000 /* 5 seconds */ , 0)) >> >> which is prototyped as: >> >> libusb20_dev_request_sync(struct libusb20_device *pdev, >> =A0 =A0 =A0 =A0 =A0struct LIBUSB20_CONTROL_SETUP_DECODED *setup, void *d= ata, >> =A0 =A0 =A0 =A0 =A0uint16_t *pactlen, uint32_t timeout, uint8_t flags); >> >> I'm looking for something like the following: >> >> # usbconfig -u 0 -a 5 do_request 0x37f 0x13 0 0 0 >> >> However, this isn't correct I know, but I could use some help sorting >> it out -- any takers? >> > > Hi, > > Try this: > > usbconfig -d X.Y do_request 0x21 0x09 0x037f 0x0000 0x04 0x7f 0x13 0x00 0= x00 > > --HPS It worked, albeit after addressing the correct ugen(4) device: dmesg(8): ... ugen0.7: at usbus0 ... Then: # usbconfig -d ugen0.7 do_request 0x21 0x09 0x037f 0x0000 0x04 0x7f 0x13 0x00 0x00 dmesg(8): ... ugen0.8: at usbus0 ... And after: # kldload ng_ubt dmesg(8): ubt0: on usbus0 For now, can we add another (optional) parameter for rc.conf, to allow an override of the do_request parameters? So, in /etc/rc.d/ubthidhci, we could pass a value in $ubthidhci_req (or whatever) that could be worked into: command_args=3D"-u ${ubthidhci_busnum} -a ${ubthidhci_addr} do_request ${ubthidhci_req} > /dev/null 2>&1" Further, we could document known devices somewhere, allowing users to select the appropriate values themselves -- maybe even in the form of: ubthidhci_enable=3D"YES" ubthidhci_busnum=3D"0" ubthidhci_addr=3D"7" ubthidhci_devtype=3D"BCM2046B1" Hans, I don't see an easy way to automate any of this for now, although you're working on an auto-configuration system for USB devices (possibly to be generalized for other devices later). Can this be a facet of that system? Thanks for the help everyone! -Brandon From owner-freebsd-usb@FreeBSD.ORG Sun Jun 26 18:19:04 2011 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 C7E63106564A; Sun, 26 Jun 2011 18:19:04 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 134998FC17; Sun, 26 Jun 2011 18:19:03 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=7KD0iiTHYGd0xbPMAUtcJ3OZoqPCTpa2X22hnPESm4A= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=uYOExMtR3AgA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8kQB0OdkAAAA:8 a=pGLkceISAAAA:8 a=VwQbUJbxAAAA:8 a=1nfGWUGlAAAA:8 a=NF_Y-S50xOgsUT6BtYcA:9 a=tna3AafCve94yiV7Y2cA:7 a=wPNLvfGTeEIA:10 a=9aOQ2cSd83gA:10 a=MSl-tDqOz04A:10 a=LLiL0JaOtTRhVl_D:21 a=a0Z-dLHaVQ1XJsc9:21 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 143389188; Sun, 26 Jun 2011 20:19:01 +0200 From: Hans Petter Selasky To: Brandon Gooch Date: Sun, 26 Jun 2011 20:17:20 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201106260651.17090.hselasky@c2i.net> In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106262017.20468.hselasky@c2i.net> Cc: "freebsd-bluetooth@freebsd.org" , freebsd-usb@freebsd.org, Maksim Yevmenkin Subject: Re: Broadcom BCM2046B1 in HCI mode? 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, 26 Jun 2011 18:19:04 -0000 On Sunday 26 June 2011 17:56:40 Brandon Gooch wrote: > On Sat, Jun 25, 2011 at 11:51 PM, Hans Petter Selasky wrote: > > On Sunday 26 June 2011 05:46:35 Brandon Gooch wrote: > >> On Wed, Jun 22, 2011 at 11:17 AM, Maksim Yevmenkin > >> > >> wrote: > >> > On Tuesday, June 21, 2011, Brandon Gooch > > > > wrote: > >> >> I have one of these in my notebook: > >> >> > >> >> uhub4: on > >> >> usbus0 > >> >> > >> >> This is a bluetooth device in HID mode, but I'd like to switch it to > >> >> HCI mode. I found the following in rc.conf(5): > >> >> > >> >> ubthidhci_enable > >> >> (bool) If set to ``YES'', change the USB Bluetooth > >> >> controller from HID mode to HCI mode. You also need to specify the > >> >> location of USB Bluetooth controller with the > >> >> ubthidhci_busnum and ubthidhci_addr variables. > >> >> > >> >> ubthidhci_busnum > >> >> Bus number where the USB Bluetooth controller is > >> >> located. Check the output of usbconfig(8) on your system to find this > >> >> information. > >> >> > >> >> ubthidhci_addr > >> >> Bus address of the USB Bluetooth controller. Check > >> >> the out- put of usbconfig(8) on your system to find this > >> >> information. > >> >> > >> >> So I added the appropriate directives to /etc/rc.conf, to no avail: > >> >> > >> >> ubthidhci_enable="YES" > >> >> ubthidhci_busnum="0" > >> >> ubthidhci_addr="5" > >> >> > >> >> This basically calls usbconfig(8) at system start-up in the following > >> >> way: > >> >> > >> >> /usr/sbin/usbconfig -u 0 -a 5 do_request 0x40 0 0 0 0 > /dev/null > >> >> 2>&1 > >> >> > >> >> Running this command manually, I see this output: > >> >> > >> >> REQUEST = > >> >> > >> >> ...which I've read as potentially being OK, as the operation still > >> >> may have successfully completed -- it hasn't :( > >> >> > >> >> So, has anyone had any luck using this rc.conf(5) directive, or does > >> >> anyone on this list have a modified usbconfig(8) command that may > >> >> help me coax HCI from this device? > >> > > >> > Switching device between hid and hci modes is s something that is > >> > device / manufacturer specific. It could be that this particular > >> > device need different request or something like that. I would suggest > >> > to look at linux tool called hid2hci. It has support for different > >> > devices from different manufacturers. > >> > > >> > Thanks, > >> > Max > >> > >> That was an excellent suggestion, so I went and checked it out. In > >> fact, I verified that it indeed does the trick in a couple of recent > >> Linux distros. > >> > >> So can someone help me decipher the byte sequence I need to provide to > >> usbconfig(8)? > >> > >> The hid2hci utility has this function defined for dealing with the > >> device in question: > >> > >> http://git.kernel.org/?p=bluetooth/bluez.git;a=blob;f=tools/hid2hci.c;h= > >> 45a > >> 3a3db8b29411ee193e480f5ce8a82a40103d1;hb=7822123d08b176ef8b3e8aaecbc3c8 > >> ff25 a33483#l122 > >> > >> static int usb_switch_dell(struct usb_dev_handle *dev, enum mode mode) > >> ... > >> char report[] = { 0x7f, 0x00, 0x00, 0x00 }; > >> ... > >> report[1] = 0x13; > >> .... > >> err = usb_control_msg(dev, > >> USB_ENDPOINT_OUT | USB_TYPE_CLASS | USB_RECIP_INTERFACE, > >> USB_REQ_SET_CONFIGURATION, 0x7f | (0x03 << 8), 0, > >> report, sizeof(report), 5000); > >> ... > >> > >> And according to: > >> > >> http://lxr.linux.no/#linux+v2.6.39/include/linux/usb.h#L1400 > >> > >> usb_control_msg() is prototyped: > >> > >> extern int usb_control_msg(struct usb_device *dev, unsigned int pipe, > >> __u8 request, __u8 requesttype, __u16 value, __u16 index, > >> void *data, __u16 size, int timeout); > >> > >> ...and I'd like to know what this means in terms of the following > >> (from src/usr.sbin/usbconfig/usbconfig.c): > >> > >> libusb20_dev_request_sync(pdev, &opt->setup, > >> opt->buffer, &actlen, 5000 /* 5 seconds */ , 0)) > >> > >> which is prototyped as: > >> > >> libusb20_dev_request_sync(struct libusb20_device *pdev, > >> struct LIBUSB20_CONTROL_SETUP_DECODED *setup, void *data, > >> uint16_t *pactlen, uint32_t timeout, uint8_t flags); > >> > >> I'm looking for something like the following: > >> > >> # usbconfig -u 0 -a 5 do_request 0x37f 0x13 0 0 0 > >> > >> However, this isn't correct I know, but I could use some help sorting > >> it out -- any takers? > > > > Hi, > > > > Try this: > > > > usbconfig -d X.Y do_request 0x21 0x09 0x037f 0x0000 0x04 0x7f 0x13 0x00 > > 0x00 > > > > --HPS > > It worked, albeit after addressing the correct ugen(4) device: > > dmesg(8): > ... > ugen0.7: at usbus0 > ... > > Then: > # usbconfig -d ugen0.7 do_request 0x21 0x09 0x037f 0x0000 0x04 0x7f > 0x13 0x00 0x00 > > dmesg(8): > ... > ugen0.8: at usbus0 > ... > > And after: > > # kldload ng_ubt > > dmesg(8): > > ubt0: 224/1, rev 2.00/1.73, addr 8> on usbus0 > > For now, can we add another (optional) parameter for rc.conf, to allow > an override of the do_request parameters? > > So, in /etc/rc.d/ubthidhci, we could pass a value in $ubthidhci_req > (or whatever) that could be worked into: > > command_args="-u ${ubthidhci_busnum} -a ${ubthidhci_addr} do_request > ${ubthidhci_req} > /dev/null 2>&1" > > Further, we could document known devices somewhere, allowing users to > select the appropriate values themselves -- maybe even in the form of: > > ubthidhci_enable="YES" > ubthidhci_busnum="0" > ubthidhci_addr="7" > ubthidhci_devtype="BCM2046B1" > > Hans, I don't see an easy way to automate any of this for now, > although you're working on an auto-configuration system for USB > devices (possibly to be generalized for other devices later). Can this > be a facet of that system? > > Thanks for the help everyone! There is something similar in the u3g driver. Look at that: /sys/dev/usb/serial/u3g.c --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jun 27 09:13:55 2011 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 E5C23106564A for ; Mon, 27 Jun 2011 09:13:55 +0000 (UTC) (envelope-from l.pizzamiglio@bally-wulff.de) Received: from mail2.bally-wulff-berlin.de (mail2.bally-wulff-berlin.de [212.144.118.9]) by mx1.freebsd.org (Postfix) with ESMTP id ACD408FC12 for ; Mon, 27 Jun 2011 09:13:55 +0000 (UTC) Received: from bwex.bally-wulff.de (unknown [192.9.204.106]) by mail2.bally-wulff-berlin.de (Postfix) with ESMTP id C4CEB99052 for ; Mon, 27 Jun 2011 10:43:05 +0200 (CEST) Received: from pizzamig.bally.de ([192.9.205.30]) by bwex.bally-wulff.de with Microsoft SMTPSVC(6.0.3790.4675); Mon, 27 Jun 2011 10:43:05 +0200 Message-ID: <4E084297.2040200@bally-wulff.de> Date: Mon, 27 Jun 2011 10:43:03 +0200 From: Luca Pizzamiglio User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.18) Gecko/20110622 Thunderbird/3.1.11 MIME-Version: 1.0 To: freebsd-usb@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Jun 2011 08:43:05.0973 (UTC) FILETIME=[3BD1EA50:01CC34A6] Subject: Read from bulk end point 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, 27 Jun 2011 09:13:56 -0000 Hi USB list, I've a little problem, but I'm not able to find a solution... I've a generic custom USB device with several end points. One of them (a bulk one) is read periodically (polled, 64 byte) every second. There was some time inconsistencies, so I checked the USB traffic with a sniffer, and I discovered that transactions are compacted at the start of the loop in a block of 64 read (64 byte * 64 msg = 4096 byte). In other words, on the bus the first read is followed immediately by the next 63 read. I guess that this is a pre-fetch optimization for BULK end points. How can I disable this optimization for this end point? How can I come back to a more "real-time" behavior? I tried to play with open() flags (O_NONBLOCK, O_DIRECT) without luck. Using FreeBSD 7 with HPS stack, this behavior didn't happen. Every read consists in 1 read on the bus and everything is fine. Thanks in advance! Luca From owner-freebsd-usb@FreeBSD.ORG Mon Jun 27 09:21:34 2011 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 B27E41065670 for ; Mon, 27 Jun 2011 09:21:34 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 32EFB8FC14 for ; Mon, 27 Jun 2011 09:21:33 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=EIZfbDsN8gr1c4B7uGrP4foh/gtfZ6zZRee2cLtKwTU= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=_TuTmXaz1bU1WRQUx0cA:9 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 145730469; Mon, 27 Jun 2011 11:21:31 +0200 From: Hans Petter Selasky To: freebsd-usb@freebsd.org Date: Mon, 27 Jun 2011 11:19:51 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4E084297.2040200@bally-wulff.de> In-Reply-To: <4E084297.2040200@bally-wulff.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106271119.51079.hselasky@c2i.net> Cc: Subject: Re: Read from bulk end point 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, 27 Jun 2011 09:21:34 -0000 On Monday 27 June 2011 10:43:03 Luca Pizzamiglio wrote: > Hi USB list, > > I've a little problem, but I'm not able to find a solution... > I've a generic custom USB device with several end points. > One of them (a bulk one) is read periodically (polled, 64 byte) every > second. There was some time inconsistencies, so I checked the USB > traffic with a sniffer, and I discovered that transactions are compacted > at the start of the loop in a block of 64 read (64 byte * 64 msg = 4096 > byte). In other words, on the bus the first read is followed immediately > by the next 63 read. > > I guess that this is a pre-fetch optimization for BULK end points. How > can I disable this optimization for this end point? How can I come back > to a more "real-time" behavior? I tried to play with open() flags > (O_NONBLOCK, O_DIRECT) without luck. > > Using FreeBSD 7 with HPS stack, this behavior didn't happen. Every read > consists in 1 read on the bus and everything is fine. > > Thanks in advance! > > Luca There is an IOCTL to set the RX and TX buffer sizes. Please use that. See dev/usb/usb_ioctl.h. The default is more than one full packet. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jun 27 11:07:14 2011 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 38A1B106567E for ; Mon, 27 Jun 2011 11:07:14 +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 276C68FC08 for ; Mon, 27 Jun 2011 11:07:14 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5RB7EtT071997 for ; Mon, 27 Jun 2011 11:07:14 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5RB7D53071995 for freebsd-usb@FreeBSD.org; Mon, 27 Jun 2011 11:07:13 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 27 Jun 2011 11:07:13 GMT Message-Id: <201106271107.p5RB7D53071995@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, 27 Jun 2011 11:07:14 -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/157376 usb LaCie USB disk not recognized o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 o usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke o usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/155663 usb [usbdevs] [patch] Add support for Supertop Nano 1GB US o usb/155496 usb [usb][patch] support BUFFALO WLI-U2-SG54HG wireless o usb/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154710 usb [ugen] Conexant USB Modem is not working in 8.x. In 7. o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while o usb/153599 usb [usbdevs] [patch] Feiya Elango USB MicroSD reader sync o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149934 usb [patch] [usb8] Transcend JetFlash V85 poor performance p usb/149900 usb [uftdi] [patch] FreeBSD 8.1 uftdi patch to support usb p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o usb/147516 usb [umass] [usb67] kernel unable to deal with Olympus USB o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E p usb/146871 usb [usbdevs] [usb8] [patch] provide descriprive string fo o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack o usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb p usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors a usb/143790 usb [boot] [cam] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system p usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J o usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d o usb/142991 usb [uftdi] [usb67] [patch] Patch to add Crystalfontz 533 f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa o usb/142713 usb [usb67] [panic] Kernel Panik when connecting an IPhone f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141327 usb [ukbd] [usb67] USB kbd not working with 7.1+PAE on IBM o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b 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 o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d 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 s 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 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 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 s usb/138570 usb [usb67] [panic] USB mass device panics current 7.2-STA o usb/138175 usb [usb67] [boot] System cannot boot, when USB reader wit o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u 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 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/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f 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 [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 o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135348 usb [umass] [patch] USB Drive Hangs with ZFS (JMicron USB2 o usb/135206 usb machine reboots when inserted USB device f 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/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] Adding usb quirk for Sony USB flash drive o usb/133989 usb [usb8] [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 o usb/132594 usb USB subsystem causes page fault and crashes o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c 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/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 p usb/131123 usb [patch] [usb67] re-add UQ_ASSUME_CM_OVER_DATA USB quir 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 [patch] [quirk] [usb67] [usb] [cam] [umass] Samsung El o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader s usb/128990 usb [usb] u3g does not handle RTS/CTS available on for exa o usb/128977 usb [usb67] [patch] uaudio is not full duplex p 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/127926 usb [boot] USB Timeout during bootup s usb/127453 usb [request] ubsa, uark, ubser, uftdi, and friends should o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach 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/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/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 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/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa s usb/122819 usb [usb67] [patch] Patch to provide dynamic additions to o usb/122813 usb [udbp] [request] udbp driver should be removed in favo 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/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/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s f usb/121232 usb [usb67] [panic] USB CardBus card removal causes reboot 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 f 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/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/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/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/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 [snd_uaudio] [patch] Not possible to record with Plant 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 p usb/116947 usb [ukbd] [patch] [regression] enable boot protocol on th p usb/116699 usb [usb] [usb67] USB HID devices do not initialize at sys 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 s usb/113060 usb [usb67] [ulpt] [patch] Samsung printer not working in o usb/110856 usb [usb67] [ugen] [patch] interrupt in msgs are truncated 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/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 p usb/101775 usb [usb67] [libusbhid] [patch] possible error in report d 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/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o kern/99200 usb [usb67] SMP-Kernel crashes reliably when Bluetooth con 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/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 f 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/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. f 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 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 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/80854 usb [patch] [request] suggestion for new iface-no-probe me 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 f 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/78984 usb [umass] [patch] Creative MUVO umass failure f usb/77294 usb [ucom] [panic] ucom + ulpcom panic o usb/76732 usb [ums] Mouse problems with USB KVM Switch o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device f 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/75764 usb [umass] [patch] "umass0: Phase Error" - no device for f usb/75705 usb [umass] [panic] da0 attach / Optio S4 (with backtrace) f 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/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 usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 313 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Jun 27 11:14:56 2011 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 A5AB810658AF for ; Mon, 27 Jun 2011 11:14:56 +0000 (UTC) (envelope-from l.pizzamiglio@bally-wulff.de) Received: from mail2.bally-wulff-berlin.de (mail2.bally-wulff-berlin.de [212.144.118.9]) by mx1.freebsd.org (Postfix) with ESMTP id 687F28FC24 for ; Mon, 27 Jun 2011 11:14:56 +0000 (UTC) Received: from bwex.bally-wulff.de (unknown [192.9.204.106]) by mail2.bally-wulff-berlin.de (Postfix) with ESMTP id EE68599074; Mon, 27 Jun 2011 13:14:54 +0200 (CEST) Received: from pizzamig.bally.de ([192.9.205.30]) by bwex.bally-wulff.de with Microsoft SMTPSVC(6.0.3790.4675); Mon, 27 Jun 2011 13:14:55 +0200 Message-ID: <4E08662F.7000401@bally-wulff.de> Date: Mon, 27 Jun 2011 13:14:55 +0200 From: Luca Pizzamiglio User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.18) Gecko/20110622 Thunderbird/3.1.11 MIME-Version: 1.0 To: Hans Petter Selasky References: <4E084297.2040200@bally-wulff.de> <201106271119.51079.hselasky@c2i.net> In-Reply-To: <201106271119.51079.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Jun 2011 11:14:55.0179 (UTC) FILETIME=[715471B0:01CC34BB] Cc: freebsd-usb@freebsd.org Subject: Re: Read from bulk end point 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, 27 Jun 2011 11:14:59 -0000 Hi, thanks HPS, yes, the buffer size works well. It was strange, because for other endpoints I don't see this kind of behavior. BTW now the problem is solved. Thanks again Luca On 06/27/11 11:19, Hans Petter Selasky wrote: > On Monday 27 June 2011 10:43:03 Luca Pizzamiglio wrote: >> Hi USB list, >> >> I've a little problem, but I'm not able to find a solution... >> I've a generic custom USB device with several end points. >> One of them (a bulk one) is read periodically (polled, 64 byte) every >> second. There was some time inconsistencies, so I checked the USB >> traffic with a sniffer, and I discovered that transactions are compacted >> at the start of the loop in a block of 64 read (64 byte * 64 msg = 4096 >> byte). In other words, on the bus the first read is followed immediately >> by the next 63 read. >> >> I guess that this is a pre-fetch optimization for BULK end points. How >> can I disable this optimization for this end point? How can I come back >> to a more "real-time" behavior? I tried to play with open() flags >> (O_NONBLOCK, O_DIRECT) without luck. >> >> Using FreeBSD 7 with HPS stack, this behavior didn't happen. Every read >> consists in 1 read on the bus and everything is fine. >> >> Thanks in advance! >> >> Luca > > There is an IOCTL to set the RX and TX buffer sizes. Please use that. See > dev/usb/usb_ioctl.h. The default is more than one full packet. > > --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jun 27 11:22:20 2011 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 3FC22106566B for ; Mon, 27 Jun 2011 11:22:20 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id BD42B8FC17 for ; Mon, 27 Jun 2011 11:22:19 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=D/a7r8P9hO61Jx2CeejZiK+y1MY0zppvClPbOUfMbas= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=JHl-MTJT_h6SRHh6a4gA:9 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 144926233; Mon, 27 Jun 2011 13:22:17 +0200 From: Hans Petter Selasky To: Luca Pizzamiglio Date: Mon, 27 Jun 2011 13:20:34 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4E084297.2040200@bally-wulff.de> <201106271119.51079.hselasky@c2i.net> <4E08662F.7000401@bally-wulff.de> In-Reply-To: <4E08662F.7000401@bally-wulff.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq,NwSZ4V" =?iso-8859-1?q?=7CLR=2E+tj=7Dg5=0A=09=25V?=,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( =?iso-8859-1?q?=0A=09=3AAuzV9=3A=2EhESm-x4h240C=609=3Dw?= MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106271320.34494.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Read from bulk end point 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, 27 Jun 2011 11:22:20 -0000 On Monday 27 June 2011 13:14:55 Luca Pizzamiglio wrote: > It was strange, because for other endpoints I don't see this kind of > behavior. Hi, That is perhaps because they send less data than wMaxPacketSize. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jun 27 14:34:22 2011 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 A6B481065672 for ; Mon, 27 Jun 2011 14:34:22 +0000 (UTC) (envelope-from l.pizzamiglio@bally-wulff.de) Received: from mail2.bally-wulff-berlin.de (mail2.bally-wulff-berlin.de [212.144.118.9]) by mx1.freebsd.org (Postfix) with ESMTP id 698718FC19 for ; Mon, 27 Jun 2011 14:34:22 +0000 (UTC) Received: from bwex.bally-wulff.de (unknown [192.9.204.106]) by mail2.bally-wulff-berlin.de (Postfix) with ESMTP id DB47399074; Mon, 27 Jun 2011 16:34:20 +0200 (CEST) Received: from pizzamig.bally.de ([192.9.205.30]) by bwex.bally-wulff.de with Microsoft SMTPSVC(6.0.3790.4675); Mon, 27 Jun 2011 16:34:21 +0200 Message-ID: <4E0894ED.1060109@bally-wulff.de> Date: Mon, 27 Jun 2011 16:34:21 +0200 From: Luca Pizzamiglio User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.9.2.18) Gecko/20110622 Thunderbird/3.1.11 MIME-Version: 1.0 To: Hans Petter Selasky References: <4E084297.2040200@bally-wulff.de> <201106271119.51079.hselasky@c2i.net> <4E08662F.7000401@bally-wulff.de> <201106271320.34494.hselasky@c2i.net> In-Reply-To: <201106271320.34494.hselasky@c2i.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 27 Jun 2011 14:34:21.0218 (UTC) FILETIME=[4DA51820:01CC34D7] Cc: freebsd-usb@freebsd.org Subject: Re: Read from bulk end point 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, 27 Jun 2011 14:34:22 -0000 Hi, the buffer size mitigates the pre-fetch, but could not remove it all... Setting 1 as buffer size, the pre-fetch is reduces as 3 wMaxPacketSize IN transaction on the bus, but could not avoid it. There is a way to disable pre-fetch features? Or better, HPS could you point me where is implemented? (just to save time studying source code!) Is the prefetch also enabled for Interrupt end point? maybe I could have push to correctly redesign this USB board... thanks in advance! Luca On 06/27/11 13:20, Hans Petter Selasky wrote: > On Monday 27 June 2011 13:14:55 Luca Pizzamiglio wrote: >> It was strange, because for other endpoints I don't see this kind of >> behavior. > > Hi, > > That is perhaps because they send less data than wMaxPacketSize. > > --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jun 27 19:55:50 2011 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 5993D1065672 for ; Mon, 27 Jun 2011 19:55:50 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe04.c2i.net [212.247.154.98]) by mx1.freebsd.org (Postfix) with ESMTP id D75258FC1C for ; Mon, 27 Jun 2011 19:55:49 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=D/a7r8P9hO61Jx2CeejZiK+y1MY0zppvClPbOUfMbas= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=WQU8e4WWZSUA:10 a=8nJEP1OIZ-IA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=4P-ue2ylVXJI09EBBWEA:9 a=wPNLvfGTeEIA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe04.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 145127337; Mon, 27 Jun 2011 21:55:47 +0200 From: Hans Petter Selasky To: Luca Pizzamiglio Date: Mon, 27 Jun 2011 21:54:05 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <4E084297.2040200@bally-wulff.de> <201106271320.34494.hselasky@c2i.net> <4E0894ED.1060109@bally-wulff.de> In-Reply-To: <4E0894ED.1060109@bally-wulff.de> X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201106272154.05183.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Read from bulk end point 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, 27 Jun 2011 19:55:50 -0000 On Monday 27 June 2011 16:34:21 Luca Pizzamiglio wrote: > Hi, > > the buffer size mitigates the pre-fetch, but could not remove it all... > Setting 1 as buffer size, the pre-fetch is reduces as 3 wMaxPacketSize > IN transaction on the bus, but could not avoid it. > > There is a way to disable pre-fetch features? Or better, HPS could you > point me where is implemented? (just to save time studying source code!) > > Is the prefetch also enabled for Interrupt end point? maybe I could have > push to correctly redesign this USB board... > Hi, Have a look in sys/dev/usb/usb_generic.c Also try to watch the traffic using usbdump. --HPS > thanks in advance! > > Luca > > On 06/27/11 13:20, Hans Petter Selasky wrote: > > On Monday 27 June 2011 13:14:55 Luca Pizzamiglio wrote: > >> It was strange, because for other endpoints I don't see this kind of > >> behavior. > > > > Hi, > > > > That is perhaps because they send less data than wMaxPacketSize. > > > > --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Jun 27 21:40:12 2011 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 80C8F10656B1 for ; Mon, 27 Jun 2011 21:40:12 +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 A56A58FC17 for ; Mon, 27 Jun 2011 21:40:08 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.4/8.14.4) with ESMTP id p5RLe8iD056479 for ; Mon, 27 Jun 2011 21:40:08 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.4/8.14.4/Submit) id p5RLe8Gw056478; Mon, 27 Jun 2011 21:40:08 GMT (envelope-from gnats) Date: Mon, 27 Jun 2011 21:40:08 GMT Message-Id: <201106272140.p5RLe8Gw056478@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org From: dfilter@FreeBSD.ORG (dfilter service) Cc: Subject: Re: usb/155229: 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: Mon, 27 Jun 2011 21:40:12 -0000 The following reply was made to PR usb/155229; it has been noted by GNATS. From: dfilter@FreeBSD.ORG (dfilter service) To: bug-followup@FreeBSD.org Cc: Subject: Re: usb/155229: commit references a PR Date: Mon, 27 Jun 2011 21:30:18 +0000 (UTC) Author: hselasky Date: Mon Jun 27 21:30:04 2011 New Revision: 223609 URL: http://svn.freebsd.org/changeset/base/223609 Log: MFC r219257: Add new USB ID. PR: usb/155229 Modified: stable/8/sys/dev/usb/usbdevs stable/8/sys/dev/usb/wlan/if_run.c 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) Modified: stable/8/sys/dev/usb/usbdevs ============================================================================== --- stable/8/sys/dev/usb/usbdevs Mon Jun 27 21:27:12 2011 (r223608) +++ stable/8/sys/dev/usb/usbdevs Mon Jun 27 21:30:04 2011 (r223609) @@ -2160,6 +2160,7 @@ product MELCO WLIUCG 0x0137 WLI-UC-G product MELCO RT2870_1 0x0148 RT2870 product MELCO RT2870_2 0x0150 RT2870 product MELCO WLIUCGN 0x015d WLI-UC-GN +product MELCO WLIUCG301N 0x016f WLI-UC-G301N /* Merlin products */ product MERLIN V620 0x1110 Merlin V620 Modified: stable/8/sys/dev/usb/wlan/if_run.c ============================================================================== --- stable/8/sys/dev/usb/wlan/if_run.c Mon Jun 27 21:27:12 2011 (r223608) +++ stable/8/sys/dev/usb/wlan/if_run.c Mon Jun 27 21:30:04 2011 (r223609) @@ -210,6 +210,7 @@ static const STRUCT_USB_HOST_ID run_devs RUN_DEV(MELCO, RT2870_2), RUN_DEV(MELCO, WLIUCAG300N), RUN_DEV(MELCO, WLIUCG300N), + RUN_DEV(MELCO, WLIUCG301N), RUN_DEV(MELCO, WLIUCGN), RUN_DEV(MOTOROLA4, RT2770), RUN_DEV(MOTOROLA4, RT3070), _______________________________________________ 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 Wed Jun 29 10:10:39 2011 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 F1494106566C; Wed, 29 Jun 2011 10:10:39 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id C69A08FC20; Wed, 29 Jun 2011 10:10:37 +0000 (UTC) Received: by pzk27 with SMTP id 27so992473pzk.13 for ; Wed, 29 Jun 2011 03:10:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=97MydsNsjnhF0hxHB8ksqW6vIunLItirzZZcG2JmfuQ=; b=LThEYbr6bjsAX4Pk2k5IRpI0+lbGdJbiWD1wP2dnXFvB63FU5eP4LRdJpzRW+jZzo5 vJZzJzOn2ucSv1yKGpvjBav/KBToFOHcSCt+TnFaA/HDQtMUxd8QSrw/vzgupFyCw1sL BN14LU9d6BC6MSR7gh/zucMte4ltH/dGGTzyA= MIME-Version: 1.0 Received: by 10.68.13.68 with SMTP id f4mr805050pbc.404.1309342236837; Wed, 29 Jun 2011 03:10:36 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.68.47.138 with HTTP; Wed, 29 Jun 2011 03:10:36 -0700 (PDT) In-Reply-To: <201106242342.47194.hselasky@c2i.net> References: <201106242342.47194.hselasky@c2i.net> Date: Wed, 29 Jun 2011 12:10:36 +0200 X-Google-Sender-Auth: ejo7DP4boo_SJzpOvKKqstG0sqo Message-ID: From: Robert Millan To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [RFT] Automatic load of USB kernel modules 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, 29 Jun 2011 10:10:40 -0000 2011/6/24 Hans Petter Selasky : > I would like to request testing of the attached > patch before I commit it. The patch is about only having ukbd, ums and umass > per default in the kernel GENERIC config file(s). What about urio? -- Robert Millan From owner-freebsd-usb@FreeBSD.ORG Wed Jun 29 10:22:52 2011 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 C17D71065673; Wed, 29 Jun 2011 10:22:52 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe08.c2i.net [212.247.154.226]) by mx1.freebsd.org (Postfix) with ESMTP id 193618FC1C; Wed, 29 Jun 2011 10:22:51 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=3OyxrDLVq9sri6DuQhVzJBEiMCfYdL5zDZJFh5fE9Ak= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=z--MOQ7iQl0A:10 a=WQU8e4WWZSUA:10 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8kQB0OdkAAAA:8 a=DKFexy3NOBZrKERJC80A:9 a=QEXdDO2ut3YA:10 a=9aOQ2cSd83gA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe08.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 146574078; Wed, 29 Jun 2011 12:22:50 +0200 From: Hans Petter Selasky To: Robert Millan Date: Wed, 29 Jun 2011 12:21:06 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201106242342.47194.hselasky@c2i.net> In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106291221.07049.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [RFT] Automatic load of USB kernel modules 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, 29 Jun 2011 10:22:52 -0000 On Wednesday 29 June 2011 12:10:36 Robert Millan wrote: > 2011/6/24 Hans Petter Selasky : > > I would like to request testing of the attached > > patch before I commit it. The patch is about only having ukbd, ums and > > umass per default in the kernel GENERIC config file(s). > > What about urio? It is loaded automatically now. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jun 29 10:23:26 2011 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 2F3D1106568A; Wed, 29 Jun 2011 10:23:26 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe03.c2i.net [212.247.154.66]) by mx1.freebsd.org (Postfix) with ESMTP id 836C78FC15; Wed, 29 Jun 2011 10:23:25 +0000 (UTC) X-Cloudmark-Score: 0.000000 [] X-Cloudmark-Analysis: v=1.1 cv=EIZfbDsN8gr1c4B7uGrP4foh/gtfZ6zZRee2cLtKwTU= c=1 sm=1 a=SvYTsOw2Z4kA:10 a=z--MOQ7iQl0A:10 a=WQU8e4WWZSUA:10 a=IkcTkHD0fZMA:10 a=CL8lFSKtTFcA:10 a=i9M/sDlu2rpZ9XS819oYzg==:17 a=8kQB0OdkAAAA:8 a=MSd9V3lNUkZ2ZQSsk04A:9 a=QEXdDO2ut3YA:10 a=9aOQ2cSd83gA:10 a=i9M/sDlu2rpZ9XS819oYzg==:117 Received: from [188.126.198.129] (account mc467741@c2i.net HELO laptop002.hselasky.homeunix.org) by mailfe03.swip.net (CommuniGate Pro SMTP 5.2.19) with ESMTPA id 146782279; Wed, 29 Jun 2011 12:23:23 +0200 From: Hans Petter Selasky To: Robert Millan Date: Wed, 29 Jun 2011 12:21:41 +0200 User-Agent: KMail/1.13.5 (FreeBSD/8.2-STABLE; KDE/4.4.5; amd64; ; ) References: <201106242342.47194.hselasky@c2i.net> In-Reply-To: X-Face: *nPdTl_}RuAI6^PVpA02T?$%Xa^>@hE0uyUIoiha$pC:9TVgl.Oq, NwSZ4V"|LR.+tj}g5 %V,x^qOs~mnU3]Gn; cQLv&.N>TrxmSFf+p6(30a/{)KUU!s}w\IhQBj}[g}bj0I3^glmC( :AuzV9:.hESm-x4h240C`9=w MIME-Version: 1.0 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <201106291221.41580.hselasky@c2i.net> Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [RFT] Automatic load of USB kernel modules 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, 29 Jun 2011 10:23:26 -0000 On Wednesday 29 June 2011 12:10:36 Robert Millan wrote: > 2011/6/24 Hans Petter Selasky : > > I would like to request testing of the attached > > patch before I commit it. The patch is about only having ukbd, ums and > > umass per default in the kernel GENERIC config file(s). > > What about urio? Hi, urio is not used for booting the kernel, so it is not important that it is in the kernel. --HPS From owner-freebsd-usb@FreeBSD.ORG Wed Jun 29 10:29:43 2011 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 B9237106566B; Wed, 29 Jun 2011 10:29:43 +0000 (UTC) (envelope-from rmh.aybabtu@gmail.com) Received: from mail-pw0-f54.google.com (mail-pw0-f54.google.com [209.85.160.54]) by mx1.freebsd.org (Postfix) with ESMTP id 8D5AA8FC14; Wed, 29 Jun 2011 10:29:43 +0000 (UTC) Received: by pwi7 with SMTP id 7so1039297pwi.13 for ; Wed, 29 Jun 2011 03:29:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=HZN/aDwSkzlzpTAKrFNCSHMgIXocI5rFxbOOD2mFUQQ=; b=TLFgTFpwNwzf3UdyAe5EIWvNBZocp2pgHucYIB7OI8n06tG99W6m1z0PdqJRCFeKqR Elr9F0aHPSjpsw5/4jGVZc02o54DIOSk2DwkKEEq9kx1nD0laBQebDRLjlUUbeGBLBUP SQKCJq62AJqxxYCMqu1GbRG8jggnWBAJdCgaM= MIME-Version: 1.0 Received: by 10.68.13.68 with SMTP id f4mr824389pbc.404.1309343383131; Wed, 29 Jun 2011 03:29:43 -0700 (PDT) Sender: rmh.aybabtu@gmail.com Received: by 10.68.47.138 with HTTP; Wed, 29 Jun 2011 03:29:43 -0700 (PDT) In-Reply-To: <201106291221.41580.hselasky@c2i.net> References: <201106242342.47194.hselasky@c2i.net> <201106291221.41580.hselasky@c2i.net> Date: Wed, 29 Jun 2011 12:29:43 +0200 X-Google-Sender-Auth: iWJcG6wrYiibAyK7LJ-2SDz_Jd4 Message-ID: From: Robert Millan To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 Cc: freebsd-current@freebsd.org, freebsd-usb@freebsd.org Subject: Re: [RFT] Automatic load of USB kernel modules 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, 29 Jun 2011 10:29:43 -0000 2011/6/29 Hans Petter Selasky : >> What about urio? > > Hi, > > urio is not used for booting the kernel, so it is not important that it is in > the kernel. Ah, ok. I thought /dev/urio0 was a block device. -- Robert Millan