Profile

Cover photo
Richard Hughes
Attended University of Surrey
Lives in London, England
2,519 followers|844,955 views
AboutPostsPhotosYouTube

Stream

Richard Hughes

Shared publicly  - 
 
My life would be a lot simpler with a functional revoke() in Linux...
3
Bhaskar Chowdhury's profile photoRajeesh K V's profile photo
2 comments
 
Hm... last April Al Viro presented the update that revoke() is getting close to done, and in August David Herrmann's patch was being reviewed... wondering what happened of it.
Add a comment...

Richard Hughes

Shared publicly  - 
 
After 4 days in bed with some horrible fever-headache-thing, I'm nearly back to fighting fit. This evening I had a play with gnome-settings-daemon and gnome-control-center; this is all very hacked together but works.

Nailing the algorithm is probably priority #1 and then I can propose something for +Bastien Nocera and +Allan Day to rip to pieces. :)
15
Richard Hughes's profile photoEmmanuele Bassi's profile photoOnyeibo Oku's profile photoJason Wagner's profile photo
7 comments
 
+Onyeibo Oku Some laptop designs allow secondary batteries.  Not sure how recently this was introduced, but both my current and previous laptops allowed this.  Google "sheet battery".
Add a comment...

Richard Hughes

Shared publicly  - 
 
ColorHug ALS can now actually control the backlight. The Up/Down buttons mimic the BrightnessUp/BrightnessDown keys and give the user some control over the algorithm even when ALS is enabled. Modifying the brightness just modifies the brightness by 5 whatever the ALS says, so you're somewhat in control of the absolute level right now, the ALS modifying the level either side of what you just set in the coming seconds.

We also use the brightness value at start to be what you consider "normal" so the algorithm tries to stay out of the way. I'm going to run the program myself for a few days with the different smoothing delays and see what works for me. Once I've got some more testers, I can get feedback there too.

There is lots of dumb maths going on, for instance the smoothing is just a moving average at the moment. More refinements to come, and when we've got something that works well and has been tested I'll aim to push this into GNOME properly, although not for 3.16.
11
Ignacio Casal's profile photoRichard Hughes's profile photo
2 comments
 
+Ignacio Casal Well, tonight I'm planning to just hook up the actual brightness buttons... :)
Add a comment...

Richard Hughes

Shared publicly  - 
 
Interested in an OpenHardware ALS sensor?
An ambient light sensor is a little light-to-frequency chip that you've certainly got in your tablet, most probably in your phone and you might even have one in your laptop if you're lucky. Ambient light sensors let us change the panel brightness in small ways so that you can still see your ...
9
Richard Hughes's profile photoOleksij Rempel's profile photoElad Alfassa's profile photoBastien Nocera's profile photo
11 comments
 
+Elad Alfassa just need the code now ;)
Add a comment...

Richard Hughes

Shared publicly  - 
 
Current status...
17
Elad Alfassa's profile photoJeff Fortin Tam's profile photoMichael Catanzaro's profile photoRichard Hughes's profile photo
6 comments
 
+Michael Catanzaro That's kinda blurry here :/
Add a comment...
Have him in circles
2,519 people
Justin Zobel's profile photo
Ritesh Khadgaray's profile photo
Dagfinn Stangeland's profile photo
manish kumar's profile photo
Todd Bourque's profile photo
Frank Bemigho Awani - Aguma's profile photo
WebApp Designer's profile photo
Haikel Guemar's profile photo
Nathan Fisk's profile photo
 
Introducing fwupd, which is very interesting for Fedora, and might be interesting for the tablet and phone folk...
A few weeks ago Christian asked me to help with the firmware update task that a couple of people at Red Hat have been working on for the last few months. Peter has got fwupdate to the point where we can “upload” sample .cap files onto the flash chips, but this isn't particularly safe, ...
12
3
Richard Hughes's profile photoIgor Gnatenko's profile photoGianluca Sforna's profile photoChristopher Meng's profile photo
3 comments
 
I already saw the comment "I'm not going to install GNOME to update my firmware"...
Add a comment...

Richard Hughes

Shared publicly  - 
 
Now the laptop brightness buttons do the right thing. I've also implemented a exponential moving average, which makes the brightness changes much more smooth and unnoticeable. I've pushed what I have to colorhug-client, and I'll fix things up over the next few weeks. Now I've actually got to build some hardware...
26
Add a comment...
 
