Problems after restarting Bubba2 (USB and autostart)
Posted: 10 Apr 2010, 01:39
Can anybody help me with resolution to either of the following problems please?
I group them together as they happen together to one program. First this occurs when I have to restart my Bubba2 which isnt often but does happen. I have a program I run called MisterHouse which is written in Perl. MisterHouse is a home automation program and runs just fine on my Bubba2 and talks to my weather station and X10 controller via serial ports. To allow this to happen I use serial-USB converters.
Problem 1:
After a restart of my Bubba2 I cannot get Misterhouse to automatically start, I have a script that runs fine from a command line but I'm unclear what I need to do to make it run automatically on reboot of the Bubba2. I did the same thing as I used to do from my Suse machine but that does not work.
Problem 2:
When I start it manually I find that the USB ports have changed. Normally they are /dev/ttyUSB0 and /dev/ttyUSB1 but I cannot predict which is the X10 controller and which is the weather. Is it possible to stop the Bubba2 changing the USB port mapping?
I group them together as they happen together to one program. First this occurs when I have to restart my Bubba2 which isnt often but does happen. I have a program I run called MisterHouse which is written in Perl. MisterHouse is a home automation program and runs just fine on my Bubba2 and talks to my weather station and X10 controller via serial ports. To allow this to happen I use serial-USB converters.
Problem 1:
After a restart of my Bubba2 I cannot get Misterhouse to automatically start, I have a script that runs fine from a command line but I'm unclear what I need to do to make it run automatically on reboot of the Bubba2. I did the same thing as I used to do from my Suse machine but that does not work.
Problem 2:
When I start it manually I find that the USB ports have changed. Normally they are /dev/ttyUSB0 and /dev/ttyUSB1 but I cannot predict which is the X10 controller and which is the weather. Is it possible to stop the Bubba2 changing the USB port mapping?