[patch] Re: HAL and hotplugging

Dustin Spicuzza dustin at virtualroadside.com
Sat Mar 15 14:36:47 PDT 2008

Ok, this patch allows the HAL layer to send arbitrary options to the 
driver. I tested it using the evtouch driver that my touchscreen uses... 
but it'll most likely work with evdev or any other driver too. Test it 
and let me know.

Also, I changed some of the output statements to ErrorF instead of 
DebugF, since I couldn't figure out how to display the DebugF 
statements, and it was annoying to not be able to see them (while right 
now my changes made it more verbose, at least it gives you the ability 
to figure out what isn't working, and that HAL is actually *trying* to 
do something, as opposed to how it was before. Theres probably a better 

Also, I know strncasecmp isn't standard.. and I used it. Is that an issue?


Innovation is just a problem away

Dustin Spicuzza wrote:
> Heh... after some OS updating and package rebuilding, its working now. 
> Not really sure why.. oh well. Now to actually code something useful...
> Dustin
> Dustin Spicuzza wrote:
>> Well I have xorg and such built... but for the life of me I can't 
>> seem to get the HAL code actually doing anything. In my distro 
>> version of xorg... it at least tries to load the driver using the HAL 
>> stuff, despite errors. My git version of xorg is just totally not 
>> doing anything with HAL. Is there something special that needs to be 
>> done for hal and such to be enabled when you install xorg in an 
>> alternate path? Thanks
>> Dustin
>> Simon Thum wrote:
>>> Dustin Spicuzza wrote:
>>>> Adam Jackson wrote:
>>>>> The hal config backend doesn't have any wiring for passing arbitrary
>>>>> options through.  I'm planning to fix this soon (although I'd be
>>>>> thrilled if someone beat me to it!).
>>>> Get ready for a race then, because I might do just that... I'll 
>>>> look at it and see how crazy it might be. First I suppose I should 
>>>> try and build my xorg stuff from git source first...
>>> Consider yourself beaten. (Is that right?)
>>> Just kidding. Would you be so kind to make sure I get notified when 
>>> you're done? (I'm fighting with config issues ever since, see 
>>> https://bugs.freedesktop.org/show_bug.cgi?id=8583)
>>> A HAL-based approach would be very nice. I'll be OL some time, so 
>>> it's easy to miss that..
>>> Thanks in advance,
>>> Simon

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Added-support-to-pass-arbitrary-options-via-HAL-hotp.patch
URL: <http://lists.x.org/archives/xorg/attachments/20080315/e376dddf/attachment.ksh>

More information about the xorg mailing list