I'm calling GetProperty on a org.freedesktop.Hal.Device from my handler during a PropertyNotified signal. I'm only calling GetProperty on properties that have been added or changed.
When I call GetProperty during property adds, I'm getting a org.freedesktop.Hal.NoSuchProperty exception. I'm also worried that during changes, I'm gettin...
I'm pretty much a total idiot when it comes to writing hardware drivers, however I'm fairly decent at C/C++.
I have a for fun project I want to work on that is attempting to use a device as a network tether proxy.
What I would like to do is create a driver that appears to be a network driver to windows, but actually sends/receives thro...
I'm trying to find a way to mark a USB flash device in a way that I can programmaticly test for without mounting it or changing the label.
Are there any properties I can modify about a device that will not cause it to behave/look differently to the user?
Running Ubuntu Jaunty.
...
How does one test a method that does some interactions with the local D-Bus (accessing a HAL object)?
Results of tests will differ depending on the system that the test is run on, so I don't know how to provide the method reliable input.
I'm working in Python, by the way.
...
Hi,
I'm using python-dbus to interface with HAL, and I need to find a device's UDI based on it's path in the /dev hierarchy.
So given a path such as /dev/sdb, I want to get a value back like /org/freedesktop/Hal/devices/usb_device_10.
...
Hi,
I need to stop GNOME/Nautilus from automagically mounting new devices and partitions as they appear to the system. How can I accomplish this in python?
...
I want to write a python code using HAL to get for a certain "udi" the info. about the device driver, and to enable/disable this device driver.
...
There is an application called wiretap available at
http://www.ambrosiasw.com/utilities/wiretap/
This application can record the system audio. I would like to be able to do the same in my program. Any insights on what I need to do this? I am familiar with Core Audio but havent found anything on how to do this.
would this help getti...
device.get('storage.cdrom.write_speeds')
This returns HAL list of ints, like:
[4284, 2342, 1202, 800]
How should these be handled, to recieve writing speed? Or better, how does one retrieve speeds for all media type burner can write: DVDs, CDs...
According to wikipedia, calculation should be: value/150 for normal CDs, value/172.3 f...
This is a dupe from SuperUser.com . Folks over there weren't smart enough or willing to help me out; maybe it's more a programmer question than an administrator one:
I have an app that reads input from 4 (four) mice that are plugged in via USB in addition to the built-in touchpad. This is no problem for Ubuntu 9.10: hald notices the n...
Where can one find the DirectX HAL specification?
Taking this diagram to be correct
Then all GPU vendors have to write their device drivers such that they speak to the HAL.
Where is the HAL specified? How does MSFT adjust or update the HAL? When does the HAL change? If the HAL changes does the world break or the sky fall?
...
I'm trying to learn about device drivers on Linux Kernel, for that I've created three modules with:
A bus type
A device driver
A fake device that does nothing now, only is registered
Everything works fine, I can load the bus, the driver and the module that creates the device. Everything appears on sysfs, including the link between th...