Thread: HQCT Driver.
View Single Post
Old 11-24-2006, 02:10 PM   #32
TheLlama
FLAC
 
TheLlama's Avatar
 
Join Date: Jul 2004
Location: All over the world
Vehicle: 2001 Paper Airplane Standard Edition
Posts: 984
My Photos: ()
Quote: Originally Posted by FMode View Post
Linux-guys listen !

Does it help you if my library (.NET) gets the HID pipe-name with libusb32 (.NET library for win32 AND Linux) ?

BTW (and maybe OT) :
Frontends are based IMHO a lot on components (Destinator is a component, ...) which are not available in Linux (?) (COM and ActiveX on windoze)
This currently seems the main disadvantage of Linux to me.
This brings us to the potential of Mono IMHO....

I don't know. Does libusb32 support Linux's usbhid usermode driver? I was originally implemented the hqct driver as a usermode library. I decided to move it to kernel space so that:
A) it can provide a single /dev/hqct device that all applications can use
B) it can be interrupted by the radio. This makes for quicker and less error-prone tuning and seeking
C) I can later add a /proc/hqct to report the status and RDS data
D) it was a great exercise in writing a threaded kernel module.

If your library will work with Linux's usbhid then that would be nice, especially for the people who do not want to load kernel modules or patch their kernel (note, these two options are mutually exclusive). I would imagine this as an alternative driver; not a replacement for my kernel module. One nice thing is, the usbhid usermode driver can use the same API as my driver. The device FD would simply be a /dev/hidXXX instead of a /dev/hqctXXX
TheLlama is offline   Reply With Quote