From owner-freebsd-questions@freebsd.org Sat Jun 25 09:34:36 2016 Return-Path: Delivered-To: freebsd-questions@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 3D448B80460 for ; Sat, 25 Jun 2016 09:34:36 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from SNT004-OMC4S9.hotmail.com (snt004-omc4s9.hotmail.com [65.55.90.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA384 (256/256 bits)) (Client CN "*.outlook.com", Issuer "Microsoft IT SSL SHA2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 040B318BE for ; Sat, 25 Jun 2016 09:34:35 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR01-HE1-obe.outbound.protection.outlook.com ([65.55.90.199]) by SNT004-OMC4S9.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 25 Jun 2016 02:33:30 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=hotmail.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=iYrXjP7mlc69FWEuh//9Q6VIBP+JaPy3HbWr/oM3Psg=; b=Ko8MSd8UudQQcf4YL7ZAudVgXP/wZB8twxVrVdA6eRaXNXY+7p7DmbhRwM5B5DbS9l3l7WtvlwAOj/N3hW4SUcUFQPo5X8OgBKmyp+WlkFEE3+/0kNEFrfE+9Y8aJtZ37TU+LgMGE5NbI9Vnj4tlkioe8OiuxEzLKW+GHAKawd5hOqjmsYKD9znHi9Azs4fykoDDevHAh4fL2u5M5nvwG0/OpKShC2HqrG3pUcrXHywXhJWC3aOByZsGhEHkBqEGueG6u+K+eCtyJgdI5W3jocoRJjTe6RP7fz2bbCY7LfxOkqWg2Wpa8ZJ2VeVwq7Tz1mEbwRGItzqDifmj8AzWRA== Received: from HE1EUR01FT049.eop-EUR01.prod.protection.outlook.com (10.152.0.52) by HE1EUR01HT023.eop-EUR01.prod.protection.outlook.com (10.152.0.242) with Microsoft SMTP Server (TLS) id 15.1.517.7; Sat, 25 Jun 2016 09:33:17 +0000 Received: from VI1PR02MB0974.eurprd02.prod.outlook.com (10.152.0.54) by HE1EUR01FT049.mail.protection.outlook.com (10.152.0.221) with Microsoft SMTP Server (TLS) id 15.1.523.9 via Frontend Transport; Sat, 25 Jun 2016 09:33:16 +0000 Received: from VI1PR02MB0974.eurprd02.prod.outlook.com ([10.163.162.28]) by VI1PR02MB0974.eurprd02.prod.outlook.com ([10.163.162.28]) with mapi id 15.01.0523.019; Sat, 25 Jun 2016 09:33:16 +0000 From: Manish Jain To: "Martin S. Weber" , "freebsd-questions@freebsd.org" Subject: Re: Bad experience switching to SSD on FreeBSD 10.3 Thread-Topic: Bad experience switching to SSD on FreeBSD 10.3 Thread-Index: AQHRzlZ2b3osoQW+kU6ThysdwaSQjp/5GZAAgAAHiwCAAMSFAIAABEWAgAACjYA= Date: Sat, 25 Jun 2016 09:33:16 +0000 Message-ID: References: <649e47bb82b8c14b8068733a62f554f1@dweimer.net> <20160624232512.84ba05c4.freebsd@edvax.de> <20160625092351.GA1997@hephaistos.local> In-Reply-To: <20160625092351.GA1997@hephaistos.local> Accept-Language: en-GB, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=softfail (sender IP is 25.152.0.54) smtp.mailfrom=hotmail.com; gmx.net; dkim=none (message not signed) header.d=none;gmx.net; dmarc=fail action=none header.from=hotmail.com; received-spf: SoftFail (protection.outlook.com: domain of transitioning hotmail.com discourages use of 25.152.0.54 as permitted sender) x-ms-exchange-messagesentrepresentingtype: 1 x-eopattributedmessage: 0 x-forefront-antispam-report: CIP:25.152.0.54; IPV:NLI; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:HE1EUR01HT023; H:VI1PR02MB0974.eurprd02.prod.outlook.com; FPR:; SPF:None; CAT:NONE; LANG:en; CAT:NONE; x-ms-office365-filtering-correlation-id: 34b6c5ec-e5c3-4901-b38c-08d39cdbb8a0 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(1601124038)(5061506196)(5061507196)(1603103041)(1601125047); SRVR:HE1EUR01HT023; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046); SRVR:HE1EUR01HT023; BCL:0; PCL:0; RULEID:; SRVR:HE1EUR01HT023; x-forefront-prvs: 09840A4839 Content-Type: text/plain; charset="Windows-1252" Content-ID: Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: hotmail.com X-MS-Exchange-CrossTenant-originalarrivaltime: 25 Jun 2016 09:33:16.0282 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: HE1EUR01HT023 X-OriginalArrivalTime: 25 Jun 2016 09:33:30.0086 (UTC) FILETIME=[A236B060:01D1CEC4] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jun 2016 09:34:36 -0000 On 6/25/2016 2:53 PM, Martin S. Weber wrote: > On 2016-06-25 09:08:46, Manish Jain wrote: >> (...) >> I found a doc which says the keyboard can be used with linux with this >> script : >> >> #!/bin/bash > #! /bin/sh > >> FLAGS=3D$(xset -q | awk 'NR=3D=3D2' | awk '{ print $10 }') > .. ^ { print $10 } >> if [ "$FLAGS" =3D 00000000 ]; then >> xset led on >> else >> xset led off >> fi >> >> Would this kind of script work on FreeBSD too ? > > Sure, it does. No need for /bin/bash or the double awk invocation. xset l= ed > toggles my numlock status led, you'll have to test with your hardware (yo= u've > received instructions on how to unlock your console after enabling the LE= D > with your hardware switch already anyways..), but I'd expect this to work= . > > Regards, > -Martin > Thank you so much for confirming it. Regards