Thread: HQCT Driver.
View Single Post
Old 09-15-2007, 10:53 AM   #38
ignislupis
Newbie
 
Join Date: Sep 2007
Posts: 4
New version?

I've been researching the HQCT for a while. I am very interested in an updated driver. I am currently running linux-2.6.22-gentoo-r5 and when I try to compile the source from the file earlier in this thread I get:
Code:
home/fallenangel/hqtc/hqct2/hqct.c:18:26: error: linux/config.h: No such file or directory /home/fallenangel/hqtc/hqct2/hqct.c: In function 'hqct_recv': /home/fallenangel/hqtc/hqct2/hqct.c:231: warning: passing argument 6 of 'usb_fill_int_urb' from incompatible pointer type /home/fallenangel/hqtc/hqct2/hqct.c: In function 'hqct_send': /home/fallenangel/hqtc/hqct2/hqct.c:397: warning: passing argument 6 of 'usb_fill_int_urb' from incompatible pointer type make[2]: *** [/home/fallenangel/hqtc/hqct2/hqct.o] Error 1 make[1]: *** [_module_/home/fallenangel/hqtc/hqct2] Error 2 make[1]: Leaving directory `/usr/src/linux-2.6.22-gentoo-r5' make: *** [hqct.ko] Error 2

I Don't have any hardware yet but I'm planning on going with
- Pico-itx from VIA
- Lilliput 7" Touchscreen
- Amp9 to drive my stock speakers
- HQCT
- M2-ATX

I will probably need to add a USB hub later so I can add GPS, Wireless G, ODB-II (but I might just use the com port for that) and anything else that's cool.

So far, I think I can get really close to getting it all in my double din space.

Anyway back to the driver. I think I might be able to get something working based on your demo.c; but I have no idea about kernel drivers. I came across something about the config.h not being in the new kernel sources, but I don't remember where, and haven't been able to find it again yet.

If you have current code that works well, then I would be glad to help test. But I'm not going to buy the hardware without a pretty good start on a driver.

I think my local radio station (the one I listen to out of only 3 or 4 in my area) recently got RDS hardware. I don't currently have that capability, but I would be willing to help out when I get my stuff.

The HQCT seems to be the most elegant method because I can get it in my dash.

I am ready to start buying next week if I can find everything I need. What you have done looks really good. I hope I can help with it as well as benefit from it.

Thank you.
ignislupis is offline   Reply With Quote