souvik1997 wrote:
Try a different USB port, that's what I had to do on my computer.
Thanks for that tip, Souvik! Give it a try, Sonlen? Qazz, very happy to hear that everything's working.
Also, try starting the client while the calc is at the homescreen.
souvik1997 wrote:
Also, try starting the client while the calc is at the homescreen.
Yup, that's the other tip, but it sounded like he had hopefully already been doing that.
Great work, Kerm 🙂 I also enjoyed the README a lot 😁 And Chat! seems to be working pretty well, about to try Oblit.
_player1537 wrote:
Great work, Kerm 🙂 I also enjoyed the README a lot 😁 And Chat! seems to be working pretty well, about to try Oblit.
That's awesome to hear, thanks! I am about to play at least a three-person game with you and ParkerR now!
ooh. This sounds like a party. When do I get the updated gcnclient source to merge in?
elfprince13, as soon as I work out a few more bugs! Thanks. 🙂

Notes to self:
1) Split slipstreamed messages up when possible, if we're not already
2) Check that messages that time out are eventually sent?
3) Cable insertion when Cn2.2 is running
Tomorrow I'll get the GUI Front-end thing finished up, so everyone can run it where .bat or cmd is disallowed 😉
merthsoft wrote:
Tomorrow I'll get the GUI Front-end thing finished up, so everyone can run it where .bat or cmd is disallowed 😉
Thanks Shaun! Hopefully Jonimus and I can test some of the suggested fix approaches I wrote myself there. 🙂
I finally got a 84+ and am starting to give this a try now. By the way does the chat program connects directly to #cemetech when connected via USB?

