From owner-freebsd-mobile@freebsd.org Thu Aug 6 17:01:15 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 949CC9B469C for ; Thu, 6 Aug 2015 17:01:15 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) Received: from nm46.bullet.mail.bf1.yahoo.com (nm46.bullet.mail.bf1.yahoo.com [216.109.114.62]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 5570B7AA for ; Thu, 6 Aug 2015 17:01:15 +0000 (UTC) (envelope-from Scoobi_doo@yahoo.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1438880466; bh=vv4+Smsb232ROzIzs71DAgqWdDH1TiWlDTrses4OwmA=; h=Date:From:To:Subject:References:In-Reply-To:From:Subject; b=TD3UwqNIifFKGYou8My7G0S1ez8iQrOzDtjXIIDyGxYhkqwtDR0odFKWTrCkuOsAhFGfhiTJi9ODBbiGDGqivIgOQvON3122eml+mHU0M9l4yyCfYYuv2WEjbTx2hl+d8TPbTyF9naZrWMhsDZYDvu9oqeIS9cTDQSRSNZQBMoMOFB+wsYJSOwxgzJolh+yUP9Lk3NqohABltLgX+aDz896Ko2Vj9pGss4VPwSPW9czYHC2nnk4Ts4F7aL7qHDTb5T483UPwSsdxlANAFyZjAI5O9rwcu0ULNQBLzNpQvybCn4LopsP9WcCosmiATub+R4GuhcxjWnd8XKIuzYSaEw== Received: from [98.139.170.181] by nm46.bullet.mail.bf1.yahoo.com with NNFMP; 06 Aug 2015 17:01:06 -0000 Received: from [98.139.213.12] by tm24.bullet.mail.bf1.yahoo.com with NNFMP; 06 Aug 2015 17:01:06 -0000 Received: from [127.0.0.1] by smtp112.mail.bf1.yahoo.com with NNFMP; 06 Aug 2015 17:01:06 -0000 X-Yahoo-Newman-Id: 681609.2976.bm@smtp112.mail.bf1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: szDMBU0VM1leHKLkCg_AIs9jRlHnbwmHW40AgRyTrfMmReo NiwSV3ry3psHlvIhIB0EhPNL9vaWY.iqpP9BER8Fc6JiZno3zrlVuWDblBB7 uN144cWigJ9rbcPVG9VE3e3GVb9xXCVcB4kMAwM8d1f5dhfnqAHaxuy7tvMG E4KSm3aFsmkTV8gntuvM5sxbpz36ZLyVGSmx44lcGvXYKNe.HZLgxDbR4PnM TJ_QbmfH7UUe6iQ9mgkLQc0q1.aLjblkIuV5.ildfEgDlOtxcvH5Z.FSwS5N Jfamn4D.gMKiN2fWnpqD6is.jcOrfd0JS_oYkoG1NQDTeU2UkIGPbIcyZFjs GB774SFLhzpxOdtDSChjwTtsVrmGyIfg4tiz9rdTZbn.y90YlR251eS3fTs4 nPLxWusllrRUiah7tEtkz9FEXE_7fnzOH32ZY8jYhh1.Gic__UtpCE8JBZhy mF2KeeC4VQixzxmxBoUAt.QL73c6Xlvg1ohyJqcIXUcSKVWvCHPErRZZxv5s M7quB_XS0r9u8p8kgp656HnSGBBgqyNqqhg-- X-Yahoo-SMTP: 9sPoSQ2swBBlERuQ.0vs8XLc_MeClW0- Message-ID: <55C392D0.6080109@yahoo.com> Date: Thu, 06 Aug 2015 13:01:04 -0400 From: Anthony Jenkins User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0 MIME-Version: 1.0 To: Anders Bolt-Evensen , freebsd-mobile@freebsd.org Subject: Re: Touchpad/trackpad not working References: <3f797327-f1b1-448a-afe4-56a56a87b1d1@me.com> In-Reply-To: <3f797327-f1b1-448a-afe4-56a56a87b1d1@me.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: Thu, 06 Aug 2015 17:01:15 -0000 On 08/06/2015 01:42 AM, Anders Bolt-Evensen wrote: > > > On Aug 05, 2015, at 07:48 PM, Anthony Jenkins > wrote: > >> [Dropping current@] >> >>> ________________________________ >>> From: Anders Bolt-Evensen >>> To: freebsd-current@freebsd.org; freebsd-mobile@freebsd.org Sent: >>> Wednesday, August 5, 2015 11:38 AM >>> Subject: Touchpad/trackpad not working >>> >>> >>> Hello, everyone! >>> On my Acer Aspire V17 Nitro I ha=EF=BB=BFve a little problems with my= >>> touchpad/trackpad: >>> When I boot the system, in this case, on FreeBSD Current (the >>> problem also exists on FreeBSD 10) without an external USB receiver >>> connected, my trackpad does not work at all, neither in console or >>> in X. >>> In other words I am not able to do a left or right click and moving >>> the pointer does not work either. >>> I cannot see any mention of it when I take a look at dmesg, other >>> than a message that says "psm0: unable to allocate IRQ" >>> Today I installed sysutils/usbutils to see if I could get any more >>> info about my problem and then took a look at output of the command >>> "lsusb". >>> I see the following output: >>> Bus /dev/usb Device /dev/ugen0.5: ID 046d:c52b Logitech, Inc. >>> Bus /dev/usb Device /dev/ugen0.4: ID 04f2:b474 Chicony Electronics >>> Co., Ltd >>> Bus /dev/usb Device /dev/ugen0.3: ID 06cb:2970 Synaptics, Inc. >> >> Weird...first time seeing a Synaptics device on USB. I know psm(4) >> generally handles Synaptics protocol in FreeBSD (if you enable synapti= cs >> support), but your device isn't hanging off the atkbd(4)/psm(4). I'd >> expect ums(4) to attach then... no idea why it isn't, or if it support= s >> the Synaptics protocol. >> >> Can you tell me what the following command reports: >> >> usbconfig -d ugen0.3 dump_device_desc >> >> I think the device needs to report itself as a USB HID device for ums(= 4) >> to attach. >> >> Also, do you have moused(8) running? >> >> Thanks, >> Anthony Jenkins > > In /etc/rc.conf I do have moused_enable=3D"YES", but sudo > /etc/rc.d/moused status reports > "moused is not running". I assume it is because of missing psm0. > > The command usbconfig -d ugen0.3 dump_device_desc reports: > ugen0.3: at usbus0, cfg=3D0 md=3DHOST > spd=3DFULL (12Mbps) pwr=3DON (100mA) > > bLength =3D 0x0012 > bDescriptorType =3D 0x0001 > bcdUSB =3D 0x0200 > bDeviceClass =3D 0x0000 > bDeviceSubClass =3D 0x0000 > bDeviceProtocol =3D 0x0000 > bMaxPacketSize0 =3D 0x0008 > idVendor =3D 0x06cb > idProduct =3D 0x2970 > bcdDevice =3D 0x0008 > iManufacturer =3D 0x0001 < > > iProduct =3D 0x0002 < >=EF=BB=BF > iSerialNumber =3D 0x0000 > bNumConfigurations =3D 0x0001 > > - Anders Okay try the 'dump_curr_config_desc' command to usbconfig(8): usbconfig -d ugen0.3 dump_curr_config_desc For my Areson USB mouse, this reports: $ sudo usbconfig -d ugen0.2 dump_curr_config_desc ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DLOW (1.5M= bps) pwr=3DON (100mA) Configuration index 0 bLength =3D 0x0009 bDescriptorType =3D 0x0002 wTotalLength =3D 0x003b bNumInterfaces =3D 0x0002 bConfigurationValue =3D 0x0001 iConfiguration =3D 0x0000 bmAttributes =3D 0x00a0 bMaxPower =3D 0x0032 Interface 0 bLength =3D 0x0009 bDescriptorType =3D 0x0004 bInterfaceNumber =3D 0x0000 bAlternateSetting =3D 0x0000 bNumEndpoints =3D 0x0001 bInterfaceClass =3D 0x0003 bInterfaceSubClass =3D 0x0001 bInterfaceProtocol =3D 0x0002 iInterface =3D 0x0000 Additional Descriptor bLength =3D 0x09 bDescriptorType =3D 0x21 bDescriptorSubType =3D 0x00 RAW dump: 0x00 | 0x09, 0x21, 0x00, 0x01, 0x00, 0x01, 0x22, 0x59, 0x08 | 0x00 Endpoint 0 bLength =3D 0x0007 bDescriptorType =3D 0x0005 bEndpointAddress =3D 0x0081 bmAttributes =3D 0x0003 wMaxPacketSize =3D 0x0008 bInterval =3D 0x000a bRefresh =3D 0x0000 bSynchAddress =3D 0x0000 =2E.. I'm looking for an "Interface #" section with "bInterfaceClass =3D 0x0003= =20 " and "bInterfaceProtocol =3D 0x0002" lines (class 0x3 protocol 0x2 is a mouse, supported by our ums(4) driver). If you have that, then it should work "out of the box" with moused(8) configured with the "auto" protocol (required for USB pointing devices). You didn't say whether the touchpad works with another USB mouse attached or not. I wouldn't expect plugging a different mouse in to have any effect on the touchpad behaviour, but if so, please also run the above usbconfig(8) command: - with no external USB mouse plugged in, targetting the Synaptics touchpad device (ugen0.3) - with an external USB mouse plugged in, once for the Synaptics touchpad device (ugen0.3) and once for the external mouse (ugen?.?) Thanks, Anthony >> >>> Bus /dev/usb Device /dev/ugen2.2: ID 8087:8000 Bus /dev/usb Device >>> /dev/ugen1.2: ID 8087:8008 Bus /dev/usb Device /dev/ugen0.2: ID >>> 0bda:0129 Realtek Semiconductor Corp. >>> Bus /dev/usb Device /dev/ugen2.1: ID 0000:0000 Bus /dev/usb Device >>> /dev/ugen1.1: ID 0000:0000 Bus /dev/usb Device /dev/ugen0.1: ID >>> 0000:0000 >>> I do believe that the line with Synaotics (line 3) is the one with >>> the touchpad/trackpad, but I may of course be wrong. >>> Here's the output of usbconfig: >>> ugen0.1: at usbus0, cfg=3D0 md=3DHOST spd=3DSU= PER >>> (5.0Gbps) pwr=3DSAVE (0mA) >>> ugen1.1: at usbus1, cfg=3D0 md=3DHOST spd=3DHIG= H >>> (480Mbps) pwr=3DSAVE (0mA) >>> ugen2.1: at usbus2, cfg=3D0 md=3DHOST spd=3DHIG= H >>> (480Mbps) pwr=3DSAVE (0mA) >>> ugen0.2: at usbus0, cfg=3D0 md=3DHOST spd=3DHIGH= >>> (480Mbps) pwr=3DON (500mA) >>> ugen1.2: at usbus1, cfg=3D0 md=3DHOST >>> spd=3DHIGH (480Mbps) pwr=3DSAVE (0mA) >>> ugen2.2: at usbus2, cfg=3D0 md=3DHOST >>> spd=3DHIGH (480Mbps) pwr=3DSAVE (0mA) >>> ugen0.3: at usbus0, cfg=3D0 md=3DHOST >>> spd=3DFULL (12Mbps) pwr=3DON (100mA) >>> ugen0.4: at usbus0, cfg=3D0 >>> md=3DHOST spd=3DHIGH (480Mbps) pwr=3DON (500mA) >>> >>> Do you have any tips on how I can get the trackpad to work without >>> having to have an external USB receiver plugged in when the computer >>> starts? In /dev/ I cannot see any entries named psm0 or ums0. >>> This problem also exists on FreeBSD 10. >>> >>> Here is the output of uname -a: >>> FreeBSD acer-Aspire-V17-Nitro.local 11.0-CURRENT FreeBSD >>> 11.0-CURRENT #1 r286291M: Wed Aug 5 15:45:03 CEST 2015 >>> root@acer-Aspire-V17-Nitro.local:/usr/obj/usr/src/sys/GENERIC amd64 >>> >>> dmesg from a verbose boot is available here: >>> https://www.dropbox.com/s/h0klbtwbvs7aa5j/dmesg.txt?dl=3D0 >>> =20 >>> >>> Any help would be appreciated. >>> >>> Have a great day, everyone! :) >>> >>> Anders > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.or= g" --=20 Anthony Jenkins