New USB_UIRT on Mister House - crashing (abend)

Having problems? Use this forum to find help!

Moderator: jrhees

New USB_UIRT on Mister House - crashing (abend)

Postby caseybragg » Sun Jul 17, 2005 4:18 am

I've posted my question on the Mister House mailing list, because I'm sure that's the most appropriate forum. However, I'm asking here as well just in case.

In the description below I left out : Win XP Pro SP2, Active Perl 5.8, Misterhouse 2.99.

-----------------------------------

I'm new to MisterHouse. Can anyone help get my USB-UIRT connected?

When I try to do just about anything with it, MH reports a write to an undefined object at line 518 of USB-UIRT.pm and crashes (abend).



Here is line 518 of USB-UIRT.pm :
$main::Serial_Ports{USB_UIRT}{object}->write(pack 'C*', @bytes);



Here's what happens...



usb_uirt debug version :
Getting UIRT Info...
USB_UIRT Protocol Version 1.1
USB_UIRT Firmware Version 5.9 Date 03/26/2004



usb_uirt debug learn (or any other command) :
USB_UIRT sending 24dc
Error found in user code file: ./../data/mh_temp.user_code
07/16/05 01:35:35 AM: Can't call method "write" on an undefined value at ../lib/
USB_UIRT.pm line 518.
Error logged to: ./../data/error.log
USB_UIRT sending 20e0
Can't call method "write" on an undefined value at ../lib/USB_UIRT.pm line 518.
accidental exit on mh, restarting ...
Starting interpreted perl mh





My mh.ini contains :
usb_uirt_module=USB_UIRT
#usb_uirt_port=/dev/ttyUSB1





My startup displays :
Quering USB-UIRT device driver information...
** USB-UIRT Driver Info: 0x0100
Opening communication with the USB-UIRT device...
...opened communication with the USB-UIRT device.
Getting UIRT Info...
USB_UIRT Protocol Version 1.1
USB_UIRT Firmware Version 5.9 Date 03/26/2004
Getting UIRT Config Info...
** USB-UIRT Config: currently = 00000003 (LED_RX=1, LED_TX=1, LEGACY_RX=0)



My USB-UIRT flashes when I press a remote control.



Thanks in advance for your help!

Casey
caseybragg
 
Posts: 3
Joined: Sun Jul 17, 2005 4:09 am

Postby jrhees » Mon Jul 18, 2005 3:44 am

You're right -- this is probably for the Misterhouse forum. It appears from some of the messages that Misterhouse is indeed talking to the USB-UIRT.

-Jon
jrhees
Site Admin
 
Posts: 1652
Joined: Tue Jan 28, 2003 11:49 pm

Postby caseybragg » Thu Aug 04, 2005 9:20 pm

Is there any documentation for USB-UIRT's API? I'd like to try to fix the misterhouse perl module for usb-uirt (or at least understand why its not working for me).

Thanks!
caseybragg
 
Posts: 3
Joined: Sun Jul 17, 2005 4:09 am

Postby jrhees » Sat Aug 06, 2005 10:06 pm

Yes, you can request the API documentation from support@usbuirt.com

-Jon
jrhees
Site Admin
 
Posts: 1652
Joined: Tue Jan 28, 2003 11:49 pm


Return to Troubleshooting

Who is online

Users browsing this forum: No registered users and 27 guests