Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 07 Aug 2015 06:19:23 +0000 (GMT)
From:      Anders Bolt-Evensen <andersbo87@icloud.com>
To:        freebsd-mobile@freebsd.org
Subject:   Re: Touchpad/trackpad not working
Message-ID:  <e2d3a904-7924-48e7-9b9b-ead1f8576929@me.com>
In-Reply-To: <55C392D0.6080109@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
=0A=0AOn Aug 06, 2015, at 07:01 PM, Anthony Jenkins <Scoobi_doo@yahoo.com>=
 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@yah=
oo.com>=0A>> wrote:=0A>>=0A>>> [Dropping current@]=0A>>>=0A>>>> __________=
______________________=0A>>>> From: Anders Bolt-Evensen <andersbo87@me.com=
>=0A>>>> To: freebsd-current@freebsd.org; freebsd-mobile@freebsd.org Sent:=
=0A>>>> Wednesday, August 5, 2015 11:38 AM=0A>>>> Subject: Touchpad/trackp=
ad not working=0A>>>>=0A>>>>=0A>>>> Hello, everyone!=0A>>>> On my Acer Asp=
ire V17 Nitro I ha=EF=BB=BFve a little problems with my=0A>>>> touchpad/tr=
ackpad:=0A>>>> When I boot the system, in this case, on FreeBSD Current (t=
he=0A>>>> problem also exists on FreeBSD 10) without an external USB recei=
ver=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=
 see 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 sy=
sutils/usbutils to see if I could get any more=0A>>>> info about my proble=
m and then took a look at output of the command=0A>>>> "lsusb".=0A>>>> I s=
ee the following output:=0A>>>> Bus /dev/usb Device /dev/ugen0.5: ID 046d:=
c52b Logitech, 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 seeing a Sy=
naptics device on USB. I know psm(4)=0A>>> generally handles Synaptics pro=
tocol in FreeBSD (if you enable synaptics=0A>>> support), but your device =
isn't hanging off the atkbd(4)/psm(4). I'd=0A>>> expect ums(4) to attach t=
hen... no idea why it isn't, or if it supports=0A>>> the Synaptics protoco=
l.=0A>>>=0A>>> Can you tell me what the following command reports:=0A>>>=0A=
>>> usbconfig -d ugen0.3 dump_device_desc=0A>>>=0A>>> I think the device n=
eeds to report itself as a USB HID device for ums(4)=0A>>> to attach.=0A>>=
>=0A>>> Also, do you have moused(8) running?=0A>>>=0A>>> Thanks,=0A>>> Ant=
hony Jenkins=0A>>=0A>> In /etc/rc.conf I do have moused_enable=3D"YES", bu=
t sudo=0A>> /etc/rc.d/moused status reports=0A>> "moused is not running". =
I assume it is because of missing psm0.=0A>>=0A>> The command usbconfig -d=
 ugen0.3 dump_device_desc reports:=0A>> ugen0.3: <product 0x2970 vendor 0x=
06cb> at usbus0, cfg=3D0 md=3DHOST=0A>> spd=3DFULL (12Mbps) pwr=3DON (100m=
A)=0A>>=0A>> bLength =3D 0x0012=0A>> bDescriptorType =3D 0x0001=0A>> bcdUS=
B =3D 0x0200=0A>> bDeviceClass =3D 0x0000 <Probed by interface class>=0A>>=
 bDeviceSubClass =3D 0x0000=0A>> bDeviceProtocol =3D 0x0000=0A>> bMaxPacke=
tSize0 =3D 0x0008=0A>> idVendor =3D 0x06cb=0A>> idProduct =3D 0x2970=0A>> =
bcdDevice =3D 0x0008=0A>> iManufacturer =3D 0x0001 < >=0A>> iProduct =3D 0=
x0002 < >=EF=BB=BF=0A>> iSerialNumber =3D 0x0000 <no string>=0A>> bNumConf=
igurations =3D 0x0001=0A>>=0A>> - Anders=0A>=0A> Okay try the 'dump_curr_c=
onfig_desc' 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> $ sud=
o usbconfig -d ugen0.2 dump_curr_config_desc=0A> ugen0.2: <USB Device Ares=
on> at usbus0, cfg=3D0 md=3DHOST spd=3DLOW (1.5Mbps)=0A> pwr=3DON (100mA)=0A=
>=0A>=0A> Configuration index 0=0A>=0A> bLength =3D 0x0009=0A> bDescriptor=
Type =3D 0x0002=0A> wTotalLength =3D 0x003b=0A> bNumInterfaces =3D 0x0002=0A=
> bConfigurationValue =3D 0x0001=0A> iConfiguration =3D 0x0000 <no string>=
=0A> bmAttributes =3D 0x00a0=0A> bMaxPower =3D 0x0032=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 0x0001=0A=
> bInterfaceProtocol =3D 0x0002=0A> iInterface =3D 0x0000 <no string>=0A>=0A=
> Additional Descriptor=0A>=0A> bLength =3D 0x09=0A> bDescriptorType =3D 0=
x21=0A> bDescriptorSubType =3D 0x00=0A> RAW dump:=0A> 0x00 | 0x09, 0x21, 0=
x00, 0x01, 0x00, 0x01, 0x22, 0x59,=0A> 0x08 | 0x00=0A>=0A> Endpoint 0=0A> =
bLength =3D 0x0007=0A> bDescriptorType =3D 0x0005=0A> bEndpointAddress =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 looking for an "Interface #" section w=
ith "bInterfaceClass =3D 0x0003=0A> <HID device>" and "bInterfaceProtocol =
=3D 0x0002" lines (class 0x3=0A> protocol 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> attached or not. I wouldn't expect plugging a diffe=
rent mouse in to=0A> have any effect on the touchpad behaviour, but if so,=
 please also run=0A> the above usbconfig(8) command:=0A>=0A> - with no ext=
