Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Aug 2015 20:49:41 +0000 (GMT)
From:      Anders Bolt-Evensen <andersbo87@icloud.com>
To:        freebsd-usb@freebsd.org
Subject:   Touchpad/trackpad not working
Message-ID:  <7f4f987c-716f-4350-adbf-a9e85823da28@me.com>

next in thread | raw e-mail | index | archive | help
=0A=0AOn Aug 12, 2015, at 01:08 PM, Hans Petter Selasky <hps@selasky.org> =
wrote:=0A=0A> On 08/12/15 12:32, Hans Petter Selasky wrote:=0A>> On 08/12/=
15 11:31, Anders Bolt-Evensen wrote:=0A>>>>=0A>>>> When you don't see any =
activity, can you issue a reset of the touchpad:=0A>>>>=0A>>>> usbconfig -=
d X.Y reset=0A>>>>=0A>>>> while "usbdump" is running on the same device?=0A=
>>>>=0A>>>> --HPS=0A>>>=0A>>> Sure. =EF=BB=BF=0A>>> usbconfig -d 0.3 reset=
 results in the following output from the usbdump=0A>>> command:=0A>>=0A>>=
 Can you run:=0A>>=0A>> sysctl hw.usb.ums.debug=3D15=0A>>=0A>> Then re-run=
 the "usbconfig -d X.Y reset" and send resulting dmesg?=0A>>=0A>> --HPS=0A=
>=0A> Hi,=0A>=0A> The issue might be that the BIOS is re-programming the U=
SB device=0A> somehow. I see the HID descriptor has support for different =
modes, and=0A> possible the device is not re-setting its internal state up=
on=0A> re-enumeration. You can try:=0A>=0A> usbconfig -d X.Y power_off=0A>=
 usbconfig -d X.Y reset=0A>=0A> Maybe if you disable USB legacy support in=
 the BIOS it will work.=0ASadly, there is no such thing in the BIOS of thi=
