From owner-freebsd-mobile@freebsd.org Wed Aug 12 07:20:52 2015 Return-Path: Delivered-To: freebsd-mobile@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 12EA999FF06; Wed, 12 Aug 2015 07:20:52 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-asmtp001.me.com (st13p21im-asmtp001.me.com [17.164.152.160]) (using TLSv1.2 with cipher DHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id DC53BDE9; Wed, 12 Aug 2015 07:20:51 +0000 (UTC) (envelope-from andersbo87@icloud.com) Received: from st13p21im-spool001.me.com ([17.164.152.254]) by st13p21im-asmtp001.me.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NSY00HTGKEBJP10@st13p21im-asmtp001.me.com>; Wed, 12 Aug 2015 07:20:36 +0000 (GMT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.14.151,1.0.33,0.0.0000 definitions=2015-08-12_05:2015-08-11,2015-08-12,1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 suspectscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=7.0.1-1412110000 definitions=main-1508120119 MIME-version: 1.0 Received: from localhost ([17.164.153.2]) by st13p21im-spool001.mac.com (Oracle Communications Messaging Server 7.0.5.35.0 64bit (built Mar 31 2015)) with ESMTP id <0NSY00AATKEB3H60@st13p21im-spool001.mac.com>; Wed, 12 Aug 2015 07:20:35 +0000 (GMT) To: freebsd-mobile@freebsd.org, freebsd-usb@freebsd.org From: Anders Bolt-Evensen Subject: Touchpad/trackpad not working Date: Wed, 12 Aug 2015 07:20:35 +0000 (GMT) X-Mailer: iCloud MailClient15D.7d472b3 MailServer15E43.20056 X-Originating-IP: [85.164.50.179] Message-id: <221c7aef-2b83-4ddb-8b58-dcead53afa0f@me.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.20 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 12 Aug 2015 07:20:52 -0000 On Aug 11, 2015, at 05:04 PM, Hans Petter Selasky 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: at usbus0=0A>= > ukbd0: on=0A>= > usbus0=0A>> Root mount waiting for: usbus0=0A>> ugen0.3: at us= bus0=0A>> Root mount waiting for: usbus0=0A>> ugen0.4: at = usbus0=0A>> ugen0.5: 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: at usbus0 (disconnected)=0A>> ums0: on=0A>> usbus0=0A>> ums1: > 3> on usbus0=0A= >> uhid0: 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 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=