(Btw it seems I am connected successfully too, according to the gCn client so that's good.)
If you use Chat with the gCn metahub "IRCHub", then yes. If you use another metahub, then you need to have other people running Chat (or the PC Chat client) on the same metahub.
Quote:
[08:32:24] <saxjax> (G) *gCn virtual hub 'IRCHub' has new calculator 0A344412B6
[08:32:24] <gCnIRCHub> **TEST entered the room
[08:33:20] <gCnIRCHub> [TEST] Lionel here 🙂
[08:33:39] <debrouxl> From 84+SE connected to gCn through DirectUSB.
[08:34:15] <christop> woot
[08:34:21] <debrouxl> But the calculator has hung...
[08:34:24] <gCnIRCHub> **TEST timed out and left the room
[08:34:33] <debrouxl> Maybe I'm not using the latest version of CALCnet Chat ?
[08:34:48] <christop> you need to get your 89T connected to gCn!
[08:35:13] <debrouxl> Yup 🙂
[08:35:32] <debrouxl> Well, at first, connecting it to CALCnet would be a good first step 😁


I had to pull a battery for the calculator to respond to keypresses again. The home screen contained binary characters, but no RAM clear occurred (not that I'd have lost data anyway).


Terminal output:

Code:
Direct USB connection created successfully.
Resolved hostname.
Socket #4
Wrote 15 bytes to socket (join msg)
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received 7 bytes
00 00 00 02 05 00 08
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received 7 bytes
00 00 00 02 05 00 08
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received 21 bytes
00 00 00 00 00 0A 34 44 12 FFFFFFB6 09 00 FFFFFFAB 54 45 53 54 00 00 00 00
|0A344412B6.0000000000,0900:AB5445535400000000>Sending calc ID 0A344412B6 to server
Wrote 13 bytes to socket (connect msg)

              4 D             T E S T          Broadcasting data of length 9 to server
Wrote 27 bytes to socket (broadcast msg)

Received 21 bytes
00 00 00 00 00 0A 34 44 12 FFFFFFB6 09 00 FFFFFFAB 54 45 53 54 00 00 00 00
|0A344412B6.0000000000,0900:AB5445535400000000>
              4 D             T E S T          Broadcasting data of length 9 to server
Wrote 27 bytes to socket (broadcast msg)

Received message of length 85 from server.
FF89 0A344412B6 AAAAAAAAAA 4300 AD7361786A61783A284729202A67436E207669727475616C2068756220274952434875622720686173206E65772063616C63756C61746F722030413334343431324236 2A
       4 D                 C      s a x j a x : ( G )   * g C n   v i r t u a l   h u b   ' I R C H u b '   h a s   n e w   c a l c u l a t o r   0 A 3 4 4 4 1 2 B 6  *
Wrote frame, type 'f', size '82', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received 21 bytes
00 00 00 00 00 0A 34 44 12 FFFFFFB6 09 00 FFFFFFAB 54 45 53 54 00 00 00 00
|0A344412B6.0000000000,0900:AB5445535400000000>
              4 D             T E S T          Broadcasting data of length 9 to server
Wrote 27 bytes to socket (broadcast msg)

Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received 21 bytes
00 00 00 00 00 0A 34 44 12 FFFFFFB6 09 00 FFFFFFAB 54 45 53 54 00 00 00 00
|0A344412B6.0000000000,0900:AB5445535400000000>
              4 D             T E S T          Broadcasting data of length 9 to server
Wrote 27 bytes to socket (broadcast msg)

Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
usb_bulk_write (No error).
Error: Failed to send Direct USB frame
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
usb_bulk_write (No error).
Error: Failed to send Direct USB frame
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
usb_bulk_write (No error).
Error: Failed to send Direct USB frame
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received 32 bytes
FFFFFFAA FFFFFFAA FFFFFFAA FFFFFFAA FFFFFFAA 0A 34 44 12 FFFFFFB6 14 00 FFFFFFAD 54 45 53 54 3A 4C 69 6F 6E 65 6C 20 68 65 72 65 20 3A 29
|0A344412B6.AAAAAAAAAA,1400:AD544553543A4C696F6E656C2068657265203A29>
              4 D             T E S T : L i o n e l   h e r e   : )  Sending frame data of length 20 to server
Wrote 38 bytes to socket (frame msg)

Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received 21 bytes
00 00 00 00 00 0A 34 44 12 FFFFFFB6 09 00 FFFFFFAB 54 45 53 54 00 00 00 00
|0A344412B6.0000000000,0900:AB5445535400000000>
              4 D             T E S T          Broadcasting data of length 9 to server
Wrote 27 bytes to socket (broadcast msg)

Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 74 from server.
usb_bulk_write (No error).
Error: Failed to send Direct USB frame
FF89 0A344412B6 AAAAAAAAAA 3800 AD646562726F75786C3A46726F6D2038342B534520636F6E6E656374656420746F2067436E207468726F756768204469726563745553422E 2A
       4 D                 8      d e b r o u x l : F r o m   8 4 + S E   c o n n e c t e d   t o   g C n   t h r o u g h   D i r e c t U S B .  *
Wrote frame, type 'f', size '71', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
Received message of length 27 from server.
FF89 0000000000 AAAAAAAAAA 0900 AB4952430000000000 2A
                                  I R C            *
Wrote frame, type 'b', size '24', to bridge
usb_bulk_read -19 (error submitting URB: No such device).
[snip many -19 errors]
usb_bulk_read -19 (error submitting URB: No such device).
Received message of length 32 from server.
usb_bulk_write (error submitting URB: No such device).
Error: Failed to send Direct USB frame
FF89 0A344412B6 AAAAAAAAAA 0E00 AD6368726973746F703A776F6F74 2A
       4 D                        c h r i s t o p : w o o t  *
Wrote frame, type 'f', size '29', to bridge
usb_bulk_read -19 (error submitting URB: No such device).
[snip many -19 errors]
usb_bulk_read -19 (error submitting URB: No such device).
Received message of length 58 from server.
usb_bulk_write (error submitting URB: No such device).
Error: Failed to send Direct USB frame
FF89 0A344412B6 AAAAAAAAAA 2800 AD646562726F75786C3A427574207468652063616C63756C61746F72206861732068756E672E2E2E 2A
       4 D                 (      d e b r o u x l : B u t   t h e   c a l c u l a t o r   h a s   h u n g . . .  *
Wrote frame, type 'f', size '55', to bridge
usb_bulk_read -19 (error submitting URB: No such device).
[snip many -19 errors]
usb_bulk_read -19 (error submitting URB: No such device).
<device unplugged>
Direct USB device stopped responding!


The "<debrouxl> From 84+SE connected to gCn through DirectUSB." line did not appear on the calculator, which is normal after "usb_bulk_write (No error). Error: Failed to send Direct USB frame"
ooh boy Kerm, this is awesome, as soon as school is over I will test this. Anyone want a one-on-one netpong round?'
Ok, I just downloaded it - at is AWSOME!!!!!!!!!!!!!!!!!! Vearry good work!
EDIT: Ok, I have straight away some bug reports: I used IRCHub and: 1 comment didn't arrive my calc, two other comments where messed up by there chronological made order and before the comments i made (on cemetech) it puts "saxjax:(C) [Sorunome]" but not before the comments of other users. Hope you can find why!

EDIT 2:It sometimes posts two letters when pressing it wonce, but i think that is a problem in Chat
What's stopping you from just using USB dongle thing like http://www.newegg.com/Product/Product.aspx?Item=N82E16833328012. Then, a computer wouldn't even be required. I see some problems with drivers only working for ONE adapter, but for ten dollars, you could get a wireless to USB converter for the calculator to use.
Um, your batteries, I think. You should make something for power supply to that.
It would be soo awesome, though, if we could get it to work
Lionel, that seems symptomatic of everyone who has issues. I've heard suggestions such as switching USB ports, but there's still some underlying failure with timeouts, and they often seem to start
Code:
usb_bulk_write (No error).
Error: Failed to send Direct USB frame
Jonimus is putting together a potential fix.
Ok, I have a new problem: I can get into gCn but it doesn't seem to be connected correctly, coz nothing works (no data transfer)
Ah, yeah, I can confirm this, it seems that while on Tuesday, everything worked fine, but now I think something broke, because it gets a connection to my calc, but not to the IRCgCnHub ;.;
I found the problem; someone unexpectedly disconnected, which I hadn't made the server robust enough against. It should be better now.
  
Register to Join the Conversation
Have your own thoughts to add to this or any other topic? Want to ask a question, offer a suggestion, share your own programs and projects, upload a file to the file archives, get help with calculator and computer programming, or simply chat with like-minded coders and tech and calculator enthusiasts via the site-wide AJAX SAX widget? Registration for a free Cemetech account only takes a minute.

» Go to Registration page
» Goto page Previous  1, 2, 3, 4, 5, 6, 7  Next
» View previous topic :: View next topic  
Page 2 of 7
» All times are UTC - 5 Hours
 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

 

Advertisement