Page 4 of 7 FirstFirst 1234567 LastLast
Results 31 to 40 of 64

Thread: HQCT Driver.

  1. #31
    Constant Bitrate
    Join Date
    Mar 2005
    Location
    Wiesbaden/Germany
    Posts
    214
    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....

  2. #32
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    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

  3. #33
    Constant Bitrate
    Join Date
    Mar 2005
    Location
    Wiesbaden/Germany
    Posts
    214
    Did I state that my work is a .NET Assembly !?

    So my work is interesting if using MONO under Linux...
    It should work under MONO as the used namespaces are "MONO friendly"...

  4. #34
    pim
    pim is offline
    Low Bitrate
    Join Date
    Mar 2006
    Location
    The Hague, the Netherlands
    Posts
    66
    Quote Originally Posted by TheLlama View Post
    I was originally implemented the hqct driver as a usermode library. I decided to move it to kernel space
    I guess I would prefer a usermode library using the usb hid API. Not having to install (kernel) development tools and creating custom kernels would be a great relief. And if the usermode library is the API to use, then it would not matter how it communicates with the kernel.

    If you do insist on a kernel driver, why not make it a V4L device, so it adheres to some standard. Not sure if V4L is right for RDS support, though.

    Pim

  5. #35
    pim
    pim is offline
    Low Bitrate
    Join Date
    Mar 2006
    Location
    The Hague, the Netherlands
    Posts
    66
    Quote Originally Posted by FMode View Post
    Did I state that my work is a .NET Assembly !?

    So my work is interesting if using MONO under Linux...
    It should work under MONO as the used namespaces are "MONO friendly"...
    I guess that would only be useful if the frontend itself was written in C#.

    Thinking of that, that would be cool, having a frontend that is crossplatform using
    Mono.

    Pim

  6. #36
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    Hey everyone. My beta testers fell of the face of the earth so I haven't really done much with the project. Fortunately, I have some help now and we are going to add RDS support to the project.

    Do we still have any betatesters?

  7. #37
    Constant Bitrate
    Join Date
    May 2006
    Posts
    116

    Beta Testing

    I have the HQCT and a miniitx board with a T7600 Core2Duo and 4MB RAM etc.

    Originally I thought Vista, but I'm ready to switch to Linux.

    If you can point me to a distrabution and your code, I'd be interested in beta testing.

  8. #38
    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.

  9. #39
    Constant Bitrate
    Join Date
    May 2006
    Posts
    116
    Got Gentoo running on my Mini-ITX board (dual booting w/Win2000).

    Need to get more comfortable with Gentoo and understand what the HQCT driver needs for installation and testing.

    As I install the HQCT driver, attach my HQCT hardware, and configure Gentoo I will post and update.

    I'll reread the posts, but is anyone running this driver. Not too many recient posts.

  10. #40
    Newbie
    Join Date
    Sep 2007
    Posts
    4
    I love Gentoo. I hope you do too.

    I got the driver to compile and load. I had to comment out the include line for config.h. They removed it from the new kernel sources.

    I don't have the hardware to test it with but I don't get any errors when I modprobe it.

Page 4 of 7 FirstFirst 1234567 LastLast

Similar Threads

  1. Line Driver Selection? And Audio advice
    By Philly#1 Lex in forum Car Audio
    Replies: 6
    Last Post: 04-24-2006, 12:10 PM
  2. Line Driver Vs. Amp Sensitivity Adjustment
    By 3onDubs in forum Car Audio
    Replies: 5
    Last Post: 11-28-2005, 08:37 PM
  3. XM Driver Install Problem
    By MikeH in forum MacCar
    Replies: 5
    Last Post: 04-24-2005, 12:22 PM
  4. Replies: 4
    Last Post: 01-01-2005, 05:19 PM
  5. USB Sound Card with ASIO driver and volume control
    By tbdombrosky in forum General Hardware Discussion
    Replies: 0
    Last Post: 02-04-2003, 12:00 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •