Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Aug 2015 07:20:35 +0000 (GMT)
From:      Anders Bolt-Evensen <andersbo87@icloud.com>
To:        freebsd-mobile@freebsd.org, freebsd-usb@freebsd.org
Subject:   Touchpad/trackpad not working
Message-ID:  <221c7aef-2b83-4ddb-8b58-dcead53afa0f@me.com>

next in thread | raw e-mail | index | archive | help
On Aug 11, 2015, at 05:04 PM, Hans Petter Selasky <hps@selasky.org> 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: <Logitech> at usbus0=0A>=
> ukbd0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 1> on=0A>=
> usbus0=0A>> Root mount waiting for: usbus0=0A>> ugen0.3: <Generic> at us=
bus0=0A>> Root mount waiting for: usbus0=0A>> ugen0.4: <vendor 0x06cb> at =
usbus0=0A>> ugen0.5: <Chicony Electronics Co.,Ltd.> 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: <Unknown> at usbus0 (disconnected)=0A>> ums0: <Logitech USB Rece=
iver, class 0/0, rev 2.00/12.01, addr 1> on=0A>> usbus0=0A>> ums1: <vendor=
 0x06cb product 0x2970, class 0/0, rev 2.00/0.08, addr=0A>> 3> on usbus0=0A=
>> uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, addr 1> 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 <zkolic@sbb.rs> 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=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?221c7aef-2b83-4ddb-8b58-dcead53afa0f>