It's almost like Google doesn't want me to install Linux on this Chromebook Pixel...
9
Richard Hughes's profile photodhead666's profile photoDaniel Buch's profile photoAlexander Larsson's profile photo
6 comments
 
+Daniel Buch​ which is ironic since the pixel was the machine i did all the original GNOME hidpi work on
Add a comment...

Richard Hughes

Shared publicly  - 
 
My journey last night: Decide to switch the ColorHug project from the Microchip non-free compiler to the free software SDCC compiler.

Make a LED flash on the ColorHugALS board -> Write missing pic14 flash routines for the bootloader -> Write simple USB stack for testing -> Debug sdcc compiler issue -> Debug sdcc linker issue -> Give up on SDCC.

I was so close to switching the ColorHug project to a free compiler, but just too many yaks to shave. I've posted to the mailing list, but it looks like using dual port RAM on PIC14 is completely untested (which is needed for BDT entries, and thus USB support is dead in the water. PIC16 looks better supported, but that's only on newer device models. :/
6
Derek Stavis's profile photoNick Craig-Wood's profile photoRichard Hughes's profile photoJon Nordby's profile photo
7 comments
 
+Richard Hughes  I'd put a #error with "this code did not work for me, see below" and put comments about the issues you got stuck on. With links to bugs/emails if appropriate
Add a comment...

Richard Hughes

Shared publicly  - 
 
GNOME Software now needs applications to provide an AppData file before they are shown as search results. This will affect Fedora 22 only.
Fedora Rawhide is now at 52% coverage, and the 48% left are really the sludge at the bottom of the barrel. Most active and maintained projects now ship an AppData file upstream. Showing entries without screenshots, descriptions and other metadata just hurts usability and makes the software ...
12
1
Michael Catanzaro's profile photoMarkus S.'s profile photoRichard Hughes's profile photoIgor Gnatenko's profile photo
4 comments
 
+Markus S. Great, thanks. Once the upstream projects release a new tarball with a file that gets installed into /usr/share/appdata the distros build a package (.deb/.rpm) which is then extracted by the appstream builder. You can see the status matrix here: https://alt.fedoraproject.org/pub/alt/screenshots/f22/matrix.html
Add a comment...

Richard Hughes

Shared publicly  - 
 
Do you have any fake flash media? Can you help?
I've been using F3 to check my flash drives, and this is how I discovered my drives were counterfeit. It seems to me this kind of feature needs to be built inside gnome-multi-writer itself to avoid sending fake flash out to customers. Last night I wrote a simple tool called ...
4
3
Aidan Delaney's profile photoAndres Romero's profile photoKatⓋ Krow's profile photoMatthias Klumpp's profile photo
3 comments
 
From Hugsie's blog fake flash was "reporting the capacity to be 1GB, when it was actually 96Mb looped around 10 times."  It explains that fake flash, ain't just some kind of cheap memory, it simply doesn't work.
Add a comment...

Richard Hughes

Shared publicly  - 
 
 
Yay, finally!
7 years later. This is a public service announcement. Please stop writing this: #define G_DESKTOP_APP_INFO(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), G_TYPE_DESKTOP_APP_INFO, GDesktopAppInfo)) #define G_DESKTOP_APP_INFO_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), G_TYPE_DESKTOP_APP_INFO, ...
2 comments on original post
3
Derek Stavis's profile photo
 
Very welcome!
Add a comment...
People
Have him in circles
2,519 people
Justin Zobel's profile photo
Ritesh Khadgaray's profile photo
Dagfinn Stangeland's profile photo
manish kumar's profile photo
Todd Bourque's profile photo
Frank Bemigho Awani - Aguma's profile photo
WebApp Designer's profile photo
Haikel Guemar's profile photo
Nathan Fisk's profile photo
Work
Occupation
I write open source software
Places
Map of the places this user has livedMap of the places this user has livedMap of the places this user has lived
Currently
London, England
Links
Other profiles
Contributor to
Story
Tagline
I'm an open source hacker who loves to make framework software
Introduction
I'm an electronic engineer who likes to write free software. At some point in my life, I've probably caused a crash on your computer.
Education
  • University of Surrey
    MEng Electronics, 2003 - 2007
Basic Information
Gender
Male