[BRLTTY] Linux-specific code for USB support

Dave Mielke dave at mielke.cc
Tue Jul 22 09:14:06 EDT 2008


[quoted lines by Alex Bernier on 2008/07/22 at 08:48 +0200]

>How can I add Linux-specific code in BRLTTY ? Is there a specific "#define" 
>which ensure that we are under Linux ? If not, maybe a solution would be to 
>add an "detach_usb_device" function in usb_linux.c, usb_bsd.c, usb_darin.c... 
>which is empty for all except for usb_linux.c. What is the best way ?

It'd be much better to integrate USB HID support into the core's USB support. 
Then such special case code wouldn't be necessary.

-- 
Dave Mielke           | 2213 Fox Crescent | I believe that the Bible is the
Phone: 1-613-726-0014 | Ottawa, Ontario   | Word of God. Please contact me
EMail: dave at mielke.cc | Canada  K2A 1H7   | if you're concerned about Hell.
http://FamilyRadio.com/                   | http://Mielke.cc/bible/


More information about the BRLTTY mailing list