From owner-freebsd-mobile@freebsd.org Tue Aug 11 15:03:36 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 14DA599FDD2; Tue, 11 Aug 2015 15:03:36 +0000 (UTC) (envelope-from hps@selasky.org) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CE315A14; Tue, 11 Aug 2015 15:03:35 +0000 (UTC) (envelope-from hps@selasky.org) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 172FA1FE023; Tue, 11 Aug 2015 17:03:32 +0200 (CEST) Subject: Re: Touchpad/trackpad not working To: Anthony Jenkins , Anders Bolt-Evensen , freebsd-mobile@freebsd.org, freebsd-usb@freebsd.org References: <55CA0941.6020505@yahoo.com> From: Hans Petter Selasky Message-ID: <55CA0F1C.6080205@selasky.org> Date: Tue, 11 Aug 2015 17:05:00 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <55CA0941.6020505@yahoo.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 11 Aug 2015 15:03:36 -0000 On 08/11/15 16:40, Anthony Jenkins via freebsd-usb wrote: > > hid_is_mouse() is failing to tell that your Synaptics USB HID device is > a mouse, but /only/ when there's no other USB (HID) device on that USB > bus (usbus0). I suspect it has to do with the hid_get_item() warnings > about chopping stuff off. I can't tell from the source code for > hid_get_item() (a 313-line function) why it's behaving that way, or why > a totally different HID device (Logitech mouse) causes it to behave > differently for this HID device (Synaptics touchpad). I've added > freebsd-usb@ to see if they know what's going on. > > ajenkins@kubuntu-ajenkins:~/Downloads$ grep usbus0 > dmesg_with_external_usb.txt > usbus0: waiting for BIOS to give up control > usbus0 on xhci0 > random: harvesting attach, 8 bytes (4 bits) from usbus0 > usbus0: 5.0Gbps Super Speed USB v3.0 > ugen0.1: <0x8086> at usbus0 > uhub0: <0x8086 XHCI root HUB, class 9/0, rev 3.00/1.00, addr 1> on > usbus0 > Root mount waiting for: usbus2 usbus1 usbus0 > ugen0.2: at usbus0 > ukbd0: on > usbus0 > Root mount waiting for: usbus0 > ugen0.3: at usbus0 > Root mount waiting for: usbus0 > ugen0.4: at usbus0 > ugen0.5: at usbus0 > Root mount waiting for: usbus0 > Root mount waiting for: usbus0 > [snip] > Root mount waiting for: usbus0 > Root mount waiting for: usbus0 > ugen0.6: at usbus0 (disconnected) > ums0: on > usbus0 > ums1: 3> on usbus0 > uhid0: on > usbus0 > > What possessed the laptop manufacturer to hang the Synaptics touchpad > device off a USB 3.0 controller is beyond me... I have problems booting > FreeBSD off USB 3.0 mass storage devices. > Hi, Does your mouse only fail to work in X-org, or also the console? Run "usbdump -i usbusX -f Y -s 65536 -vvv" to catch USB events for ugenX.Y. That might give some further clues. If using X.org, do you use hald or devd backend? --HPS