Subject: | Does not power on (lag and then fail) |
Using Ubuntu Jaunty with this kernel: Linux kairi 2.6.28-13-generic
#44-Ubuntu SMP Tue Jun 2 07:55:09 UTC 2009 x86_64 GNU/Linux.
I'm using SCHDOC1 (SIRIUS Connect Home Kit) with the SC-H1 USB Interface
cable from MJS (rush2112.net). The radio is a Stratus (SV3). When all
is powered and plugged in, the radio displays "Sirius Connect". When I
connect to the serial port (via this module or even using "cat"), the
screen goes blank and the backlight shuts off.
I'm using the "ftdi_sio" kernel module (libftdi1 package version
0.13-2). The device shows up as /dev/ttyUSB0. I have changed the
ownership of that device to my current user. I had to create the
"/etc/modprobe.d/ftdi.conf" file with these contents: "options ftdi_sio
vendor=0x0403 product=0xca81". Running the code as root makes no
difference in the result.
Here is the code that I'm using:
==================
#!/usr/bin/perl
$| = 1;
use Audio::Radio::Sirius;
use Device::SerialPort;
my $serial = Device::SerialPort->new('/dev/ttyUSB0');
my $tuner = Audio::Radio::Sirius->new;
print("Connect... ");
print(($tuner->connect($serial) ? 'okay' : 'fail').".\n");
print("Power... ");
print(($tuner->power(1) ? 'okay' : 'fail').".\n");
print("Channel... ");
print(($tuner->channel(184) ? 'okay' : 'fail').".\n");
==================
Here is the output:
==================
Connect... okay.
Power... fail.
Channel... okay.
==================
I'm not sure why power fails but channel claims to succeed. It sits
that the "power..." for several minutes before it finishes trying. It
stays on "channel..." for what seems to be about 15 seconds.
When I dig into the code, I see that the radio is sending between 3 and
5 bytes, but the code is expecting 6.