From owner-freebsd-mobile@freebsd.org Sun Aug 9 01:07:53 2015 Return-Path: Delivered-To: freebsd-mobile@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 DCEAC9B136E for ; Sun, 9 Aug 2015 01:07:52 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: from nm42-vm10.bullet.mail.bf1.yahoo.com (nm42-vm10.bullet.mail.bf1.yahoo.com [216.109.114.155]) (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 9BC468A3 for ; Sun, 9 Aug 2015 01:07:52 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1439082465; bh=IaARD4puiDi0knZ0QA3SuorO/f+2HhV1YFOqr4nEtnU=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=hgHauosospDTKUCDYCweffzVsDKhrYYgiF+O/ayaNHyphLmolhHCLWLtgPYDDvGvfTKeslxk7oSAtj6gWK7tNicHJZLzsHtaZlZObZUwEowsvo8ZtzNNOwIC8Vl8OudtRgMj0G0Hpjm2Rhyq/8FRRgEsW7GiyzAKqF+0eb7dG5RVrgnctdNr8Uv4CnUwuvRYUHO70thYfgri+xFX8QARBzrq+0ReJaSj7XoavQEu9uRgyBYQCfz/AaPDa8zCOsjc/wWHFVcEGYlj+Frz1VK9nhHEZpccO7Yi+8SKNhnFzsBcXMyO8Bm7ZbDKbzj3xpR9Zt9LDHt+n2yEPesDh+sgPw== Received: from [98.139.215.140] by nm42.bullet.mail.bf1.yahoo.com with NNFMP; 09 Aug 2015 01:07:45 -0000 Received: from [68.142.230.77] by tm11.bullet.mail.bf1.yahoo.com with NNFMP; 09 Aug 2015 01:07:45 -0000 Received: from [127.0.0.1] by smtp234.mail.bf1.yahoo.com with NNFMP; 09 Aug 2015 01:07:45 -0000 X-Yahoo-Newman-Id: 797907.60081.bm@smtp234.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: SowoWDUVM1mx8ZktqsLbwjU057mkNHjDNiSDxwM9Q87EEIA Ss.GUb0jawYzFDVCoqTaRF84YnmslUePQdl2MnIXUxbBOVVYhaLQXznCgHJe teG8mjkWPXmmr7t7pMeSzYaqWqbhr_tmXDMKgTBPZ9yjJeK7L0KLCZr_.8GL IOla2S3.OOydQUoLk8F3PsySEBl8h0OJo3avg3MLf8ygThvPhPPc0FJB1ZXH tGzMWdCqvSQe.BaYNI2MwRdoqu1bGVjzXl.gPrxN1M6WMULDYpjFfyiXqRJr zawKfFmR8RcyZKWVxo6bkxF1CNs8bNA8go69DlkxDs8t50YRUOoWK9PLFTRs IxmcamI5zsr8U3JXfITKVg.TsrkZLCXOGmzIgG5wlAYkSvVfDHfK5nrmK_T1 kduaFM4Nyn.IrLi2YEhJuAqTDUv9IKjsatvifvRkOroOHXcGb2e4NN8PVHGN AO9AYgrRKc9JN81ZGARrqGllk.ZD_myDMcAxy04NfQUvISvz3249frk2dsiq snChdLeEgm8frmNqsv.XmIxy2v4zOYajo X-Yahoo-SMTP: 9sPoSQ2swBBlERuQ.0vs8XLc_MeClW0- Message-ID: <55C6A7B1.3030806@yahoo.com> Date: Sat, 08 Aug 2015 21:06:57 -0400 From: Anthony Jenkins Organization: VTilt Digital, LLC User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Anders Bolt-Evensen CC: freebsd-mobile@freebsd.org Subject: Re: Touchpad/trackpad not working References: In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 09 Aug 2015 01:07:53 -0000 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 Sent: >>>>> Wednesday, August 5, 2015 11:38 AM >>>>> Subject: Touchpad/trackpad not working >>>>> >>>>> >>>>> Hello, everyone! >>>>> On my Acer Aspire V17 Nitro I have a little problems 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, other >>>>> 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 for >>>> ums(4) >>>> to attach. >>>> >>>> Also, do you have moused(8) running? >>>> >>>> Thanks, >>>> Anthony Jenkins >>> >>> In /etc/rc.conf I do have moused_enable="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=0 md=HOST >>> spd=FULL (12Mbps) pwr=ON (100mA) >>> >>> bLength = 0x0012 >>> bDescriptorType = 0x0001 >>> bcdUSB = 0x0200 >>> bDeviceClass = 0x0000 >>> bDeviceSubClass = 0x0000 >>> bDeviceProtocol = 0x0000 >>> bMaxPacketSize0 = 0x0008 >>> idVendor = 0x06cb >>> idProduct = 0x2970 >>> bcdDevice = 0x0008 >>> iManufacturer = 0x0001 < > >>> iProduct = 0x0002 < > >>> iSerialNumber = 0x0000 >>> bNumConfigurations = 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=0 md=HOST spd=LOW (1.5Mbps) >> pwr=ON (100mA) >> >> >> Configuration index 0 >> >> bLength = 0x0009 >> bDescriptorType = 0x0002 >> wTotalLength = 0x003b >> bNumInterfaces = 0x0002 >> bConfigurationValue = 0x0001 >> iConfiguration = 0x0000 >> bmAttributes = 0x00a0 >> bMaxPower = 0x0032 >> >> Interface 0 >> bLength = 0x0009 >> bDescriptorType = 0x0004 >> bInterfaceNumber = 0x0000 >> bAlternateSetting = 0x0000 >> bNumEndpoints = 0x0001 >> bInterfaceClass = 0x0003 >> bInterfaceSubClass = 0x0001 >> bInterfaceProtocol = 0x0002 >> iInterface = 0x0000 >> >> Additional Descriptor >> >> bLength = 0x09 >> bDescriptorType = 0x21 >> bDescriptorSubType = 0x00 >> RAW dump: >> 0x00 | 0x09, 0x21, 0x00, 0x01, 0x00, 0x01, 0x22, 0x59, >> 0x08 | 0x00 >> >> Endpoint 0 >> bLength = 0x0007 >> bDescriptorType = 0x0005 >> bEndpointAddress = 0x0081 >> bmAttributes = 0x0003 >> wMaxPacketSize = 0x0008 >> bInterval = 0x000a >> bRefresh = 0x0000 >> bSynchAddress = 0x0000 >> ... >> >> >> I'm looking for an "Interface #" section with "bInterfaceClass = 0x0003 >> " and "bInterfaceProtocol = 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) configured >> 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 to >> 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=0 md=HOST > spd=FULL (12Mbps) pwr=ON (100mA) > > > Configuration index 0 > > bLength = 0x0009 > bDescriptorType = 0x0002 > wTotalLength = 0x0029 > bNumInterfaces = 0x0001 > bConfigurationValue = 0x0001 > iConfiguration = 0x0000 > bmAttributes = 0x00a0 > bMaxPower = 0x0032 > > Interface 0 > bLength = 0x0009 > bDescriptorType = 0x0004 > bInterfaceNumber = 0x0000 > bAlternateSetting = 0x0000 > bNumEndpoints = 0x0002 > bInterfaceClass = 0x0003 > bInterfaceSubClass = 0x0000 > bInterfaceProtocol = 0x0000 > iInterface = 0x0000 > > Additional Descriptor > > bLength = 0x09 > bDescriptorType = 0x21 > bDescriptorSubType = 0x11 > RAW dump: > 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0xa1, > 0x08 | 0x01 > > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0081 > bmAttributes = 0x0003 > wMaxPacketSize = 0x0040 > bInterval = 0x0001 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > Endpoint 1 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0002 > bmAttributes = 0x0003 > wMaxPacketSize = 0x0040 > bInterval = 0x000a > bRefresh = 0x0000 > bSynchAddress = 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 device > plugged in -- the external mouse that came with the receiver works > just fine without a reboot) and then run the same command again (note > 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=0 md=HOST > spd=FULL (12Mbps) pwr=ON (100mA) > > > Configuration index 0 > > bLength = 0x0009 > bDescriptorType = 0x0002 > wTotalLength = 0x0029 > bNumInterfaces = 0x0001 > bConfigurationValue = 0x0001 > iConfiguration = 0x0000 > bmAttributes = 0x00a0 > bMaxPower = 0x0032 > > Interface 0 > bLength = 0x0009 > bDescriptorType = 0x0004 > bInterfaceNumber = 0x0000 > bAlternateSetting = 0x0000 > bNumEndpoints = 0x0002 > bInterfaceClass = 0x0003 > bInterfaceSubClass = 0x0000 > bInterfaceProtocol = 0x0000 > iInterface = 0x0000 > > Additional Descriptor > > bLength = 0x09 > bDescriptorType = 0x21 > bDescriptorSubType = 0x11 > RAW dump: > 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0xa1, > 0x08 | 0x01 > > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0081 > bmAttributes = 0x0003 > wMaxPacketSize = 0x0040 > bInterval = 0x0001 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > Endpoint 1 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0002 > bmAttributes = 0x0003 > wMaxPacketSize = 0x0040 > bInterval = 0x000a > bRefresh = 0x0000 > bSynchAddress = 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=0 md=HOST spd=FULL > (12Mbps) pwr=ON (98mA) > > > Configuration index 0 > > bLength = 0x0009 > bDescriptorType = 0x0002 > wTotalLength = 0x0054 > bNumInterfaces = 0x0003 > bConfigurationValue = 0x0001 > iConfiguration = 0x0004 > bmAttributes = 0x00a0 > bMaxPower = 0x0031 > > Interface 0 > bLength = 0x0009 > bDescriptorType = 0x0004 > bInterfaceNumber = 0x0000 > bAlternateSetting = 0x0000 > bNumEndpoints = 0x0001 > bInterfaceClass = 0x0003 > bInterfaceSubClass = 0x0001 > bInterfaceProtocol = 0x0001 > iInterface = 0x0000 > > Additional Descriptor > > bLength = 0x09 > bDescriptorType = 0x21 > bDescriptorSubType = 0x11 > RAW dump: > 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x3b, > 0x08 | 0x00 > > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0081 > bmAttributes = 0x0003 > wMaxPacketSize = 0x0008 > bInterval = 0x0008 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > > Interface 1 > bLength = 0x0009 > bDescriptorType = 0x0004 > bInterfaceNumber = 0x0001 > bAlternateSetting = 0x0000 > bNumEndpoints = 0x0001 > bInterfaceClass = 0x0003 > bInterfaceSubClass = 0x0001 > bInterfaceProtocol = 0x0002 > iInterface = 0x0000 > > Additional Descriptor > > bLength = 0x09 > bDescriptorType = 0x21 > bDescriptorSubType = 0x11 > RAW dump: > 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x94, > 0x08 | 0x00 > > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0082 > bmAttributes = 0x0003 > wMaxPacketSize = 0x0008 > bInterval = 0x0002 > bRefresh = 0x0000 > bSynchAddress = 0x0000 > > > Interface 2 > bLength = 0x0009 > bDescriptorType = 0x0004 > bInterfaceNumber = 0x0002 > bAlternateSetting = 0x0000 > bNumEndpoints = 0x0001 > bInterfaceClass = 0x0003 > bInterfaceSubClass = 0x0000 > bInterfaceProtocol = 0x0000 > iInterface = 0x0000 > > Additional Descriptor > > bLength = 0x09 > bDescriptorType = 0x21 > bDescriptorSubType = 0x11 > RAW dump: > 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x62, > 0x08 | 0x00 > > Endpoint 0 > bLength = 0x0007 > bDescriptorType = 0x0005 > bEndpointAddress = 0x0083 > bmAttributes = 0x0003 > wMaxPacketSize = 0x0020 > bInterval = 0x0002 > bRefresh = 0x0000 > bSynchAddress = 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 does > 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 > Are there any /dev/ums* device nodes when the external mouse is plugged in? $ ls /dev/ums* $ dmesg | grep ums Are there any instances of moused(8) running when the external mouse is plugged in? $ ps auxww | grep moused Thanks, Anthony > _______________________________________________ > 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" -- Anthony Jenkins Software Engineer VTilt Digital, LLC From owner-freebsd-mobile@freebsd.org Mon Aug 10 07:29:29 2015 Return-Path: Delivered-To: freebsd-mobile@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 4123999E5B2 for ; Mon, 10 Aug 2015 07:29:29 +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 F2E6C28C for ; Mon, 10 Aug 2015 07:29:28 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-spool001.me.com ([17.164.152.254]) by st13p21im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NSU00D6MSOWCG40@st13p21im-asmtp002.me.com> for freebsd-mobile@freebsd.org; Mon, 10 Aug 2015 06:29:22 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-08-09_02:2015-08-07,2015-08-09,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-1508100117 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 <0NSU00EDSSOWYE10@st13p21im-spool001.mac.com> for freebsd-mobile@freebsd.org; Mon, 10 Aug 2015 06:29:20 +0000 (GMT) To: freebsd-mobile@freebsd.org From: Anders Bolt-Evensen Subject: Touchpad/trackpad not working Date: Mon, 10 Aug 2015 06:29:19 +0000 (GMT) X-Mailer: iCloud MailClient15D.7d472b3 MailServer15E43.20056 X-Originating-IP: [85.164.50.179] Message-id: <15cd9145-5290-463e-8495-5cfa31ca1ace@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-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2015 07:29:29 -0000 =0A=0AOn Aug 09, 2015, at 03:07 AM, Anthony Jenkins = wrote:=0A=0A>=0A>=0A> On 08/07/15 02:19, Anders Bolt-Evensen wrote:=0A>>=0A= >>=0A>> On Aug 06, 2015, at 07:01 PM, Anthony Jenkins =0A>> wrote:=0A>>=0A>>>=0A>>>=0A>>> On 08/06/2015 01:42 AM, Anders Bolt-= Evensen wrote:=0A>>>>=0A>>>>=0A>>>> On Aug 05, 2015, at 07:48 PM, Anthony = Jenkins =0A>>>> wrote:=0A>>>>=0A>>>>> [Dropping curr= ent@]=0A>>>>>=0A>>>>>> ________________________________=0A>>>>>> From: And= ers Bolt-Evensen =0A>>>>>> To: freebsd-current@freebsd.= org; freebsd-mobile@freebsd.org Sent:=0A>>>>>> Wednesday, August 5, 2015 1= 1:38 AM=0A>>>>>> Subject: Touchpad/trackpad not working=0A>>>>>>=0A>>>>>>=0A= >>>>>> Hello, everyone!=0A>>>>>> On my Acer Aspire V17 Nitro I ha=C3=AF=C2= =BB=C2=BFve a little problems with my=0A>>>>>> touchpad/trackpad:=0A>>>>>>= When I boot the system, in this case, on FreeBSD Current (the=0A>>>>>> pr= oblem also exists on FreeBSD 10) without an external USB receiver=0A>>>>>>= connected, my trackpad does not work at all, neither in console or=0A>>>>= >> in X.=0A>>>>>> In other words I am not able to do a left or right click= and moving=0A>>>>>> the pointer does not work either.=0A>>>>>> I cannot s= ee any mention of it when I take a look at dmesg, other=0A>>>>>> than a me= ssage that says "psm0: unable to allocate IRQ"=0A>>>>>> Today I installed = sysutils/usbutils to see if I could get any more=0A>>>>>> info about my pr= oblem and then took a look at output of the command=0A>>>>>> "lsusb".=0A>>= >>>> I see the following output:=0A>>>>>> Bus /dev/usb Device /dev/ugen0.5= : ID 046d:c52b Logitech, Inc.=0A>>>>>> Bus /dev/usb Device /dev/ugen0.4: I= D 04f2:b474 Chicony Electronics=0A>>>>>> Co., Ltd=0A>>>>>> Bus /dev/usb De= vice /dev/ugen0.3: ID 06cb:2970 Synaptics, Inc.=0A>>>>>=0A>>>>> Weird...fi= rst time seeing a Synaptics device on USB. I know psm(4)=0A>>>>> generally= handles Synaptics protocol in FreeBSD (if you enable=0A>>>>> synaptics=0A= >>>>> support), but your device isn't hanging off the atkbd(4)/psm(4). I'd= =0A>>>>> expect ums(4) to attach then... no idea why it isn't, or if it=0A= >>>>> supports=0A>>>>> the Synaptics protocol.=0A>>>>>=0A>>>>> Can you tel= l me what the following command reports:=0A>>>>>=0A>>>>> usbconfig -d ugen= 0.3 dump_device_desc=0A>>>>>=0A>>>>> I think the device needs to report it= self as a USB HID device for=0A>>>>> ums(4)=0A>>>>> to attach.=0A>>>>>=0A>= >>>> Also, do you have moused(8) running?=0A>>>>>=0A>>>>> Thanks,=0A>>>>> = Anthony Jenkins=0A>>>>=0A>>>> In /etc/rc.conf I do have moused_enable=3D"Y= ES", but sudo=0A>>>> /etc/rc.d/moused status reports=0A>>>> "moused is not= running". I assume it is because of missing psm0.=0A>>>>=0A>>>> The comma= nd usbconfig -d ugen0.3 dump_device_desc reports:=0A>>>> ugen0.3: at usbus0, cfg=3D0 md=3DHOST=0A>>>> spd=3DFULL (12M= bps) pwr=3DON (100mA)=0A>>>>=0A>>>> bLength =3D 0x0012=0A>>>> bDescriptorT= ype =3D 0x0001=0A>>>> bcdUSB =3D 0x0200=0A>>>> bDeviceClass =3D 0x0000 =0A>>>> bDeviceSubClass =3D 0x0000=0A>>>> bDeviceP= rotocol =3D 0x0000=0A>>>> bMaxPacketSize0 =3D 0x0008=0A>>>> idVendor =3D 0= x06cb=0A>>>> idProduct =3D 0x2970=0A>>>> bcdDevice =3D 0x0008=0A>>>> iManu= facturer =3D 0x0001 < >=0A>>>> iProduct =3D 0x0002 < >=C3=AF=C2=BB=C2=BF=0A= >>>> iSerialNumber =3D 0x0000 =0A>>>> bNumConfigurations =3D 0x= 0001=0A>>>>=0A>>>> - Anders=0A>>>=0A>>> Okay try the 'dump_curr_config_des= c' command to usbconfig(8):=0A>>>=0A>>> usbconfig -d ugen0.3 dump_curr_con= fig_desc=0A>>>=0A>>> For my Areson USB mouse, this reports:=0A>>>=0A>>> $ = sudo usbconfig -d ugen0.2 dump_curr_config_desc=0A>>> ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DLOW (1.5Mbps)=0A>>> pwr=3DON (= 100mA)=0A>>>=0A>>>=0A>>> Configuration index 0=0A>>>=0A>>> bLength =3D 0x0= 009=0A>>> bDescriptorType =3D 0x0002=0A>>> wTotalLength =3D 0x003b=0A>>> b= NumInterfaces =3D 0x0002=0A>>> bConfigurationValue =3D 0x0001=0A>>> iConfi= guration =3D 0x0000 =0A>>> bmAttributes =3D 0x00a0=0A>>> bMaxPo= wer =3D 0x0032=0A>>>=0A>>> Interface 0=0A>>> bLength =3D 0x0009=0A>>> bDes= criptorType =3D 0x0004=0A>>> bInterfaceNumber =3D 0x0000=0A>>> bAlternateS= etting =3D 0x0000=0A>>> bNumEndpoints =3D 0x0001=0A>>> bInterfaceClass =3D= 0x0003 =0A>>> bInterfaceSubClass =3D 0x0001=0A>>> bInterfaceP= rotocol =3D 0x0002=0A>>> iInterface =3D 0x0000 =0A>>>=0A>>> Add= itional Descriptor=0A>>>=0A>>> bLength =3D 0x09=0A>>> bDescriptorType =3D = 0x21=0A>>> bDescriptorSubType =3D 0x00=0A>>> RAW dump:=0A>>> 0x00 | 0x09, = 0x21, 0x00, 0x01, 0x00, 0x01, 0x22, 0x59,=0A>>> 0x08 | 0x00=0A>>>=0A>>> En= dpoint 0=0A>>> bLength =3D 0x0007=0A>>> bDescriptorType =3D 0x0005=0A>>> b= EndpointAddress =3D 0x0081 =0A>>> bmAttributes =3D 0x0003 =0A= >>> wMaxPacketSize =3D 0x0008=0A>>> bInterval =3D 0x000a=0A>>> bRefresh =3D= 0x0000=0A>>> bSynchAddress =3D 0x0000=0A>>> ...=0A>>>=0A>>>=0A>>> I'm loo= king for an "Interface #" section with "bInterfaceClass =3D 0x0003=0A>>> <= HID device>" and "bInterfaceProtocol =3D 0x0002" lines (class 0x3=0A>>> pr= otocol 0x2 is a mouse, supported by our ums(4) driver). If you have=0A>>> = that, then it should work "out of the box" with moused(8) configured=0A>>>= with the "auto" protocol (required for USB pointing devices).=0A>>>=0A>>>= You didn't say whether the touchpad works with another USB mouse=0A>>> at= tached or not. I wouldn't expect plugging a different mouse in to=0A>>> ha= ve any effect on the touchpad behaviour, but if so, please also run=0A>>> = the above usbconfig(8) command:=0A>>>=0A>>> - with no external USB mouse p= lugged in, targetting the Synaptics=0A>>> touchpad device (ugen0.3)=0A>>> = - with an external USB mouse plugged in, once for the Synaptics=0A>>> touc= hpad device (ugen0.3) and once for the external mouse (ugen?.?)=0A>>>=0A>>= > Thanks,=0A>>> Anthony=0A>>=0A>> If I start FreeBSD without the external = receiver and run udo usbconfig=0A>> -d ugen0.3 dump_curr_config_desc, I ge= t the following output:=0A>> ugen0.3: at us= bus0, cfg=3D0 md=3DHOST=0A>> spd=3DFULL (12Mbps) pwr=3DON (100mA)=0A>>=0A>= >=0A>> Configuration index 0=0A>>=0A>> bLength =3D 0x0009=0A>> bDescriptor= Type =3D 0x0002=0A>> wTotalLength =3D 0x0029=0A>> bNumInterfaces =3D 0x000= 1=0A>> bConfigurationValue =3D 0x0001=0A>> iConfiguration =3D 0x0000 =0A>> bmAttributes =3D 0x00a0=0A>> bMaxPower =3D 0x0032=0A>>=0A>> In= terface 0=0A>> bLength =3D 0x0009=0A>> bDescriptorType =3D 0x0004=0A>> bIn= terfaceNumber =3D 0x0000=0A>> bAlternateSetting =3D 0x0000=0A>> bNumEndpoi= nts =3D 0x0002=0A>> bInterfaceClass =3D 0x0003 =0A>> bInterfac= eSubClass =3D 0x0000=0A>> bInterfaceProtocol =3D 0x0000=0A>> iInterface =3D= 0x0000 =0A>>=0A>> Additional Descriptor=0A>>=0A>> bLength =3D = 0x09=0A>> bDescriptorType =3D 0x21=0A>> bDescriptorSubType =3D 0x11=0A>> R= AW dump:=0A>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0xa1,=0A>> = 0x08 | 0x01=0A>>=0A>> Endpoint 0=0A>> bLength =3D 0x0007=0A>> bDescriptorT= ype =3D 0x0005=0A>> bEndpointAddress =3D 0x0081 =0A>> bmAttributes =3D= 0x0003 =0A>> wMaxPacketSize =3D 0x0040=0A>> bInterval =3D 0x00= 01=0A>> bRefresh =3D 0x0000=0A>> bSynchAddress =3D 0x0000=0A>>=0A>> Endpoi= nt 1=0A>> bLength =3D 0x0007=0A>> bDescriptorType =3D 0x0005=0A>> bEndpoin= tAddress =3D 0x0002 =0A>> bmAttributes =3D 0x0003 =0A>> wM= axPacketSize =3D 0x0040=0A>> bInterval =3D 0x000a=0A>> bRefresh =3D 0x0000= =0A>> bSynchAddress =3D 0x0000=0A>>=0A>> Now, if I plug in the receiver an= d reboot my computer (the touchpad=0A>> does not work in FreeBSD unless I = start the computer with that device=0A>> plugged in -- the external mouse = that came with the receiver works=0A>> just fine without a reboot) and the= n run the same command again (note=0A>> that when booting with the externa= l device plugged in, according to=0A>> "lsusb", the Symantec touchpad chan= ges from ugen0.3 to ugen0.4), I get=0A>> the following:=0A>> Output of lsu= sb:=0A>> [...]=0A>> Bus /dev/usb Device /dev/ugen0.4: ID 06cb:2970 Synapti= cs, Inc.=0A>> [...]=0A>> Bus /dev/usb Device /dev/ugen0.2: ID 046d:c52b Lo= gitech, Inc.=0A>>=0A>> Output of "sudo usbconfig -d ugen0.4 dump_curr_conf= ig_desc" (ugen0.3=0A>> before the reboot)=0A>> ugen0.4: at usbus0, cfg=3D0 md=3DHOST=0A>> spd=3DFULL (12Mbps) pwr=3DO= N (100mA)=0A>>=0A>>=0A>> Configuration index 0=0A>>=0A>> bLength =3D 0x000= 9=0A>> bDescriptorType =3D 0x0002=0A>> wTotalLength =3D 0x0029=0A>> bNumIn= terfaces =3D 0x0001=0A>> bConfigurationValue =3D 0x0001=0A>> iConfiguratio= n =3D 0x0000 =0A>> bmAttributes =3D 0x00a0=0A>> bMaxPower =3D 0= x0032=0A>>=0A>> Interface 0=0A>> bLength =3D 0x0009=0A>> bDescriptorType =3D= 0x0004=0A>> bInterfaceNumber =3D 0x0000=0A>> bAlternateSetting =3D 0x0000= =0A>> bNumEndpoints =3D 0x0002=0A>> bInterfaceClass =3D 0x0003 =0A>> bInterfaceSubClass =3D 0x0000=0A>> bInterfaceProtocol =3D 0x0000=0A= >> iInterface =3D 0x0000 =0A>>=0A>> Additional Descriptor=0A>>=0A= >> bLength =3D 0x09=0A>> bDescriptorType =3D 0x21=0A>> bDescriptorSubType = =3D 0x11=0A>> RAW dump:=0A>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x= 22, 0xa1,=0A>> 0x08 | 0x01=0A>>=0A>> Endpoint 0=0A>> bLength =3D 0x0007=0A= >> bDescriptorType =3D 0x0005=0A>> bEndpointAddress =3D 0x0081 =0A>> b= mAttributes =3D 0x0003 =0A>> wMaxPacketSize =3D 0x0040=0A>> bIn= terval =3D 0x0001=0A>> bRefresh =3D 0x0000=0A>> bSynchAddress =3D 0x0000=0A= >>=0A>> Endpoint 1=0A>> bLength =3D 0x0007=0A>> bDescriptorType =3D 0x0005= =0A>> bEndpointAddress =3D 0x0002 =0A>> bmAttributes =3D 0x0003 =0A>> wMaxPacketSize =3D 0x0040=0A>> bInterval =3D 0x000a=0A>> bRefr= esh =3D 0x0000=0A>> bSynchAddress =3D 0x0000=0A>>=0A>> Output of sudo usbc= onfig -d ugen0.2 dump_curr_config_desc (ugen0.5 if=0A>> plugged in before = the reboot)=0A>> ugen0.2: at usbus0, cfg=3D0 md=3D= HOST spd=3DFULL=0A>> (12Mbps) pwr=3DON (98mA)=0A>>=0A>>=0A>> Configuration= index 0=0A>>=0A>> bLength =3D 0x0009=0A>> bDescriptorType =3D 0x0002=0A>>= wTotalLength =3D 0x0054=0A>> bNumInterfaces =3D 0x0003=0A>> bConfiguratio= nValue =3D 0x0001=0A>> iConfiguration =3D 0x0004 =0A>> bmA= ttributes =3D 0x00a0=0A>> bMaxPower =3D 0x0031=0A>>=0A>> Interface 0=0A>> = bLength =3D 0x0009=0A>> bDescriptorType =3D 0x0004=0A>> bInterfaceNumber =3D= 0x0000=0A>> bAlternateSetting =3D 0x0000=0A>> bNumEndpoints =3D 0x0001=0A= >> bInterfaceClass =3D 0x0003 =0A>> bInterfaceSubClass =3D 0x0= 001=0A>> bInterfaceProtocol =3D 0x0001=0A>> iInterface =3D 0x0000 =0A>>=0A>> Additional Descriptor=0A>>=0A>> bLength =3D 0x09=0A>> bDescr= iptorType =3D 0x21=0A>> bDescriptorSubType =3D 0x11=0A>> RAW dump:=0A>> 0x= 00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x3b,=0A>> 0x08 | 0x00=0A>>= =0A>> Endpoint 0=0A>> bLength =3D 0x0007=0A>> bDescriptorType =3D 0x0005=0A= >> bEndpointAddress =3D 0x0081 =0A>> bmAttributes =3D 0x0003 =0A>> wMaxPacketSize =3D 0x0008=0A>> bInterval =3D 0x0008=0A>> bRefresh = =3D 0x0000=0A>> bSynchAddress =3D 0x0000=0A>>=0A>>=0A>> Interface 1=0A>> b= Length =3D 0x0009=0A>> bDescriptorType =3D 0x0004=0A>> bInterfaceNumber =3D= 0x0001=0A>> bAlternateSetting =3D 0x0000=0A>> bNumEndpoints =3D 0x0001=0A= >> bInterfaceClass =3D 0x0003 =0A>> bInterfaceSubClass =3D 0x0= 001=0A>> bInterfaceProtocol =3D 0x0002=0A>> iInterface =3D 0x0000 =0A>>=0A>> Additional Descriptor=0A>>=0A>> bLength =3D 0x09=0A>> bDescr= iptorType =3D 0x21=0A>> bDescriptorSubType =3D 0x11=0A>> RAW dump:=0A>> 0x= 00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x94,=0A>> 0x08 | 0x00=0A>>= =0A>> Endpoint 0=0A>> bLength =3D 0x0007=0A>> bDescriptorType =3D 0x0005=0A= >> bEndpointAddress =3D 0x0082 =0A>> bmAttributes =3D 0x0003 =0A>> wMaxPacketSize =3D 0x0008=0A>> bInterval =3D 0x0002=0A>> bRefresh = =3D 0x0000=0A>> bSynchAddress =3D 0x0000=0A>>=0A>>=0A>> Interface 2=0A>> b= Length =3D 0x0009=0A>> bDescriptorType =3D 0x0004=0A>> bInterfaceNumber =3D= 0x0002=0A>> bAlternateSetting =3D 0x0000=0A>> bNumEndpoints =3D 0x0001=0A= >> bInterfaceClass =3D 0x0003 =0A>> bInterfaceSubClass =3D 0x0= 000=0A>> bInterfaceProtocol =3D 0x0000=0A>> iInterface =3D 0x0000 =0A>>=0A>> Additional Descriptor=0A>>=0A>> bLength =3D 0x09=0A>> bDescr= iptorType =3D 0x21=0A>> bDescriptorSubType =3D 0x11=0A>> RAW dump:=0A>> 0x= 00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x62,=0A>> 0x08 | 0x00=0A>>= =0A>> Endpoint 0=0A>> bLength =3D 0x0007=0A>> bDescriptorType =3D 0x0005=0A= >> bEndpointAddress =3D 0x0083 =0A>> bmAttributes =3D 0x0003 =0A>> wMaxPacketSize =3D 0x0020=0A>> bInterval =3D 0x0002=0A>> bRefresh = =3D 0x0000=0A>> bSynchAddress =3D 0x0000=0A>>=0A>> With that device plugge= d in during the booting process, I'm able to do=0A>> a left tap/click and = a right click with the touchpad. Scrolling does=0A>> not work unless I use= the external mouse instead of the touchpad.=0A>> If I now decide to unplu= g the external device, the touchpad works=0A>> until the next reboot.=0A>>= =0A>> Anders=C3=AF=C2=BB=C2=BF=0A>>=0A> Are there any /dev/ums* device nod= es when the external mouse is plugged in?=0A>=0A> $ ls /dev/ums*=0A> $ dme= sg | grep ums=0A =0AYes, when I connect the external mouse, /dev/ums0 appe= ars:=0Als /dev/ums*=0A/dev/ums0=0A=0Admesg | grep ums=0Aums0: on usbus0=0Aums0: 16 button= s and [XYZT] coordinates ID=3D2=0A=0A> =EF=BB=BFAre there any instances of= moused(8) running when the external mouse is=0A> plugged in?=0A>=0A> $ ps= auxww | grep moused=0A>=0A> Thanks,=0A> Anthony=0A =0AWhen the external m= ouse is connected, the following instance of moused is running (as returne= d from the command ps auxww | grep moused):=0Aroot 2426 0.0 0.0 = 16728 2284 - Ss 08:06 0:00.00 /usr/sbin/moused -p /dev/ums0 -t au= to -I /var/run/moused.ums0.pid=0A=0AAnders=0A=0A= From owner-freebsd-mobile@freebsd.org Mon Aug 10 16:33:22 2015 Return-Path: Delivered-To: freebsd-mobile@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 ECABA99E98B for ; Mon, 10 Aug 2015 16:33:22 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: from nm43-vm4.bullet.mail.bf1.yahoo.com (nm43-vm4.bullet.mail.bf1.yahoo.com [216.109.114.223]) (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 A7F72F2E for ; Mon, 10 Aug 2015 16:33:22 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1439224400; bh=D58dOpypVbMt6LEpyIYOP8+2mgN5iEbFCvD9FlDEEAc=; h=Date:From:To:CC:Subject:References:In-Reply-To:From:Subject; b=K1JXba6OfJvHbWYdyfLBF9OA0ADsnUa4FfdCY8TqHB+0QvFi98WmTs9VQRjYEkaM83ga0PwCc7XLEri9MQMLfr336MMW+l/c1jYHloPQkdIScotURFnkfLzIJIScK8DTYrbtx1w8t8Z4tHHUT97gl9uDQI71hJ8XQ/iOvdu18gMR6euTn+4YeJH1grU2Dwau1KemDbr0zlZ0PNkTHQv6KkZu30ltk18XWSZUUAcQnDCqBKihJE0dd4Lol2PLn0t1mrRHFF3exs+lgKFpt1VOTOpKeqGW8t9EyTZX8TTDZpA3z/PbiwIx9Sj0oUjO/yWmXcDaNB051B+XgCwyIVQdVg== Received: from [66.196.81.172] by nm43.bullet.mail.bf1.yahoo.com with NNFMP; 10 Aug 2015 16:33:20 -0000 Received: from [98.139.211.204] by tm18.bullet.mail.bf1.yahoo.com with NNFMP; 10 Aug 2015 16:33:20 -0000 Received: from [127.0.0.1] by smtp213.mail.bf1.yahoo.com with NNFMP; 10 Aug 2015 16:33:20 -0000 X-Yahoo-Newman-Id: 820231.84336.bm@smtp213.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: ausqGZgVM1laXTVhz3qNApBIBdth47pK8dpb_XeiFl0krMk g5d0KezKwd9FnJFgVCj_yUrBUCnWIj.O6UQ68XCx8Uu.u8B.GX7OjjQzxGfG InkdDucb7CxUFAz6lkN0hENd5cj8wRMe8AgR3O8Ia2bbo.yaKdwstUFbOsoO 1Ewv67jtljncdxNS5mGc7pfzk2AvYbo1sT7JZnk56TIJnqsa1upnx8j1sCOj tSBac57qjJFGXUP41ROwHiEF9gx2KlAQgNEAXG2OrD2zjI7rxAPaNE9Y1Emv 7qkrJsgFKcW8mWlEC9qf8zVG9g8XpJm4rU0W83e6Rm2QiPSyOTyLTb6_57ZK ZGqpdA1hpua.YZPN3HvtvVoNpL5168ZXkyvK32wPydsg0TZf11MuQEB0sQMw 3ix3BtY1sMzowH08XJjTb5Zq.4.yoUYeWVI8zRBMWS5sXANijdWslm25.4DP uCnAHfz0OMFpgFWR6kM2pu_I_BWNYKRRk1B7tU1FGKD7YfxB0Z32_vS1Crh0 DUM0FYd3mvrCb9U6NNA0v__MqUu.aVvpYTw-- X-Yahoo-SMTP: 9sPoSQ2swBBlERuQ.0vs8XLc_MeClW0- Message-ID: <55C8D249.7010505@yahoo.com> Date: Mon, 10 Aug 2015 12:33:13 -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 CC: freebsd-mobile@freebsd.org Subject: Re: Touchpad/trackpad not working References: <15cd9145-5290-463e-8495-5cfa31ca1ace@me.com> In-Reply-To: <15cd9145-5290-463e-8495-5cfa31ca1ace@me.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Aug 2015 16:33:23 -0000 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 Sent: >>>>>>> Wednesday, August 5, 2015 11:38 AM >>>>>>> Subject: Touchpad/trackpad not working >>>>>>> >>>>>>> >>>>>>> Hello, everyone! >>>>>>> On my Acer Aspire V17 Nitro I have a little problems 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, other >>>>>>> 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 for >>>>>> ums(4) >>>>>> to attach. >>>>>> >>>>>> Also, do you have moused(8) running? >>>>>> >>>>>> Thanks, >>>>>> Anthony Jenkins >>>>> >>>>> In /etc/rc.conf I do have moused_enable="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=0 md=HOST >>>>> spd=FULL (12Mbps) pwr=ON (100mA) >>>>> >>>>> bLength = 0x0012 >>>>> bDescriptorType = 0x0001 >>>>> bcdUSB = 0x0200 >>>>> bDeviceClass = 0x0000 >>>>> bDeviceSubClass = 0x0000 >>>>> bDeviceProtocol = 0x0000 >>>>> bMaxPacketSize0 = 0x0008 >>>>> idVendor = 0x06cb >>>>> idProduct = 0x2970 >>>>> bcdDevice = 0x0008 >>>>> iManufacturer = 0x0001 < > >>>>> iProduct = 0x0002 < > >>>>> iSerialNumber = 0x0000 >>>>> bNumConfigurations = 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=0 md=HOST spd=LOW >>>> (1.5Mbps) >>>> pwr=ON (100mA) >>>> >>>> >>>> Configuration index 0 >>>> >>>> bLength = 0x0009 >>>> bDescriptorType = 0x0002 >>>> wTotalLength = 0x003b >>>> bNumInterfaces = 0x0002 >>>> bConfigurationValue = 0x0001 >>>> iConfiguration = 0x0000 >>>> bmAttributes = 0x00a0 >>>> bMaxPower = 0x0032 >>>> >>>> Interface 0 >>>> bLength = 0x0009 >>>> bDescriptorType = 0x0004 >>>> bInterfaceNumber = 0x0000 >>>> bAlternateSetting = 0x0000 >>>> bNumEndpoints = 0x0001 >>>> bInterfaceClass = 0x0003 >>>> bInterfaceSubClass = 0x0001 >>>> bInterfaceProtocol = 0x0002 >>>> iInterface = 0x0000 >>>> >>>> Additional Descriptor >>>> >>>> bLength = 0x09 >>>> bDescriptorType = 0x21 >>>> bDescriptorSubType = 0x00 >>>> RAW dump: >>>> 0x00 | 0x09, 0x21, 0x00, 0x01, 0x00, 0x01, 0x22, 0x59, >>>> 0x08 | 0x00 >>>> >>>> Endpoint 0 >>>> bLength = 0x0007 >>>> bDescriptorType = 0x0005 >>>> bEndpointAddress = 0x0081 >>>> bmAttributes = 0x0003 >>>> wMaxPacketSize = 0x0008 >>>> bInterval = 0x000a >>>> bRefresh = 0x0000 >>>> bSynchAddress = 0x0000 >>>> ... >>>> >>>> >>>> I'm looking for an "Interface #" section with "bInterfaceClass = >>>> 0x0003 >>>> " and "bInterfaceProtocol = 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) configured >>>> 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 to >>>> 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=0 md=HOST >>> spd=FULL (12Mbps) pwr=ON (100mA) >>> >>> >>> Configuration index 0 >>> >>> bLength = 0x0009 >>> bDescriptorType = 0x0002 >>> wTotalLength = 0x0029 >>> bNumInterfaces = 0x0001 >>> bConfigurationValue = 0x0001 >>> iConfiguration = 0x0000 >>> bmAttributes = 0x00a0 >>> bMaxPower = 0x0032 >>> >>> Interface 0 >>> bLength = 0x0009 >>> bDescriptorType = 0x0004 >>> bInterfaceNumber = 0x0000 >>> bAlternateSetting = 0x0000 >>> bNumEndpoints = 0x0002 >>> bInterfaceClass = 0x0003 >>> bInterfaceSubClass = 0x0000 >>> bInterfaceProtocol = 0x0000 >>> iInterface = 0x0000 >>> >>> Additional Descriptor >>> >>> bLength = 0x09 >>> bDescriptorType = 0x21 >>> bDescriptorSubType = 0x11 >>> RAW dump: >>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0xa1, >>> 0x08 | 0x01 >>> >>> Endpoint 0 >>> bLength = 0x0007 >>> bDescriptorType = 0x0005 >>> bEndpointAddress = 0x0081 >>> bmAttributes = 0x0003 >>> wMaxPacketSize = 0x0040 >>> bInterval = 0x0001 >>> bRefresh = 0x0000 >>> bSynchAddress = 0x0000 >>> >>> Endpoint 1 >>> bLength = 0x0007 >>> bDescriptorType = 0x0005 >>> bEndpointAddress = 0x0002 >>> bmAttributes = 0x0003 >>> wMaxPacketSize = 0x0040 >>> bInterval = 0x000a >>> bRefresh = 0x0000 >>> bSynchAddress = 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 device >>> plugged in -- the external mouse that came with the receiver works >>> just fine without a reboot) and then run the same command again (note >>> 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=0 md=HOST >>> spd=FULL (12Mbps) pwr=ON (100mA) >>> >>> >>> Configuration index 0 >>> >>> bLength = 0x0009 >>> bDescriptorType = 0x0002 >>> wTotalLength = 0x0029 >>> bNumInterfaces = 0x0001 >>> bConfigurationValue = 0x0001 >>> iConfiguration = 0x0000 >>> bmAttributes = 0x00a0 >>> bMaxPower = 0x0032 >>> >>> Interface 0 >>> bLength = 0x0009 >>> bDescriptorType = 0x0004 >>> bInterfaceNumber = 0x0000 >>> bAlternateSetting = 0x0000 >>> bNumEndpoints = 0x0002 >>> bInterfaceClass = 0x0003 >>> bInterfaceSubClass = 0x0000 >>> bInterfaceProtocol = 0x0000 >>> iInterface = 0x0000 >>> >>> Additional Descriptor >>> >>> bLength = 0x09 >>> bDescriptorType = 0x21 >>> bDescriptorSubType = 0x11 >>> RAW dump: >>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0xa1, >>> 0x08 | 0x01 >>> >>> Endpoint 0 >>> bLength = 0x0007 >>> bDescriptorType = 0x0005 >>> bEndpointAddress = 0x0081 >>> bmAttributes = 0x0003 >>> wMaxPacketSize = 0x0040 >>> bInterval = 0x0001 >>> bRefresh = 0x0000 >>> bSynchAddress = 0x0000 >>> >>> Endpoint 1 >>> bLength = 0x0007 >>> bDescriptorType = 0x0005 >>> bEndpointAddress = 0x0002 >>> bmAttributes = 0x0003 >>> wMaxPacketSize = 0x0040 >>> bInterval = 0x000a >>> bRefresh = 0x0000 >>> bSynchAddress = 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=0 md=HOST spd=FULL >>> (12Mbps) pwr=ON (98mA) >>> >>> >>> Configuration index 0 >>> >>> bLength = 0x0009 >>> bDescriptorType = 0x0002 >>> wTotalLength = 0x0054 >>> bNumInterfaces = 0x0003 >>> bConfigurationValue = 0x0001 >>> iConfiguration = 0x0004 >>> bmAttributes = 0x00a0 >>> bMaxPower = 0x0031 >>> >>> Interface 0 >>> bLength = 0x0009 >>> bDescriptorType = 0x0004 >>> bInterfaceNumber = 0x0000 >>> bAlternateSetting = 0x0000 >>> bNumEndpoints = 0x0001 >>> bInterfaceClass = 0x0003 >>> bInterfaceSubClass = 0x0001 >>> bInterfaceProtocol = 0x0001 >>> iInterface = 0x0000 >>> >>> Additional Descriptor >>> >>> bLength = 0x09 >>> bDescriptorType = 0x21 >>> bDescriptorSubType = 0x11 >>> RAW dump: >>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x3b, >>> 0x08 | 0x00 >>> >>> Endpoint 0 >>> bLength = 0x0007 >>> bDescriptorType = 0x0005 >>> bEndpointAddress = 0x0081 >>> bmAttributes = 0x0003 >>> wMaxPacketSize = 0x0008 >>> bInterval = 0x0008 >>> bRefresh = 0x0000 >>> bSynchAddress = 0x0000 >>> >>> >>> Interface 1 >>> bLength = 0x0009 >>> bDescriptorType = 0x0004 >>> bInterfaceNumber = 0x0001 >>> bAlternateSetting = 0x0000 >>> bNumEndpoints = 0x0001 >>> bInterfaceClass = 0x0003 >>> bInterfaceSubClass = 0x0001 >>> bInterfaceProtocol = 0x0002 >>> iInterface = 0x0000 >>> >>> Additional Descriptor >>> >>> bLength = 0x09 >>> bDescriptorType = 0x21 >>> bDescriptorSubType = 0x11 >>> RAW dump: >>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x94, >>> 0x08 | 0x00 >>> >>> Endpoint 0 >>> bLength = 0x0007 >>> bDescriptorType = 0x0005 >>> bEndpointAddress = 0x0082 >>> bmAttributes = 0x0003 >>> wMaxPacketSize = 0x0008 >>> bInterval = 0x0002 >>> bRefresh = 0x0000 >>> bSynchAddress = 0x0000 >>> >>> >>> Interface 2 >>> bLength = 0x0009 >>> bDescriptorType = 0x0004 >>> bInterfaceNumber = 0x0002 >>> bAlternateSetting = 0x0000 >>> bNumEndpoints = 0x0001 >>> bInterfaceClass = 0x0003 >>> bInterfaceSubClass = 0x0000 >>> bInterfaceProtocol = 0x0000 >>> iInterface = 0x0000 >>> >>> Additional Descriptor >>> >>> bLength = 0x09 >>> bDescriptorType = 0x21 >>> bDescriptorSubType = 0x11 >>> RAW dump: >>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x62, >>> 0x08 | 0x00 >>> >>> Endpoint 0 >>> bLength = 0x0007 >>> bDescriptorType = 0x0005 >>> bEndpointAddress = 0x0083 >>> bmAttributes = 0x0003 >>> wMaxPacketSize = 0x0020 >>> bInterval = 0x0002 >>> bRefresh = 0x0000 >>> bSynchAddress = 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 does >>> 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 >>> >> 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=2 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. > >> Are there any instances of moused(8) running when the external mouse is >> plugged in? >> >> $ ps auxww | grep moused >> >> Thanks, >> Anthony > > When the external mouse is connected, the following instance of moused > 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 mode. Does the touchpad still work (e.g. move the cursor) if you boot with the 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. -- Anthony Jenkins From owner-freebsd-mobile@freebsd.org Tue Aug 11 06:03:24 2015 Return-Path: Delivered-To: freebsd-mobile@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 E409E99D58B for ; Tue, 11 Aug 2015 06:03:24 +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 88582C25 for ; Tue, 11 Aug 2015 06:03:24 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-spool001.me.com ([17.164.152.254]) by st13p21im-asmtp002.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NSW00879M5K4G00@st13p21im-asmtp002.me.com> for freebsd-mobile@freebsd.org; Tue, 11 Aug 2015 06:03:23 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-08-11_01:2015-08-10,2015-08-10,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=4 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1508110106 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 <0NSW002U0M5KM760@st13p21im-spool001.mac.com> for freebsd-mobile@freebsd.org; Tue, 11 Aug 2015 06:03:20 +0000 (GMT) To: freebsd-mobile@freebsd.org From: Anders Bolt-Evensen Subject: Re: Touchpad/trackpad not working Date: Tue, 11 Aug 2015 06:03:19 +0000 (GMT) X-Mailer: iCloud MailClient15D.7d472b3 MailServer15E43.20056 X-Originating-IP: [85.164.50.179] Message-id: In-reply-to: <55C8D249.7010505@yahoo.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-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2015 06:03:25 -0000 =0A=0AOn Aug 10, 2015, at 06:33 PM, Anthony Jenkins via freebsd-mobile wrote:=0A=0A>=0A>=0A> On 08/10/2015 02:29 AM, An= ders Bolt-Evensen wrote:=0A>>=0A>>=0A>> On Aug 09, 2015, at 03:07 AM, Anth= ony Jenkins =0A>> wrote:=0A>>=0A>>>=0A>>>=0A>>> On 0= 8/07/15 02:19, Anders Bolt-Evensen wrote:=0A>>>>=0A>>>>=0A>>>> On Aug 06, = 2015, at 07:01 PM, Anthony Jenkins =0A>>>> wrote:=0A= >>>>=0A>>>>>=0A>>>>>=0A>>>>> On 08/06/2015 01:42 AM, Anders Bolt-Evensen w= rote:=0A>>>>>>=0A>>>>>>=0A>>>>>> On Aug 05, 2015, at 07:48 PM, Anthony Jen= kins =0A>>>>>> wrote:=0A>>>>>>=0A>>>>>>> [Dropping c= urrent@]=0A>>>>>>>=0A>>>>>>>> ________________________________=0A>>>>>>>> = From: Anders Bolt-Evensen =0A>>>>>>>> To: freebsd-curre= nt@freebsd.org; freebsd-mobile@freebsd.org Sent:=0A>>>>>>>> Wednesday, Aug= ust 5, 2015 11:38 AM=0A>>>>>>>> Subject: Touchpad/trackpad not working=0A>= >>>>>>>=0A>>>>>>>>=0A>>>>>>>> Hello, everyone!=0A>>>>>>>> On my Acer Aspir= e V17 Nitro I ha=C3=AF=C2=BB=C2=BFve a little problems with my=0A>>>>>>>> = touchpad/trackpad:=0A>>>>>>>> When I boot the system, in this case, on Fre= eBSD Current (the=0A>>>>>>>> problem also exists on FreeBSD 10) without an= external USB receiver=0A>>>>>>>> connected, my trackpad does not work at = all, neither in console or=0A>>>>>>>> in X.=0A>>>>>>>> In other words I am= not able to do a left or right click and moving=0A>>>>>>>> the pointer do= es not work either.=0A>>>>>>>> I cannot see any mention of it when I take = a look at dmesg, other=0A>>>>>>>> than a message that says "psm0: unable t= o allocate IRQ"=0A>>>>>>>> Today I installed sysutils/usbutils to see if I= could get any more=0A>>>>>>>> info about my problem and then took a look = at output of the command=0A>>>>>>>> "lsusb".=0A>>>>>>>> I see the followin= g output:=0A>>>>>>>> Bus /dev/usb Device /dev/ugen0.5: ID 046d:c52b Logite= ch, Inc.=0A>>>>>>>> Bus /dev/usb Device /dev/ugen0.4: ID 04f2:b474 Chicony= Electronics=0A>>>>>>>> Co., Ltd=0A>>>>>>>> Bus /dev/usb Device /dev/ugen0= .3: ID 06cb:2970 Synaptics, Inc.=0A>>>>>>>=0A>>>>>>> Weird...first time se= eing a Synaptics device on USB. I know psm(4)=0A>>>>>>> generally handles = Synaptics protocol in FreeBSD (if you enable=0A>>>>>>> synaptics=0A>>>>>>>= support), but your device isn't hanging off the atkbd(4)/psm(4). I'd=0A>>= >>>>> expect ums(4) to attach then... no idea why it isn't, or if it=0A>>>= >>>> supports=0A>>>>>>> the Synaptics protocol.=0A>>>>>>>=0A>>>>>>> Can yo= u tell me what the following command reports:=0A>>>>>>>=0A>>>>>>> usbconfi= g -d ugen0.3 dump_device_desc=0A>>>>>>>=0A>>>>>>> I think the device needs= to report itself as a USB HID device for=0A>>>>>>> ums(4)=0A>>>>>>> to at= tach.=0A>>>>>>>=0A>>>>>>> Also, do you have moused(8) running?=0A>>>>>>>=0A= >>>>>>> Thanks,=0A>>>>>>> Anthony Jenkins=0A>>>>>>=0A>>>>>> In /etc/rc.con= f I do have moused_enable=3D"YES", but sudo=0A>>>>>> /etc/rc.d/moused stat= us reports=0A>>>>>> "moused is not running". I assume it is because of mis= sing psm0.=0A>>>>>>=0A>>>>>> The command usbconfig -d ugen0.3 dump_device_= desc reports:=0A>>>>>> ugen0.3: at usbus0, = cfg=3D0 md=3DHOST=0A>>>>>> spd=3DFULL (12Mbps) pwr=3DON (100mA)=0A>>>>>>=0A= >>>>>> bLength =3D 0x0012=0A>>>>>> bDescriptorType =3D 0x0001=0A>>>>>> bcd= USB =3D 0x0200=0A>>>>>> bDeviceClass =3D 0x0000 =0A>>>>>> bDeviceSubClass =3D 0x0000=0A>>>>>> bDeviceProtocol =3D 0x0000=0A= >>>>>> bMaxPacketSize0 =3D 0x0008=0A>>>>>> idVendor =3D 0x06cb=0A>>>>>> id= Product =3D 0x2970=0A>>>>>> bcdDevice =3D 0x0008=0A>>>>>> iManufacturer =3D= 0x0001 < >=0A>>>>>> iProduct =3D 0x0002 < >=C3=AF=C2=BB=C2=BF=0A>>>>>> iS= erialNumber =3D 0x0000 =0A>>>>>> bNumConfigurations =3D 0x0001=0A= >>>>>>=0A>>>>>> - Anders=0A>>>>>=0A>>>>> Okay try the 'dump_curr_config_de= sc' command to usbconfig(8):=0A>>>>>=0A>>>>> usbconfig -d ugen0.3 dump_cur= r_config_desc=0A>>>>>=0A>>>>> For my Areson USB mouse, this reports:=0A>>>= >>=0A>>>>> $ sudo usbconfig -d ugen0.2 dump_curr_config_desc=0A>>>>> ugen0= .2: at usbus0, cfg=3D0 md=3DHOST spd=3DLOW=0A>>>>> (1.= 5Mbps)=0A>>>>> pwr=3DON (100mA)=0A>>>>>=0A>>>>>=0A>>>>> Configuration inde= x 0=0A>>>>>=0A>>>>> bLength =3D 0x0009=0A>>>>> bDescriptorType =3D 0x0002=0A= >>>>> wTotalLength =3D 0x003b=0A>>>>> bNumInterfaces =3D 0x0002=0A>>>>> bC= onfigurationValue =3D 0x0001=0A>>>>> iConfiguration =3D 0x0000 = =0A>>>>> bmAttributes =3D 0x00a0=0A>>>>> bMaxPower =3D 0x0032=0A>>>>>=0A>>= >>> Interface 0=0A>>>>> bLength =3D 0x0009=0A>>>>> bDescriptorType =3D 0x0= 004=0A>>>>> bInterfaceNumber =3D 0x0000=0A>>>>> bAlternateSetting =3D 0x00= 00=0A>>>>> bNumEndpoints =3D 0x0001=0A>>>>> bInterfaceClass =3D 0x0003 =0A>>>>> bInterfaceSubClass =3D 0x0001=0A>>>>> bInterfaceProtocol= =3D 0x0002=0A>>>>> iInterface =3D 0x0000 =0A>>>>>=0A>>>>> Addi= tional Descriptor=0A>>>>>=0A>>>>> bLength =3D 0x09=0A>>>>> bDescriptorType= =3D 0x21=0A>>>>> bDescriptorSubType =3D 0x00=0A>>>>> RAW dump:=0A>>>>> 0x= 00 | 0x09, 0x21, 0x00, 0x01, 0x00, 0x01, 0x22, 0x59,=0A>>>>> 0x08 | 0x00=0A= >>>>>=0A>>>>> Endpoint 0=0A>>>>> bLength =3D 0x0007=0A>>>>> bDescriptorTyp= e =3D 0x0005=0A>>>>> bEndpointAddress =3D 0x0081 =0A>>>>> bmAttributes= =3D 0x0003 =0A>>>>> wMaxPacketSize =3D 0x0008=0A>>>>> bInterva= l =3D 0x000a=0A>>>>> bRefresh =3D 0x0000=0A>>>>> bSynchAddress =3D 0x0000=0A= >>>>> ...=0A>>>>>=0A>>>>>=0A>>>>> I'm looking for an "Interface #" section= with "bInterfaceClass =3D=0A>>>>> 0x0003=0A>>>>> " and "bInte= rfaceProtocol =3D 0x0002" lines (class 0x3=0A>>>>> protocol 0x2 is a mouse= , supported by our ums(4) driver). If you have=0A>>>>> that, then it shoul= d work "out of the box" with moused(8) configured=0A>>>>> with the "auto" = protocol (required for USB pointing devices).=0A>>>>>=0A>>>>> You didn't s= ay whether the touchpad works with another USB mouse=0A>>>>> attached or n= ot. I wouldn't expect plugging a different mouse in to=0A>>>>> have any ef= fect on the touchpad behaviour, but if so, please also run=0A>>>>> the abo= ve usbconfig(8) command:=0A>>>>>=0A>>>>> - with no external USB mouse plug= ged in, targetting the Synaptics=0A>>>>> touchpad device (ugen0.3)=0A>>>>>= - with an external USB mouse plugged in, once for the Synaptics=0A>>>>> t= ouchpad device (ugen0.3) and once for the external mouse (ugen?.?)=0A>>>>>= =0A>>>>> Thanks,=0A>>>>> Anthony=0A>>>>=0A>>>> If I start FreeBSD without = the external receiver and run udo usbconfig=0A>>>> -d ugen0.3 dump_curr_co= nfig_desc, I get the following output:=0A>>>> ugen0.3: at usbus0, cfg=3D0 md=3DHOST=0A>>>> spd=3DFULL (12Mbps) pwr=3D= ON (100mA)=0A>>>>=0A>>>>=0A>>>> Configuration index 0=0A>>>>=0A>>>> bLengt= h =3D 0x0009=0A>>>> bDescriptorType =3D 0x0002=0A>>>> wTotalLength =3D 0x0= 029=0A>>>> bNumInterfaces =3D 0x0001=0A>>>> bConfigurationValue =3D 0x0001= =0A>>>> iConfiguration =3D 0x0000 =0A>>>> bmAttributes =3D 0x00= a0=0A>>>> bMaxPower =3D 0x0032=0A>>>>=0A>>>> Interface 0=0A>>>> bLength =3D= 0x0009=0A>>>> bDescriptorType =3D 0x0004=0A>>>> bInterfaceNumber =3D 0x00= 00=0A>>>> bAlternateSetting =3D 0x0000=0A>>>> bNumEndpoints =3D 0x0002=0A>= >>> bInterfaceClass =3D 0x0003 =0A>>>> bInterfaceSubClass =3D = 0x0000=0A>>>> bInterfaceProtocol =3D 0x0000=0A>>>> iInterface =3D 0x0000 <= no string>=0A>>>>=0A>>>> Additional Descriptor=0A>>>>=0A>>>> bLength =3D 0= x09=0A>>>> bDescriptorType =3D 0x21=0A>>>> bDescriptorSubType =3D 0x11=0A>= >>> RAW dump:=0A>>>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0xa1= ,=0A>>>> 0x08 | 0x01=0A>>>>=0A>>>> Endpoint 0=0A>>>> bLength =3D 0x0007=0A= >>>> bDescriptorType =3D 0x0005=0A>>>> bEndpointAddress =3D 0x0081 =0A= >>>> bmAttributes =3D 0x0003 =0A>>>> wMaxPacketSize =3D 0x0040=0A= >>>> bInterval =3D 0x0001=0A>>>> bRefresh =3D 0x0000=0A>>>> bSynchAddress = =3D 0x0000=0A>>>>=0A>>>> Endpoint 1=0A>>>> bLength =3D 0x0007=0A>>>> bDesc= riptorType =3D 0x0005=0A>>>> bEndpointAddress =3D 0x0002 =0A>>>> bmAt= tributes =3D 0x0003 =0A>>>> wMaxPacketSize =3D 0x0040=0A>>>> bI= nterval =3D 0x000a=0A>>>> bRefresh =3D 0x0000=0A>>>> bSynchAddress =3D 0x0= 000=0A>>>>=0A>>>> Now, if I plug in the receiver and reboot my computer (t= he touchpad=0A>>>> does not work in FreeBSD unless I start the computer wi= th that device=0A>>>> plugged in -- the external mouse that came with the = receiver works=0A>>>> just fine without a reboot) and then run the same co= mmand again (note=0A>>>> that when booting with the external device plugge= d in, according to=0A>>>> "lsusb", the Symantec touchpad changes from ugen= 0.3 to ugen0.4), I get=0A>>>> the following:=0A>>>> Output of lsusb:=0A>>>= > [...]=0A>>>> Bus /dev/usb Device /dev/ugen0.4: ID 06cb:2970 Synaptics, I= nc.=0A>>>> [...]=0A>>>> Bus /dev/usb Device /dev/ugen0.2: ID 046d:c52b Log= itech, Inc.=0A>>>>=0A>>>> Output of "sudo usbconfig -d ugen0.4 dump_curr_c= onfig_desc" (ugen0.3=0A>>>> before the reboot)=0A>>>> ugen0.4: at usbus0, cfg=3D0 md=3DHOST=0A>>>> spd=3DFULL (12Mbps= ) pwr=3DON (100mA)=0A>>>>=0A>>>>=0A>>>> Configuration index 0=0A>>>>=0A>>>= > bLength =3D 0x0009=0A>>>> bDescriptorType =3D 0x0002=0A>>>> wTotalLength= =3D 0x0029=0A>>>> bNumInterfaces =3D 0x0001=0A>>>> bConfigurationValue =3D= 0x0001=0A>>>> iConfiguration =3D 0x0000 =0A>>>> bmAttributes =3D= 0x00a0=0A>>>> bMaxPower =3D 0x0032=0A>>>>=0A>>>> Interface 0=0A>>>> bLeng= th =3D 0x0009=0A>>>> bDescriptorType =3D 0x0004=0A>>>> bInterfaceNumber =3D= 0x0000=0A>>>> bAlternateSetting =3D 0x0000=0A>>>> bNumEndpoints =3D 0x000= 2=0A>>>> bInterfaceClass =3D 0x0003 =0A>>>> bInterfaceSubClass= =3D 0x0000=0A>>>> bInterfaceProtocol =3D 0x0000=0A>>>> iInterface =3D 0x0= 000 =0A>>>>=0A>>>> Additional Descriptor=0A>>>>=0A>>>> bLength = =3D 0x09=0A>>>> bDescriptorType =3D 0x21=0A>>>> bDescriptorSubType =3D 0x1= 1=0A>>>> RAW dump:=0A>>>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22,= 0xa1,=0A>>>> 0x08 | 0x01=0A>>>>=0A>>>> Endpoint 0=0A>>>> bLength =3D 0x00= 07=0A>>>> bDescriptorType =3D 0x0005=0A>>>> bEndpointAddress =3D 0x0081 =0A>>>> bmAttributes =3D 0x0003 =0A>>>> wMaxPacketSize =3D 0x= 0040=0A>>>> bInterval =3D 0x0001=0A>>>> bRefresh =3D 0x0000=0A>>>> bSynchA= ddress =3D 0x0000=0A>>>>=0A>>>> Endpoint 1=0A>>>> bLength =3D 0x0007=0A>>>= > bDescriptorType =3D 0x0005=0A>>>> bEndpointAddress =3D 0x0002 =0A>>= >> bmAttributes =3D 0x0003 =0A>>>> wMaxPacketSize =3D 0x0040=0A= >>>> bInterval =3D 0x000a=0A>>>> bRefresh =3D 0x0000=0A>>>> bSynchAddress = =3D 0x0000=0A>>>>=0A>>>> Output of sudo usbconfig -d ugen0.2 dump_curr_con= fig_desc (ugen0.5 if=0A>>>> plugged in before the reboot)=0A>>>> ugen0.2: = at usbus0, cfg=3D0 md=3DHOST spd=3DFULL=0A>>>> (12= Mbps) pwr=3DON (98mA)=0A>>>>=0A>>>>=0A>>>> Configuration index 0=0A>>>>=0A= >>>> bLength =3D 0x0009=0A>>>> bDescriptorType =3D 0x0002=0A>>>> wTotalLen= gth =3D 0x0054=0A>>>> bNumInterfaces =3D 0x0003=0A>>>> bConfigurationValue= =3D 0x0001=0A>>>> iConfiguration =3D 0x0004 =0A>>>> bmAtt= ributes =3D 0x00a0=0A>>>> bMaxPower =3D 0x0031=0A>>>>=0A>>>> Interface 0=0A= >>>> bLength =3D 0x0009=0A>>>> bDescriptorType =3D 0x0004=0A>>>> bInterfac= eNumber =3D 0x0000=0A>>>> bAlternateSetting =3D 0x0000=0A>>>> bNumEndpoint= s =3D 0x0001=0A>>>> bInterfaceClass =3D 0x0003 =0A>>>> bInterf= aceSubClass =3D 0x0001=0A>>>> bInterfaceProtocol =3D 0x0001=0A>>>> iInterf= ace =3D 0x0000 =0A>>>>=0A>>>> Additional Descriptor=0A>>>>=0A>>= >> bLength =3D 0x09=0A>>>> bDescriptorType =3D 0x21=0A>>>> bDescriptorSubT= ype =3D 0x11=0A>>>> RAW dump:=0A>>>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, = 0x01, 0x22, 0x3b,=0A>>>> 0x08 | 0x00=0A>>>>=0A>>>> Endpoint 0=0A>>>> bLeng= th =3D 0x0007=0A>>>> bDescriptorType =3D 0x0005=0A>>>> bEndpointAddress =3D= 0x0081 =0A>>>> bmAttributes =3D 0x0003 =0A>>>> wMaxPacketS= ize =3D 0x0008=0A>>>> bInterval =3D 0x0008=0A>>>> bRefresh =3D 0x0000=0A>>= >> bSynchAddress =3D 0x0000=0A>>>>=0A>>>>=0A>>>> Interface 1=0A>>>> bLengt= h =3D 0x0009=0A>>>> bDescriptorType =3D 0x0004=0A>>>> bInterfaceNumber =3D= 0x0001=0A>>>> bAlternateSetting =3D 0x0000=0A>>>> bNumEndpoints =3D 0x000= 1=0A>>>> bInterfaceClass =3D 0x0003 =0A>>>> bInterfaceSubClass= =3D 0x0001=0A>>>> bInterfaceProtocol =3D 0x0002=0A>>>> iInterface =3D 0x0= 000 =0A>>>>=0A>>>> Additional Descriptor=0A>>>>=0A>>>> bLength = =3D 0x09=0A>>>> bDescriptorType =3D 0x21=0A>>>> bDescriptorSubType =3D 0x1= 1=0A>>>> RAW dump:=0A>>>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22,= 0x94,=0A>>>> 0x08 | 0x00=0A>>>>=0A>>>> Endpoint 0=0A>>>> bLength =3D 0x00= 07=0A>>>> bDescriptorType =3D 0x0005=0A>>>> bEndpointAddress =3D 0x0082 =0A>>>> bmAttributes =3D 0x0003 =0A>>>> wMaxPacketSize =3D 0x= 0008=0A>>>> bInterval =3D 0x0002=0A>>>> bRefresh =3D 0x0000=0A>>>> bSynchA= ddress =3D 0x0000=0A>>>>=0A>>>>=0A>>>> Interface 2=0A>>>> bLength =3D 0x00= 09=0A>>>> bDescriptorType =3D 0x0004=0A>>>> bInterfaceNumber =3D 0x0002=0A= >>>> bAlternateSetting =3D 0x0000=0A>>>> bNumEndpoints =3D 0x0001=0A>>>> b= InterfaceClass =3D 0x0003 =0A>>>> bInterfaceSubClass =3D 0x000= 0=0A>>>> bInterfaceProtocol =3D 0x0000=0A>>>> iInterface =3D 0x0000 =0A>>>>=0A>>>> Additional Descriptor=0A>>>>=0A>>>> bLength =3D 0x09=0A= >>>> bDescriptorType =3D 0x21=0A>>>> bDescriptorSubType =3D 0x11=0A>>>> RA= W dump:=0A>>>> 0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x62,=0A>>= >> 0x08 | 0x00=0A>>>>=0A>>>> Endpoint 0=0A>>>> bLength =3D 0x0007=0A>>>> b= DescriptorType =3D 0x0005=0A>>>> bEndpointAddress =3D 0x0083 =0A>>>> b= mAttributes =3D 0x0003 =0A>>>> wMaxPacketSize =3D 0x0020=0A>>>>= bInterval =3D 0x0002=0A>>>> bRefresh =3D 0x0000=0A>>>> bSynchAddress =3D = 0x0000=0A>>>>=0A>>>> With that device plugged in during the booting proces= s, I'm able to do=0A>>>> a left tap/click and a right click with the touch= pad. Scrolling does=0A>>>> not work unless I use the external mouse instea= d of the touchpad.=0A>>>> If I now decide to unplug the external device, t= he touchpad works=0A>>>> until the next reboot.=0A>>>>=0A>>>> Anders=C3=AF= =C2=BB=C2=BF=0A>>>>=0A>>> Are there any /dev/ums* device nodes when the ex= ternal mouse is=0A>>> plugged in?=0A>>>=0A>>> $ ls /dev/ums*=0A>>> $ dmesg= | grep ums=0A>>=0A>> Yes, when I connect the external mouse, /dev/ums0 ap= pears:=0A>> ls /dev/ums*=0A>> /dev/ums0=0A>>=0A>> dmesg | grep ums=0A>> um= s0: on=0A>> usb= us0=0A>> ums0: 16 buttons and [XYZT] coordinates ID=3D2=0A>=0A> Whoa... do= es your mouse /actually/ have 16 buttons???=0A>=0A> Ahh never mind, I just= tried my Logitech universal receiver on my=0A> FreeBSD laptop - same numb= er of buttons.=0A>=0A>>=0A>>> =EF=BB=BFAre there any instances of moused(8= ) running when the external mouse is=0A>>> plugged in?=0A>>>=0A>>> $ ps au= xww | grep moused=0A>>>=0A>>> Thanks,=0A>>> Anthony=0A>>=0A>> When the ext= ernal mouse is connected, the following instance of moused=0A>> is running= (as returned from the command ps auxww | grep moused):=0A>> root 2426 0.0= 0.0 16728 2284 - Ss 08:06 0:00.00=0A>> /usr/sbin/moused -p /dev/ums0 -t a= uto -I /var/run/moused.ums0.pid=0A>>=0A>> Anders=0A>>=0A> Well I'm at a lo= ss... if your touchpad is in fact a USB device, I don't=0A> see how it cou= ld report mouse events to FreeBSD when a different USB=0A> mouse is instal= led (if that's indeed what's happening). Next thing I'd=0A> do is try to t= rack down how the device is reporting data to FreeBSD in=0A> this case (an= d why it isn't in the other case). I'd look at the=0A> /dev/ums0 device no= de to see what data it appears to be receiving when=0A> using the touchpad= , probably by running moused(8) in debug/verbose mode.=0A>=0A> Does the to= uchpad still work (e.g. move the cursor) if you boot with the=0A> external= USB mouse, but then unplug it? Is moused(8) still running=0A> after unplu= gging?=0A>=0A> Have you poked around your BIOS for any possible touchpad o= r USB=0A> configuration settings? For one, you might try setting "Legacy U= SB" to=0A> "enabled" (if your BIOS has it).=0A>=0A> About the only thing I= can think of asking for now is for you to boot=0A> verbose twice (with an= d without the external USB mouse connected) and=0A> send me the dmesg(1) o= r /var/log/messages with the boot messages.=0A>=0A> -- =0A> Anthony Jenkin= s=0A>=0A>=0A> _______________________________________________=0A> freebsd-= mobile@freebsd.org mailing list=0A> http://lists.freebsd.org/mailman/listi= nfo/freebsd-mobile=0A> To unsubscribe, send any mail to "freebsd-mobile-un= subscribe@freebsd.org"=0A=0A=0AI did take a long look in the BIOS, but i h= ave not seen anything interesting as far as any kind of USB settings goes.= =0AWhen 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 verb= ose boots below). Moused then runs on both device nodes. When I disconnect= the external device, /dev/ums0 is removed while /dev/ums1 remains. Normal= ly, when I boot the system without the external mouse, /dev/ums* is not cr= eated at all. /dev/ums* only appears if I connect the external device.=0A=0A= One thing that puzzles me is why the following message appears during boot= (it might be unrelated):=0A"psm0: unable to allocate IRQ"=0A=0AOriginally= I tried to post the output of dmesg from the 2 verbose boots here, but th= e message got rejected because of its size. Therefore, output from dmesg i= s available from the following 2 links.=0AOutput of the verbose boot messa= ges without the external mouse:=0Ahttps://www.dropbox.com/s/ukpoyg6rsl3jjg= d/dmesg_without_external_usb.txt?dl=3D0=0A=0ANow, I gave the command "shut= down -p now" (power off the system) and then plugged in the external USB m= ouse. After that I ran a new verbose boot:=0Ahttps://www.dropbox.com/s/uga= 7p5zlxh7knsj/dmesg_with_external_usb.txt?dl=3D0=0A=0AAnders=EF=BB=BF= From owner-freebsd-mobile@freebsd.org Tue Aug 11 14:46:08 2015 Return-Path: Delivered-To: freebsd-mobile@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 70E9899F905 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 2EC6B1991 for ; Tue, 11 Aug 2015 14:46:07 +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-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD 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-mobile@freebsd.org Tue Aug 11 15:03:36 2015 Return-Path: Delivered-To: freebsd-mobile@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-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD 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-mobile@freebsd.org Tue Aug 11 15:46:15 2015 Return-Path: Delivered-To: freebsd-mobile@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 D098799F737 for ; Tue, 11 Aug 2015 15:46:15 +0000 (UTC) (envelope-from zkolic@sbb.rs) Received: from mproxy8.sbb.rs (mproxy8.sbb.rs [89.216.2.99]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "smtp.sbb.rs", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4E6E2908 for ; Tue, 11 Aug 2015 15:46:14 +0000 (UTC) (envelope-from zkolic@sbb.rs) Received: from mycenae.localdomain (cable-178-148-96-187.dynamic.sbb.rs [178.148.96.187]) by mproxy8.sbb.rs (8.14.4/8.14.4) with ESMTP id t7BFdmw0019459 for ; Tue, 11 Aug 2015 17:39:48 +0200 X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.97.6 at SBB mail Received: by mycenae.localdomain (Postfix, from userid 1001) id 742EF6211; Tue, 11 Aug 2015 17:39:24 +0200 (CEST) Date: Tue, 11 Aug 2015 17:39:24 +0200 From: Zoran Kolic To: freebsd-mobile@freebsd.org Subject: Re: Touchpad/trackpad not working Message-ID: <20150811153923.GA813@mycenae.sbb.rs> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on mproxy8.sbb.rs X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Aug 2015 15:46:15 -0000 What do you have in device.hints? Zoran From owner-freebsd-mobile@freebsd.org Wed Aug 12 07:20:52 2015 Return-Path: Delivered-To: freebsd-mobile@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-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD 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-mobile@freebsd.org Fri Aug 14 13:59:08 2015 Return-Path: Delivered-To: freebsd-mobile@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-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD 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-mobile@freebsd.org Fri Aug 14 14:14:52 2015 Return-Path: Delivered-To: freebsd-mobile@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-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD 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-mobile@freebsd.org Fri Aug 14 14:38:26 2015 Return-Path: Delivered-To: freebsd-mobile@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 B962F9B91B5 for ; Fri, 14 Aug 2015 14:38:26 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: from nm40-vm6.bullet.mail.bf1.yahoo.com (nm40-vm6.bullet.mail.bf1.yahoo.com [72.30.239.214]) (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 6B55A137B for ; Fri, 14 Aug 2015 14:38:25 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1439563104; bh=o2s+GFJKlXCVy5J3vJYH/f8P/0h9IVY9nFwhdKuRR9Y=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=hOPLY6aXrRPZxqR7B0i9P96yW1L9vfzUQyLkqIMR1X/bjQzwmtlCZtfrMacvP9b53DtE2p/uLmdJP/1CsGYHMdwl0aFis2EQynQLIA+5zp1B4+opYURtlJmmweJL+NRAKSdiPmytq/Ie5U3jV7HuPLJ7TlVPmVjTfuhTWIawkqYcZlfk8kUtNcHEuXs6xICuAFBR0k+Xxp9doNLIAdFMri2cs4eJ50NDrtlK5Oo7bI7xdbfMqfQBsF/sy9YhexVt7gpjSKsCIUG9i0hHaKpkZChtJ44z+n/dFgBoGCJnDY+7vt08CLhSeMTPh0iIZVA4FmDgLHfkivrzPjkTVJx42g== Received: from [98.139.170.182] by nm40.bullet.mail.bf1.yahoo.com with NNFMP; 14 Aug 2015 14:38:24 -0000 Received: from [98.139.211.160] by tm25.bullet.mail.bf1.yahoo.com with NNFMP; 14 Aug 2015 14:38:24 -0000 Received: from [127.0.0.1] by smtp217.mail.bf1.yahoo.com with NNFMP; 14 Aug 2015 14:38:23 -0000 X-Yahoo-Newman-Id: 995462.78105.bm@smtp217.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: Tzux2MUVM1kovg8RxOMbd9pzywsD04v5fjAqfpKuwhXGwgu K0FnkVcPOTFo8mT3M7fTjQsnoGHGiilnNws8ESBI7mxHh0QEph_A8X0mIP9y t7RcIKTGXN3.R7jVAPjpg9w_.u08NSV5HDObEwjT9bHAZ9OKXELNpTmqH52M mNctv5niEw6MZGzk_9gmVVNXLRWRyRM4zRztnCkqyry2FT06aJPehUEumSsb 8XPw6qyMYOan.xgGud3uxGb0SZcma1.ATKfw2MCaF0.axWdc9F4FiK6iRf.B esTpM8sE4wIvvfL9A1vRYqbUQVkpv9DYUbstat0.mgRwzMQglWyJS0T_Gyoq Ba3_S41LnqtPxzvouI57Yay44MkIAMqwvx4fkSiVoWa6XBfzSkLczsRxEtDM lBt4xkyu3MnHT5Z.eLdZvGqp6.rHDrTuK5iKGmMYvVKuQpZYh36MH06npqfN ZdV4O4ejAqclYvCfVyhAJuKBrqEM5p2j69aNwzGoaBuBrgDsPvFQZDldqS23 YY8BNk_UYcKBH5iPEpVccS.OEjs2RyxbI X-Yahoo-SMTP: 9sPoSQ2swBBlERuQ.0vs8XLc_MeClW0- Message-ID: <55CDFD5D.8070007@yahoo.com> Date: Fri, 14 Aug 2015 10:38:21 -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: Hans Petter Selasky , Anders Bolt-Evensen , freebsd-mobile@freebsd.org Subject: Re: Touchpad/trackpad not working References: <55CDF82E.8060305@selasky.org> In-Reply-To: <55CDF82E.8060305@selasky.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Aug 2015 14:38:26 -0000 [Dropped freebsd-usb@] On 08/14/2015 10:16 AM, Hans Petter Selasky wrote: > 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 Awesome! Now just gotta get the Synaptics touchpad protocol out of psm(4)... :-/ -- Anthony Jenkins