From owner-freebsd-mobile@FreeBSD.ORG Thu Nov 14 21:59:34 2013 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 3DDABE2 for ; Thu, 14 Nov 2013 21:59:34 +0000 (UTC) Received: from mail-qe0-x22b.google.com (mail-qe0-x22b.google.com [IPv6:2607:f8b0:400d:c02::22b]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 007762167 for ; Thu, 14 Nov 2013 21:59:33 +0000 (UTC) Received: by mail-qe0-f43.google.com with SMTP id gc15so1705716qeb.16 for ; Thu, 14 Nov 2013 13:59:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:from:date:message-id:subject:to:content-type; bh=EkCXNgDqp0IFqMfnqkxr6Zj2kd4RN9vW6A6YN0eoL98=; b=XlV1FZkehkcqmz/wnJeHypmXJl6MULrAFuGGLDJ6xHAHJFGE59eU7If0HxFZ4UB6xN mGebMcoRlkXDtWbVRdnQsWJA1Q1FqzPEYHcD7JG3/eC9sjcgZ3C8/i92u2/uu/9g6SL4 KlrfmoC1xviLTK4WdT0Qby8GivOgzqzRYzv48= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-type; bh=EkCXNgDqp0IFqMfnqkxr6Zj2kd4RN9vW6A6YN0eoL98=; b=GEE/k2yAw60jXcz+8P82KQhQZP7q1cceI8Sl4JyO/ihw1Z+/N40dHf8YMtw9ir7rGX 7mpxPz18NKhh3axIHIw/yHEebeUe9Li1BvN25FZoV4jFEGDMylH9pjLBJgqC3ytzo5Av UwAzgOOJT0Pm4nKWlIy/CbtvzFRJ55EOkQFHpMAscgURHzLOvJSLtQC8G1qX1gkIHCZN ULUNH2FhYd+I2mFMQQWLSlK3t0KfT1/mTBa1BDwy0cTRHwhVNOKfa6QdDLMwRFqdY/PM JCiUOo6eBALNqdZ+bjW2qM2T2mwPSYq0Jwc87wlcpJBOLCpJqONTABUHkHr7e7/Bn6F3 4eaQ== X-Gm-Message-State: ALoCoQm0OqSHuUXYfi/YVgzIijIPlSySuhliz4+YhjWp5ELinIwcde+dt8c7wNdUTae/Pi6L8bnE X-Received: by 10.49.109.194 with SMTP id hu2mr5659670qeb.13.1384466372700; Thu, 14 Nov 2013 13:59:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.63.101 with HTTP; Thu, 14 Nov 2013 13:59:02 -0800 (PST) From: Eitan Adler Date: Thu, 14 Nov 2013 16:59:02 -0500 Message-ID: Subject: Story of a Desktop User To: desktop@freebsd.org, mobile@freebsd.org Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2013 21:59:34 -0000 [ Meta: I will ask that people please change the subject line if they want to branch about discussing a particular issue or problem. This is a general post and I'm hoping it will generate a lot of discussion about the broader issues as well as specific problems I encountered. ] Hi all, This is a Lenovo Y580 laptop with uname -a: FreeBSD gravity.local 11.0-CURRENT FreeBSD 11.0-CURRENT #5 r257754: Thu Nov 7 12:12:51 EST 2013 root@gravity.local:/usr/obj/usr/src/sys/EADLER amd64 I've been using FreeBSD on this computer since February 1st, 2013. During this time I've tried to keep notes to myself about what works and what doesn't. I wrote a similar email on February 3rd, 2013 to mobile@. This one should be more complete since I have been running &os; longer. :) I am running "make buildworld" and will try a more recent HEAD shortly. At the moment the trackpad seems to be losing all "click" events. That is, I can move the mouse pointer around, however X does not register any mouse click. I'm not sure what caused this. if_rue works. if_run works. Unfortunately I no longer have either of these cards. This laptop comes with a small SSD (16GB) and a large (1TB) HDD. I have the operating system installed to the SSD and my homedir and most other data on the HDD. Both seem to fuction as expected. I use ZFS for all my filesystems including root. However I frequently noticed absurdly slow access time to disk. It can take minutes to run ls -l on an empty directory. I do not know if this is the fault of the disk, the filesystem, or some decision I made when partitioning the disk. I needed to setup xbindkeys to make the volume and mute work. They are now mapped to "mixer vol". These keys therefore only work when X is running. It would be great if we had a tool "keypressd" which would allow keypresses to be mapped to run arbitrary userland programs from both the console as well as X. The play/stop/rewind/next keys are mapped via xbindkeys to pianobar. As above, it would be great to have this mapping work in the console. VT Switching is a well known problem that newcons is aiming to solve. However, I'll mention it here for completeness: I can not switch to the console once X has been started (using the new Xorg w/ Intel drivers). Related to X: I am running WITH_NEW_XORG. This laptop has nvidia optimus. However, it is not possible to use the nvidia card so I am stuck with Intel only at the moment. The sleep key and wireless on/off key do nothing. It would be great to trap them and do something. I am able to use webcamd with pwcview to test my camera. It seems like it just works. However webcamd can not be started from rc.conf last I tested. It must be started manually. The hardware switches from speakers to headphones automagically when I plug in headphones. I like this behavior but it would be great if there were a sysctl to disable it. suspend/resume does not function from X. I did not test from console. I have tried to remove the VESA module but this did not help. hw.acpi.reset_video=1 also does not help. The brightness keys on up and down change the ACPI brightness value. However I see no impact on the screen itself. It would be great to have some method of streaming ACPI events in userland (i.e., 'xev' for ACPI). This would make it easier to debug what is actually going on here. The "Enable/Disable" screen key works as expected. The "switch screen" key requires xbindkeys support. At the moment I am unable to get my USB mouse to be recognized at all. The driver has trouble attaching. It was working during -BETA3 so it seems there is some regression here. Adrian and Cedric have been working on if_iwn support. There is already extensive discussion about this on -wireless. On to the worse side of things: /dev/speaker just does not function at all. if_alc does not function on this laptop. the boot method must be set to "legacy" in BIOS in order to boot. Slightly less specific to FreeBSD: - hexchat and xchat spell check is not functioning despite (a) the option being selected and (b) the dictionary being installed. - chrome can not open PDFs inline like it can on other platforms. I believe this is a chrome limitation - the lxpanel battery monitor is non-functional on FreeBSD. I believe it used to work but a recent update killed it. -- Eitan Adler From owner-freebsd-mobile@FreeBSD.ORG Thu Nov 14 22:38:02 2013 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE0DDC55; Thu, 14 Nov 2013 22:38:02 +0000 (UTC) Received: from mail-qa0-x229.google.com (mail-qa0-x229.google.com [IPv6:2607:f8b0:400d:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6D2D7240D; Thu, 14 Nov 2013 22:38:02 +0000 (UTC) Received: by mail-qa0-f41.google.com with SMTP id k4so99363qaq.14 for ; Thu, 14 Nov 2013 14:38:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=6iuYP0zZRsiYZ/qYA9LpwdATdIX0RbuNLtKWOsHV/OE=; b=b/PfFQs//k9Gy0jEJNoqQ73zd6OIXtCSoLTV6V6iY6OOJ/EQsPeRtSn8MlzrPocZ3A 2oZ6KxoxNqpWxl/sXOw5MY1WL9C8vI1zTFame5deaGQX1Z7Wr2nWdJ8pK80b+8UTlAUY eUM30YAr+e/NpSy2CTP3FoD6/EuYQCPlVOG79Ptlk+zI7isdVECGzpCWhT/ADaOwMJAG ryRDysOwYSID22Dh1vTCEfRV8YnDpxoxzsPJVfMEqEKVtktlM1ECqkF4ByHbogXRt809 C9+4K8ViK3uLEp+7g6mJqLCnaFRCUFA/gacmNhDeojMAGvsmE89TATeKvNxgkZWLvtY7 7GmA== MIME-Version: 1.0 X-Received: by 10.224.111.197 with SMTP id t5mr5921372qap.49.1384468680891; Thu, 14 Nov 2013 14:38:00 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.224.207.66 with HTTP; Thu, 14 Nov 2013 14:38:00 -0800 (PST) In-Reply-To: References: Date: Thu, 14 Nov 2013 14:38:00 -0800 X-Google-Sender-Auth: -nyKJI6QURklvawiHRRsRHdFtII Message-ID: Subject: Re: Story of a Desktop User From: Adrian Chadd To: Eitan Adler Content-Type: text/plain; charset=ISO-8859-1 Cc: desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Nov 2013 22:38:02 -0000 [snip] Hi! Can you post the PCI ID information for the ethernet NIC? -adrian On 14 November 2013 13:59, Eitan Adler wrote: > [ Meta: I will ask that people please change the subject line if they > want to branch about discussing a particular issue or problem. This > is a general post and I'm hoping it will generate a lot of discussion > about the broader issues as well as specific problems I encountered. ] > > Hi all, > > This is a Lenovo Y580 laptop with uname -a: > > FreeBSD gravity.local 11.0-CURRENT FreeBSD 11.0-CURRENT #5 r257754: > Thu Nov 7 12:12:51 EST 2013 > root@gravity.local:/usr/obj/usr/src/sys/EADLER amd64 > > I've been using FreeBSD on this computer since February 1st, 2013. > During this time I've tried to keep notes to myself about what works > and what doesn't. I wrote a similar email on February 3rd, 2013 to > mobile@. This one should be more complete since I have been running > &os; longer. :) I am running "make buildworld" and will try a more > recent HEAD shortly. > > At the moment the trackpad seems to be losing all "click" events. > That is, I can move the mouse pointer around, however X does not > register any mouse click. I'm not sure what caused this. > > > if_rue works. if_run works. Unfortunately I no longer have either of > these cards. > > This laptop comes with a small SSD (16GB) and a large (1TB) HDD. I > have the operating system installed to the SSD and my homedir and most > other data on the HDD. Both seem to fuction as expected. I use ZFS > for all my filesystems including root. However I frequently noticed > absurdly slow access time to disk. It can take minutes to run ls -l > on an empty directory. I do not know if this is the fault of the > disk, the filesystem, or some decision I made when partitioning the > disk. > > I needed to setup xbindkeys to make the volume and mute work. They > are now mapped to "mixer vol". These keys therefore only work when X > is running. It would be great if we had a tool "keypressd" which > would allow keypresses to be mapped to run arbitrary userland programs > from both the console as well as X. > > The play/stop/rewind/next keys are mapped via xbindkeys to pianobar. > As above, it would be great to have this mapping work in the console. > > VT Switching is a well known problem that newcons is aiming to solve. > However, I'll mention it here for completeness: I can not switch to > the console once X has been started (using the new Xorg w/ Intel > drivers). > > Related to X: I am running WITH_NEW_XORG. This laptop has nvidia > optimus. However, it is not possible to use the nvidia card so I am > stuck with Intel only at the moment. > > The sleep key and wireless on/off key do nothing. It would be great to > trap them and do something. > > I am able to use webcamd with pwcview to test my camera. It seems > like it just works. However webcamd can not be started from rc.conf > last I tested. It must be started manually. > > The hardware switches from speakers to headphones automagically when I > plug in headphones. I like this behavior but it would be great if > there were a sysctl to disable it. > > suspend/resume does not function from X. I did not test from console. > I have tried to remove the VESA module but this did not help. > hw.acpi.reset_video=1 also does not help. > > The brightness keys on up and down change the ACPI brightness value. > However I see no impact on the screen itself. > It would be great to have some method of streaming ACPI events in > userland (i.e., 'xev' for ACPI). This would make it easier to debug > what is actually going on here. > > The "Enable/Disable" screen key works as expected. The "switch > screen" key requires xbindkeys support. > > At the moment I am unable to get my USB mouse to be recognized at all. > The driver has trouble attaching. It was working during -BETA3 so it > seems there is some regression here. > > Adrian and Cedric have been working on if_iwn support. There is > already extensive discussion about this on -wireless. > > On to the worse side of things: > /dev/speaker just does not function at all. > if_alc does not function on this laptop. > > the boot method must be set to "legacy" in BIOS in order to boot. > > > Slightly less specific to FreeBSD: > - hexchat and xchat spell check is not functioning despite (a) the > option being selected and (b) the dictionary being installed. > - chrome can not open PDFs inline like it can on other platforms. I > believe this is a chrome limitation > - the lxpanel battery monitor is non-functional on FreeBSD. I believe > it used to work but a recent update killed it. > > > > > > -- > Eitan Adler > _______________________________________________ > freebsd-mobile@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-mobile > To unsubscribe, send any mail to "freebsd-mobile-unsubscribe@freebsd.org" From owner-freebsd-mobile@FreeBSD.ORG Fri Nov 15 02:22:25 2013 Return-Path: Delivered-To: mobile@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 8E44CEC4 for ; Fri, 15 Nov 2013 02:22:25 +0000 (UTC) Received: from mail-qe0-x229.google.com (mail-qe0-x229.google.com [IPv6:2607:f8b0:400d:c02::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4F46B2FD8 for ; Fri, 15 Nov 2013 02:22:25 +0000 (UTC) Received: by mail-qe0-f41.google.com with SMTP id x7so1908070qeu.0 for ; Thu, 14 Nov 2013 18:22:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=eitanadler.com; s=0xdeadbeef; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=XBQeAAWInF59q0h9bVA13wvGFuTProbAJLiywfNpPbE=; b=FR/90DjUJpTtZo4Xngmqcno2HstrW5jb6KVq3awDoF5pDfdnngmqCmo/mibXxyhKaN T80WHxKfNkKjCZbZQbIaFbcFvY6zjBeHU8+4x/V/X1yh6iVQOyDm/AuTB8A1bh9snVC4 TsnScha6bdIu9fxh53qq8hEOSc4O1l3Oz4Hh8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=XBQeAAWInF59q0h9bVA13wvGFuTProbAJLiywfNpPbE=; b=Djpv5HsgHqJa1U9OfIEAAeL9k1OdOWap5zoAhWE0vwlA6ZaTOBF4AGwF3BxKRNzj+1 xnrncnX8b/9jLOH4+YW7uiVFo/giJS1qqYeTcbQlGNqozYmpHmdmxc27SkYuPGT5kuts kyfKfBGceTufQtNBk38CAaObCpTxO/1TZgCYIAxk2jODBWM2WnhE3N3hKzyrkTOinDDV YE1+nZizCxoxsz5oubzwhDXWp3UmzzSxfcDztRwC2XwB4T9kfVCEnT7wD5MaE6Ft98VZ lXJoWLCsfXFueWuboBt6AFbiWy1nYhUj6wa+Za7HO2kDeFQiCjZlhNORG7Cpb1od9KG6 eQWg== X-Gm-Message-State: ALoCoQnlH00HlFrVFExEnb/qRxv8KXngqFx6QGjtqXJcNUPGclW9TdFwZKPebsj4bqqqodWmv7K6 X-Received: by 10.224.8.65 with SMTP id g1mr7298814qag.68.1384482144509; Thu, 14 Nov 2013 18:22:24 -0800 (PST) MIME-Version: 1.0 Received: by 10.96.63.101 with HTTP; Thu, 14 Nov 2013 18:21:54 -0800 (PST) In-Reply-To: References: From: Eitan Adler Date: Thu, 14 Nov 2013 21:21:54 -0500 Message-ID: Subject: Re: Story of a Desktop User To: Adrian Chadd Content-Type: text/plain; charset=UTF-8 Cc: desktop@freebsd.org, "freebsd-mobile@freebsd.org" X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Nov 2013 02:22:25 -0000 On Thu, Nov 14, 2013 at 5:38 PM, Adrian Chadd wrote: > [snip] not sure what you snipped? > Hi! > > Can you post the PCI ID information for the ethernet NIC? I'll give you all of it: hostb0@pci0:0:0:0: class=0x060000 card=0x397717aa chip=0x01548086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = '3rd Gen Core processor DRAM Controller' class = bridge subclass = HOST-PCI vgapci0@pci0:0:2:0: class=0x030000 card=0x397717aa chip=0x01668086 rev=0x09 hdr=0x00 vendor = 'Intel Corporation' device = '3rd Gen Core processor Graphics Controller' class = display subclass = VGA xhci0@pci0:0:20:0: class=0x0c0330 card=0x397717aa chip=0x1e318086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family USB xHCI Host Controller' class = serial bus subclass = USB none0@pci0:0:22:0: class=0x078000 card=0x397717aa chip=0x1e3a8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family MEI Controller' class = simple comms ehci0@pci0:0:26:0: class=0x0c0320 card=0x397717aa chip=0x1e2d8086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family USB Enhanced Host Controller' class = serial bus subclass = USB hdac0@pci0:0:27:0: class=0x040300 card=0x397717aa chip=0x1e208086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family High Definition Audio Controller' class = multimedia subclass = HDA pcib1@pci0:0:28:0: class=0x060400 card=0x397717aa chip=0x1e108086 rev=0xc4 hdr=0x01 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family PCI Express Root Port 1' class = bridge subclass = PCI-PCI pcib2@pci0:0:28:1: class=0x060400 card=0x397717aa chip=0x1e128086 rev=0xc4 hdr=0x01 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family PCI Express Root Port 2' class = bridge subclass = PCI-PCI pcib3@pci0:0:28:3: class=0x060400 card=0x397717aa chip=0x1e168086 rev=0xc4 hdr=0x01 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family PCI Express Root Port 4' class = bridge subclass = PCI-PCI ehci1@pci0:0:29:0: class=0x0c0320 card=0x397717aa chip=0x1e268086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family USB Enhanced Host Controller' class = serial bus subclass = USB isab0@pci0:0:31:0: class=0x060100 card=0x397717aa chip=0x1e598086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = 'HM76 Express Chipset LPC Controller' class = bridge subclass = PCI-ISA ahci0@pci0:0:31:2: class=0x010601 card=0x397717aa chip=0x1e038086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series Chipset Family 6-port SATA Controller [AHCI mode]' class = mass storage subclass = SATA none1@pci0:0:31:3: class=0x0c0500 card=0x397717aa chip=0x1e228086 rev=0x04 hdr=0x00 vendor = 'Intel Corporation' device = '7 Series/C210 Series Chipset Family SMBus Controller' class = serial bus subclass = SMBus none2@pci0:1:0:0: class=0x020000 card=0x397917aa chip=0x10911969 rev=0x08 hdr=0x00 vendor = 'Atheros Communications Inc.' device = 'AR8161 Gigabit Ethernet' class = network subclass = ethernet none3@pci0:2:0:0: class=0x028000 card=0x42228086 chip=0x08918086 rev=0xc4 hdr=0x00 vendor = 'Intel Corporation' device = 'Centrino Wireless-N 2200' class = network none4@pci0:3:0:0: class=0x088000 card=0x397617aa chip=0x2392197b rev=0x30 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'SD/MMC Host Controller' class = base peripheral sdhci_pci0@pci0:3:0:2: class=0x080501 card=0x397617aa chip=0x2391197b rev=0x30 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'Standard SD Host Controller' class = base peripheral subclass = SD host controller none5@pci0:3:0:3: class=0x088000 card=0x397617aa chip=0x2393197b rev=0x30 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'MS Host Controller' class = base peripheral none6@pci0:3:0:4: class=0x088000 card=0x397617aa chip=0x2394197b rev=0x30 hdr=0x00 vendor = 'JMicron Technology Corp.' device = 'xD Host Controller' class = base peripheral