Page 6 of 7 FirstFirst 1234567 LastLast
Results 51 to 60 of 64

Thread: HQCT Driver.

  1. #51
    Newbie
    Join Date
    Aug 2006
    Posts
    7

    hanging read()

    I'd guess that the driver doesn't put out any data during seeking... but my driver only uses read() to output RDS data groups, so it's hard for me to check it out.

    Daniel

  2. #52
    Constant Bitrate
    Join Date
    May 2006
    Posts
    116
    Made some changes to demo.c to drive the tune-seek-volume-etc functions from a case statement inside a while loop menu.

    Seek seems to need more sensitivity. I should be able to find something in the code to change this.

    I can tune directly to any FM station, but seek never finds them. I get no AM stations except 910 seems to give some sound.

    Maybe I need something different for an antenna. I'm currently using a XM antenna at the end of a 6 ft. wire. I'll boot back to windows 2000 for comparison on AM.

  3. #53
    Newbie
    Join Date
    Aug 2006
    Posts
    7

    seek sensitivity

    Seek senitivity can be set using the "HQCTIOC_SET_MIN_LEVEL" ioctl.

    greetz Daniel

  4. #54
    Constant Bitrate
    Join Date
    May 2006
    Posts
    116
    The AM tuning seems to have a problem both Seeking and direct Tuning. The Pas Code under windoze works for direct Tuning, but doesn't seem to Seek. *Maybe* that's a clue for the C code problem.

    I've compared the C code to the Pas code and even tried some trial-error (all error) testing of changing parameters by a factor of 10.
    The C code
    "PLL = (( ( ((freq/10) + interm_fr) * AM_VCO)) / AM_ref_fr);"
    with AM_ref_fr == 1 why divide by one?
    looks a little different from
    the Pas code
    "PLL := (Gewenste_Freq + IntermFreq_AM)* VCO_div_AM div RefFreq_AM;"
    with RefFreq_AM == 10 (the same as FM)

    I'll try some variants that I might have missed:

    maybe "freq/10" SB "freq/100" or maybe "AM_ref_fr = 1" SB "AM_ref_fr = 10" or both.

    Obviously I have zero frame-of-reference for the Phase-locked loop algorithm and variables.

  5. #55
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    Hey everyone. I haven't been on the forums in a while since the mp3car community, for the most part, isn't the same set of folks it was when I first started. Regardless, I'm glad people are finally getting some use out of my driver. It looks like it is time to finish it.

    As far as the read error on seeking. Perhaps it isn't finding any stations? so it is continuously looping? I can make it so it will stop seeking once it's gone full-circle, or maybe after a certain time.

    The seeking may have a bug or two. But, if you change code in there, please pay attention to how the code functions. Two packets need to be sent to tune the radio. We set status=HQCT_STATUS_SEEKING_UP1, then send the first packet. The send_callback fires. If status==HQCT_STATUS_SEEKING_UP1, which it does, then we set status=HQCT_STATUS_SEEKING_UP2 and send the second packet.

    Now, the radio will send a report back. In recv_callback, if status==HQCT_STATUS_SEEKING_UP2, then we check the signal strength and possibly call hqct_tune again.

    It needs to be asynchronous like this, or else the radio driver will freeze the whole system while seeking. But, there may still be a bug in variable locking, the completion vars, whatever.

  6. #56
    Constant Bitrate
    Join Date
    May 2006
    Posts
    116
    Currently I'm not getting any AM station to tune. I've tried several strong local stations and get nothing but static. Rebooting the same PC hardware to Windows 2000, allows me to tune AM. FM tunes perfectly.

    The PLL calculation appears quite different for AM than the PLL calculation for FM and I wonder if there might be a bug, yet I do not see a logical (or otherwise) alternative to the existing values.

    Does your testing of AM result in successful tuning?

  7. #57
    Newbie
    Join Date
    Nov 2007
    Posts
    38

    compatibility with other radios?

    This might be a bit OT, but I'm curious if you think there's any chance that this driver will work with the Brando FM USB receiver?

    in this post, it seems the Centrafuse HQCT-specific module "just works", so I'm curious if you have any idea whether the linux kernel driver might work also.

    I know it's a naive question, and probably too much to hope for. Otherwise I might have to dust off my programming hat and try to figure out how to write an HID driver for this specific radio. For information, it's a Silabs radio chipset and USB microcontroller.

  8. #58
    FLAC TheLlama's Avatar
    Join Date
    Jul 2004
    Location
    All over the world
    Posts
    970
    Quote Originally Posted by waltersaegir View Post
    Currently I'm not getting any AM station to tune. I've tried several strong local stations and get nothing but static. Rebooting the same PC hardware to Windows 2000, allows me to tune AM. FM tunes perfectly.

    The PLL calculation appears quite different for AM than the PLL calculation for FM and I wonder if there might be a bug, yet I do not see a logical (or otherwise) alternative to the existing values.

    Does your testing of AM result in successful tuning?
    Walter, how is the AM tuning working? Any news updates? I plan on doing some testing to see if I ever truly had AM working in the first place.

    -Paul

  9. #59
    Constant Bitrate
    Join Date
    May 2006
    Posts
    116
    AM still not working. Sorry to say that I've done little with the radio since late December. Hopefully I will see enought daylight to revisit HQCT things before the end of Feb. Keep us posted, if you see something new. - Walter

  10. #60
    Newbie
    Join Date
    Apr 2008
    Posts
    2
    Hi djwlindenaar,

    If you have a working driver that supports RDS and uses V4L, can you please upload the driver with the quick upload link?

Page 6 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
  •