Date: Mon, 10 Aug 2015 06:29:19 +0000 (GMT) From: Anders Bolt-Evensen <andersbo87@icloud.com> To: freebsd-mobile@freebsd.org Subject: Touchpad/trackpad not working Message-ID: <15cd9145-5290-463e-8495-5cfa31ca1ace@me.com>
next in thread | raw e-mail | index | archive | help
=0A=0AOn Aug 09, 2015, at 03:07 AM, Anthony Jenkins <Scoobi_doo@yahoo.com>= 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 <Scoobi_doo@yahoo.co= m>=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 <Scoobi_doo@yahoo.com>=0A>>>> wrote:=0A>>>>=0A>>>>> [Dropping curr= ent@]=0A>>>>>=0A>>>>>> ________________________________=0A>>>>>> From: And= ers Bolt-Evensen <andersbo87@me.com>=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: <product= 0x2970 vendor 0x06cb> 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 <Pr= obed by interface class>=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 <no string>=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: <USB Device= Areson> 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 <no string>=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 <HID device>=0A>>> bInterfaceSubClass =3D 0x0001=0A>>> bInterfaceP= rotocol =3D 0x0002=0A>>> iInterface =3D 0x0000 <no string>=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 <IN>=0A>>> bmAttributes =3D 0x0003 <INTERRUPT>=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: <product 0x2970 vendor 0x06cb> 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 <no s= tring>=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 <HID device>=0A>> bInterfac= eSubClass =3D 0x0000=0A>> bInterfaceProtocol =3D 0x0000=0A>> iInterface =3D= 0x0000 <no string>=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 <IN>=0A>> bmAttributes =3D= 0x0003 <INTERRUPT>=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 <OUT>=0A>> bmAttributes =3D 0x0003 <INTERRUPT>=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: <product 0x2970 ve= ndor 0x06cb> 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 <no string>=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 <HID device= >=0A>> bInterfaceSubClass =3D 0x0000=0A>> bInterfaceProtocol =3D 0x0000=0A= >> iInterface =3D 0x0000 <no string>=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 <IN>=0A>> b= mAttributes =3D 0x0003 <INTERRUPT>=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 <OUT>=0A>> bmAttributes =3D 0x0003 <INTE= RRUPT>=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: <USB Receiver Logitech> 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 <RQR12.01_B0019>=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 <HID device>=0A>> bInterfaceSubClass =3D 0x0= 001=0A>> bInterfaceProtocol =3D 0x0001=0A>> iInterface =3D 0x0000 <no stri= ng>=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 <IN>=0A>> bmAttributes =3D 0x0003 <INTERRUP= T>=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 <HID device>=0A>> bInterfaceSubClass =3D 0x0= 001=0A>> bInterfaceProtocol =3D 0x0002=0A>> iInterface =3D 0x0000 <no stri= ng>=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 <IN>=0A>> bmAttributes =3D 0x0003 <INTERRUP= T>=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 <HID device>=0A>> bInterfaceSubClass =3D 0x0= 000=0A>> bInterfaceProtocol =3D 0x0000=0A>> iInterface =3D 0x0000 <no stri= ng>=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 <IN>=0A>> bmAttributes =3D 0x0003 <INTERRUP= T>=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: <Logitech US= B Receiver, class 0/0, rev 2.00/12.01, addr 5> 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=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15cd9145-5290-463e-8495-5cfa31ca1ace>