1 2This is a radio application for FM tuners built into some TV cards, 3such as the Hauppauge Win/TV. 4 5FreeBSD (Hi, Roger and Juha!) and NetBSD (Hi, Tron and Veego!!) 6provide support for these cards via /dev/tuner. (NetBSD as of 7version 1.4) 8Ti Kan (ti@amb.org) provided linux support. I don't know, 9if or how good it works, all I know is, that the linux driver 10doesn't support AFC and it can't switch to mono. And the worst, 11it can't get/calculate the field strength of the current 12signal. Thus, the seeking functionality doesn't work! 13 14There is a compile time option enabling xmradio to connect to an 15lcdproc server (http://lcdproc.omnipotent.net/), you have to 16manually edit the Imakefile to enable this support. 17 18Starting with version 0.8 there is support for Juha's 19alternative driver for FreeBSD. That beast can scan *very* 20fast (~7-10 times faster!) Edit the Imakefile to add 21-DJUHA_DRIVER for this. 22 23---------------------- 24Notes from Ti Kan: 25 26For Linux, you should be installed with the bttv driver suite in order 27to use xmradio. Information about bttv and downloads are via the bttv 28web site: 29 30 http://www.thp.uni-koeln.de/~rjkm/linux/bttv.html 31 32I ported and tested xmradio on a system running the Linux 2.0.33 kernel 33and bttv-0.6.4. Supposedly xmradio should also work on a Linux 2.2 kernel 34with Video4Linux but I did not try this. If you have any success/failure 35report I'd like to hear about it. (ti@amb.org) 36---------------------- 37 38 39Starting with version 0.7 we have a GUI for the station list 40configuration. I think, it's simple enough to not write a 41huge handbook ;) but one hint: if you press shift while clicking 42on "Delete Entry" all stations will get erased. Just for your 43convenience if you want to make a complete new scan. 44You can check online, if there is a newer version available. 45This feature isn't available in linux. 46 47New in version 0.6 is a remote control. You can now control 48an xmradio running on your desktop using some special command 49line options. The functionality is *very* similar to netscapes 50remote mechanism, so if you have a running xmradio and type 51 52 xmradio -remote StationUp 53 54then it will tune to the next registered station. Here is a 55list of all supported commands: 56 57- StationUp 58- StationDown 59- StationSeekUp (doesn't work on linux) 60- StationSeekDown (doesn't work on linux) 61- Frequency=<freq in MHz> 62- Station=<registered name> 63- AFC=<on|off> (doesn't work on linux) 64- Stereo=<on|off> (doesn't work on linux) 65- Mute=<on|off> 66- Balance=<new_value> between and including -100 and +100 67- Treble=<new_value> between and including 0 and 100 68- Bass=<new_value> between and including 0 and 100 69- Volume=<new_value> between and including 0 and 100 70- ShowAbout 71- ShowAnalyzer 72- Iconify 73- Deiconify 74- Withdraw 75- Raise 76- Lower 77- Quit 78 79I think, the commands are self explaining. You can add as many 80commands as you like in one line, say something like this: 81 82 xmradio -remote Station="Delta Radio" -remote Volume=30 -remote Stereo=off 83 84Thats it. Mail me, if you want/need more ;) 85 86Apart from the standard command line options you've got these with 87xmradio: 88 89 -station <name> to tell it a specific start station. 90 -frequency <freq> to tell it a specific start frequency. 91 -volume <value> to tell it a specific start volume. 92 93If you send xmradio a SIGUSR1 or SIGUSR2, it will seek or 94switch to the next/previous station depending on the 95configuration. (Not available in linux) 96 97I'm sorry, if you have problems with the fact, that I use motif 98for xmradio. I was a motif fan for a lot of years, but I realize 99what happens with other toolkits. And it's a pity, but motif 100is really dead. Other toolkits provide more flexibility, ease 101of use and extensibility. So this is probably my last project 102using motif. But as it took a lot of work until now, I won't 103change it right now. 104 105FreeBSD only: 106The sound driver in FreeBSD 4.x (newpcm driver) has huge problems 107with recording/sampling. Don't blame me, it works quite nice on NetBSD 108and did with FreeBSD 3.x with the following patch: 109 110There is a bug in luigi's soundcode. (At least, upto FreeBSD 3.2) 111If you get an error while recording audio, you most probably 112have that bug. 113Go to /usr/src/sys/i386/isa/snd and find this around line 1141027 (FreeBSD 3.2) in sound.c: 115 116 if (ask_init(d)) 117 *(int *)arg = d->play_fmt ; 118 119and replace it with this: 120 121 if (ask_init(d)) 122 { 123 if (d->play_fmt) 124 *(int *)arg = d->play_fmt ; 125 if (d->rec_fmt) 126 *(int *)arg = d->rec_fmt ; 127 } 128 129This is only a quick fix, better look out for a new driver. 130A bugreport is already submitted. 131 132Btw. I haven't testet with OSS. Any reports welcome. 133 134This software is provided under BSD licence. 135 136If you really like it, I'd like to get a post card of 137your home-town/county/country. You can find my address on 138my webpage. 139Submitted post cards as of version 1.2: 4 (four) with 140 >> 2000 downloads 141 142Thank you all, who sent cards! :-) 143 144Tom 145coto@core.de 146 147http://core.de/~coto/ 148 149