ernal USB mouse plugged in, targetting the Synaptics=0A> touchpad device (=
ugen0.3)=0A> - with an external USB mouse plugged in, once for the Synapti=
cs=0A> touchpad device (ugen0.3) and once for the external mouse (ugen?.?)=
=0A>=0A> Thanks,=0A> Anthony=0A =0AIf I start FreeBSD without the external=
 receiver and run udo usbconfig -d ugen0.3 dump_curr_config_desc, I get th=
e following output:=0Augen0.3: <product 0x2970 vendor 0x06cb> at usbus0, c=
fg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON (100mA)=0A=0A=0A Configurati=
on index 0=0A=0A    bLength =3D 0x0009=0A    bDescriptorType =3D 0x0002=0A=
    wTotalLength =3D 0x0029=0A    bNumInterfaces =3D 0x0001=0A    bConfigu=
rationValue =3D 0x0001=0A    iConfiguration =3D 0x0000  <no string>=0A    =
bmAttributes =3D 0x00a0=0A    bMaxPower =3D 0x0032=0A=0A    Interface 0=0A=
      bLength =3D 0x0009=0A      bDescriptorType =3D 0x0004=0A      bInter=
faceNumber =3D 0x0000=0A      bAlternateSetting =3D 0x0000=0A      bNumEnd=
points =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      bDescripto=
rSubType =3D 0x11=0A       RAW dump:=0A       0x00 | 0x09, 0x21, 0x11, 0x0=
1, 0x00, 0x01, 0x22, 0xa1,=0A       0x08 | 0x01=0A=0A     Endpoint 0=0A   =
     bLength =3D 0x0007=0A        bDescriptorType =3D 0x0005=0A        bEn=
dpointAddress =3D 0x0081  <IN>=0A        bmAttributes =3D 0x0003  <INTERRU=
PT>=0A        wMaxPacketSize =3D 0x0040=0A        bInterval =3D 0x0001=0A =
       bRefresh =3D 0x0000=0A        bSynchAddress =3D 0x0000=0A=0A     En=
dpoint 1=0A        bLength =3D 0x0007=0A        bDescriptorType =3D 0x0005=
=0A        bEndpointAddress =3D 0x0002  <OUT>=0A        bmAttributes =3D 0=
x0003  <INTERRUPT>=0A        wMaxPacketSize =3D 0x0040=0A        bInterval=
 =3D 0x000a=0A        bRefresh =3D 0x0000=0A        bSynchAddress =3D 0x00=
00=0A=0ANow, if I plug in the receiver and reboot my computer (the touchpa=
d does not work in FreeBSD unless I start the computer with that device pl=
ugged 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 boo=
ting with the external device plugged in, according to "lsusb", the Symant=
ec touchpad changes from ugen0.3 to ugen0.4), I get the following:=0AOutpu=
t of lsusb:=0A[...]=0ABus /dev/usb Device /dev/ugen0.4: ID 06cb:2970 Synap=
tics, Inc.=0A[...]=0ABus /dev/usb Device /dev/ugen0.2: ID 046d:c52b Logite=
ch, Inc.=0A=0AOutput of "sudo usbconfig -d ugen0.4 dump_curr_config_desc" =
(ugen0.3 before the reboot)=0Augen0.4: <product 0x2970 vendor 0x06cb> at u=
sbus0, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON (100mA)=0A=0A=0A Con=
figuration index 0=0A=0A    bLength =3D 0x0009=0A    bDescriptorType =3D 0=
x0002=0A    wTotalLength =3D 0x0029=0A    bNumInterfaces =3D 0x0001=0A    =
bConfigurationValue =3D 0x0001=0A    iConfiguration =3D 0x0000  <no string=
>=0A    bmAttributes =3D 0x00a0=0A    bMaxPower =3D 0x0032=0A=0A    Interf=
ace 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 0x00=
00=0A      iInterface =3D 0x0000  <no string>=0A=0A      Additional Descri=
ptor=0A=0A      bLength =3D 0x09=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     Endpoi=
nt 0=0A        bLength =3D 0x0007=0A        bDescriptorType =3D 0x0005=0A =
       bEndpointAddress =3D 0x0081  <IN>=0A        bmAttributes =3D 0x0003=
  <INTERRUPT>=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        bDescriptorType =
