From owner-freebsd-usb@freebsd.org Mon Aug 10 19:29:42 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 499D999E186 for ; Mon, 10 Aug 2015 19:29:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 365ADEE1 for ; Mon, 10 Aug 2015 19:29:42 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t7AJTg7B054278 for ; Mon, 10 Aug 2015 19:29:42 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 149283] [uftdi] avrdude unable to talk to Arduino board (via uftdi) Date: Mon, 10 Aug 2015 19:29:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 9.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: saper@saper.info X-Bugzilla-Status: Closed X-Bugzilla-Priority: Normal X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: resolution bug_status Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2015 19:29:42 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D149283 Marcin Cie=C5=9Blak changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |Works As Intended Status|In Progress |Closed --=20 You are receiving this mail because: You are the assignee for the bug.= From owner-freebsd-usb@freebsd.org Tue Aug 11 14:46:08 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id C48E799F908 for ; Tue, 11 Aug 2015 14:46:08 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: from nm46-vm10.bullet.mail.bf1.yahoo.com (nm46-vm10.bullet.mail.bf1.yahoo.com [216.109.114.203]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 7028D1993 for ; Tue, 11 Aug 2015 14:46:08 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1439304003; bh=FSECz/F7+xfI/9+hiTP35BuYiXbX5hHMcSHkz/svnyA=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=ANwoEnZZKOSlQiZHC3hO51pHD0nLX+onyWrhiiK/Asx1NOzuYc3kg5ip7qst4tegh/5if3f03jAPhPiDmSTxPsXy/NnY4EoVaZ+gd4DVZ/DX+X0hCmk6/Y2fvt8CFxKycO6OxYfR6Ha4uSZj2u5NMc5bpQrGnfvDvrt/opSU4TIR2SChwd7XWkYjfo9h17aD0tJXh8zAvrm8uKX1udRPOo7Nj6hPFJHOeWVweeptOA1lrMjsIJD1SlBOXO5cGM9U8xXEZokvEqdU59z/YTRSEP4ud/XjRI/Sll/W4lYUzZ8/cRs6J/7pm1kNQVmKVBSHsTvEkJsphdYYMcBqgrjKBA== Received: from [98.139.170.178] by nm46.bullet.mail.bf1.yahoo.com with NNFMP; 11 Aug 2015 14:40:03 -0000 Received: from [98.139.211.196] by tm21.bullet.mail.bf1.yahoo.com with NNFMP; 11 Aug 2015 14:40:03 -0000 Received: from [127.0.0.1] by smtp205.mail.bf1.yahoo.com with NNFMP; 11 Aug 2015 14:40:03 -0000 X-Yahoo-Newman-Id: 696355.52502.bm@smtp205.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: v8gCGKEVM1niaOCYbcLV9lBFmfzcBVyQvB14WwfdtJA7aQi oc3Lhw4ZpezpJf1MtUSVKknP1vJFxeC839qo4dQiKDWSdc4l56FpHBJ8M.t6 _bMqGxnkS1_p1v9iTM4rFXhTazIkN6qwtd8QpFN0swQTZ1mPDvARp46tK_fH 7r6tyb0S36sO.vGgT35XrOG21q7_biraI_UWFWVLbNcxG2I2Yq8KbtSTB1qe JyglpDHB79rFybse2cEiuzxksuTWvQjwmr729fJFCIffK3Bb9Rw3IiNH1h.E 5radmSM3oT5pvn3qIl30UwvtTkpnqlK3LBLz7XX0oM0wZFt2HxS0QYTB2VCh Qmsq1rZp34RhQiom3bflU59E9UnaPTUYmFyJvwI8pWSrVlM1wRZBrcXVK4uz LCgp98T0ifoIs1tsXgTgXiXMTvP0sKsRpKOmoD32C9poTkDbj3xMCbwzW9Ee a5TbmENjjkkj3fnHWKuG7a9ivcAN0rT.WRUO59IBKtLnGRZRnVdxqt5zfIFK LdhlwBqh3AQVzv5Rz9aa1ya3a1p9EFdiC0Q-- X-Yahoo-SMTP: 9sPoSQ2swBBlERuQ.0vs8XLc_MeClW0- Message-ID: <55CA0941.6020505@yahoo.com> Date: Tue, 11 Aug 2015 10:40:01 -0400 From: Anthony Jenkins User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Anders Bolt-Evensen , freebsd-mobile@freebsd.org, freebsd-usb@freebsd.org, Anthony Jenkins Subject: Re: Touchpad/trackpad not working References: In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2015 14:46:08 -0000 [Adding freebsd-usb@] On 08/11/2015 02:03 AM, Anders Bolt-Evensen wrote: > > > On Aug 10, 2015, at 06:33 PM, Anthony Jenkins via freebsd-mobile > wrote: > >> >> >> On 08/10/2015 02:29 AM, Anders Bolt-Evensen wrote: >>> >>> >>> On Aug 09, 2015, at 03:07 AM, Anthony Jenkins >>> wrote: >>> >>>> >>>> >>>> On 08/07/15 02:19, Anders Bolt-Evensen wrote: >>>>> >>>>> >>>>> On Aug 06, 2015, at 07:01 PM, Anthony Jenkins >>>>> wrote: >>>>> >>>>>> >>>>>> >>>>>> On 08/06/2015 01:42 AM, Anders Bolt-Evensen wrote: >>>>>>> >>>>>>> >>>>>>> On Aug 05, 2015, at 07:48 PM, Anthony Jenkins >>>>>>> >>>>>>> wrote: >>>>>>> >>>>>>>> [Dropping current@] >>>>>>>> >>>>>>>>> ________________________________ >>>>>>>>> From: Anders Bolt-Evensen >>>>>>>>> To: freebsd-current@freebsd.org; freebsd-mobile@freebsd.org Sen= t: >>>>>>>>> Wednesday, August 5, 2015 11:38 AM >>>>>>>>> Subject: Touchpad/trackpad not working >>>>>>>>> >>>>>>>>> >>>>>>>>> Hello, everyone! >>>>>>>>> On my Acer Aspire V17 Nitro I ha=C3=AF=C2=BB=C2=BFve a little p= roblems with my >>>>>>>>> touchpad/trackpad: >>>>>>>>> When I boot the system, in this case, on FreeBSD Current (the >>>>>>>>> problem also exists on FreeBSD 10) without an external USB >>>>>>>>> receiver >>>>>>>>> connected, my trackpad does not work at all, neither in >>>>>>>>> console or >>>>>>>>> in X. >>>>>>>>> In other words I am not able to do a left or right click and >>>>>>>>> moving >>>>>>>>> the pointer does not work either. >>>>>>>>> I cannot see any mention of it when I take a look at dmesg, oth= er >>>>>>>>> than a message that says "psm0: unable to allocate IRQ" >>>>>>>>> Today I installed sysutils/usbutils to see if I could get any >>>>>>>>> more >>>>>>>>> info about my problem and then took a look at output of the >>>>>>>>> command >>>>>>>>> "lsusb". >>>>>>>>> I see the following output: >>>>>>>>> Bus /dev/usb Device /dev/ugen0.5: ID 046d:c52b Logitech, Inc. >>>>>>>>> Bus /dev/usb Device /dev/ugen0.4: ID 04f2:b474 Chicony >>>>>>>>> Electronics >>>>>>>>> Co., Ltd >>>>>>>>> Bus /dev/usb Device /dev/ugen0.3: ID 06cb:2970 Synaptics, Inc. >>>>>>>> >>>>>>>> Weird...first time seeing a Synaptics device on USB. I know psm(= 4) >>>>>>>> generally handles Synaptics protocol in FreeBSD (if you enable >>>>>>>> synaptics >>>>>>>> support), but your device isn't hanging off the >>>>>>>> atkbd(4)/psm(4). I'd >>>>>>>> expect ums(4) to attach then... no idea why it isn't, or if it >>>>>>>> supports >>>>>>>> the Synaptics protocol. >>>>>>>> >>>>>>>> Can you tell me what the following command reports: >>>>>>>> >>>>>>>> usbconfig -d ugen0.3 dump_device_desc >>>>>>>> >>>>>>>> I think the device needs to report itself as a USB HID device fo= r >>>>>>>> ums(4) >>>>>>>> to attach. >>>>>>>> >>>>>>>> Also, do you have moused(8) running? >>>>>>>> >>>>>>>> Thanks, >>>>>>>> Anthony Jenkins >>>>>>> >>>>>>> In /etc/rc.conf I do have moused_enable=3D"YES", but sudo >>>>>>> /etc/rc.d/moused status reports >>>>>>> "moused is not running". I assume it is because of missing psm0. >>>>>>> >>>>>>> The command usbconfig -d ugen0.3 dump_device_desc reports: >>>>>>> ugen0.3: at usbus0, cfg=3D0 md=3DH= OST >>>>>>> spd=3DFULL (12Mbps) pwr=3DON (100mA) >>>>>>> >>>>>>> bLength =3D 0x0012 >>>>>>> bDescriptorType =3D 0x0001 >>>>>>> bcdUSB =3D 0x0200 >>>>>>> bDeviceClass =3D 0x0000 >>>>>>> bDeviceSubClass =3D 0x0000 >>>>>>> bDeviceProtocol =3D 0x0000 >>>>>>> bMaxPacketSize0 =3D 0x0008 >>>>>>> idVendor =3D 0x06cb >>>>>>> idProduct =3D 0x2970 >>>>>>> bcdDevice =3D 0x0008 >>>>>>> iManufacturer =3D 0x0001 < > >>>>>>> iProduct =3D 0x0002 < >=C3=AF=C2=BB=C2=BF >>>>>>> iSerialNumber =3D 0x0000 >>>>>>> bNumConfigurations =3D 0x0001 >>>>>>> >>>>>>> - Anders >>>>>> >>>>>> Okay try the 'dump_curr_config_desc' command to usbconfig(8): >>>>>> >>>>>> usbconfig -d ugen0.3 dump_curr_config_desc >>>>>> >>>>>> For my Areson USB mouse, this reports: >>>>>> >>>>>> $ sudo usbconfig -d ugen0.2 dump_curr_config_desc >>>>>> ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DLO= W >>>>>> (1.5Mbps) >>>>>> pwr=3DON (100mA) >>>>>> >>>>>> >>>>>> Configuration index 0 >>>>>> >>>>>> bLength =3D 0x0009 >>>>>> bDescriptorType =3D 0x0002 >>>>>> wTotalLength =3D 0x003b >>>>>> bNumInterfaces =3D 0x0002 >>>>>> bConfigurationValue =3D 0x0001 >>>>>> iConfiguration =3D 0x0000 >>>>>> bmAttributes =3D 0x00a0 >>>>>> bMaxPower =3D 0x0032 >>>>>> >>>>>> Interface 0 >>>>>> bLength =3D 0x0009 >>>>>> bDescriptorType =3D 0x0004 >>>>>> bInterfaceNumber =3D 0x0000 >>>>>> bAlternateSetting =3D 0x0000 >>>>>> bNumEndpoints =3D 0x0001 >>>>>> bInterfaceClass =3D 0x0003 >>>>>> bInterfaceSubClass =3D 0x0001 >>>>>> bInterfaceProtocol =3D 0x0002 >>>>>> iInterface =3D 0x0000 >>>>>> >>>>>> Additional Descriptor >>>>>> >>>>>> bLength =3D 0x09 >>>>>> bDescriptorType =3D 0x21 >>>>>> bDescriptorSubType =3D 0x00 >>>>>> RAW dump: >>>>>> 0x00 | 0x09, 0x21, 0x00, 0x01, 0x00, 0x01, 0x22, 0x59, >>>>>> 0x08 | 0x00 >>>>>> >>>>>> Endpoint 0 >>>>>> bLength =3D 0x0007 >>>>>> bDescriptorType =3D 0x0005 >>>>>> bEndpointAddress =3D 0x0081 >>>>>> bmAttributes =3D 0x0003 >>>>>> wMaxPacketSize =3D 0x0008 >>>>>> bInterval =3D 0x000a >>>>>> bRefresh =3D 0x0000 >>>>>> bSynchAddress =3D 0x0000 >>>>>> ... >>>>>> >>>>>> >>>>>> I'm looking for an "Interface #" section with "bInterfaceClass =3D= >>>>>> 0x0003 >>>>>> " and "bInterfaceProtocol =3D 0x0002" lines (class 0x3= >>>>>> protocol 0x2 is a mouse, supported by our ums(4) driver). If you >>>>>> have >>>>>> that, then it should work "out of the box" with moused(8) configur= ed >>>>>> with the "auto" protocol (required for USB pointing devices). >>>>>> >>>>>> You didn't say whether the touchpad works with another USB mouse >>>>>> attached or not. I wouldn't expect plugging a different mouse in t= o >>>>>> have any effect on the touchpad behaviour, but if so, please also >>>>>> run >>>>>> the above usbconfig(8) command: >>>>>> >>>>>> - with no external USB mouse plugged in, targetting the Synaptics >>>>>> touchpad device (ugen0.3) >>>>>> - with an external USB mouse plugged in, once for the Synaptics >>>>>> touchpad device (ugen0.3) and once for the external mouse (ugen?.?= ) >>>>>> >>>>>> Thanks, >>>>>> Anthony >>>>> >>>>> If I start FreeBSD without the external receiver and run udo >>>>> usbconfig >>>>> -d ugen0.3 dump_curr_config_desc, I get the following output: >>>>> ugen0.3: at usbus0, cfg=3D0 md=3DHOS= T >>>>> spd=3DFULL (12Mbps) pwr=3DON (100mA) >>>>> >>>>> >>>>> Configuration index 0 >>>>> >>>>> bLength =3D 0x0009 >>>>> bDescriptorType =3D 0x0002 >>>>> wTotalLength =3D 0x0029 >>>>> bNumInterfaces =3D 0x0001 >>>>> bConfigurationValue =3D 0x0001 >>>>> iConfiguration =3D 0x0000 >>>>> bmAttributes =3D 0x00a0 >>>>> bMaxPower =3D 0x0032 >>>>> >>>>> Interface 0 >>>>> bLength =3D 0x0009 >>>>> bDescriptorType =3D 0x0004 >>>>> bInterfaceNumber =3D 0x0000 >>>>> bAlternateSetting =3D 0x0000 >>>>> bNumEndpoints =3D 0x0002 >>>>> bInterfaceClass =3D 0x0003 >>>>> bInterfaceSubClass =3D 0x0000 >>>>> bInterfaceProtocol =3D 0x0000 >>>>> iInterface =3D 0x0000 >>>>> >>>>> Additional Descriptor >>>>> >>>>> bLength =3D 0x09 >>>>> bDescriptorType =3D 0x21 >>>>> bDescriptorSubType =3D 0x11 >>>>> RAW dump: >>>>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0xa1, >>>>> 0x08 | 0x01 >>>>> >>>>> Endpoint 0 >>>>> bLength =3D 0x0007 >>>>> bDescriptorType =3D 0x0005 >>>>> bEndpointAddress =3D 0x0081 >>>>> bmAttributes =3D 0x0003 >>>>> wMaxPacketSize =3D 0x0040 >>>>> bInterval =3D 0x0001 >>>>> bRefresh =3D 0x0000 >>>>> bSynchAddress =3D 0x0000 >>>>> >>>>> Endpoint 1 >>>>> bLength =3D 0x0007 >>>>> bDescriptorType =3D 0x0005 >>>>> bEndpointAddress =3D 0x0002 >>>>> bmAttributes =3D 0x0003 >>>>> wMaxPacketSize =3D 0x0040 >>>>> bInterval =3D 0x000a >>>>> bRefresh =3D 0x0000 >>>>> bSynchAddress =3D 0x0000 >>>>> >>>>> Now, if I plug in the receiver and reboot my computer (the touchpad= >>>>> does not work in FreeBSD unless I start the computer with that devi= ce >>>>> plugged in -- the external mouse that came with the receiver works >>>>> just fine without a reboot) and then run the same command again (no= te >>>>> that when booting with the external device plugged in, according to= >>>>> "lsusb", the Symantec touchpad changes from ugen0.3 to ugen0.4), I >>>>> get >>>>> the following: >>>>> Output of lsusb: >>>>> [...] >>>>> Bus /dev/usb Device /dev/ugen0.4: ID 06cb:2970 Synaptics, Inc. >>>>> [...] >>>>> Bus /dev/usb Device /dev/ugen0.2: ID 046d:c52b Logitech, Inc. >>>>> >>>>> Output of "sudo usbconfig -d ugen0.4 dump_curr_config_desc" (ugen0.= 3 >>>>> before the reboot) >>>>> ugen0.4: at usbus0, cfg=3D0 md=3DHOS= T >>>>> spd=3DFULL (12Mbps) pwr=3DON (100mA) >>>>> >>>>> >>>>> Configuration index 0 >>>>> >>>>> bLength =3D 0x0009 >>>>> bDescriptorType =3D 0x0002 >>>>> wTotalLength =3D 0x0029 >>>>> bNumInterfaces =3D 0x0001 >>>>> bConfigurationValue =3D 0x0001 >>>>> iConfiguration =3D 0x0000 >>>>> bmAttributes =3D 0x00a0 >>>>> bMaxPower =3D 0x0032 >>>>> >>>>> Interface 0 >>>>> bLength =3D 0x0009 >>>>> bDescriptorType =3D 0x0004 >>>>> bInterfaceNumber =3D 0x0000 >>>>> bAlternateSetting =3D 0x0000 >>>>> bNumEndpoints =3D 0x0002 >>>>> bInterfaceClass =3D 0x0003 >>>>> bInterfaceSubClass =3D 0x0000 >>>>> bInterfaceProtocol =3D 0x0000 >>>>> iInterface =3D 0x0000 >>>>> >>>>> Additional Descriptor >>>>> >>>>> bLength =3D 0x09 >>>>> bDescriptorType =3D 0x21 >>>>> bDescriptorSubType =3D 0x11 >>>>> RAW dump: >>>>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0xa1, >>>>> 0x08 | 0x01 >>>>> >>>>> Endpoint 0 >>>>> bLength =3D 0x0007 >>>>> bDescriptorType =3D 0x0005 >>>>> bEndpointAddress =3D 0x0081 >>>>> bmAttributes =3D 0x0003 >>>>> wMaxPacketSize =3D 0x0040 >>>>> bInterval =3D 0x0001 >>>>> bRefresh =3D 0x0000 >>>>> bSynchAddress =3D 0x0000 >>>>> >>>>> Endpoint 1 >>>>> bLength =3D 0x0007 >>>>> bDescriptorType =3D 0x0005 >>>>> bEndpointAddress =3D 0x0002 >>>>> bmAttributes =3D 0x0003 >>>>> wMaxPacketSize =3D 0x0040 >>>>> bInterval =3D 0x000a >>>>> bRefresh =3D 0x0000 >>>>> bSynchAddress =3D 0x0000 >>>>> >>>>> Output of sudo usbconfig -d ugen0.2 dump_curr_config_desc (ugen0.5 = if >>>>> plugged in before the reboot) >>>>> ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3D= FULL >>>>> (12Mbps) pwr=3DON (98mA) >>>>> >>>>> >>>>> Configuration index 0 >>>>> >>>>> bLength =3D 0x0009 >>>>> bDescriptorType =3D 0x0002 >>>>> wTotalLength =3D 0x0054 >>>>> bNumInterfaces =3D 0x0003 >>>>> bConfigurationValue =3D 0x0001 >>>>> iConfiguration =3D 0x0004 >>>>> bmAttributes =3D 0x00a0 >>>>> bMaxPower =3D 0x0031 >>>>> >>>>> Interface 0 >>>>> bLength =3D 0x0009 >>>>> bDescriptorType =3D 0x0004 >>>>> bInterfaceNumber =3D 0x0000 >>>>> bAlternateSetting =3D 0x0000 >>>>> bNumEndpoints =3D 0x0001 >>>>> bInterfaceClass =3D 0x0003 >>>>> bInterfaceSubClass =3D 0x0001 >>>>> bInterfaceProtocol =3D 0x0001 >>>>> iInterface =3D 0x0000 >>>>> >>>>> Additional Descriptor >>>>> >>>>> bLength =3D 0x09 >>>>> bDescriptorType =3D 0x21 >>>>> bDescriptorSubType =3D 0x11 >>>>> RAW dump: >>>>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x3b, >>>>> 0x08 | 0x00 >>>>> >>>>> Endpoint 0 >>>>> bLength =3D 0x0007 >>>>> bDescriptorType =3D 0x0005 >>>>> bEndpointAddress =3D 0x0081 >>>>> bmAttributes =3D 0x0003 >>>>> wMaxPacketSize =3D 0x0008 >>>>> bInterval =3D 0x0008 >>>>> bRefresh =3D 0x0000 >>>>> bSynchAddress =3D 0x0000 >>>>> >>>>> >>>>> Interface 1 >>>>> bLength =3D 0x0009 >>>>> bDescriptorType =3D 0x0004 >>>>> bInterfaceNumber =3D 0x0001 >>>>> bAlternateSetting =3D 0x0000 >>>>> bNumEndpoints =3D 0x0001 >>>>> bInterfaceClass =3D 0x0003 >>>>> bInterfaceSubClass =3D 0x0001 >>>>> bInterfaceProtocol =3D 0x0002 >>>>> iInterface =3D 0x0000 >>>>> >>>>> Additional Descriptor >>>>> >>>>> bLength =3D 0x09 >>>>> bDescriptorType =3D 0x21 >>>>> bDescriptorSubType =3D 0x11 >>>>> RAW dump: >>>>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x94, >>>>> 0x08 | 0x00 >>>>> >>>>> Endpoint 0 >>>>> bLength =3D 0x0007 >>>>> bDescriptorType =3D 0x0005 >>>>> bEndpointAddress =3D 0x0082 >>>>> bmAttributes =3D 0x0003 >>>>> wMaxPacketSize =3D 0x0008 >>>>> bInterval =3D 0x0002 >>>>> bRefresh =3D 0x0000 >>>>> bSynchAddress =3D 0x0000 >>>>> >>>>> >>>>> Interface 2 >>>>> bLength =3D 0x0009 >>>>> bDescriptorType =3D 0x0004 >>>>> bInterfaceNumber =3D 0x0002 >>>>> bAlternateSetting =3D 0x0000 >>>>> bNumEndpoints =3D 0x0001 >>>>> bInterfaceClass =3D 0x0003 >>>>> bInterfaceSubClass =3D 0x0000 >>>>> bInterfaceProtocol =3D 0x0000 >>>>> iInterface =3D 0x0000 >>>>> >>>>> Additional Descriptor >>>>> >>>>> bLength =3D 0x09 >>>>> bDescriptorType =3D 0x21 >>>>> bDescriptorSubType =3D 0x11 >>>>> RAW dump: >>>>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x62, >>>>> 0x08 | 0x00 >>>>> >>>>> Endpoint 0 >>>>> bLength =3D 0x0007 >>>>> bDescriptorType =3D 0x0005 >>>>> bEndpointAddress =3D 0x0083 >>>>> bmAttributes =3D 0x0003 >>>>> wMaxPacketSize =3D 0x0020 >>>>> bInterval =3D 0x0002 >>>>> bRefresh =3D 0x0000 >>>>> bSynchAddress =3D 0x0000 >>>>> >>>>> With that device plugged in during the booting process, I'm able >>>>> to do >>>>> a left tap/click and a right click with the touchpad. Scrolling doe= s >>>>> not work unless I use the external mouse instead of the touchpad. >>>>> If I now decide to unplug the external device, the touchpad works >>>>> until the next reboot. >>>>> >>>>> Anders=C3=AF=C2=BB=C2=BF >>>>> >>>> Are there any /dev/ums* device nodes when the external mouse is >>>> plugged in? >>>> >>>> $ ls /dev/ums* >>>> $ dmesg | grep ums >>> >>> Yes, when I connect the external mouse, /dev/ums0 appears: >>> ls /dev/ums* >>> /dev/ums0 >>> >>> dmesg | grep ums >>> ums0: on >>> usbus0 >>> ums0: 16 buttons and [XYZT] coordinates ID=3D2 >> >> Whoa... does your mouse /actually/ have 16 buttons??? >> >> Ahh never mind, I just tried my Logitech universal receiver on my >> FreeBSD laptop - same number of buttons. >> >>> >>>> =EF=BB=BFAre there any instances of moused(8) running when the exter= nal >>>> mouse is >>>> plugged in? >>>> >>>> $ ps auxww | grep moused >>>> >>>> Thanks, >>>> Anthony >>> >>> When the external mouse is connected, the following instance of mouse= d >>> is running (as returned from the command ps auxww | grep moused): >>> root 2426 0.0 0.0 16728 2284 - Ss 08:06 0:00.00 >>> /usr/sbin/moused -p /dev/ums0 -t auto -I /var/run/moused.ums0.pid >>> >>> Anders >>> >> Well I'm at a loss... if your touchpad is in fact a USB device, I don'= t >> see how it could report mouse events to FreeBSD when a different USB >> mouse is installed (if that's indeed what's happening). Next thing I'd= >> do is try to track down how the device is reporting data to FreeBSD in= >> this case (and why it isn't in the other case). I'd look at the >> /dev/ums0 device node to see what data it appears to be receiving when= >> using the touchpad, probably by running moused(8) in debug/verbose mod= e. >> >> Does the touchpad still work (e.g. move the cursor) if you boot with t= he >> external USB mouse, but then unplug it? Is moused(8) still running >> after unplugging? >> >> Have you poked around your BIOS for any possible touchpad or USB >> configuration settings? For one, you might try setting "Legacy USB" to= >> "enabled" (if your BIOS has it). >> >> About the only thing I can think of asking for now is for you to boot >> verbose twice (with and without the external USB mouse connected) and >> send me the dmesg(1) or /var/log/messages with the boot messages. >> >> --=20 >> Anthony Jenkins >> >> >> _______________________________________________ >> freebsd-mobile@freebsd.org mailing list >> http://lists.freebsd.org/mailman/listinfo/freebsd-mobile >> To unsubscribe, send any mail to >> "freebsd-mobile-unsubscribe@freebsd.org" > > > I did take a long look in the BIOS, but i have not seen anything > interesting as far as any kind of USB settings goes. > When I boot with the external mouse plugged in and then disconnect the > external mouse, the trackpad still works. That is because when I boot > the system with the external USB mouse connected, the system creates > both /dev/ums0 and /dev/ums1 (which you'll see from the output of > dmesg from 2 verbose boots below). Moused then runs on both device > nodes. When I disconnect the external device, /dev/ums0 is removed > while /dev/ums1 remains. Normally, when I boot the system without the > external mouse, /dev/ums* is not created at all. /dev/ums* only > appears if I connect the external device. Ahhh that explains that bit. In your previous emails, I don't think you mentioned there were /two/ ums(4) devices when the external mouse was attached. > One thing that puzzles me is why the following message appears during > boot (it might be unrelated): > "psm0: unable to allocate IRQ" Unrelated... it's probably because there is nothing physically attached to the PS/2 port of the laptop. > Originally I tried to post the output of dmesg from the 2 verbose > boots here, but the message got rejected because of its size. > Therefore, output from dmesg is available from the following 2 links. > Output of the verbose boot messages without the external mouse: > https://www.dropbox.com/s/ukpoyg6rsl3jjgd/dmesg_without_external_usb.tx= t?dl=3D0 > > > Now, I gave the command "shutdown -p now" (power off the system) and > then plugged in the external USB mouse. After that I ran a new verbose > boot: > https://www.dropbox.com/s/uga7p5zlxh7knsj/dmesg_with_external_usb.txt?d= l=3D0 > > > Anders=EF=BB=BF hid_is_mouse() is failing to tell that your Synaptics USB HID device is a mouse, but /only/ when there's no other USB (HID) device on that USB bus (usbus0). I suspect it has to do with the hid_get_item() warnings about chopping stuff off. I can't tell from the source code for hid_get_item() (a 313-line function) why it's behaving that way, or why a totally different HID device (Logitech mouse) causes it to behave differently for this HID device (Synaptics touchpad). I've added freebsd-usb@ to see if they know what's going on. ajenkins@kubuntu-ajenkins:~/Downloads$ grep usbus0 dmesg_with_external_usb.txt usbus0: waiting for BIOS to give up control usbus0 on xhci0 random: harvesting attach, 8 bytes (4 bits) from usbus0 usbus0: 5.0Gbps Super Speed USB v3.0 ugen0.1: <0x8086> at usbus0 uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on usbus0 Root mount waiting for: usbus2 usbus1 usbus0 ugen0.2: at usbus0 ukbd0: on usbus0 Root mount waiting for: usbus0 ugen0.3: at usbus0 Root mount waiting for: usbus0 ugen0.4: at usbus0 ugen0.5: at usbus0 Root mount waiting for: usbus0 Root mount waiting for: usbus0 [snip] Root mount waiting for: usbus0 Root mount waiting for: usbus0 ugen0.6: at usbus0 (disconnected) ums0: on usbus0 ums1: on usbus0 uhid0: on usbus0 What possessed the laptop manufacturer to hang the Synaptics touchpad device off a USB 3.0 controller is beyond me... I have problems booting FreeBSD off USB 3.0 mass storage devices. --=20 Anthony Jenkins From owner-freebsd-usb@freebsd.org Tue Aug 11 15:03:36 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 14DA599FDD2; Tue, 11 Aug 2015 15:03:36 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE315A14; Tue, 11 Aug 2015 15:03:35 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 172FA1FE023; Tue, 11 Aug 2015 17:03:32 +0200 (CEST) Subject: Re: Touchpad/trackpad not working To: Anthony Jenkins , Anders Bolt-Evensen , freebsd-mobile@freebsd.org, freebsd-usb@freebsd.org References: <55CA0941.6020505@yahoo.com> From: Hans Petter Selasky Message-ID: <55CA0F1C.6080205@selasky.org> Date: Tue, 11 Aug 2015 17:05:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55CA0941.6020505@yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2015 15:03:36 -0000 On 08/11/15 16:40, Anthony Jenkins via freebsd-usb wrote: > > hid_is_mouse() is failing to tell that your Synaptics USB HID device is > a mouse, but /only/ when there's no other USB (HID) device on that USB > bus (usbus0). I suspect it has to do with the hid_get_item() warnings > about chopping stuff off. I can't tell from the source code for > hid_get_item() (a 313-line function) why it's behaving that way, or why > a totally different HID device (Logitech mouse) causes it to behave > differently for this HID device (Synaptics touchpad). I've added > freebsd-usb@ to see if they know what's going on. > > ajenkins@kubuntu-ajenkins:~/Downloads$ grep usbus0 > dmesg_with_external_usb.txt > usbus0: waiting for BIOS to give up control > usbus0 on xhci0 > random: harvesting attach, 8 bytes (4 bits) from usbus0 > usbus0: 5.0Gbps Super Speed USB v3.0 > ugen0.1: <0x8086> at usbus0 > uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on > usbus0 > Root mount waiting for: usbus2 usbus1 usbus0 > ugen0.2: at usbus0 > ukbd0: on > usbus0 > Root mount waiting for: usbus0 > ugen0.3: at usbus0 > Root mount waiting for: usbus0 > ugen0.4: at usbus0 > ugen0.5: at usbus0 > Root mount waiting for: usbus0 > Root mount waiting for: usbus0 > [snip] > Root mount waiting for: usbus0 > Root mount waiting for: usbus0 > ugen0.6: at usbus0 (disconnected) > ums0: on > usbus0 > ums1: 3> on usbus0 > uhid0: on > usbus0 > > What possessed the laptop manufacturer to hang the Synaptics touchpad > device off a USB 3.0 controller is beyond me... I have problems booting > FreeBSD off USB 3.0 mass storage devices. > Hi, Does your mouse only fail to work in X-org, or also the console? Run "usbdump -i usbusX -f Y -s 65536 -vvv" to catch USB events for ugenX.Y. That might give some further clues. If using X.org, do you use hald or devd backend? --HPS From owner-freebsd-usb@freebsd.org Tue Aug 11 21:28:43 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id F1F6A99F76F for ; Tue, 11 Aug 2015 21:28:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DF316BF9 for ; Tue, 11 Aug 2015 21:28:43 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id t7BLShrQ027735 for ; Tue, 11 Aug 2015 21:28:43 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 202254] Upgrade Date: Tue, 11 Aug 2015 21:28:44 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.0-CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: Peank_punk@yahoo.com X-Bugzilla-Status: New X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2015 21:28:44 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=202254 Bug ID: 202254 Summary: Upgrade Product: Base System Version: 11.0-CURRENT Hardware: arm64 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: Peank_punk@yahoo.com -- You are receiving this mail because: You are the assignee for the bug. From owner-freebsd-usb@freebsd.org Wed Aug 12 07:20:52 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12EA999FF06; Wed, 12 Aug 2015 07:20:52 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-asmtp001.me.com (st13p21im-asmtp001.me.com [17.164.152.160]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC53BDE9; Wed, 12 Aug 2015 07:20:51 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-spool001.me.com ([17.164.152.254]) by st13p21im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NSY00HTGKEBJP10@st13p21im-asmtp001.me.com>; Wed, 12 Aug 2015 07:20:36 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-08-12_05:2015-08-11,2015-08-12,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1508120119 MIME-version: 1.0 Received: from localhost ([17.164.153.2]) by st13p21im-spool001.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NSY00AATKEB3H60@st13p21im-spool001.mac.com>; Wed, 12 Aug 2015 07:20:35 +0000 (GMT) To: freebsd-mobile@freebsd.org, freebsd-usb@freebsd.org From: Anders Bolt-Evensen Subject: Touchpad/trackpad not working Date: Wed, 12 Aug 2015 07:20:35 +0000 (GMT) X-Mailer: iCloud MailClient15D.7d472b3 MailServer15E43.20056 X-Originating-IP: [85.164.50.179] Message-id: <221c7aef-2b83-4ddb-8b58-dcead53afa0f@me.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2015 07:20:52 -0000 On Aug 11, 2015, at 05:04 PM, Hans Petter Selasky wrote:= =0A=0A> On 08/11/15 16:40, Anthony Jenkins via freebsd-usb wrote:=0A>>=0A>= > hid_is_mouse() is failing to tell that your Synaptics USB HID device is=0A= >> a mouse, but /only/ when there's no other USB (HID) device on that USB=0A= >> bus (usbus0). I suspect it has to do with the hid_get_item() warnings=0A= >> about chopping stuff off. I can't tell from the source code for=0A>> hi= d_get_item() (a 313-line function) why it's behaving that way, or why=0A>>= a totally different HID device (Logitech mouse) causes it to behave=0A>> = differently for this HID device (Synaptics touchpad). I've added=0A>> free= bsd-usb@ to see if they know what's going on.=0A>>=0A>> ajenkins@kubuntu-a= jenkins:~/Downloads$ grep usbus0=0A>> dmesg_with_external_usb.txt=0A>> usb= us0: waiting for BIOS to give up control=0A>> usbus0 on xhci0=0A>> random:= harvesting attach, 8 bytes (4 bits) from usbus0=0A>> usbus0: 5.0Gbps Supe= r Speed USB v3.0=0A>> ugen0.1: <0x8086> at usbus0=0A>> uhub0: <0x8086 XHCI= root HUB, class 9/0, rev 3.00/1.00, addr 1> on=0A>> usbus0=0A>> Root moun= t waiting for: usbus2 usbus1 usbus0=0A>> ugen0.2: at usbus0=0A>= > ukbd0: on=0A>= > usbus0=0A>> Root mount waiting for: usbus0=0A>> ugen0.3: at us= bus0=0A>> Root mount waiting for: usbus0=0A>> ugen0.4: at = usbus0=0A>> ugen0.5: at usbus0=0A>> Root mo= unt waiting for: usbus0=0A>> Root mount waiting for: usbus0=0A>> [snip]=0A= >> Root mount waiting for: usbus0=0A>> Root mount waiting for: usbus0=0A>>= ugen0.6: at usbus0 (disconnected)=0A>> ums0: on=0A>> usbus0=0A>> ums1: > 3> on usbus0=0A= >> uhid0: on=0A= >> usbus0=0A>>=0A>> What possessed the laptop manufacturer to hang the Syn= aptics touchpad=0A>> device off a USB 3.0 controller is beyond me... I hav= e problems booting=0A>> FreeBSD off USB 3.0 mass storage devices.=0A>>=0A>= =0A> Hi,=0A>=0A> Does your mouse only fail to work in X-org, or also the c= onsole?=0A>=0A> Run "usbdump -i usbusX -f Y -s 65536 -vvv" to catch USB ev= ents for=0A> ugenX.Y. That might give some further clues.=0A>=0A> If using= X.org, do you use hald or devd backend?=0A>=0A> --HPS=0A =0AIt fails in b= oth X-org and console.=0AIn X, recently I've only been using devd.=0AWhen = trying to use the command usbdump -i usbus0 -f 3 -s 65536 -vvv on my touch= pad (without any external usb receiver connected), nothing happens at all.= No left-click, no right-click, nothing. =0A=EF=BB=BF=0AHowever, if I inse= rt an external USB receiver and then reboot the computer, the touchpad wor= ks just fine in both console and in X-org.=0AIf I now do the command above= , since I've connected the receiver and done the reboot, I get the followi= ng output (just note that during the reboot, the address of the touchpad w= as changed from ugen0.3 to ugen0.4):=0Ahttps://www.dropbox.com/s/ktj757okc= q61ljc/usbdump_i_usbusX_f_Y_s_65536_vvv.txt?dl=3D0=0A=0AOn Aug 11, 2015, a= t 05:46 PM, Zoran Kolic wrote:=0A=0A> What do you have in = device.hints?=0A>=0A> Zoran=0A>=0A =0A/boot/device.hints has the following= contents:=0Ahint.fdc.0.at=3D"isa"=0Ahint.fdc.0.port=3D"0x3F0"=0Ahint.fdc.= 0.irq=3D"6"=0Ahint.fdc.0.drq=3D"2"=0Ahint.fd.0.at=3D"fdc0"=0Ahint.fd.0.dri= ve=3D"0"=0Ahint.fd.1.at=3D"fdc0"=0Ahint.fd.1.drive=3D"1"=0Ahint.atkbdc.0.a= t=3D"isa"=0Ahint.atkbdc.0.port=3D"0x060"=0Ahint.atkbd.0.at=3D"atkbdc"=0Ahi= nt.atkbd.0.irq=3D"1"=0Ahint.psm.0.at=3D"atkbdc"=0Ahint.psm.0.irq=3D"12"=0A= hint.sc.0.at=3D"isa"=0Ahint.sc.0.flags=3D"0x100"=0Ahint.uart.0.at=3D"isa"=0A= hint.uart.0.port=3D"0x3F8"=0Ahint.uart.0.flags=3D"0x10"=0Ahint.uart.0.irq=3D= "4"=0Ahint.uart.1.at=3D"isa"=0Ahint.uart.1.port=3D"0x2F8"=0Ahint.uart.1.ir= q=3D"3"=0Ahint.ppc.0.at=3D"isa"=0Ahint.ppc.0.irq=3D"7"=0Ahint.atrtc.0.at=3D= "isa"=0Ahint.atrtc.0.port=3D"0x70"=0Ahint.atrtc.0.irq=3D"8"=0Ahint.attimer= .0.at=3D"isa"=0Ahint.attimer.0.port=3D"0x40"=0Ahint.attimer.0.irq=3D"0"=0A= hint.wbwd.0.at=3D"isa"=0Ahint.acpi_throttle.0.disabled=3D"1"=0Ahint.p4tcc.= 0.disabled=3D"1"=0A=0A= From owner-freebsd-usb@freebsd.org Wed Aug 12 07:28:50 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B0D7C99F0B2 for ; Wed, 12 Aug 2015 07:28:50 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-asmtp001.me.com (st13p21im-asmtp001.me.com [17.164.152.160]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8256DFC for ; Wed, 12 Aug 2015 07:28:50 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-spool002.me.com ([17.164.152.255]) by st13p21im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NSY00H37KS1JP20@st13p21im-asmtp001.me.com> for freebsd-usb@freebsd.org; Wed, 12 Aug 2015 07:28:49 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-08-12_05:2015-08-11,2015-08-12,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1508120121 MIME-version: 1.0 Received: from localhost ([17.164.153.2]) by st13p21im-spool002.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NSY00AIEKS1GN60@st13p21im-spool002.mac.com> for freebsd-usb@freebsd.org; Wed, 12 Aug 2015 07:28:49 +0000 (GMT) To: freebsd-usb@freebsd.org From: Anders Bolt-Evensen Subject: Re: Touchpad/trackpad not working Date: Wed, 12 Aug 2015 07:28:48 +0000 (GMT) X-Mailer: iCloud MailClient15D.7d472b3 MailServer15E43.20056 X-Originating-IP: [85.164.50.179] Message-id: <2e74f58a-8e60-423a-b029-82bd6210dad7@me.com> In-reply-to: <55CA0F1C.6080205@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2015 07:28:50 -0000 =0A=0AOn Aug 11, 2015, at 05:03 PM, Hans Petter Selasky = wrote:=0A=0A> On 08/11/15 16:40, Anthony Jenkins via freebsd-usb wrote:=0A= >>=0A>> hid_is_mouse() is failing to tell that your Synaptics USB HID devi= ce is=0A>> a mouse, but /only/ when there's no other USB (HID) device on t= hat USB=0A>> bus (usbus0). I suspect it has to do with the hid_get_item() = warnings=0A>> about chopping stuff off. I can't tell from the source code = for=0A>> hid_get_item() (a 313-line function) why it's behaving that way, = or why=0A>> a totally different HID device (Logitech mouse) causes it to b= ehave=0A>> differently for this HID device (Synaptics touchpad). I've adde= d=0A>> freebsd-usb@ to see if they know what's going on.=0A>>=0A>> ajenkin= s@kubuntu-ajenkins:~/Downloads$ grep usbus0=0A>> dmesg_with_external_usb.t= xt=0A>> usbus0: waiting for BIOS to give up control=0A>> usbus0 on xhci0=0A= >> random: harvesting attach, 8 bytes (4 bits) from usbus0=0A>> usbus0: 5.= 0Gbps Super Speed USB v3.0=0A>> ugen0.1: <0x8086> at usbus0=0A>> uhub0: <0= x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on=0A>> usbus0=0A>>= Root mount waiting for: usbus2 usbus1 usbus0=0A>> ugen0.2: at = usbus0=0A>> ukbd0: on=0A>> usbus0=0A>> Root mount waiting for: usbus0=0A>> ugen0.3: at usbus0=0A>> Root mount waiting for: usbus0=0A>> ugen0.4: at usbus0=0A>> ugen0.5: at usbus0=0A= >> Root mount waiting for: usbus0=0A>> Root mount waiting for: usbus0=0A>>= [snip]=0A>> Root mount waiting for: usbus0=0A>> Root mount waiting for: u= sbus0=0A>> ugen0.6: at usbus0 (disconnected)=0A>> ums0: on=0A>> usbus0=0A>> ums= 1: > 3> o= n usbus0=0A>> uhid0: on=0A>> usbus0=0A>>=0A>> What possessed the laptop manufacturer to h= ang the Synaptics touchpad=0A>> device off a USB 3.0 controller is beyond = me... I have problems booting=0A>> FreeBSD off USB 3.0 mass storage device= s.=0A>>=0A>=0A> Hi,=0A>=0A> Does your mouse only fail to work in X-org, or= also the console?=0A>=0A> Run "usbdump -i usbusX -f Y -s 65536 -vvv" to c= atch USB events for=0A> ugenX.Y. That might give some further clues.=0A>=0A= > If using X.org, do you use hald or devd backend?=0A>=0A> --HPS=0A =EF=BB= =BF=0AIt fails in both X-org and console.=0AIn X, recently I've only been = using devd.=0AWhen trying to use the command usbdump -i usbus0 -f 3 -s 655= 36 -vvv on my touchpad (without any external usb receiver connected), noth= ing happens at all. No left-click, no right-click, nothing. =0A=0AHowever,= if I insert an external USB receiver and then reboot the computer, the to= uchpad works just fine in both console and in X-org.=0AIf I now do the com= mand above, since I've connected the receiver and done the reboot, I get t= he following output (just note that during the reboot, the address of the = touchpad was changed from ugen0.3 to ugen0.4):=0Ahttps://www.dropbox.com/s= /ktj757okcq61ljc/usbdump_i_usbusX_f_Y_s_65536_vvv.txt?dl=3D0=0A=0AOn Aug 1= 1, 2015, at 05:46 PM, Zoran Kolic wrote:=0A=0A> What do yo= u have in device.hints?=0A>=0A> Zoran=0A>=0A =0A/boot/device.hints has the= following contents:=0Ahint.fdc.0.at=3D"isa"=0Ahint.fdc.0.port=3D"0x3F0"=0A= hint.fdc.0.irq=3D"6"=0Ahint.fdc.0.drq=3D"2"=0Ahint.fd.0.at=3D"fdc0"=0Ahint= .fd.0.drive=3D"0"=0Ahint.fd.1.at=3D"fdc0"=0Ahint.fd.1.drive=3D"1"=0Ahint.a= tkbdc.0.at=3D"isa"=0Ahint.atkbdc.0.port=3D"0x060"=0Ahint.atkbd.0.at=3D"atk= bdc"=0Ahint.atkbd.0.irq=3D"1"=0Ahint.psm.0.at=3D"atkbdc"=0Ahint.psm.0.irq=3D= "12"=0Ahint.sc.0.at=3D"isa"=0Ahint.sc.0.flags=3D"0x100"=0Ahint.uart.0.at=3D= "isa"=0Ahint.uart.0.port=3D"0x3F8"=0Ahint.uart.0.flags=3D"0x10"=0Ahint.uar= t.0.irq=3D"4"=0Ahint.uart.1.at=3D"isa"=0Ahint.uart.1.port=3D"0x2F8"=0Ahint= .uart.1.irq=3D"3"=0Ahint.ppc.0.at=3D"isa"=0Ahint.ppc.0.irq=3D"7"=0Ahint.at= rtc.0.at=3D"isa"=0Ahint.atrtc.0.port=3D"0x70"=0Ahint.atrtc.0.irq=3D"8"=0Ah= int.attimer.0.at=3D"isa"=0Ahint.attimer.0.port=3D"0x40"=0Ahint.attimer.0.i= rq=3D"0"=0Ahint.wbwd.0.at=3D"isa"=0Ahint.acpi_throttle.0.disabled=3D"1"=0A= hint.p4tcc.0.disabled=3D"1"= From owner-freebsd-usb@freebsd.org Wed Aug 12 07:56:33 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 546A399F957 for ; Wed, 12 Aug 2015 07:56:33 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5FF6EB7 for ; Wed, 12 Aug 2015 07:56:32 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id D3E4E1FE023; Wed, 12 Aug 2015 09:56:28 +0200 (CEST) Subject: Re: Touchpad/trackpad not working To: Anders Bolt-Evensen , freebsd-usb@freebsd.org References: <2e74f58a-8e60-423a-b029-82bd6210dad7@me.com> From: Hans Petter Selasky Message-ID: <55CAFC85.2030806@selasky.org> Date: Wed, 12 Aug 2015 09:57:57 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <2e74f58a-8e60-423a-b029-82bd6210dad7@me.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2015 07:56:33 -0000 On 08/12/15 09:28, Anders Bolt-Evensen wrote: > > > On Aug 11, 2015, at 05:03 PM, Hans Petter Selasky wrote: > >> On 08/11/15 16:40, Anthony Jenkins via freebsd-usb wrote: >>> >>> hid_is_mouse() is failing to tell that your Synaptics USB HID device is >>> a mouse, but /only/ when there's no other USB (HID) device on that USB >>> bus (usbus0). I suspect it has to do with the hid_get_item() warnings >>> about chopping stuff off. I can't tell from the source code for >>> hid_get_item() (a 313-line function) why it's behaving that way, or why >>> a totally different HID device (Logitech mouse) causes it to behave >>> differently for this HID device (Synaptics touchpad). I've added >>> freebsd-usb@ to see if they know what's going on. >>> >>> ajenkins@kubuntu-ajenkins:~/Downloads$ grep usbus0 >>> dmesg_with_external_usb.txt >>> usbus0: waiting for BIOS to give up control >>> usbus0 on xhci0 >>> random: harvesting attach, 8 bytes (4 bits) from usbus0 >>> usbus0: 5.0Gbps Super Speed USB v3.0 >>> ugen0.1: <0x8086> at usbus0 >>> uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on >>> usbus0 >>> Root mount waiting for: usbus2 usbus1 usbus0 >>> ugen0.2: at usbus0 >>> ukbd0: on >>> usbus0 >>> Root mount waiting for: usbus0 >>> ugen0.3: at usbus0 >>> Root mount waiting for: usbus0 >>> ugen0.4: at usbus0 >>> ugen0.5: at usbus0 >>> Root mount waiting for: usbus0 >>> Root mount waiting for: usbus0 >>> [snip] >>> Root mount waiting for: usbus0 >>> Root mount waiting for: usbus0 >>> ugen0.6: at usbus0 (disconnected) >>> ums0: on >>> usbus0 >>> ums1: >> 3> on usbus0 >>> uhid0: on >>> usbus0 >>> >>> What possessed the laptop manufacturer to hang the Synaptics touchpad >>> device off a USB 3.0 controller is beyond me... I have problems booting >>> FreeBSD off USB 3.0 mass storage devices. >>> >> >> Hi, >> >> Does your mouse only fail to work in X-org, or also the console? >> >> Run "usbdump -i usbusX -f Y -s 65536 -vvv" to catch USB events for >> ugenX.Y. That might give some further clues. >> >> If using X.org, do you use hald or devd backend? >> >> --HPS >  > It fails in both X-org and console. > In X, recently I've only been using devd. > When trying to use the command usbdump -i usbus0 -f 3 -s 65536 -vvv on > my touchpad (without any external usb receiver connected), nothing > happens at all. No left-click, no right-click, nothing. > However, if I insert an external USB receiver and then reboot the > computer, the touchpad works just fine in both console and in X-org. > If I now do the command above, since I've connected the receiver and > done the reboot, I get the following output (just note that during the > reboot, the address of the touchpad was changed from ugen0.3 to ugen0.4): > https://www.dropbox.com/s/ktj757okcq61ljc/usbdump_i_usbusX_f_Y_s_65536_vvv.txt?dl=0 > > > On Aug 11, 2015, at 05:46 PM, Zoran Kolic wrote: > >> What do you have in device.hints? >> >> Zoran >> When you don't see any activity, can you issue a reset of the touchpad: usbconfig -d X.Y reset while "usbdump" is running on the same device? --HPS From owner-freebsd-usb@freebsd.org Wed Aug 12 09:31:18 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6899499E768 for ; Wed, 12 Aug 2015 09:31:18 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-asmtp001.me.com (st13p21im-asmtp001.me.com [17.164.152.160]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 30209EF for ; Wed, 12 Aug 2015 09:31:18 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-spool001.me.com ([17.164.152.254]) by st13p21im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NSY004PDQG3G910@st13p21im-asmtp001.me.com> for freebsd-usb@freebsd.org; Wed, 12 Aug 2015 09:31:17 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-08-12_05:2015-08-11,2015-08-12,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1508120140 MIME-version: 1.0 Received: from localhost ([17.164.153.2]) by st13p21im-spool001.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NSY0060OQG3PJ10@st13p21im-spool001.mac.com> for freebsd-usb@freebsd.org; Wed, 12 Aug 2015 09:31:15 +0000 (GMT) To: freebsd-usb@freebsd.org From: Anders Bolt-Evensen Subject: Re: Touchpad/trackpad not working Date: Wed, 12 Aug 2015 09:31:14 +0000 (GMT) X-Mailer: iCloud MailClient15D.7d472b3 MailServer15E43.20056 X-Originating-IP: [85.164.50.179] Message-id: <08090d18-0301-4f60-b898-647e3d09bd46@me.com> In-reply-to: <55CAFC85.2030806@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2015 09:31:18 -0000 =0A=0AOn Aug 12, 2015, at 09:56 AM, Hans Petter Selasky = wrote:=0A=0A> On 08/12/15 09:28, Anders Bolt-Evensen wrote:=0A>>=0A>>=0A>>= On Aug 11, 2015, at 05:03 PM, Hans Petter Selasky wrote= :=0A>>=0A>>> On 08/11/15 16:40, Anthony Jenkins via freebsd-usb wrote:=0A>= >>>=0A>>>> hid_is_mouse() is failing to tell that your Synaptics USB HID d= evice is=0A>>>> a mouse, but /only/ when there's no other USB (HID) device= on that USB=0A>>>> bus (usbus0). I suspect it has to do with the hid_get_= item() warnings=0A>>>> about chopping stuff off. I can't tell from the sou= rce code for=0A>>>> hid_get_item() (a 313-line function) why it's behaving= that way, or why=0A>>>> a totally different HID device (Logitech mouse) c= auses it to behave=0A>>>> differently for this HID device (Synaptics touch= pad). I've added=0A>>>> freebsd-usb@ to see if they know what's going on.=0A= >>>>=0A>>>> ajenkins@kubuntu-ajenkins:~/Downloads$ grep usbus0=0A>>>> dmes= g_with_external_usb.txt=0A>>>> usbus0: waiting for BIOS to give up control= =0A>>>> usbus0 on xhci0=0A>>>> random: harvesting attach, 8 bytes (4 bits)= from usbus0=0A>>>> usbus0: 5.0Gbps Super Speed USB v3.0=0A>>>> ugen0.1: <= 0x8086> at usbus0=0A>>>> uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00= /1.00, addr 1> on=0A>>>> usbus0=0A>>>> Root mount waiting for: usbus2 usbu= s1 usbus0=0A>>>> ugen0.2: at usbus0=0A>>>> ukbd0: on=0A>>>> usbus0=0A>>>> Root= mount waiting for: usbus0=0A>>>> ugen0.3: at usbus0=0A>>>> Root= mount waiting for: usbus0=0A>>>> ugen0.4: at usbus0=0A>>>= > ugen0.5: at usbus0=0A>>>> Root mount wait= ing for: usbus0=0A>>>> Root mount waiting for: usbus0=0A>>>> [snip]=0A>>>>= Root mount waiting for: usbus0=0A>>>> Root mount waiting for: usbus0=0A>>= >> ugen0.6: at usbus0 (disconnected)=0A>>>> ums0: on=0A>>>> usbus0=0A>>>> ums1:= >>> 3> o= n usbus0=0A>>>> uhid0: on=0A>>>> usbus0=0A>>>>=0A>>>> What possessed the laptop manufactu= rer to hang the Synaptics touchpad=0A>>>> device off a USB 3.0 controller = is beyond me... I have problems booting=0A>>>> FreeBSD off USB 3.0 mass st= orage devices.=0A>>>>=0A>>>=0A>>> Hi,=0A>>>=0A>>> Does your mouse only fai= l to work in X-org, or also the console?=0A>>>=0A>>> Run "usbdump -i usbus= X -f Y -s 65536 -vvv" to catch USB events for=0A>>> ugenX.Y. That might gi= ve some further clues.=0A>>>=0A>>> If using X.org, do you use hald or devd= backend?=0A>>>=0A>>> --HPS=0A>> =EF=BB=BF=0A>> It fails in both X-org and= console.=0A>> In X, recently I've only been using devd.=0A>> When trying = to use the command usbdump -i usbus0 -f 3 -s 65536 -vvv on=0A>> my touchpa= d (without any external usb receiver connected), nothing=0A>> happens at a= ll. No left-click, no right-click, nothing.=0A>> However, if I insert an e= xternal USB receiver and then reboot the=0A>> computer, the touchpad works= just fine in both console and in X-org.=0A>> If I now do the command abov= e, since I've connected the receiver and=0A>> done the reboot, I get the f= ollowing output (just note that during the=0A>> reboot, the address of the= touchpad was changed from ugen0.3 to ugen0.4):=0A>> https://www.dropbox.c= om/s/ktj757okcq61ljc/usbdump_i_usbusX_f_Y_s_65536_vvv.txt?dl=3D0=0A>> =0A= >>=0A>>=0A>> On Aug 11, 2015, at 05:46 PM, Zoran Kolic wro= te:=0A>>=0A>>> What do you have in device.hints?=0A>>>=0A>>> Zoran=0A>>>=0A= >=0A> When you don't see any activity, can you issue a reset of the touchp= ad:=0A>=0A> usbconfig -d X.Y reset=0A>=0A> while "usbdump" is running on t= he same device?=0A>=0A> --HPS=0A =0ASure. =EF=BB=BF=0Ausbconfig -d 0.3 res= et results in the following output from the usbdump command:=0A11:24:32.12= 1246 usbus0.3 SUBM-CTRL-EP=3D00000000,SPD=3DFULL,NFR=3D1,SLEN=3D8,IVAL=3D0= =0A frame[0] WRITE 8 bytes=0A 0000 00 09 00 00 00 00 00 00 -- -- -- -- -= - -- -- -- |........ |=0A flags 0x10 =0A status 0x= ca1a3 =0A11:24:32.121619 usbus0.3 DONE-C= TRL-EP=3D00000000,SPD=3DFULL,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0=0A frame[0]= WRITE 8 bytes=0A flags 0x10 =0A status 0xca1a1 =0A11:24:32.499707 usbus0.3 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,= NFR=3D2,SLEN=3D8,IVAL=3D0=0A frame[0] WRITE 8 bytes=0A 0000 80 06 00 01 0= 0 00 08 00 -- -- -- -- -- -- -- -- |........ |=0A frame[1] READ 8= bytes=0A flags 0x10 =0A status 0xea1a3 =0A11:24:32.501363 usbus0.3 DONE-CTRL-EP=3D00= 000080,SPD=3DFULL,NFR=3D2,SLEN=3D8,IVAL=3D0,ERR=3D0=0A frame[0] WRITE 8 by= tes=0A frame[1] READ 8 bytes=0A 0000 12 01 00 02 00 00 00 08 -- -- -- --= -- -- -- -- |........ |=0A flags 0x10 =0A status = 0xea1a1 =0A11:24:32.501467 usbus0.3 SUBM= -CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN=3D8,IVAL=3D0=0A frame[0] WRITE= 8 bytes=0A 0000 80 06 00 01 00 00 12 00 -- -- -- -- -- -- -- -- |.....= ... |=0A frame[1] READ 18 bytes=0A flags 0x10 =0A s= tatus 0xca1a3 =0A11:24:32.502123 usbus0.= 3 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN=3D20,IVAL=3D0,ERR=3D0=0A= frame[0] WRITE 8 bytes=0A frame[1] READ 18 bytes=0A 0000 12 01 00 02 00 = 00 00 08 CB 06 70 29 08 00 01 02 |..........p)....|=0A 0010 00 01 -- --= -- -- -- -- -- -- -- -- -- -- -- -- |.. |=0A flags 0x10 =0A status 0xca1a1 =0A11:24:32.502231 u= sbus0.3 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN=3D8,IVAL=3D0=0A fr= ame[0] WRITE 8 bytes=0A 0000 80 06 00 02 00 00 09 00 -- -- -- -- -- -- -= - -- |........ |=0A frame[1] READ 9 bytes=0A flags 0x10 =0A status 0xea1a3 =0A= 11:24:32.502630 usbus0.3 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN=3D= 12,IVAL=3D0,ERR=3D0=0A frame[0] WRITE 8 bytes=0A frame[1] READ 9 bytes=0A = 0000 09 02 29 00 01 01 00 A0 32 -- -- -- -- -- -- -- |..).....2 |= =0A flags 0x10 =0A status 0xea1a1 =0A11:24:32.502735 usbus0.3 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,N= FR=3D2,SLEN=3D8,IVAL=3D0=0A frame[0] WRITE 8 bytes=0A 0000 80 06 00 02 00= 00 29 00 -- -- -- -- -- -- -- -- |......). |=0A frame[1] READ 41= bytes=0A flags 0x10 =0A status 0xca1a3 =0A11:24:32.503373 usbus0.3 DONE-CTRL-EP=3D00000080,SPD=3D= FULL,NFR=3D2,SLEN=3D44,IVAL=3D0,ERR=3D0=0A frame[0] WRITE 8 bytes=0A frame= [1] READ 41 bytes=0A 0000 09 02 29 00 01 01 00 A0 32 09 04 00 00 02 03 0= 0 |..).....2.......|=0A 0010 00 00 09 21 11 01 00 01 22 A1 01 07 05 81 = 03 40 |...!...."......@|=0A 0020 00 01 07 05 02 03 40 00 0A -- -- -- --= -- -- -- |......@.. |=0A flags 0x10 =0A status 0xc= a1a1 =0A11:24:32.503618 usbus0.3 SUBM-CTRL-EP=3D00000= 000,SPD=3DFULL,NFR=3D1,SLEN=3D8,IVAL=3D0=0A frame[0] WRITE 8 bytes=0A 0000= 00 09 01 00 00 00 00 00 -- -- -- -- -- -- -- -- |........ |=0A = flags 0x10 =0A status 0xea1a3 =0A11:24:32.604460 usbus0.3 DONE-CTRL-EP=3D00000000,SPD= =3DFULL,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0=0A frame[0] WRITE 8 bytes=0A fla= gs 0x10 =0A status 0xea1a1 =0A11:24:32.604968 usbus0.3 SUBM-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,= SLEN=3D8,IVAL=3D0=0A frame[0] WRITE 8 bytes=0A 0000 81 06 00 22 00 00 A1 = 01 -- -- -- -- -- -- -- -- |...".... |=0A frame[1] READ 417 bytes= =0A flags 0x10 =0A status 0xca1a3 =0A11:24:32.627494 usbus0.3 DONE-CTRL-EP=3D00000080,SPD=3DFULL,N= FR=3D2,SLEN=3D420,IVAL=3D0,ERR=3D0=0A frame[0] WRITE 8 bytes=0A frame[1] R= EAD 417 bytes=0A 0000 05 01 09 02 A1 01 85 02 09 01 A1 00 05 09 19 01 |= ................|=0A 0010 29 02 15 00 25 01 75 01 95 02 81 02 95 06 81 0= 1 |)...%.u.........|=0A 0020 05 01 09 30 09 31 15 81 25 7F 75 08 95 02 = 81 06 |...0.1..%.u.....|=0A 0030 C0 C0 05 0D 09 05 A1 01 85 03 09 22 A1= 02 15 00 |..........."....|=0A 0040 25 01 09 47 09 42 95 02 75 01 81 0= 2 95 01 75 03 |%..G.B..u.....u.|=0A 0050 25 05 09 51 81 02 75 01 95 03 = 81 03 05 01 15 00 |%..Q..u.........|=0A 0060 26 D4 04 75 10 55 0E 65 11= 09 30 35 00 46 06 04 |&..u.U.e..05.F..|=0A 0070 95 01 81 02 46 EC 02 26= 82 03 09 31 81 02 05 0D |....F..&...1....|=0A 0080 C0 55 0C 66 01 10 4= 7 FF FF 00 00 27 FF FF 00 00 |.U.f..G....'....|=0A 0090 75 10 95 01 09 = 56 81 02 09 54 25 7F 95 01 75 08 |u....V...T%...u.|=0A 00A0 81 02 05 09= 09 01 25 01 75 01 95 01 81 02 95 07 |......%.u.......|=0A 00B0 81 03 0= 5 0D 85 08 09 55 09 59 75 04 95 02 25 0F |.......U.Yu...%.|=0A 00C0 B1 = 02 85 0D 09 60 75 01 95 01 15 00 25 01 B1 02 |.....`u.....%...|=0A 00D0 = 95 07 B1 03 85 07 06 00 FF 09 C5 15 00 26 FF 00 |.............&..|=0A 0= 0E0 75 08 96 00 01 B1 02 C0 05 0D 09 0E A1 01 85 04 |u...............|=0A= 00F0 09 22 A1 02 09 52 15 00 25 0A 75 08 95 01 B1 02 |."...R..%.u.....= |=0A 0100 C0 09 22 A1 00 85 06 09 57 09 58 75 01 95 02 25 |..".....W.Xu= ...%|=0A 0110 01 B1 02 95 06 B1 03 C0 C0 06 00 FF 09 01 A1 01 |........= ........|=0A 0120 85 09 09 02 15 00 26 FF 00 75 08 95 14 91 02 85 |....= ..&..u......|=0A 0130 0A 09 03 15 00 26 FF 00 75 08 95 14 91 02 85 0B |= .....&..u.......|=0A 0140 09 04 15 00 26 FF 00 75 08 95 23 81 02 85 0C 0= 9 |....&..u..#.....|=0A 0150 05 15 00 26 FF 00 75 08 95 23 81 02 85 0F = 09 06 |...&..u..#......|=0A 0160 15 00 26 FF 00 75 08 95 01 B1 02 85 0E= 09 07 15 |..&..u..........|=0A 0170 00 26 FF 00 75 08 95 01 B1 02 C0 0= 6 EE FF 09 01 |.&..u...........|=0A 0180 A1 01 85 EE 09 02 15 00 26 FF = 00 75 08 95 04 91 |........&..u....|=0A 0190 02 85 EF 09 02 15 00 26 FF= 00 75 08 95 10 B1 02 |.......&..u.....|=0A 01A0 C0 -- -- -- -- -- -- --= -- -- -- -- -- -- -- -- |. |=0A flags 0x10 =0A status 0xca1a1 =0A11:24:32.627762 usbus0.3 SUBM= -CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN=3D8,IVAL=3D0=0A frame[0] WRITE= 8 bytes=0A 0000 81 06 00 22 00 00 A1 01 -- -- -- -- -- -- -- -- |...".= ... |=0A frame[1] READ 417 bytes=0A flags 0x10 =0A = status 0xea1a3 =0A11:24:32.= 650229 usbus0.3 DONE-CTRL-EP=3D00000080,SPD=3DFULL,NFR=3D2,SLEN=3D420,IVAL= =3D0,ERR=3D0=0A frame[0] WRITE 8 bytes=0A frame[1] READ 417 bytes=0A 0000 = 05 01 09 02 A1 01 85 02 09 01 A1 00 05 09 19 01 |................|=0A 0= 010 29 02 15 00 25 01 75 01 95 02 81 02 95 06 81 01 |)...%.u.........|=0A= 0020 05 01 09 30 09 31 15 81 25 7F 75 08 95 02 81 06 |...0.1..%.u.....= |=0A 0030 C0 C0 05 0D 09 05 A1 01 85 03 09 22 A1 02 15 00 |..........."= ....|=0A 0040 25 01 09 47 09 42 95 02 75 01 81 02 95 01 75 03 |%..G.B..= u.....u.|=0A 0050 25 05 09 51 81 02 75 01 95 03 81 03 05 01 15 00 |%..Q= ..u.........|=0A 0060 26 D4 04 75 10 55 0E 65 11 09 30 35 00 46 06 04 |= &..u.U.e..05.F..|=0A 0070 95 01 81 02 46 EC 02 26 82 03 09 31 81 02 05 0= D |....F..&...1....|=0A 0080 C0 55 0C 66 01 10 47 FF FF 00 00 27 FF FF = 00 00 |.U.f..G....'....|=0A 0090 75 10 95 01 09 56 81 02 09 54 25 7F 95= 01 75 08 |u....V...T%...u.|=0A 00A0 81 02 05 09 09 01 25 01 75 01 95 0= 1 81 02 95 07 |......%.u.......|=0A 00B0 81 03 05 0D 85 08 09 55 09 59 = 75 04 95 02 25 0F |.......U.Yu...%.|=0A 00C0 B1 02 85 0D 09 60 75 01 95= 01 15 00 25 01 B1 02 |.....`u.....%...|=0A 00D0 95 07 B1 03 85 07 06 00= FF 09 C5 15 00 26 FF 00 |.............&..|=0A 00E0 75 08 96 00 01 B1 0= 2 C0 05 0D 09 0E A1 01 85 04 |u...............|=0A 00F0 09 22 A1 02 09 = 52 15 00 25 0A 75 08 95 01 B1 02 |."...R..%.u.....|=0A 0100 C0 09 22 A1= 00 85 06 09 57 09 58 75 01 95 02 25 |..".....W.Xu...%|=0A 0110 01 B1 0= 2 95 06 B1 03 C0 C0 06 00 FF 09 01 A1 01 |................|=0A 0120 85 = 09 09 02 15 00 26 FF 00 75 08 95 14 91 02 85 |......&..u......|=0A 0130 = 0A 09 03 15 00 26 FF 00 75 08 95 14 91 02 85 0B |.....&..u.......|=0A 0= 140 09 04 15 00 26 FF 00 75 08 95 23 81 02 85 0C 09 |....&..u..#.....|=0A= 0150 05 15 00 26 FF 00 75 08 95 23 81 02 85 0F 09 06 |...&..u..#......= |=0A 0160 15 00 26 FF 00 75 08 95 01 B1 02 85 0E 09 07 15 |..&..u......= ....|=0A 0170 00 26 FF 00 75 08 95 01 B1 02 C0 06 EE FF 09 01 |.&..u...= ........|=0A 0180 A1 01 85 EE 09 02 15 00 26 FF 00 75 08 95 04 91 |....= ....&..u....|=0A 0190 02 85 EF 09 02 15 00 26 FF 00 75 08 95 10 B1 02 |= .......&..u.....|=0A 01A0 C0 -- -- -- -- -- -- -- -- -- -- -- -- -- -- -= - |. |=0A flags 0x10 =0A status 0xea1a1 =0A11:24:32.650336 usbus0.3 SUBM-CTRL-EP=3D= 00000000,SPD=3DFULL,NFR=3D1,SLEN=3D8,IVAL=3D0=0A frame[0] WRITE 8 bytes=0A= 0000 21 0A 00 00 00 00 00 00 -- -- -- -- -- -- -- -- |!....... = |=0A flags 0x10 =0A status 0xca1a3 =0A11:24:32.652030 usbus0.3 DONE-CTRL-EP=3D00000000,SPD=3DFULL,= NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3DSTALLED=0A frame[0] WRITE 8 bytes=0A flags= 0x10 =0A status 0x8a1a5 =0A= From owner-freebsd-usb@freebsd.org Wed Aug 12 10:31:27 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4B8C69A076D for ; Wed, 12 Aug 2015 10:31:27 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 12B78DF for ; Wed, 12 Aug 2015 10:31:27 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id E053F1FE023; Wed, 12 Aug 2015 12:31:24 +0200 (CEST) Subject: Re: Touchpad/trackpad not working To: Anders Bolt-Evensen , freebsd-usb@freebsd.org References: <08090d18-0301-4f60-b898-647e3d09bd46@me.com> From: Hans Petter Selasky Message-ID: <55CB20D5.2030005@selasky.org> Date: Wed, 12 Aug 2015 12:32:53 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <08090d18-0301-4f60-b898-647e3d09bd46@me.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2015 10:31:27 -0000 On 08/12/15 11:31, Anders Bolt-Evensen wrote: >> >> When you don't see any activity, can you issue a reset of the touchpad: >> >> usbconfig -d X.Y reset >> >> while "usbdump" is running on the same device? >> >> --HPS > > Sure.  > usbconfig -d 0.3 reset results in the following output from the usbdump > command: Can you run: sysctl hw.usb.ums.debug=15 Then re-run the "usbconfig -d X.Y reset" and send resulting dmesg? --HPS From owner-freebsd-usb@freebsd.org Wed Aug 12 11:08:18 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CE8019A0DE9 for ; Wed, 12 Aug 2015 11:08:18 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 93E4520E for ; Wed, 12 Aug 2015 11:08:18 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 6C3771FE023; Wed, 12 Aug 2015 13:08:16 +0200 (CEST) Subject: Re: Touchpad/trackpad not working To: Anders Bolt-Evensen , freebsd-usb@freebsd.org References: <08090d18-0301-4f60-b898-647e3d09bd46@me.com> <55CB20D5.2030005@selasky.org> From: Hans Petter Selasky Message-ID: <55CB2978.2090903@selasky.org> Date: Wed, 12 Aug 2015 13:09:44 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55CB20D5.2030005@selasky.org> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2015 11:08:18 -0000 On 08/12/15 12:32, Hans Petter Selasky wrote: > On 08/12/15 11:31, Anders Bolt-Evensen wrote: >>> >>> When you don't see any activity, can you issue a reset of the touchpad: >>> >>> usbconfig -d X.Y reset >>> >>> while "usbdump" is running on the same device? >>> >>> --HPS >> >> Sure.  >> usbconfig -d 0.3 reset results in the following output from the usbdump >> command: > > Can you run: > > sysctl hw.usb.ums.debug=15 > > Then re-run the "usbconfig -d X.Y reset" and send resulting dmesg? > > --HPS Hi, The issue might be that the BIOS is re-programming the USB device somehow. I see the HID descriptor has support for different modes, and possible the device is not re-setting its internal state upon re-enumeration. You can try: usbconfig -d X.Y power_off usbconfig -d X.Y reset Maybe if you disable USB legacy support in the BIOS it will work. BTW: The log you sent appears to be from a USB keyboard only device and not a USB mouse! Also try: kldload ums Can you send output from: usbconfig show_ifdrv usbconfig dump_device_desc dump_curr_config_desc When it works and when it doesn't work? Output from dmesg is also appreciated. --HPS From owner-freebsd-usb@freebsd.org Wed Aug 12 20:49:44 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id CCE719ABDCD for ; Wed, 12 Aug 2015 20:49:44 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-asmtp001.me.com (st13p21im-asmtp001.me.com [17.164.152.160]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9F1AEAD9 for ; Wed, 12 Aug 2015 20:49:44 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-spool002.me.com ([17.164.152.255]) by st13p21im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NSZ002ZSLUUBT30@st13p21im-asmtp001.me.com> for freebsd-usb@freebsd.org; Wed, 12 Aug 2015 20:49:43 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-08-12_11:2015-08-12,2015-08-12,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=1 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1508120295 MIME-version: 1.0 Received: from localhost ([17.164.153.2]) by st13p21im-spool002.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NSZ003MYLUUEG70@st13p21im-spool002.mac.com> for freebsd-usb@freebsd.org; Wed, 12 Aug 2015 20:49:42 +0000 (GMT) To: freebsd-usb@freebsd.org From: Anders Bolt-Evensen Subject: Touchpad/trackpad not working Date: Wed, 12 Aug 2015 20:49:41 +0000 (GMT) X-Mailer: iCloud MailClient15D.7d472b3 MailServer15E43.20056 X-Originating-IP: [85.164.50.179] Message-id: <7f4f987c-716f-4350-adbf-a9e85823da28@me.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2015 20:49:45 -0000 =0A=0AOn Aug 12, 2015, at 01:08 PM, Hans Petter Selasky = wrote:=0A=0A> On 08/12/15 12:32, Hans Petter Selasky wrote:=0A>> On 08/12/= 15 11:31, Anders Bolt-Evensen wrote:=0A>>>>=0A>>>> When you don't see any = activity, can you issue a reset of the touchpad:=0A>>>>=0A>>>> usbconfig -= d X.Y reset=0A>>>>=0A>>>> while "usbdump" is running on the same device?=0A= >>>>=0A>>>> --HPS=0A>>>=0A>>> Sure. =EF=BB=BF=0A>>> usbconfig -d 0.3 reset= results in the following output from the usbdump=0A>>> command:=0A>>=0A>>= Can you run:=0A>>=0A>> sysctl hw.usb.ums.debug=3D15=0A>>=0A>> Then re-run= the "usbconfig -d X.Y reset" and send resulting dmesg?=0A>>=0A>> --HPS=0A= >=0A> Hi,=0A>=0A> The issue might be that the BIOS is re-programming the U= SB device=0A> somehow. I see the HID descriptor has support for different = modes, and=0A> possible the device is not re-setting its internal state up= on=0A> re-enumeration. You can try:=0A>=0A> usbconfig -d X.Y power_off=0A>= usbconfig -d X.Y reset=0A>=0A> Maybe if you disable USB legacy support in= the BIOS it will work.=0ASadly, there is no such thing in the BIOS of thi= s computer (an Acer Aspire VN7-791G).=0AThe only legacy thing in this BIOS= is to choose between UEFI (which I'm using) and the older CSM.=0AI cannot= see anything related to USB in this BIOS other than in the boot order and= in that case I can only choose the boot order of USB storage devices.=0A=0A= >=0A>=0A> BTW: The log you sent appears to be from a USB keyboard only dev= ice and=0A> not a USB mouse!=0A>=0A> Also try:=0A>=0A> kldload ums=0A>=0A>= Can you send output from:=0A>=0A> usbconfig show_ifdrv=0A Here is the out= put of usbconfig show_ifdrv:=0Augen0.1: at usbus0, = cfg=3D0 md=3DHOST spd=3DSUPER (5.0Gbps) pwr=3DSAVE (0mA)=0Augen0.1.0: uhub= 0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1>=0Augen1.1: at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3D= SAVE (0mA)=0Augen1.1.0: uhub1: =0Augen2.1: at usbus2, cfg=3D0 md=3DHOST= spd=3DHIGH (480Mbps) pwr=3DSAVE (0mA)=0Augen2.1.0: uhub2: =0Augen0.2: a= t usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON (500mA)=0Augen1.= 2: at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH = (480Mbps) pwr=3DSAVE (0mA)=0Augen1.2.0: uhub3: =0Augen2.2: at usbus2, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DSAVE (0mA)=0A= ugen2.2.0: uhub4: =0Augen0.3: at usbus0, cfg=3D0 md=3D= HOST spd=3DFULL (12Mbps) pwr=3DON (100mA)=0Augen0.3.0: uhid0: =0Augen0.4: at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (48= 0Mbps) pwr=3DON (500mA)=0A=0A>=0A>=0A> usbconfig dump_device_desc dump_cur= r_config_desc=0A=0A>=0A>=0A> When it works and when it doesn't work?=0A =0A= When the touchpad is not working, here is the output of usbconfig dump_dev= ice_desc dump_curr_config_desc:=0Ahttps://www.dropbox.com/s/utllovfkamnqi9= p/usbconfig_dump_device_desc_curr_config_desc_not_working.txt?dl=3D0=0A=0A= Now, I connected the external USB receiver and rebooted the system. Now, b= ecause the external device is connected, the touchpad works just fine. Her= e is the output of usbconfig dump_device_desc dump_curr_config_desc:=0Ahtt= ps://www.dropbox.com/s/r3pnqsk9aul1z8e/usbconfig_dump_device_desc_curr_con= fig_desc_working.txt?dl=3D0=0A>=0A>=0A> Output from dmesg is also apprecia= ted.=0AOutput of the verbose boot messages without the external mouse:=0Ah= ttps://www.dropbox.com/s/ukpoyg6rsl3jjgd/dmesg_without_external_usb.txt?dl= =3D0=0A=0AOutput of the verbose boot messages with the external mouse:=0Ah= ttps://www.dropbox.com/s/uga7p5zlxh7knsj/dmesg_with_external_usb.txt?dl=3D= 0=0A=0A> Can you run:=0A>=0A> sysctl hw.usb.ums.debug=3D15=0A>=0A> Then re= -run the "usbconfig -d X.Y reset" and send resulting dmesg?=0AIf I run sys= ctl.hw.usb.ums.debug=3D15 without the external USB device, sysctl returns:= =0Asysctl: unknown oid 'hw.usb.ums.debug': No such file or directory. I de= cided to go ahead and run the other commands (usbconfig -d 0.3 reset) and = post the resulting messages from dmesg:=0Auhid0: at uhub0, port 7, addr 2 = (disconnected)=0Ahid_get_item: Number of items truncated to 255=0Auhid0: <= vendor 0x06cb product 0x2970, class 0/0, rev 2.00/0.08, addr 2> on usbus0=0A= hid_get_item: Number of items truncated to 255=0Ahid_get_item: Number of i= tems truncated to 255=0Ahid_get_item: Number of items truncated to 255=0Ar= andom: harvesting attach, 8 bytes (4 bits) from uhid0=0A=0AFull output fro= m lsusb without the external usb receiver:=0ABus /dev/usb Device /dev/ugen= 0.4: ID 04f2:b474 Chicony Electronics Co., Ltd=0ABus /dev/usb Device /dev/= ugen0.3: ID 06cb:2970 Synaptics, Inc.=0ABus /dev/usb Device /dev/ugen2.2: = ID 8087:8000 =0ABus /dev/usb Device /dev/ugen1.2: ID 8087:8008 =0ABus /dev= /usb Device /dev/ugen0.2: ID 0bda:0129 Realtek Semiconductor Corp.=0ABus /= dev/usb Device /dev/ugen2.1: ID 0000:0000 =0ABus /dev/usb Device /dev/ugen= 1.1: ID 0000:0000 =0ABus /dev/usb Device /dev/ugen0.1: ID 0000:0000 =0A=0A= With the receiver plugged in, running sysctl hw.usb.ums.debug=3D15 and the= n usbconfig -d 0.4 reset, results in the following dmesg (when I reboot wi= th the external usb receiver plugged in, according to lsusb, the device no= de for the Synaptics (touchpad)=EF=BB=BF device changes from /dev/ugen0.3 = to /dev/ugen0.4):=0Aums1: at uhub0, port 7, addr 3 (disconnected)=0Aums_de= tach: sc=3D0xfffff80027409800=0Aums_close:=0Aums_close:=0Ahid_get_item: Nu= mber of items truncated to 255=0Aums_probe:=0Ahid_get_item: Number of item= s truncated to 255=0Aums_probe:=0Ahid_get_item: Number of items truncated = to 255=0Aums_attach: sc=3D0xfffff80027409800=0Aums1: on usbus0=0Ahid_get_item: Numb= er of items truncated to 255=0Ahid_get_item: Number of items truncated to = 255=0Ahid_get_item: Number of items truncated to 255=0Ahid_get_item: Numbe= r of items truncated to 255=0Ahid_get_item: Number of items truncated to 2= 55=0Ahid_get_item: Number of items truncated to 255=0Ahid_get_item: Number= of items truncated to 255=0Ahid_get_item: Number of items truncated to 25= 5=0Aums1: 2 buttons and [XY] coordinates ID=3D2=0Ahid_get_item: Number of = items truncated to 255=0Ahid_get_item: Number of items truncated to 255=0A= hid_get_item: Number of items truncated to 255=0Ahid_get_item: Number of i= tems truncated to 255=0Ahid_get_item: Number of items truncated to 255=0Ah= id_get_item: Number of items truncated to 255=0Ahid_get_item: Number of it= ems truncated to 255=0Aums_attach: sc=3D0xfffff80027409800, index=3D0=0Aum= s_attach: X 8/8 id=3D2=0Aums_attach: Y 16/8 id=3D2=0Aums_attach: Z = 0/0 id=3D0=0Aums_attach: T 0/0 id=3D0=0Aums_attach: W 0/0 id=3D0=0A= ums_attach: B1 0/1 id=3D2=0Aums_attach: B2 1/1 id=3D2=0Aums_attach: = sc=3D0xfffff80027409800, index=3D1=0Aums_attach: X 8/16 id=3D3=0Aums_at= tach: Y 24/16 id=3D3=0Aums_attach: Z 0/0 id=3D0=0Aums_attach: T 0= /0 id=3D0=0Aums_attach: W 0/0 id=3D0=0Aums_attach: B1 64/1 id=3D3=0A= ums_attach: size=3D36, id=3D2=0Arandom: harvesting attach, 8 bytes (4 bits= ) from ums1=0Aums_open:=0Aums_open:=0Aums_ioctl:=0Aums_ioctl:=0Aums_ioctl:= =0Aums_ioctl:=0Aums_ioctl:=0A=0AFull output from lsusb when the device is = plugged in during boot:=0ABus /dev/usb Device /dev/ugen0.5: ID 04f2:b474 C= hicony Electronics Co., Ltd=0ABus /dev/usb Device /dev/ugen0.4: ID 06cb:29= 70 Synaptics, Inc.=0ABus /dev/usb Device /dev/ugen0.3: ID 0bda:0129 Realte= k Semiconductor Corp.=0ABus /dev/usb Device /dev/ugen2.2: ID 8087:8000 =0A= Bus /dev/usb Device /dev/ugen1.2: ID 8087:8008 =0ABus /dev/usb Device /dev= /ugen0.2: ID 046d:c52b Logitech, Inc.=0ABus /dev/usb Device /dev/ugen2.1: = ID 0000:0000 =0ABus /dev/usb Device /dev/ugen1.1: ID 0000:0000 =0ABus /dev= /usb Device /dev/ugen0.1: ID 0000:0000=0A= From owner-freebsd-usb@freebsd.org Fri Aug 14 13:59:08 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 58E079B861F; Fri, 14 Aug 2015 13:59:08 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-asmtp002.me.com (st13p21im-asmtp002.me.com [17.164.152.161]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3597A144A; Fri, 14 Aug 2015 13:59:08 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from [10.0.0.29] (ti0025a400-0943.bb.online.no [85.164.50.179]) by st13p21im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTPSA id <0NT2006JFS5SBQ40@st13p21im-asmtp002.me.com>; Fri, 14 Aug 2015 13:59:00 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-08-14_06:2015-08-13,2015-08-14,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1508140204 From: Anders Bolt-Evensen Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7bit MIME-version: 1.0 (1.0) Subject: Touchpad/trackpad not working Message-id: Date: Fri, 14 Aug 2015 15:58:32 +0200 To: freebsd-usb@freebsd.org, freebsd-mobile@freebsd.org X-Mailer: iPhone Mail (12H321) X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 13:59:08 -0000 It seems that my solution was to add ums_load="YES" to /boot/loader.conf. After adding that the touchpad works fine for now: Mouse pointer moves when moving fingers across the touchpad Tapping works (annoyingly) Left-clicking works Right-clicking works Scrolling does not work, but I can live with that. Thanks to everyone who helped me solve my problem. Anders From owner-freebsd-usb@freebsd.org Fri Aug 14 14:14:52 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1CB959B8AEC; Fri, 14 Aug 2015 14:14:52 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D6B5F1F87; Fri, 14 Aug 2015 14:14:51 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id C8E131FE023; Fri, 14 Aug 2015 16:14:48 +0200 (CEST) Subject: Re: Touchpad/trackpad not working To: Anders Bolt-Evensen , freebsd-usb@freebsd.org, freebsd-mobile@freebsd.org References: From: Hans Petter Selasky Message-ID: <55CDF82E.8060305@selasky.org> Date: Fri, 14 Aug 2015 16:16:14 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 14:14:52 -0000 On 08/14/15 15:58, Anders Bolt-Evensen wrote: > It seems that my solution was to add ums_load="YES" to /boot/loader.conf. > After adding that the touchpad works fine for now: > Mouse pointer moves when moving fingers across the touchpad > Tapping works (annoyingly) > Left-clicking works > Right-clicking works > Scrolling does not work, but I can live with that. > > Thanks to everyone who helped me solve my problem. > > Anders Hi, This probably means uhid is picking the device up before ums. Your solution is valid :-) --HPS From owner-freebsd-usb@freebsd.org Sat Aug 15 12:07:58 2015 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 281379B9AA0 for ; Sat, 15 Aug 2015 12:07:58 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DFB4A13B5 for ; Sat, 15 Aug 2015 12:07:57 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 5C8D91FE023; Sat, 15 Aug 2015 14:07:55 +0200 (CEST) Subject: Re: Logitech C525 webcam won't work on Raspberry PI2 To: Tom Lislegaard References: <55AAC427.7090505@selasky.org> <55ACAA70.7010909@selasky.org> <55B73178.20005@selasky.org> <55C1F78B.9000408@selasky.org> Cc: freebsd-usb@freebsd.org From: Hans Petter Selasky Message-ID: <55CF2BF0.90605@selasky.org> Date: Sat, 15 Aug 2015 14:09:20 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55C1F78B.9000408@selasky.org> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 15 Aug 2015 12:07:58 -0000 Hi, Can you boot a FreeBSD-11-current kernel after this patch: https://svnweb.freebsd.org/changeset/base/286802 I've tested a C525 I've got here, and it seems to work, thought I don't have X.org up and running yet on my RPI-2. --HPS