View previous topic :: View next topic |
Author |
Message |
twisted_steel n00b
Joined: 17 Jul 2003 Posts: 40 Location: Maine
|
Posted: Sat Aug 07, 2004 5:52 pm Post subject: XM Radio - XM PCR HOWTO |
|
|
XM Radio - XM PCR HOWTO
Initial version - August 7, 2004
Introduction
The XM PCR is an XM Radio tuner for your computer. The software that comes with the radio is for Windows, though additional software that developers have created is listed on their site. More information is available on XM's PCR page.
This HOWTO will help you setup the OpenXM software from http://xmpcr.sourceforge.net/ that I am currently using with my Shuttle SB61G2.
Required Software
OpenXM (lastest version is OpenXM-v2.0.tar.gz)
Term::ReadKey Perl module
Code: | emerge dev-perl/TermReadKey |
Device::SerialPort Perl module
Code: | emerge dev-perl/Device-SerialPort |
Setup
Some changes need to be made to your kernel. The OpenXM documentation recommends the following changes:
Support for USB
USB device filesystem
USB Host Controller driver
USB Serial Converter Support:
- USB Generic Serial Driver
- FTDI Single Port Serial Driver
The following settings work with my gentoo-dev-sources kernel, version 2.6.7-r11.
Code: | Device Drivers --->
USB support --->
[*] USB device filesystem
--- USB Host Controller Drivers
<*> EHCI HCD (USB 2.0 Support)
<*> UHCI HCD (most Intel and VIA) support
USB Serial Converter Support --->
<*> USB Serial Converter support
[*] USB Generic Serial Driver
<*> USB FTDI Single Port Serial Driver (EXPERIMENTAL) |
Since I compile in my drivers, it's time for a reboot. I plugged in the PCR into a USB port on my machine. Now it's time to find out which device is the PCR.
Code: | root # dmesg | grep FTDI |
The line to look for is similar to
Code: | usb 2-2: FTDI 8U232AM Compatible converter now attached to ttyUSB0 (or usb/tts/0 for devfs) |
In order for a normal user to be able to use the PCR software, the correct permissions need to be set for the device. Since I'm using devfs and the device reported is /dev/usb/tts/0
Code: | root # chmod 666 /dev/usb/tts/0 |
The OpenXM package needs to be extracted if you haven't done so already.
Code: | user $ tar xvfz OpenXM-v2.0.tar.gz |
I am using the ShellXM client, but a server is also included, allowing you to control your PCR from another computer or from a web browser using the included scripts. The device needs to be changed so the software will know where your PCR is.
Code: | user $ cd OpenXM
user $ nano -w ShellXM.cfg |
Change the "port = " line so it points to your device. In my case that would be
Code: | port = /dev/usb/tts/0 |
The configuration file also allows you to change your favorite stations. Save the file and now change the permissions.
Code: | user $ chmod u+x ./ShellXM |
To run the XM client, just do
Tips
If, when running the ShellXM program, you get an error about a bad interpreter, edit ShellXM and re-type the first line. _________________ "For every sprinkle I find, I shall kill you!" - Stewie |
|
Back to top |
|
|
Quantumstate Apprentice
Joined: 26 May 2004 Posts: 270 Location: Dallas
|
Posted: Sat Aug 07, 2004 11:09 pm Post subject: |
|
|
Thanks. Dang tho... subscription needed. |
|
Back to top |
|
|
twisted_steel n00b
Joined: 17 Jul 2003 Posts: 40 Location: Maine
|
Posted: Sun Aug 08, 2004 1:42 am Post subject: |
|
|
Quantumstate wrote: | Thanks. Dang tho... subscription needed. |
Yeah, a subscription is required, but I'm really enjoying it. I'm listening to an interview with the Abominable Snowman right now on Old Time Radio .
There is a listing of the available stations here. _________________ "For every sprinkle I find, I shall kill you!" - Stewie |
|
Back to top |
|
|
OpelBlitz Apprentice
Joined: 12 Dec 2002 Posts: 229 Location: Chicago, Illinois
|
Posted: Thu Aug 12, 2004 8:15 am Post subject: |
|
|
Awesome! I always wanted to use PCR with a PC..... without Windows.
Go XM Radio! Now I can sell my old Sony receiver. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|