=3D 0x0005=0A        bEndpointAddress =3D 0x0002  <OUT>=0A        bmAttrib=
utes =3D 0x0003  <INTERRUPT>=0A        wMaxPacketSize =3D 0x0040=0A       =
 bInterval =3D 0x000a=0A        bRefresh =3D 0x0000=0A        bSynchAddres=
s =3D 0x0000=0A=0AOutput of sudo usbconfig -d ugen0.2 dump_curr_config_des=
c (ugen0.5 if plugged in before the reboot)=0Augen0.2: <USB Receiver Logit=
ech> at usbus0, cfg=3D0 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON (98mA)=0A=0A=
=0A Configuration index 0=0A=0A    bLength =3D 0x0009=0A    bDescriptorTyp=
e =3D 0x0002=0A    wTotalLength =3D 0x0054=0A    bNumInterfaces =3D 0x0003=
=0A    bConfigurationValue =3D 0x0001=0A    iConfiguration =3D 0x0004  <RQ=
R12.01_B0019>=0A    bmAttributes =3D 0x00a0=0A    bMaxPower =3D 0x0031=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  <H=
ID device>=0A      bInterfaceSubClass =3D 0x0001=0A      bInterfaceProtoco=
l =3D 0x0001=0A      iInterface =3D 0x0000  <no string>=0A=0A      Additio=
nal Descriptor=0A=0A      bLength =3D 0x09=0A      bDescriptorType =3D 0x2=
1=0A      bDescriptorSubType =3D 0x11=0A       RAW dump:=0A       0x00 | 0=
x09, 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  <INTERRUPT>=0A        wMaxPacketSize =3D 0x0008=0A        bInt=
erval =3D 0x0008=0A        bRefresh =3D 0x0000=0A        bSynchAddress =3D=
 0x0000=0A=0A=0A    Interface 1=0A      bLength =3D 0x0009=0A      bDescri=
ptorType =3D 0x0004=0A      bInterfaceNumber =3D 0x0001=0A      bAlternate=
Setting =3D 0x0000=0A      bNumEndpoints =3D 0x0001=0A      bInterfaceClas=
s =3D 0x0003  <HID device>=0A      bInterfaceSubClass =3D 0x0001=0A      b=
InterfaceProtocol =3D 0x0002=0A      iInterface =3D 0x0000  <no string>=0A=
=0A      Additional Descriptor=0A=0A      bLength =3D 0x09=0A      bDescri=
ptorType =3D 0x21=0A      bDescriptorSubType =3D 0x11=0A       RAW dump:=0A=
       0x00 | 0x09, 0x21, 0x11, 0x01, 0x00, 0x01, 0x22, 0x94,=0A       0x0=
8 | 0x00=0A=0A     Endpoint 0=0A        bLength =3D 0x0007=0A        bDesc=
riptorType =3D 0x0005=0A        bEndpointAddress =3D 0x0082  <IN>=0A      =
  bmAttributes =3D 0x0003  <INTERRUPT>=0A        wMaxPacketSize =3D 0x0008=
=0A        bInterval =3D 0x0002=0A        bRefresh =3D 0x0000=0A        bS=
ynchAddress =3D 0x0000=0A=0A=0A    Interface 2=0A      bLength =3D 0x0009=0A=
      bDescriptorType =3D 0x0004=0A      bInterfaceNumber =3D 0x0002=0A   =
   bAlternateSetting =3D 0x0000=0A      bNumEndpoints =3D 0x0001=0A      b=
InterfaceClass =3D 0x0003  <HID device>=0A      bInterfaceSubClass =3D 0x0=
000=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, 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  <INTERRUPT>=0A        wMaxPacketSi=
ze =3D 0x0020=0A        bInterval =3D 0x0002=0A        bRefresh =3D 0x0000=
=0A        bSynchAddress =3D 0x0000=0A=0AWith that device plugged in durin=
g the booting process, I'm able to do a left tap/click and a right click w=
ith the touchpad. Scrolling does not work unless I use the external mouse =
instead of the touchpad.=0AIf I now decide to unplug the external device, =
the touchpad works until the next reboot.=0A=0AAnders=EF=BB=BF=0A=0A=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?e2d3a904-7924-48e7-9b9b-ead1f8576929>