From: Romain <ro...@li...> - 2006-03-31 08:37:59
|
Hi, getting of clock is implemented. I have understood how work commands and requests. > I've done a little reverse-engineering of the USB protocol; I think I > understand the basics of how to send and receive packets, getting > information about the hardware, getting screenshots, getting and settin= g > the clock. Variable transfer is a bit more complicated. (In particula= r, > variable names are sent in UTF-8, and I'm not sure how the variable hea= der > packet is converted to and from a standard TI variable name and type.) = I > haven't had time to write all this stuff up, but I'll try to do that so= on. > > What I need in order to continue, since I don't have an 84+ or 89t, is > some nice logs of USB operations. > > Benjamin Moody roms. > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > TiLP-users mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-users > --=20 Romain Li=E9vin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" |
From: Romain <ro...@li...> - 2006-04-14 06:50:26
|
Hi Benjamin, do you want I install a wiki so that we can both modify the USB doc ? Or, is the SVN access enough for you ? roms. -- Romain Liévin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" |
From: Romain <ro...@li...> - 2006-04-14 07:36:21
|
Hi Benjamin, while transferring variables, buffer request/negotiation seems not to be compulsory between each variable. But, a pause (50 ms) is required otherwise transfer fails. roms. -- Romain Liévin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" |
From: Benjamin M. <bm...@WP...> - 2006-04-16 00:07:47
|
Hi, > do you want I install a wiki so that we can both modify the USB doc ? > Or, is the SVN access enough for you ? SVN is fine. Incidentally, I have an idea about the BB00 packet. Its contents seem to be used as a timeout. Perhaps it simply means "wait for X milliseconds for the next packet," and it's sent whenever the calculator expects to take a long time to respond. That would seem to make sense in the contexts where it is used. Benjamin |
From: Romain <ro...@li...> - 2006-04-14 08:43:55
|
Hi, on the TiLP news page, I have released an experimental/beta release of TiLP-II with partial TI84+ USB support (all transfers are supported except for FLASH ones). Please keep in mind this release may crash or corrupt your data. Use it with care ! roms. -- Romain Liévin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" |
From: David C. <da...@el...> - 2006-04-17 15:16:28
|
> Hi, > > on the TiLP news page, I have released an experimental/beta release of > TiLP-II with partial TI84+ USB support (all transfers are supported excep= t > for FLASH ones). > > Please keep in mind this release may crash or corrupt your data. Use it > with care ! > > roms. > --=20 > Romain Li=E9vin :=09=09<ro...@li...> > Web site :=09=09http://www.lievin.net > "Linux, y'a moins bien mais c'est plus cher !" I have released experimental 85p/86p <-> text code, but no one wants to=20 try it. I think only the fgets() filename '\n' has to be removed. |
From: Romain <ro...@li...> - 2006-04-15 17:48:14
|
Hi Benjamin, I have updated your doc about FLASH transfers. roms. Benjamin Moody a écrit : > Hi, > >> in the request to send packet header, there is a '09 01' (noted as ??). > > I now suspect the number 00 00 00 09 is the size of the variable to be > sent. I don't know about the 1. > >> I have already seen this 2-bytes number sequence in the D-BUS 'Version' >> packet. > > Perhaps that is the current language? 09 01 is English (defined by the > SDK; I think it's also a Windows language ID.) > > Initial thoughts on the new logs: > > It looks like app transfer works exactly like variable transfer, with the > data type 0xF0070024. Surprisingly, it also looks like you can pad the > end of the app with zeroes. > > It doesn't appear that anything actually got sent in "send_cert.pkt", but > it looks like that will be normal variable transfer as well. > > Parameter 0x31 is... interesting. It appears to contain: > > - Certain fields from the calculator's certificate area. Specifically, > the calculator ID, calculator public key, ID validation bytes, date stamp > and signature. Except that the calculator public key is zeroed out. > > - The current OS header. > > - Current app headers. > > - An RSA signature (02 0D block) of something. > > - The last 768 bytes of the certificate area. > > About the OS sending protocol: > > It seems it is a little more complicated than I thought. First, the 0002 > packet contains the complete length of the data to be transferred > (including the address, page and flag bytes at the start of each packet.) > > Second, the header and signature should be set to the actual addresses > (page 7A, address 4000 and 4100 respectively) rather than to address zero > as in the DBUS protocol. The flag byte should still be set to 80. > > Third, it seems you must start by sending the OS header as an 0004 packet. > This packet is identical to an 0005 packet, with address 4000, page 7A, > and flag 80, and in fact it seems you must send the same data again as the > first 0005 packet. The 0004 packet will be acknowledged by a second 0003. > > Don't worry about the buffer size request in the middle of the transfer. > That's probably the point when the OS transfers control to the boot code. > > Benjamin > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 > _______________________________________________ > TiLP-users mailing list > TiL...@li... > https://lists.sourceforge.net/lists/listinfo/tilp-users > -- Romain Liévin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" |
From: Alexandre S. <st...@gm...> - 2006-04-16 00:37:21
|
Hi, On Fri, Apr 14, 2006 at 10:43:41AM +0200, Romain Li=E9vin wrote: > Hi, >=20 > on the TiLP news page, I have released an experimental/beta release of > TiLP-II with partial TI84+ USB support (all transfers are supported except > for FLASH ones). >=20 Great. I'll test that right now. By the way, is it possible to anonymously checkout from the svn repository?= It would be easier than downloading the entire tarballs whenever there is a new snapshot. > Please keep in mind this release may crash or corrupt your data. Use it > with care ! >=20 > roms. > --=20 > Romain Li=E9vin : <ro...@li...> > Web site : http://www.lievin.net > "Linux, y'a moins bien mais c'est plus cher !" >=20 Cheers, Alex. --=20 alex |
From: Romain <ro...@li...> - 2006-04-16 18:28:02
|
Hi, > Great. I'll test that right now. > > By the way, is it possible to anonymously checkout from the svn > repository? It Yes, it is. But, I don't know the command line for that... roms. --=20 Romain Li=E9vin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" |
From: Alexandre S. <st...@gm...> - 2006-04-16 03:07:30
|
Hi, I'm getting some trouble trying to make my TI84+ and DirectUSB work with Ti= LP. First, when I start as a normal user I get: ---------------------------------------------------------------------------= --- ticables-INFO: Check for lib-usb usability: ticables-INFO: usb filesystem (/proc/bus/usb): mounted ticables-INFO: node /proc/bus/usb/devices: exists ticables-INFO: permissions/user/group: -r--r--r-- root root ticables-INFO: is user can r/w on device: no ticables-INFO: are others can r/w on device: no ticables-INFO: is the user 'alex' in the group 'root': no ticables-INFO: =3D> you should add your username at the group 'root' in '/etc/group' ticables-INFO: =3D> you will have to restart you session, too tilp-INFO: Msg: illegal operation or argument. Cause: the program which uses this library is buggy. Fire-up the developer! ---------------------------------------------------------------------------= --- This is probably due to my system configuration, though. Anyway, I tried Ti= LP as root. I have permissions to access usb devices,... But when I change the device settings to DirectUSB, with any port, and TI84+, I getthis error: ---------------------------------------------------------------------------= --- Msg: illegal operation or argument. Cause: the program which uses this library is buggy. Fire-up the developer! System: Inappropriate ioctl for device (errno =3D 25) ---------------------------------------------------------------------------= --- I compiles with logging support, but there's nothing in ~/ticables.log. Here's the output of lsusb: ---------------------------------------------------------------------------= --- # lsusb Bus 001 Device 003: ID 0451:e003 Texas Instruments, Inc.=20 Bus 001 Device 001: ID 0000:0000 ---------------------------------------------------------------------------= --- Cheers, Alex. --=20 alex |
From: Romain <ro...@li...> - 2006-04-16 18:29:34
|
Hi, -------------------------------------------------------------------------= ----- > ticables-INFO: Check for lib-usb usability: > ticables-INFO: usb filesystem (/proc/bus/usb): mounted > ticables-INFO: node /proc/bus/usb/devices: exists > ticables-INFO: permissions/user/group: -r--r--r-- root root > ticables-INFO: is user can r/w on device: no > ticables-INFO: are others can r/w on device: no > ticables-INFO: is the user 'alex' in the group 'root': no > ticables-INFO: =3D> you should add your username at the group 'root= ' in > '/etc/group' > ticables-INFO: =3D> you will have to restart you session, too > tilp-INFO: Msg: illegal operation or argument. > Cause: the program which uses this library is buggy. Fire-up the > developer! > -----------------------------------------------------------------------= ------- > > This is probably due to my system configuration, though. Anyway, I trie= d I think so. Perms are r only according to your log. They should be rw. roms. --=20 Romain Li=E9vin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" |
From: Karol K. <kk...@gm...> - 2006-04-16 18:43:07
|
On Sunday 16 April 2006 11:27, Romain Li=E9vin wrote: > Hi, > > > Great. I'll test that right now. > > > > By the way, is it possible to anonymously checkout from the svn > > repository? It > > Yes, it is. But, I don't know the command line for that... > svn co <url of svn repo> /path/where/to/checkout All we need to know is the url to the repo which I didn't find anywhere on = the=20 tilp page. I suppose it's http://svn.tilp.info/something?=20 =2D-=20 Karol Krizka |
From: Romain <ro...@li...> - 2006-04-16 19:03:10
|
Hi, > svn co <url of svn repo> /path/where/to/checkout > > All we need to know is the url to the repo which I didn't find anywhere= on > the > tilp page. I suppose it's http://svn.tilp.info/something? Yes, it is. <http://svn.tilp.info/repos/tilp/.... > > -- > Karol Krizka > roms. --=20 Romain Li=E9vin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" |
From: Karol K. <kk...@gm...> - 2006-04-16 21:19:36
|
On Sunday 16 April 2006 12:02, Romain Li=E9vin wrote: > Hi, > > > svn co <url of svn repo> /path/where/to/checkout > > > > All we need to know is the url to the repo which I didn't find anywhere > > on the > > tilp page. I suppose it's http://svn.tilp.info/something? > > Yes, it is. <http://svn.tilp.info/repos/tilp/.... > svn co http://svn.tilp.info/repos/tilp/tilp/trunk tilp svn co http://svn.tilp.info/repos/tilp/libticables/trunk libticables svn co http://svn.tilp.info/repos/tilp/libticalcs/trunk libticalcs svn co http://svn.tilp.info/repos/tilp/libtifiles/trunk libtifiles svn co http://svn.tilp.info/repos/tilp/libticonv/trunk libticonv I did the following to get the tilp tree, minus the documentation. It might= be=20 a good idea to put this information on the website. =2D-=20 Karol Krizka |
From: Romain <ro...@li...> - 2006-04-17 06:28:43
|
Hi, >> Yes, it is. <http://svn.tilp.info/repos/tilp/.... >> > svn co http://svn.tilp.info/repos/tilp/tilp/trunk tilp > svn co http://svn.tilp.info/repos/tilp/libticables/trunk libticables > svn co http://svn.tilp.info/repos/tilp/libticalcs/trunk libticalcs > svn co http://svn.tilp.info/repos/tilp/libtifiles/trunk libtifiles > svn co http://svn.tilp.info/repos/tilp/libticonv/trunk libticonv > > I did the following to get the tilp tree, minus the documentation. It > might be > a good idea to put this information on the website. Very good idea ! I have updated the 'Involve ?' page consequently. > > -- > Karol Krizka > Thanks, Romain. --=20 Romain Li=E9vin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" |
From: Romain <ro...@li...> - 2006-05-04 16:09:46
|
Hi, I'm currently implementing Titanium/USB support. This is growing quickly since protocol is common to both calcs (yeah, TI understood it was bette= r !). Titanium: screenshot, dirlist, set/get clock, device info, screenshot are working. roms. --=20 Romain Li=E9vin : <ro...@li...> Web site : http://www.lievin.net "Linux, y'a moins bien mais c'est plus cher !" |