From: David N. <dno...@ya...> - 2005-03-14 01:06:09
|
I don't get the 81 code here. That indicates a timeout error, ie. we didn't send as many bytes as we said we would. What firmware version are you running? I have version 5.4. Here is my log output when I request the version and send your audiotron code. 03/13/05 04:37:51 PM Running: usb_uirt debug version Getting UIRT Info... USB_UIRT sending 23dd USB_UIRT: get_version returned 0x0 USB_UIRT Protocol Version 1.1 USB_UIRT Firmware Version 5.4 Date 04/30/2003 03/13/05 04:39:26 PM Sending device ECHO function A got here USB_UIRT sending 364b4203032245815680ab16401616161615161615161615161616164016161 61615411640164115411640164115411616151616161616151616161616151616411541164016411 541164016c4 USB_UIRT sending 360a420307580481565615d6 USB_UIRT expected 1 byte response, only got 0 USB_UIRT: transmit_raw returned 0x0 I think the last two messages are okay, just a problem with the way I deal with responses when sending two part codes. David ----- Original Message ----- From: "Joel Davidson" <jr...@io...> To: <mis...@li...> Sent: Friday, March 11, 2005 2:06 PM Subject: Re: [misterhouse-users] help with girder and usb-uirt > David- > > I tried your fix and got the same results. In addition to the error > message, I'm also seeing 'USB_UIRT Code: 81' in the log. Does that > help any? > > Joel > > On Tue, 8 Mar 2005, it would appear that David Norwood wrote: > >> Here is my first shot at a fix for two part raw codes. Place the two pm >> files in mh/lib and the pl in mh/code/common. Restart misterhouse, >> re-import the codes and try sending. >> >> David >> >> ----- Original Message ----- From: "Joel Davidson" <jr...@io...> >> To: <mis...@li...> >> Sent: Monday, March 07, 2005 8:31 PM >> Subject: Re: [misterhouse-users] help with girder and usb-uirt >> >> >>> When I try the test button for the Pioneer devices listed under cd and >>> dvd >>> I'm seeing the same 'USB_UIRT expected 1 byte response, only got 0" >>> error >>> message. Thanks. >>> >>> Joel >>> >>> >>> On Mon, 7 Mar 2005, it would appear that David Norwood wrote: >>> >>>> Yeah, I'm not handling two part raw codes correctly at all. Let me >>>> work on it and get back to you. For the pioneer gear, have you tried >>>> the auto generated codes lower on the page? The test button next to >>>> each device number will send a "power" signal for that device. >>>> >>>> David >>>> >>>> ----- Original Message ----- From: "Joel Davidson" <jr...@io...> >>>> To: <mis...@li...> >>>> Sent: Sunday, March 06, 2005 9:21 PM >>>> Subject: Re: [misterhouse-users] help with girder and usb-uirt >>>> >>>> >>>>> David- >>>>> >>>>> Thanks for looking into this for me. This first code is 36Khz, and >>>>> works correctly: >>>>> >>>>> 1: >>>>> R05D9202140414021202120212080A120412021202140414021202120212021202120 >>>>> >>>>> This code is 38.5 Khz according to Girder, though the web interface >>>>> says >>>>> it's 40 after the create step. It does not work, and when I send it, >>>>> I get >>>>> the error "USB_UIRT expected 1 byte response, only got 0": >>>>> >>>>> 1: >>>>> R0322815680AB1640161616161516161516161516161616401616161615411640164115411640164115411616151616161616151616161616151616411541164016411541164016 >>>>> 2: 075881565615 >>>>> >>>>> The first code is for my Marantz receiver. All of those codes work >>>>> fine. >>>>> The second is for my Audiotron MP3 player, and I've been unable to get >>>>> any >>>>> of those codes working. I've also had trouble with my Pioneer cd and >>>>> dvd >>>>> players. For the 3 devices I'm having trouble with, I've tried >>>>> recapturing >>>>> the codes with Girder a couple of times, but with each of them I've >>>>> ended up >>>>> with the same error message. >>>>> >>>>> Joel >>>>> >>>>> >>>>> On Sun, 6 Mar 2005, it would appear that David Norwood wrote: >>>>> >>>>>> Send me one of the codes that works and one that doesn't, and I'll >>>>>> take a look. Also, tell me the frequency, the firmware version, and >>>>>> if you are on Windows or Linux. >>>>>> >>>>>> David >>>>>> >>>>>> ----- Original Message ----- From: "Joel Davidson" <jr...@io...> >>>>>> To: <mis...@li...> >>>>>> Sent: Saturday, March 05, 2005 7:37 AM >>>>>> Subject: Re: [misterhouse-users] help with girder and usb-uirt >>>>>> >>>>>> >>>>>>> Ah, thanks. That makes a little more sense now. >>>>>>> >>>>>>> Any idea why some codes that girder recorded (and can transmit >>>>>>> correctly), >>>>>>> don't work after being saved via the web interface? When I try to >>>>>>> send >>>>>>> them via the interface, I get an error message like 'expecting 1 >>>>>>> byte but >>>>>>> got 0'. Thanks. >>>>>>> >>>>>>> >>>>>>> On Fri, 4 Mar 2005, it would appear that David Norwood wrote: >>>>>>> >>>>>>>> Yes, the learning web interface also allows you to import codes >>>>>>>> from Girder, trydrv, or pronto codes from Remote Central. IR codes >>>>>>>> are kept in a dbm database. Say you create a device called "Sony >>>>>>>> TV" in the learning web interface and associate ir sequences with >>>>>>>> it. Here is code you would use to send them: >>>>>>>> >>>>>>>> >>>>>>>> $TV = new IR_Item 'SONY TV', 'addEnter', 'usb_uirt'; >>>>>>>> >>>>>>>> my $tv_states = >>>>>>>> 'power,mute,vol+,vol-,ch+,ch-,2,3,4,5,6,7,8,9,11,13,14'; >>>>>>>> >>>>>>>> set_states $TV split ',', $tv_states if $Reload; >>>>>>>> $v_tv_control = new Voice_Cmd("tv [$tv_states]"); >>>>>>>> >>>>>>>> if (($state = said $v_tv_control)) { >>>>>>>> print_log "Setting TV to $state"; >>>>>>>> set $TV $state; >>>>>>>> } >>>>>>>> >>>>>>>> ----- Original Message ----- From: "Joel Davidson" <jr...@io...> >>>>>>>> To: <mis...@li...> >>>>>>>> Sent: Thursday, March 03, 2005 2:20 PM >>>>>>>> Subject: Re: [misterhouse-users] help with girder and usb-uirt >>>>>>>> >>>>>>>> >>>>>>>>> I'm not trying to capture the ir signatures, I'm trying to write >>>>>>>>> some code to use them. Does the learning script put the >>>>>>>>> signatures >>>>>>>>> into some database somewhere? If so, once they're in there, how >>>>>>>>> do I use them? Thanks, >>>>>>>>> >>>>>>>>> Joel >>>>>>>>> >>>>>>>>> >>>>>>>>> On Thu, 3 Mar 2005, it would appear that David Norwood wrote: >>>>>>>>> >>>>>>>>>> Use the USB_UIRT_learning.pl script in the common code dir. >>>>>>>>>> >>>>>>>>>> David >>>>>>>>>> >>>>>>>>>> >>>>>>>>>> ----- Original Message ----- From: "Joel Davidson" <jr...@io...> >>>>>>>>>> To: "Misterhouse-Users" <mis...@li...> >>>>>>>>>> Sent: Wednesday, March 02, 2005 5:52 PM >>>>>>>>>> Subject: [misterhouse-users] help with girder and usb-uirt >>>>>>>>>> >>>>>>>>>> >>>>>>>>>>> I've started capturing some ir signatures with girder, but it's >>>>>>>>>>> unclear to me how I can use them in mh to get my code to send >>>>>>>>>>> commands >>>>>>>>>>> from the usb-uirt. Can someone post a couple of code snippets >>>>>>>>>>> that >>>>>>>>>>> show a way to do this? Thanks. >>>>>>>>>>> >>>>>>>>>>> Joel >>>>>>>>>>> -- >>>>>>>>>>> Joel Davidson >>>>>>>>>>> Austin, TX > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > ________________________________________________________ > To unsubscribe from this list, go to: > http://sourceforge.net/mail/?group_id=1365 > |