Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Jun 2016 09:08:46 +0000
From:      Manish Jain <bourne.identity@hotmail.com>
To:        Polytropon <freebsd@edvax.de>
Cc:        "dweimer@dweimer.net" <dweimer@dweimer.net>, "freebsd-questions@freebsd.org" <freebsd-questions@freebsd.org>
Subject:   Re: Bad experience switching to SSD on FreeBSD 10.3
Message-ID:  <AM3PR02MB0963C663127CF29DD35C8CE6F62F0@AM3PR02MB0963.eurprd02.prod.outlook.com>
In-Reply-To: <20160624232512.84ba05c4.freebsd@edvax.de>
References:  <VI1PR02MB0974EE59E723F9B6678BDAC1F62E0@VI1PR02MB0974.eurprd02.prod.outlook.com> <649e47bb82b8c14b8068733a62f554f1@dweimer.net> <20160624232512.84ba05c4.freebsd@edvax.de>

next in thread | previous in thread | raw e-mail | index | archive | help
>>>
>>> 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 ?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AM3PR02MB0963C663127CF29DD35C8CE6F62F0>