Language Selection

English French German Italian Portuguese Spanish

Amarok's Device Handling and HAL

Filed under
Hardware

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

“Unboxing” the Android Things Developer Preview

Android Things is Google’s answer to creating an environment for IoT devices. Take a slimmed down Android build, add some sensor-specific APIs, and provide it on a number of powerful pre-integrated micro-boards and you have a ready-made platform for building a host of upcoming IoT devices. Android Things can take advantage of many existing Android libraries, toolkits, and APIs, making it easier and quicker for developers to turn ideas into product. What’s not to like? Read more

Today in Techrights

today's howtos

Debian and Ubuntu

  • Debian is a puzzle: difficult
    I myself recently had to use the Ubuntu installer in a laptop, and it didn’t seem that different to the Debian one: same steps and choices, like in every other OS installation.
  • Canonical: 2017 Will See a Mir 1.0 Release, Plans to Implement Vulkan Support
    Canonical, the company founded by Mark Shuttleworth to promote the popular Ubuntu Linux operating system everywhere around the world, has recently published the 'year in review' for their Mir display server technology. As most of you are aware, Canonical develops its own display server for Ubuntu, called Mir, which, in some ways, is similar to the X.Org Server and Wayland technologies. While Ubuntu on the desktop still uses X.Org Server's components, Mir is currently heavily tested for the Unity 8 user interface that Canonical plans on implementing by default for future releases of Ubuntu Linux, for desktops.