s computer (an Acer Aspire VN7-791G).=0AThe only legacy thing in this BIOS=
 is to choose between UEFI (which I'm using) and the older CSM.=0AI cannot=
 see anything related to USB in this BIOS other than in the boot order and=
 in that case I can only choose the boot order of USB storage devices.=0A=0A=
>=0A>=0A> BTW: The log you sent appears to be from a USB keyboard only dev=
ice and=0A> not a USB mouse!=0A>=0A> Also try:=0A>=0A> kldload ums=0A>=0A>=
 Can you send output from:=0A>=0A> usbconfig show_ifdrv=0A Here is the out=
put of usbconfig show_ifdrv:=0Augen0.1: <XHCI root HUB 0x8086> at usbus0, =
cfg=3D0 md=3DHOST spd=3DSUPER (5.0Gbps) pwr=3DSAVE (0mA)=0Augen0.1.0: uhub=
0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1>=0Augen1.1: <EH=
CI root HUB Intel> at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3D=
SAVE (0mA)=0Augen1.1.0: uhub1: <Intel EHCI root HUB, class 9/0, rev 2.00/1=
.00, addr 1>=0Augen2.1: <EHCI root HUB Intel> at usbus2, cfg=3D0 md=3DHOST=
 spd=3DHIGH (480Mbps) pwr=3DSAVE (0mA)=0Augen2.1.0: uhub2: <Intel EHCI roo=
t HUB, class 9/0, rev 2.00/1.00, addr 1>=0Augen0.2: <USB2.0-CRW Generic> a=
t usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON (500mA)=0Augen1.=
2: <product 0x8008 vendor 0x8087> at usbus1, cfg=3D0 md=3DHOST spd=3DHIGH =
(480Mbps) pwr=3DSAVE (0mA)=0Augen1.2.0: uhub3: <vendor 0x8087 product 0x80=
08, class 9/0, rev 2.00/0.05, addr 2>=0Augen2.2: <product 0x8000 vendor 0x=
8087> at usbus2, cfg=3D0 md=3DHOST spd=3DHIGH (480Mbps) pwr=3DSAVE (0mA)=0A=
ugen2.2.0: uhub4: <vendor 0x8087 product 0x8000, class 9/0, rev 2.00/0.05,=
 addr 2>=0Augen0.3: <product 0x2970 vendor 0x06cb> at usbus0, cfg=3D0 md=3D=
HOST spd=3DFULL (12Mbps) pwr=3DON (100mA)=0Augen0.3.0: uhid0: <vendor 0x06=
cb product 0x2970, class 0/0, rev 2.00/0.08, addr 2>=0Augen0.4: <HD WebCam=
 Chicony Electronics Co.,Ltd.> at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH (48=
0Mbps) pwr=3DON (500mA)=0A=0A>=0A>=0A> usbconfig dump_device_desc dump_cur=
r_config_desc=0A=0A>=0A>=0A> When it works and when it doesn't work?=0A =0A=
When the touchpad is not working, here is the output of usbconfig dump_dev=
ice_desc dump_curr_config_desc:=0Ahttps://www.dropbox.com/s/utllovfkamnqi9=
p/usbconfig_dump_device_desc_curr_config_desc_not_working.txt?dl=3D0=0A=0A=
Now, I connected the external USB receiver and rebooted the system. Now, b=
ecause the external device is connected, the touchpad works just fine. Her=
e is the output of usbconfig dump_device_desc dump_curr_config_desc:=0Ahtt=
ps://www.dropbox.com/s/r3pnqsk9aul1z8e/usbconfig_dump_device_desc_curr_con=
fig_desc_working.txt?dl=3D0=0A>=0A>=0A> Output from dmesg is also apprecia=
ted.=0AOutput of the verbose boot messages without the external mouse:=0Ah=
ttps://www.dropbox.com/s/ukpoyg6rsl3jjgd/dmesg_without_external_usb.txt?dl=
=3D0=0A=0AOutput of the verbose boot messages with the external mouse:=0Ah=
ttps://www.dropbox.com/s/uga7p5zlxh7knsj/dmesg_with_external_usb.txt?dl=3D=
0=0A=0A> Can you run:=0A>=0A> sysctl hw.usb.ums.debug=3D15=0A>=0A> Then re=
-run the "usbconfig -d X.Y reset" and send resulting dmesg?=0AIf I run sys=
ctl.hw.usb.ums.debug=3D15 without the external USB device, sysctl returns:=
=0Asysctl: unknown oid 'hw.usb.ums.debug': No such file or directory. I de=
cided to go ahead and run the other commands (usbconfig -d 0.3 reset) and =
post the resulting messages from dmesg:=0Auhid0: at uhub0, port 7, addr 2 =
(disconnected)=0Ahid_get_item: Number of items truncated to 255=0Auhid0: <=
vendor 0x06cb product 0x2970, class 0/0, rev 2.00/0.08, addr 2> on usbus0=0A=
hid_get_item: Number of items truncated to 255=0Ahid_get_item: Number of i=
tems truncated to 255=0Ahid_get_item: Number of items truncated to 255=0Ar=
andom: harvesting attach, 8 bytes (4 bits) from uhid0=0A=0AFull output fro=
m lsusb without the external usb receiver:=0ABus /dev/usb Device /dev/ugen=
0.4: ID 04f2:b474 Chicony Electronics Co., Ltd=0ABus /dev/usb Device /dev/=
ugen0.3: ID 06cb:2970 Synaptics, Inc.=0ABus /dev/usb Device /dev/ugen2.2: =
ID 8087:8000 =0ABus /dev/usb Device /dev/ugen1.2: ID 8087:8008 =0ABus /dev=
/usb Device /dev/ugen0.2: ID 0bda:0129 Realtek Semiconductor Corp.=0ABus /=
dev/usb Device /dev/ugen2.1: ID 0000:0000 =0ABus /dev/usb Device /dev/ugen=
1.1: ID 0000:0000 =0ABus /dev/usb Device /dev/ugen0.1: ID 0000:0000 =0A=0A=
With the receiver plugged in, running sysctl hw.usb.ums.debug=3D15 and the=
n usbconfig -d 0.4 reset, results in the following dmesg (when I reboot wi=
th the external usb receiver plugged in, according to lsusb, the device no=
de for the Synaptics (touchpad)=EF=BB=BF device changes from /dev/ugen0.3 =
to /dev/ugen0.4):=0Aums1: at uhub0, port 7, addr 3 (disconnected)=0Aums_de=
tach: sc=3D0xfffff80027409800=0Aums_close:=0Aums_close:=0Ahid_get_item: Nu=
mber of items truncated to 255=0Aums_probe:=0Ahid_get_item: Number of item=
s truncated to 255=0Aums_probe:=0Ahid_get_item: Number of items truncated =
to 255=0Aums_attach: sc=3D0xfffff80027409800=0Aums1: <vendor 0x06cb produc=
t 0x2970, class 0/0, rev 2.00/0.08, addr 3> on usbus0=0Ahid_get_item: Numb=
er of items truncated to 255=0Ahid_get_item: Number of items truncated to =
255=0Ahid_get_item: Number of items truncated to 255=0Ahid_get_item: Numbe=
r of items truncated to 255=0Ahid_get_item: Number of items truncated to 2=
55=0Ahid_get_item: Number of items truncated to 255=0Ahid_get_item: Number=
 of items truncated to 255=0Ahid_get_item: Number of items truncated to 25=
5=0Aums1: 2 buttons and [XY] coordinates ID=3D2=0Ahid_get_item: Number of =
items truncated to 255=0Ahid_get_item: Number of items truncated to 255=0A=
hid_get_item: Number of items truncated to 255=0Ahid_get_item: Number of i=
tems truncated to 255=0Ahid_get_item: Number of items truncated to 255=0Ah=
id_get_item: Number of items truncated to 255=0Ahid_get_item: Number of it=
ems truncated to 255=0Aums_attach: sc=3D0xfffff80027409800, index=3D0=0Aum=
s_attach: X    8/8 id=3D2=0Aums_attach: Y    16/8 id=3D2=0Aums_attach: Z  =
  0/0 id=3D0=0Aums_attach: T    0/0 id=3D0=0Aums_attach: W    0/0 id=3D0=0A=
ums_attach: B1    0/1 id=3D2=0Aums_attach: B2    1/1 id=3D2=0Aums_attach: =
sc=3D0xfffff80027409800, index=3D1=0Aums_attach: X    8/16 id=3D3=0Aums_at=
tach: Y    24/16 id=3D3=0Aums_attach: Z    0/0 id=3D0=0Aums_attach: T    0=
/0 id=3D0=0Aums_attach: W    0/0 id=3D0=0Aums_attach: B1    64/1 id=3D3=0A=
ums_attach: size=3D36, id=3D2=0Arandom: harvesting attach, 8 bytes (4 bits=
) from ums1=0Aums_open:=0Aums_open:=0Aums_ioctl:=0Aums_ioctl:=0Aums_ioctl:=
=0Aums_ioctl:=0Aums_ioctl:=0A=0AFull output from lsusb when the device is =
plugged in during boot:=0ABus /dev/usb Device /dev/ugen0.5: ID 04f2:b474 C=
hicony Electronics Co., Ltd=0ABus /dev/usb Device /dev/ugen0.4: ID 06cb:29=
70 Synaptics, Inc.=0ABus /dev/usb Device /dev/ugen0.3: ID 0bda:0129 Realte=
k Semiconductor Corp.=0ABus /dev/usb Device /dev/ugen2.2: ID 8087:8000 =0A=
Bus /dev/usb Device /dev/ugen1.2: ID 8087:8008 =0ABus /dev/usb Device /dev=
/ugen0.2: ID 046d:c52b Logitech, Inc.=0ABus /dev/usb Device /dev/ugen2.1: =
ID 0000:0000 =0ABus /dev/usb Device /dev/ugen1.1: ID 0000:0000 =0ABus /dev=
/usb Device /dev/ugen0.1: ID 0000:0000=0A=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7f4f987c-716f-4350-adbf-a9e85823da28>