From owner-freebsd-questions@freebsd.org Sat Jun 25 09:09:56 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 4DC0DB73CEE for ; Sat, 25 Jun 2016 09:09:56 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from SNT004-OMC3S34.hotmail.com (snt004-omc3s34.hotmail.com [65.55.90.173]) (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 14B6B290D for ; Sat, 25 Jun 2016 09:09:55 +0000 (UTC) (envelope-from bourne.identity@hotmail.com) Received: from EUR01-HE1-obe.outbound.protection.outlook.com ([65.55.90.135]) by SNT004-OMC3S34.hotmail.com over TLS secured channel with Microsoft SMTPSVC(7.5.7601.23008); Sat, 25 Jun 2016 02:08:49 -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=Jir5OpOeDXLmERDQbgnOC9JztKCj1QHT/veaFwg/gek=; b=ac62ojMzQMiZL/uFxlxkC7dFFANbExmeggPwO0ySDhOSFR9RwIMyfIURXF0lS3TI3tnxfX1TZ2TOK5zeN/f8gMDTwZh+6scMaAEOVYAVf/M/YbKT33H5NnniZtP+P8vhTRnByMaYyuAIXt7lUISiUO1hHXoxxMyLcNUD2kwvC/mibd4m/6z5dGHlvwLdHQYmlWGieIWV4vcHi9Weief+dUtS8yWYPnHknh7x6OJ4ANK7R0y+LT2aQNZXf46lFJGevD8bnEJC27SsoaU6Li/2VMB+ZLIIT9/dDMsy8jq7YUj/BAIaceHIYtFulhSMc6QziTRLuYQUX+P1SYq6WeJTCg== Received: from DB5EUR01FT062.eop-EUR01.prod.protection.outlook.com (10.152.4.59) by DB5EUR01HT126.eop-EUR01.prod.protection.outlook.com (10.152.5.91) with Microsoft SMTP Server (TLS) id 15.1.523.9; Sat, 25 Jun 2016 09:08:46 +0000 Received: from AM3PR02MB0963.eurprd02.prod.outlook.com (10.152.4.60) by DB5EUR01FT062.mail.protection.outlook.com (10.152.5.167) with Microsoft SMTP Server (TLS) id 15.1.523.9 via Frontend Transport; Sat, 25 Jun 2016 09:08:46 +0000 Received: from AM3PR02MB0963.eurprd02.prod.outlook.com ([fe80::d072:5589:5c4a:fd77]) by AM3PR02MB0963.eurprd02.prod.outlook.com ([fe80::d072:5589:5c4a:fd77%14]) with mapi id 15.01.0528.014; Sat, 25 Jun 2016 09:08:46 +0000 From: Manish Jain To: Polytropon CC: "dweimer@dweimer.net" , "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/5GZAAgAAHiwCAAMSFAA== Date: Sat, 25 Jun 2016 09:08:46 +0000 Message-ID: References: <649e47bb82b8c14b8068733a62f554f1@dweimer.net> <20160624232512.84ba05c4.freebsd@edvax.de> In-Reply-To: <20160624232512.84ba05c4.freebsd@edvax.de> 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.4.60) smtp.mailfrom=hotmail.com; edvax.de; dkim=none (message not signed) header.d=none;edvax.de; dmarc=fail action=none header.from=hotmail.com; received-spf: SoftFail (protection.outlook.com: domain of transitioning hotmail.com discourages use of 25.152.4.60 as permitted sender) x-ms-exchange-messagesentrepresentingtype: 1 x-eopattributedmessage: 0 x-forefront-antispam-report: CIP:25.152.4.60; IPV:NLI; CTRY:GB; EFV:NLI; SFV:NSPM; SFS:(10019020)(98900003); DIR:OUT; SFP:1102; SCL:1; SRVR:DB5EUR01HT126; H:AM3PR02MB0963.eurprd02.prod.outlook.com; FPR:; SPF:None; CAT:NONE; LANG:en; CAT:NONE; x-ms-office365-filtering-correlation-id: e1c928ac-faef-4805-f1ed-08d39cd84f95 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(5061506196)(5061507196)(1603103041)(1601125047); SRVR:DB5EUR01HT126; x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(432015012)(82015046); SRVR:DB5EUR01HT126; BCL:0; PCL:0; RULEID:; SRVR:DB5EUR01HT126; 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:08:46.5078 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Internet X-MS-Exchange-CrossTenant-id: 84df9e7f-e9f6-40af-b435-aaaaaaaaaaaa X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5EUR01HT126 X-OriginalArrivalTime: 25 Jun 2016 09:08:49.0370 (UTC) FILETIME=[2FA35BA0:01D1CEC1] 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:09:56 -0000 >>> >>> 1) Keyboard -> LED backlit keyboard (Cooler Master Devastator, USB) >>> 2) 2 GB DDR3 RAM -> 8GB DDR3 (G Skill) >>> 3) Sata HD -> SSD (Samsung EVO 500 GB) >>> >>> The keyboard upgrade itself failed for FreeBSD. The moment I switch on >>> the LED backlight light for the keys, console output freezes till I >>> turn off the backlight. This is surprising because the keyboard works >>> well on XP, which was developed almost 2 decades back. The reason this >>> is important for me is because I love working in the dark, with no >>> bright lights around. LED keyboards make that possible. Not just that, >>> the keyboard looks sensational - particularly with LED on, when the >>> thing looks futuristic. >> >> Cooler Master Devastator is a poorly designed LED keyboard for using on >> FreeBSD/Linux, I did a quick search because I was surprised it wouldn't >> work. >> > >> Someone else might have a better idea for a work around on this. > > Press Scroll Lock to activate light (console locked), press Pause/Break > to unlock console again. As both keys are next to each other, > develop the routine to press them after each other to toggle the > light. Inside X, Scroll Lock usually has no function assigned, > so it shouldn't be a problem there. I found a doc which says the keyboard can be used with linux with this=20 script : #!/bin/bash FLAGS=3D$(xset -q | awk 'NR=3D=3D2' | awk '{ print $10 }') if [ "$FLAGS" =3D 00000000 ]; then xset led on else xset led off fi Would this kind of script work on FreeBSD too ?