Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Aug 2015 07:28:48 +0000 (GMT)
From:      Anders Bolt-Evensen <andersbo87@icloud.com>
To:        freebsd-usb@freebsd.org
Subject:   Re: Touchpad/trackpad not working
Message-ID:  <2e74f58a-8e60-423a-b029-82bd6210dad7@me.com>
In-Reply-To: <55CA0F1C.6080205@selasky.org>

next in thread | previous in thread | raw e-mail | index | archive | help
=0A=0AOn Aug 11, 2015, at 05:03 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 devi=
ce is=0A>> a mouse, but /only/ when there's no other USB (HID) device on t=
hat 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>> hid_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 b=
ehave=0A>> differently for this HID device (Synaptics touchpad). I've adde=
d=0A>> freebsd-usb@ to see if they know what's going on.=0A>>=0A>> ajenkin=
s@kubuntu-ajenkins:~/Downloads$ grep usbus0=0A>> dmesg_with_external_usb.t=
xt=0A>> usbus0: 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 Super Speed USB v3.0=0A>> ugen0.1: <0x8086> at usbus0=0A>> uhub0: <0=
x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on=0A>> usbus0=0A>>=
 Root mount 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: <Gene=
ric> at usbus0=0A>> Root mount waiting for: usbus0=0A>> ugen0.4: <vendor 0=
x06cb> at usbus0=0A>> ugen0.5: <Chicony Electronics Co.,Ltd.> at usbus0=0A=
>> Root mount waiting for: usbus0=0A>> Root mount waiting for: usbus0=0A>>=
 [snip]=0A>> Root mount waiting for: usbus0=0A>> Root mount waiting for: u=
sbus0=0A>> ugen0.6: <Unknown> at usbus0 (disconnected)=0A>> ums0: <Logitec=
h USB Receiver, class 0/0, rev 2.00/12.01, addr 1> on=0A>> usbus0=0A>> ums=
1: <vendor 0x06cb product 0x2970, class 0/0, rev 2.00/0.08, addr=0A>> 3> o=
n usbus0=0A>> uhid0: <Logitech USB Receiver, class 0/0, rev 2.00/12.01, ad=
dr 1> on=0A>> usbus0=0A>>=0A>> What possessed the laptop manufacturer to h=
ang the Synaptics touchpad=0A>> device off a USB 3.0 controller is beyond =
me... I have problems booting=0A>> FreeBSD off USB 3.0 mass storage device=
s.=0A>>=0A>=0A> Hi,=0A>=0A> Does your mouse only fail to work in X-org, or=
 also the console?=0A>=0A> Run "usbdump -i usbusX -f Y -s 65536 -vvv" to c=
atch USB events 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 =EF=BB=
=BF=0AIt fails in both 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 655=
36 -vvv on my touchpad (without any external usb receiver connected), noth=
ing happens at all. No left-click, no right-click, nothing. =0A=0AHowever,=
 if I insert an external USB receiver and then reboot the computer, the to=
uchpad works just fine in both console and in X-org.=0AIf I now do the com=
mand above, since I've connected the receiver and done the reboot, I get t=
he following output (just note that during the reboot, the address of the =
touchpad was changed from ugen0.3 to ugen0.4):=0Ahttps://www.dropbox.com/s=
/ktj757okcq61ljc/usbdump_i_usbusX_f_Y_s_65536_vvv.txt?dl=3D0=0A=0AOn Aug 1=
1, 2015, at 05:46 PM, Zoran Kolic <zkolic@sbb.rs> wrote:=0A=0A> What do yo=
u 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"=0A=
hint.fdc.0.irq=3D"6"=0Ahint.fdc.0.drq=3D"2"=0Ahint.fd.0.at=3D"fdc0"=0Ahint=
.fd.0.drive=3D"0"=0Ahint.fd.1.at=3D"fdc0"=0Ahint.fd.1.drive=3D"1"=0Ahint.a=
tkbdc.0.at=3D"isa"=0Ahint.atkbdc.0.port=3D"0x060"=0Ahint.atkbd.0.at=3D"atk=
bdc"=0Ahint.atkbd.0.irq=3D"1"=0Ahint.psm.0.at=3D"atkbdc"=0Ahint.psm.0.irq=3D=
"12"=0Ahint.sc.0.at=3D"isa"=0Ahint.sc.0.flags=3D"0x100"=0Ahint.uart.0.at=3D=
"isa"=0Ahint.uart.0.port=3D"0x3F8"=0Ahint.uart.0.flags=3D"0x10"=0Ahint.uar=
t.0.irq=3D"4"=0Ahint.uart.1.at=3D"isa"=0Ahint.uart.1.port=3D"0x2F8"=0Ahint=
.uart.1.irq=3D"3"=0Ahint.ppc.0.at=3D"isa"=0Ahint.ppc.0.irq=3D"7"=0Ahint.at=
rtc.0.at=3D"isa"=0Ahint.atrtc.0.port=3D"0x70"=0Ahint.atrtc.0.irq=3D"8"=0Ah=
int.attimer.0.at=3D"isa"=0Ahint.attimer.0.port=3D"0x40"=0Ahint.attimer.0.i=
rq=3D"0"=0Ahint.wbwd.0.at=3D"isa"=0Ahint.acpi_throttle.0.disabled=3D"1"=0A=
hint.p4tcc.0.disabled=3D"1"=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2e74f58a-8e60-423a-b029-82bd6210dad7>