Language Selection

English French German Italian Portuguese Spanish

Amarok's Device Handling and HAL

Filed under

Amarok's device handling is pretty adequate. Granted it could be better, but we support nearly every device on the market through some plugin or another. But there's one recurring problem: except in a few cases, Amarok doesn't know what device you have plugged in, and how to handle it. You have to tell this to Amarok. This means you, and we, have to deal with the manual creation of devices. Well, that's going to change.

Enter HAL, and its KDE4 paramour Solid. By now, you probably know what these do. HAL, Hardware Abstraction Layer, gathers information about your hardware. Solid reads it (and some other information) and outputs a KDE interface to it. Now by itself, this isn't enough, because HAL has a namespace called portable_audio_player, but, with a few exceptions, it doesn't actually say what type of device you're using -- simply "storage" for a USB Mass Storage interface, or "user" meaning that a userspace library needs to handle it.

However, for the last few weeks I've been working with HAL developers to come up with a way that device access protocols can be auto-detected.

Read More.

More in Tux Machines

Firefox 57 - Trick or Treat?

The best way to describe Firefox 57 is too little, too late, but better later than never. In a way, it's a pointless release, because it brings us back roughly where Firefox was and should have been years ago. Only all this time in between was wasted losing user base. WebExtensions will be the thing that makes or breaks the browser, and with insufficient quality in the available replacements for those that don't make the culling list, there will be no real incentive for people to stay around. Firefox 57 is better than earlier versions in terms of looks and performance, but that's like saying you get 50% discount on a price that is twice what it should be. Ultimately unnecessary, just like graduating from university by the age of 68. There aren't any major advantages over Chrome. This is essentially a Firefox that sucks less. So yes, on the positive side, if you do want to continue using Firefox, version 57 makes much more sense than the previous 53 releases. It has an almost normal look, some of the sorely needed security & privacy addons are available, and it offers a passable user experience in terms of speed and responsiveness. Bottom line, I will stick with Firefox for now. As long as my extensions keep working. Take care. Read more

Android Leftovers

The origin and evolution of FreeDOS

Over the years, developers have shared with me how they use FreeDOS to run embedded systems. My all-time favorite example is a developer who used FreeDOS to power a pinball machine. FreeDOS ran an application that controlled the board, tallied the score, and updated the back display. I don't know exactly how it was built, but one way such a system could work is to have every bumper register a "key" on a keyboard bus and the application simply read from that input. I thought it was cool. People sometimes forget about legacy software, but it pops up in unexpected places. I used to be campus CIO of a small university, and once a faculty member brought in some floppy disks with old research data on them. The data wasn't stored in plaintext files, rather as DOS application data. None of our modern systems would read the old data files, so we booted a spare PC with FreeDOS, downloaded a shareware DOS program that could read the application data, and exported the data to plaintext. Read more

U.S. makes renewable energy software open source

As a longtime proponent of open source solar photovoltaic development, I am happy that the U.S. National Renewable Energy Lab (NREL) has shared all the source code for System Advisor Model (SAM), its most powerful renewable energy economic analysis software. SAM is now SAM Open Source. It is a performance and financial model designed to help make decisions about renewable energy. This is perfect timing, as the costs of solar have dropped so far that the levelized cost of electricity for solar power is less than what you are probably paying for electricity from your utility. Read more