The MP3car.com Store  

Welcome to the MP3Car.com forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. Registering will also remove advertisements. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact contact us.

Go Back   MP3Car.com > Mp3Car Technical > Linux

Reply
 
Thread Tools Display Modes
Old 11-24-2006, 02:55 AM   #31
Constant Bitrate
 
Join Date: Mar 2005
Location: Wiesbaden/Germany
Vehicle: 2000 VW Polo GTI
Posts: 209
My Photos: (0)
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....
FMode is offline   Reply With Quote
Sponsored Links
Old 11-24-2006, 02:10 PM   #32
FLAC
 
TheLlama's Avatar
 
Join Date: Jul 2004
Location: All over the world
Vehicle: 2001 Paper Airplane Standard Edition
Posts: 984
My Photos: (0)
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
Old 11-26-2006, 02:00 PM   #33
Constant Bitrate
 
Join Date: Mar 2005
Location: Wiesbaden/Germany
Vehicle: 2000 VW Polo GTI
Posts: 209
My Photos: (0)
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"...
FMode is offline   Reply With Quote
Old 12-06-2006, 03:05 PM   #34
pim
Low Bitrate
 
Join Date: Mar 2006
Location: The Hague, the Netherlands
Vehicle: Alfa GT 2005
Posts: 71
My Photos: (0)
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
pim is offline   Reply With Quote
Old 12-06-2006, 03:07 PM   #35
pim
Low Bitrate
 
Join Date: Mar 2006
Location: The Hague, the Netherlands
Vehicle: Alfa GT 2005
Posts: 71
My Photos: (0)
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
pim is offline   Reply With Quote
Old 07-10-2007, 08:23 AM   #36
FLAC
 
TheLlama's Avatar
 
Join Date: Jul 2004
Location: All over the world
Vehicle: 2001 Paper Airplane Standard Edition
Posts: 984
My Photos: (0)
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?
TheLlama is offline   Reply With Quote
Old 09-15-2007, 12:33 AM   #37
Newbie
 
Join Date: May 2006
Posts: 35
My Photos: (0)
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.
waltersaegir is offline   Reply With Quote
Old 09-15-2007, 10:53 AM   #38
Newbie
 
Join Date: Sep 2007
Posts: 4
My Photos: (0)
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
Old 09-26-2007, 01:14 PM   #39
Newbie
 
Join Date: May 2006
Posts: 35
My Photos: (0)
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.
waltersaegir is offline   Reply With Quote
Old 09-27-2007, 11:22 PM   #40
Newbie
 
Join Date: Sep 2007
Posts: 4
My Photos: (0)
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.
ignislupis is offline   Reply With Quote
Sponsored Links
Old 09-28-2007, 06:41 PM   #41
Newbie
 
Join Date: May 2006
Posts: 35
My Photos: (0)
Sounds good. Had the HQCT radio running under Vista on a Desktop machine until the beta/release candidate expired. After I finish installing GNOME and get the driver to compile and install, I'll boot the board back to win2000 and get the radio running there.

That's likely to be next week.
waltersaegir is offline   Reply With Quote
Old 10-04-2007, 12:28 PM   #42
Newbie
 
Join Date: May 2006
Posts: 35
My Photos: (0)
Got the radio to work with Win2000 on the board.

Loaded the Linux software files and rebuilt the driver and Demo test sw.

Running "./demo /dev/hqct0" seems to hang.

Tried "gdb ./demo /dev/hqct" with same result: it never gives a command prompt.

Rebuilt the kernel with "hqct.ko" in the "/etc/modules.autoload.d/kernel-2.6" config file and the physical hqct.ko in the "/lib/modules" directory.

No longer hangs, but no sound. Probably my linux configuration.

Getting messages in system log and prompts on the screen. Seems to exit gracefully.

Going for a little trial-and-error to see what happens. Probably running into my own linux chalanged head.

Last edited by waltersaegir : 10-04-2007 at 01:12 PM.
waltersaegir is offline   Reply With Quote
Old 10-05-2007, 09:29 PM   #43
Newbie
 
Join Date: Sep 2007
Posts: 4
My Photos: (0)
As far as I know it doesn't send audio through usb. It has stereo-out on the circuit board. You will need to send this to your amp, speakers, or audio-in on your motherboard or sound card.

Wasn't enough info in your post to know if you were trying usb or the external. If you already knew this then please kindly disregard.
ignislupis is offline   Reply With Quote
Old 10-06-2007, 10:50 AM   #44
Newbie
 
Join Date: May 2006
Posts: 35
My Photos: (0)
I do have a connection from the HQCT board sound-out to my computer board sound-in and I was able to successfully test when I did the Win2000 boot.

I suspect that my Gentoo Linux configuration is not identifying the intel ICH7 (intel8x0) sound driver correctly.

Once I get the sound to perform reliably, I can focus more directly on the HQCT driver and demo software and look at why my /dev/hqct0 disappears at times, between kernel builds. Most of these are Linux configuration issues at this point.
waltersaegir is offline   Reply With Quote
Old 10-08-2007, 09:33 PM   #45
Newbie
 
Join Date: Sep 2007
Posts: 4
My Photos: (0)
I've ordered my hardware so I should be getting some stuff in the next week or two. I think the hqct was on backorder so I'll probably have to wait even longer.

I don't know if you are familiar with ALSA or not but I always forget to unmute my soundcard. ALSA installs with mute on by default.

As far as /dev/hqct0 disappearing, I know almost nothing about udev except that I've been lucky and it has just worked for me.

I have also been lucky to find solutions to what ever problems I've had with kernel modules by using google.

I wish you luck and cant' wait for my hardware to arrive.
ignislupis is offline   Reply With Quote
Sponsored Links
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Line Driver Selection? And Audio advice Philly#1 Lex Car Audio 6 04-24-2006 11:10 AM
Line Driver Vs. Amp Sensitivity Adjustment 3onDubs Car Audio 5 11-28-2005 07:37 PM
XM Driver Install Problem MikeH MacCar 5 04-24-2005 11:22 AM
MS S&T 2005 GPS receiver driver install problem... rdc_3200 GPS 4 01-01-2005 04:19 PM
USB Sound Card with ASIO driver and volume control tbdombrosky General Hardware Discussion 0 02-03-2003 11:00 PM


All times are GMT -5. The time now is 10:04 AM.


Sponsored Links
The MP3car.com Store

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.1.0
Copyright © 1999 - 2008 Mp3Car.com Inc.
Ad Management by RedTyger
Message Board Statistics