From: David N. <jud...@ad...> - 2004-01-14 01:42:58
|
Sorry, Joel. The baudrate used by the usb-uirt firmware changed about six months ago, and the ftdi_sio.c I sent you has the old baudrate. Around line 358 change this: baud = 125000; to this: baud = 312500; then rebuild the module. David ----- Original Message ----- From: "Joel Davidson" <jr...@io...> To: <mis...@li...> Sent: Monday, January 12, 2004 7:22 PM Subject: Re: [misterhouse-users] USB_UIRT setup question > Looks like the UIRT isn't responding: > > - creating USB_UIRT object on port /dev/ttyUSB0 > > Getting UIRT Info... > USB_UIRT sending 23dd > USB_UIRT expected 8 byte response, only got 0 > USB_UIRT Protocol Version 0.0 > USB_UIRT Firmware Version 0.0 Date 00/00/2000 > > Getting UIRT Config Info... > USB_UIRT sending 3801c7 > USB_UIRT expected 3 byte response, only got 0 > ** USB-UIRT Config: currently = 00000000 (LED_RX=0, LED_TX=0, LEGACY_RX=0) > > When I plug it in to the usb port, I see the following in /var/log/messages: > > hub.c: new USB device 00:1f.2-1, assigned address 5 > usbserial.c: FTDI 8U232AM converter detected > usbserial.c: FTDI 8U232AM converter now attached to ttyUSB0 (or usb/tts/0 for devfs) > > I'm wondering if I have the correct version of ftdi_sio installed. > According to the source it's v1.2.1. > The md5sum is 1c16a0b596f0e808c9813e89f8fa2730 > Can you compare that to the md5sum on your ftdi_sio.c to see if perhaps > I don't have the right one? Thanks. > > Joel > > > On Mon, 12 Jan 2004, it would appear that David Norwood wrote: > > > You should see something like this near the top of your log output: > > > > - creating USB_UIRT object on port /dev/ttyUSB0 > > > > Getting UIRT Info... > > USB_UIRT sending 23dd > > USB_UIRT Protocol Version 1.1 > > USB_UIRT Firmware Version 5.4 Date 04/30/2003 > > > > Getting UIRT Config Info... > > USB_UIRT sending 3801c7 > > ** USB-UIRT Config: currently = 00000003 (LED_RX=1, LED_TX=1, LEGACY_RX=0) > > > > > > > > ----- Original Message ----- > > From: "Joel Davidson" <jr...@io...> > > To: <mis...@li...> > > Sent: Monday, January 12, 2004 6:34 PM > > Subject: Re: [misterhouse-users] USB_UIRT setup question > > > > > > > Nope, just checked my mh.ini.private. It has these 2 lines at the end: > > > > > > usb_uirt_module=USB_UIRT > > > usb_uirt_port=/dev/ttyUSB0 > > > > > > How can I tell if it's actually loading USB_UIRT.pm from misterhouse/lib? > > > > > > When I look in my data/mh_temp.user_code, I see this around line 1540: > > > > > > 1536 sub usb_uirt_update_html { > > > 1537 # print_log "Updating HTML"; > > > 1538 # <META HTTP-EQUIV="REFRESH" CONTENT="6; url=' . "'" . > > 'SUB;referer?usb_uirt_update_html()' . "'" . '"> > > > 1539 my $html; > > > 1540 if (USB_UIRT::is_learning()) { > > > 1541 $html = ' > > > 1542 <META HTTP-EQUIV="REFRESH" CONTENT="6"> > > > 1543 <h1><b><p align=center>Learning</p></b></h1> > > > 1544 '; > > > 1545 return $html; > > > > > > Joel > > > > > > > > > On Mon, 12 Jan 2004, it would appear that David Norwood wrote: > > > > > > > I think you are missing this ini parameter: > > > > > > > > usb_uirt_module=USB_UIRT > > > > > > > > The current misterhouse release has my latest code. > > > > > > > > David > > > > > > > > ----- Original Message ----- > > > > From: "Joel Davidson" <jr...@io...> > > > > To: <mis...@li...> > > > > Sent: Saturday, January 10, 2004 7:55 PM > > > > Subject: Re: [misterhouse-users] USB_UIRT setup question > > > > > > > > > > > > > David- > > > > > > > > > > In the common code setup window, it says to click 'here' after setting > > > > > up the ini parms. If I do that, I get this error in the print log: > > > > > > > > > > Error in http lso action: Undefined subroutine &USB_UIRT::is_learning > > > > called at (eval 3073336) line 1540, <GEN30604> line 12. > > > > > > > > > > And I get a new screen in my browser that just says 'no data'. Any > > ideas > > > > > what I missed in my setup? Do I need UIRT2_learning.pl turned on? > > Right > > > > > now I've just got USB_UIRT_learning.pl active in the common code > > > > activation > > > > > screen. Thanks. > > > > > > > > > > Joel > > > > > > > > > > On Sat, 10 Jan 2004, it would appear that David Norwood wrote: > > > > > > > > > > > The learning script also allows you to automatically codes for most > > > > > > equipment. If that doesn't work for you, e-mail me and I might be > > able > > > > to > > > > > > troubleshoot it. Another option is to plug the usb-uirt into a > > Windows > > > > > > machine running Girder and learn the codes that way. > > > > > > > > > > > > David > > > > > > > > > > > > ----- Original Message ----- > > > > > > From: "Jason Sharpee" <ja...@sh...> > > > > > > To: "Misterhouse-Users" <mis...@li...> > > > > > > Sent: Friday, January 09, 2004 8:22 PM > > > > > > Subject: Re: [misterhouse-users] USB_UIRT setup question > > > > > > > > > > > > > > > > > > > I enter pronto codes I obtain from the web to control the devices > > with > > > > the > > > > > > > USB-UIRT and my JP1 remotes. The learning.pl allows codes to be > > > > entered > > > > > > > instead of "learned". > > > > > > > > > > > > > > -J > > > > > > > > > > > > > > On Thu, 8 Jan 2004, Joel Davidson wrote: > > > > > > > > > > > > > > > I've got my USB-UIRT installed on my mh linux box along with the > > > > > > > > modified ftdi_sio driver. The driver loads and it looks like it > > > > > > > > recognized the USB_UIRT. > > > > > > > > > > > > > > > > According to USB_UIRT_learning.pl, learning doesn't work yet, so > > > > > > > > can someone explain the procedure to set up all of the IR > > commands > > > > > > > > I want so mh can control my stereo and video equipment? Thanks. > > > > > > > > > > > > > > > > Joel > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > > This SF.net email is sponsored by: Perforce Software. > > > > > > > Perforce is the Fast Software Configuration Management System > > offering > > > > > > > advanced branching capabilities and atomic changes on 50+ > > platforms. > > > > > > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > > > > > > ________________________________________________________ > > > > > > > To unsubscribe from this list, go to: > > > > > > http://sourceforge.net/mail/?group_id=1365 > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > > This SF.net email is sponsored by: Perforce Software. > > > > > > Perforce is the Fast Software Configuration Management System > > offering > > > > > > advanced branching capabilities and atomic changes on 50+ platforms. > > > > > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > > > > > ________________________________________________________ > > > > > > To unsubscribe from this list, go to: > > > > http://sourceforge.net/mail/?group_id=1365 > > > > > > > > > > > > > > > > -- > > > > > Joel Davidson > > > > > Austin, TX "Google: it's easier than thinking" > > > > > jr...@io... --Andrew Duthie > > > > > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > > This SF.net email is sponsored by: Perforce Software. > > > > > Perforce is the Fast Software Configuration Management System offering > > > > > advanced branching capabilities and atomic changes on 50+ platforms. > > > > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > > > > ________________________________________________________ > > > > > To unsubscribe from this list, go to: > > > > http://sourceforge.net/mail/?group_id=1365 > > > > > > > > > > > > > > > > > > > > > ------------------------------------------------------- > > > > This SF.net email is sponsored by: Perforce Software. > > > > Perforce is the Fast Software Configuration Management System offering > > > > advanced branching capabilities and atomic changes on 50+ platforms. > > > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > > > ________________________________________________________ > > > > To unsubscribe from this list, go to: > > http://sourceforge.net/mail/?group_id=1365 > > > > > > > > > > -- > > > Joel Davidson > > > Austin, TX "Google: it's easier than thinking" > > > jr...@io... --Andrew Duthie > > > > > > > > > > > > > > > ------------------------------------------------------- > > > This SF.net email is sponsored by: Perforce Software. > > > Perforce is the Fast Software Configuration Management System offering > > > advanced branching capabilities and atomic changes on 50+ platforms. > > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > > ________________________________________________________ > > > To unsubscribe from this list, go to: > > http://sourceforge.net/mail/?group_id=1365 > > > > > > > > > > > ------------------------------------------------------- > > This SF.net email is sponsored by: Perforce Software. > > Perforce is the Fast Software Configuration Management System offering > > advanced branching capabilities and atomic changes on 50+ platforms. > > Free Eval! http://www.perforce.com/perforce/loadprog.html > > ________________________________________________________ > > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > > > > -- > Joel Davidson > Austin, TX "Google: it's easier than thinking" > jr...@io... --Andrew Duthie > > > > > ------------------------------------------------------- > This SF.net email is sponsored by: Perforce Software. > Perforce is the Fast Software Configuration Management System offering > advanced branching capabilities and atomic changes on 50+ platforms. > Free Eval! http://www.perforce.com/perforce/loadprog.html > ________________________________________________________ > To unsubscribe from this list, go to: http://sourceforge.net/mail/?group_id=1365 > |