jung1981 / linux-track

Automatically exported from code.google.com/p/linux-track
MIT License
0 stars 0 forks source link

can't install linuxtrack size missmatch error #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use new key 
2.add repositories (copied from ubuntu instructions)
3.refresh synaptic and try to install linuxtrack and linuxtrack-dev with all 
dependantcies
4. i get an error

What is the expected output? What do you see instead?
expected to install linuxtrack, i see this error when downloading

W: Failed to fetch 
http://www.linuxtrack.eu/repositories/ubuntu/pool/main/l/linuxtrack/liblinuxtrac
k0_0.0~svn120511-precise1_amd64.deb
  Size mismatch

W: Failed to fetch 
http://www.linuxtrack.eu/repositories/ubuntu/pool/main/l/linuxtrack/linuxtrack-d
ata_0.0~svn120511-precise1_all.deb
  Size mismatch

W: Failed to fetch 
http://www.linuxtrack.eu/repositories/ubuntu/pool/main/l/linuxtrack/linuxtrack-g
ui_0.0~svn120511-precise1_amd64.deb
  Size mismatch

W: Failed to fetch 
http://www.linuxtrack.eu/repositories/ubuntu/pool/main/l/linuxtrack/linuxtrack_0
.0~svn120511-precise1_all.deb
  Size mismatch

What version of the product are you using? On what operating system?
latest version of linuxtrack, and ubuntu 12.04.1

Please provide any additional information below.
it's on a lenovo thinkpad w701

Original issue reported on code.google.com by billstre...@gmail.com on 18 Oct 2012 at 3:30

GoogleCodeExporter commented 9 years ago
Hello,
could you please try to run in terminal the folowing command:

sudo apt-get update

Although I might have made a mistake while resigning things with a new key, it 
might be that synaptic didn't really updated the informations about the 
repository; hopefully the command will fetch uptodate package informations and 
synaptic will let you install...

I can't test it right now (and to be honest I didn't try to install full 
linuxtrack package, just xplane-sdk), but if the problem persists, I'll try and 
solve it in the evening (to be clear - ETA ~16 hours from now)...
Thank you for your patience,

Michal

Original comment by f.jo...@email.cz on 18 Oct 2012 at 4:48

GoogleCodeExporter commented 9 years ago
Confirmed. I just started new compilation, will upload new packages as soon as 
it finishes.
Kind regards,
Michal

Original comment by f.jo...@email.cz on 18 Oct 2012 at 3:21

GoogleCodeExporter commented 9 years ago
Should be OK now, just make sure to reload the repo informations in synaptic.
Please let me know if it works for you now (it does for me) so I can close the 
ticket.
Kind regards,

Michal

Original comment by f.jo...@email.cz on 19 Oct 2012 at 2:44

GoogleCodeExporter commented 9 years ago
I have a smart nav 4 camera, linux track installed fine, but my camera
won't turn on. my integrated camera does not work either. I did grant the
permission for trackir5

Original comment by billstre...@gmail.com on 19 Oct 2012 at 5:26

GoogleCodeExporter commented 9 years ago
Hi,
the thing is, that TrackIR devices have different ID, so the SmartNav is not 
picked up by the application. There is probably also different firmware and 
there might be some differences in the protocol.

Unfortunately I don't have an access to the SmartNav device, so I can't say at 
the moment.

Would you be willing to invest some time to the issue and provide me with a 
dumps of the SmartNav's communication? It would require you to setup a windows 
virtual machine (probably vmware player would do the job best), installing the 
SamrtNav software in it and use Wireshark to capture the communication (well, 
unless you can capture USB communication by another means)...

Kind regards,

Michal

Original comment by f.jo...@email.cz on 19 Oct 2012 at 6:37

GoogleCodeExporter commented 9 years ago
this is what the xml export had when i opened it in ie9.

START 0001 13:41:52.571 PnP 0002 13:41:57.921 5.345861 s Start Device
FFFFFA8007428440h USBPDO-7 usbhub FFFFFA800B44F010h PnP 0003-0002
13:41:57.921 5.346311 s 451 us Start Device FFFFFA8007428440h USBPDO-7
usbhub FFFFFA800B44F010h Success PnP 0004 13:41:57.921 5.346318 s Query
Interface

Original comment by billstre...@gmail.com on 21 Oct 2012 at 10:49

GoogleCodeExporter commented 9 years ago
Hi,
I can see only only the begining (like 5 lines), could you please attach the 
zipped dump itself? Provided it is not too huge... 

You can also send it to my email, if you don't fee like putting it to the 
public.

By the way, XML is just a text file, no need to open it in any web browser 
(they might hide things from you); any decent text editor (nedit, gedit, kedit, 
kate) will show you everything...
Kind regards,

Michal

PS. Thank you for your bravery!

Original comment by f.jo...@email.cz on 22 Oct 2012 at 2:38

GoogleCodeExporter commented 9 years ago
the file is to big to email, is the a place i can upload it?

Original comment by billstre...@gmail.com on 22 Oct 2012 at 3:05

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hi,
unfortunately I don't have any place like that handy - if the file is less than 
10MB, you can attach it here (the issue page of linuxtrack project).

If it is bigger (I assume you compressed it already), we can try this: I'd add 
you to the project commiters, and I'd grant you a right to create a new 
download - 200MB should be enough, right?

Kind regards,

Michal

PS. I'm not very familiar with SmartNav device itself - does it have any LEDs 
(other than IR illumination)? Is there a switch to simulate a click?

PPS. If I find in the dump unfamiliar things, would it be a problem to ask you 
for some additional dumps without causing you too much trouble?

Original comment by f.jo...@email.cz on 22 Oct 2012 at 5:50

GoogleCodeExporter commented 9 years ago
I think the same technology is in the track ir, naturalpoint makes both.
here's a description of the smart nav. also here is a forum post.
http://forum.naturalpoint.com/forum/ubbthreads.php?ubb=showflat&Number=51385

TrackIR software will work with SmartNav cameras, however when TrackIR
software is running, the SmartNav will no longer function as a mouse.
________

Infrared light is emitted from the LEDs and is reflected back to the imager
by a corner cube reflector (3M safety material). This reflected light is
imaged by a CMOS sensor and the video signal is passed to the preprocessing
electronics. The video signal is thresholded against a reference level and
all passing data is sent to the USB microcontroller to send to the PC for
object tracking. In order to increase the signal to noise ratio an IR
filter that passes only 800nm and above is placed between the imager lens
and the outside world.

The SmartNav can image any IR source; typically this is reflective material
or an active IR source such as an LED. A user may track many different
objects by placing reflective dots or LEDs on the object. The SmartNav has
a 45 degree field of view and anything being tracked must stay in that
field of view.

Original comment by billstre...@gmail.com on 22 Oct 2012 at 11:35

GoogleCodeExporter commented 9 years ago
I see...

How about the communication dump? May I ask you how big is that, so we can 
decide how to best transfer it to me?
Kind regards,

Michal

Original comment by f.jo...@email.cz on 22 Oct 2012 at 11:43

GoogleCodeExporter commented 9 years ago
here is a file in USBlyzer for windows format. can you install that or are
you only on linux.

Original comment by billstre...@gmail.com on 22 Oct 2012 at 12:27

GoogleCodeExporter commented 9 years ago
I do have access to a windows, so it is no problem to use the usblyzer...
Unfortunately I don't see the file...

Original comment by f.jo...@email.cz on 22 Oct 2012 at 12:38

GoogleCodeExporter commented 9 years ago
Hello,
may I ask you for the dump file? It was not attached to the post...
Thank you!

Michal

Original comment by f.jo...@email.cz on 27 Oct 2012 at 10:51

GoogleCodeExporter commented 9 years ago
ok i think i got the data you need, if not please send me instructions on how 
to capture it.

Original comment by billstre...@gmail.com on 29 Oct 2012 at 11:41

Attachments:

GoogleCodeExporter commented 9 years ago
here is the usblyzer data too.

Original comment by billstre...@gmail.com on 29 Oct 2012 at 11:44

Attachments:

GoogleCodeExporter commented 9 years ago
Hi,
I'm sorry for the late response - it turned out that the usblyzer is not able 
to load on 32 bit system a file created by 64 bit version; on the other hand, 
it runs under wine(view only), so I'm not forced to switch back and forth...

Anyway, here are first results coming from the quick peak to your data...

 - I isolated a correct firmware

 - The protocol is remarkably similar to the TrackIR protocol

 - Update of linuxtrack should be relatively easy...

Said that, I'm going to need help testing the changes I make - may I ask you to 
do that?

If so, could you let me know, exactly which distro are you using? (like Ubuntu 
12.04 64bit), so I know how to target the build...

And last, but not least - what are your expectations? I mean do you expect a 
mouse emulation, or just the usual gaming interface?

Kind regards,

Michal

Original comment by f.jo...@email.cz on 30 Oct 2012 at 10:07

GoogleCodeExporter commented 9 years ago
I would need mouse emulation. my distro is ubuntu 12.10 64bit. I would love to 
test it. Just tell me what debugging tool you want me to use and what 
programs/games to run to test it I will do that.

Original comment by billstre...@gmail.com on 31 Oct 2012 at 1:27

GoogleCodeExporter commented 9 years ago
If you can please make f9 (or another key) pause the tracking too, thanks.

Original comment by billstre...@gmail.com on 31 Oct 2012 at 1:55

GoogleCodeExporter commented 9 years ago
Hello,
I'd like to ask you few more things if I may...

Could you please check that your Smart Nav has USB id 131D:0106? Command lsusb 
can show you that...

Could you make a dump with a marker, where you'd make it go fully to the left, 
right, up down (ideally out of sight at each extreme)?

Does your SmartNav have those switches? If it does, I'd like to ask you for one 
more dump - without any marker in its sight, just clicking the switch/switches 
few times...

Last thing I'd ask you, is to create a "spec" for the mouse emulation - as 
detailed description of the intended mouse emulation behavior as possible; it 
would help effective development of the thing, avoiding misunderstandings and 
so on...
Thank you very much for your help!
Kind regards,

Michal

Original comment by f.jo...@email.cz on 31 Oct 2012 at 9:01

GoogleCodeExporter commented 9 years ago
Hi,
I went through the data thoroughly and there are three more dumps to make sure 
I understand the thing right...

1) switch IR leds off, and then back on...

2) switch to grayscale mode and after few seconds with marker in sight switch 
back...

3) enable light filtering, set the slider to the minimum, then to maximum and 
then back; also please let me know what the default and limit values are...

There is no need to go through the plugging-in process again; just start 
tracking, start the logging, do the thing and stop logging. Please make sure 
the dumps are in separate files to make things easier to analyze.
You can send me directly the usblyzer files, I can extract the data from them 
myself...

Thank you very much for your help!
Kind regards,

Michal

Original comment by f.jo...@email.cz on 1 Nov 2012 at 8:31

GoogleCodeExporter commented 9 years ago
Can i use USBlyzer in windows natively to do this or wireshark linux host with 
vmplayer?

Original comment by billstre...@gmail.com on 1 Nov 2012 at 8:02

GoogleCodeExporter commented 9 years ago
Use whatever suits you best... I can extract the info I need using usblyzer 
through wine, so it is no problem for me...
Kind regards,

Michal

Original comment by f.jo...@email.cz on 1 Nov 2012 at 10:24

GoogleCodeExporter commented 9 years ago
the light filter goes from 40 to 253.

I think having f9 to pause, light filtering and the switch are the most 
important. many others might need the greyscale and led on/off too.

Original comment by billstre...@gmail.com on 2 Nov 2012 at 12:14

Attachments:

GoogleCodeExporter commented 9 years ago
Hello Bill,
(hope I got it right and you don't mind...)
thank you for those dumps, I'll take a peek at them when I get home (I'm at 
work now)... They should give me enough info to be able to write the needed 
code to utilize the device. 

I just realized, that I didn't create the 12.10 packages yet, so I'm going to 
do that too. At the moment I have something usable, I'll send you the thing to 
test on the real SmartNav (I have a scafolding allowing me to test basig 
functionality just from those dumps, but there might be some race contitions 
and other nasty things that only interaction with real device shows)...

As for the some timing estimates (but bear in mind that generaly these aren't 
very accurate), if things go well, I should have something for you to test 
around next weekend - I mean ltr_gui should be able to use the device at that 
point.
The mouse control application will come next - I think that I have an idea on 
how to tackle the mouse functionality; the hotkey thing might be a bit more 
complicated - what I need is functionality similar to a keylogger (I need to 
see a keypress regardless on which window in focus) and that might be a little 
bit challenging. Said that, I'm going to investigate the possibilities (ideally 
to find something usable on broad range of distros) and we'll see what comes 
up...

Anyway, I'll keep you posted on the progress...

Thank you very much for your help and your bravery!
Kind regards,

Michal

Original comment by f.jo...@email.cz on 2 Nov 2012 at 6:28

GoogleCodeExporter commented 9 years ago
thanks for the update, good luck! Thank you so much for making these helpful 
tools!

Original comment by billstre...@gmail.com on 2 Nov 2012 at 5:07

GoogleCodeExporter commented 9 years ago
Hello Bill,
just to let you know, here is what NP thinks about this:
http://forum.naturalpoint.com/forum/ubbthreads.php?ubb=showflat&Number=53458#Pos
t53458

However, I'm not going to let you or any other SmartNav user down.
Will keep you posted on the progress,

Michal

Original comment by f.jo...@email.cz on 3 Nov 2012 at 2:00

GoogleCodeExporter commented 9 years ago
thanks for the info, if you need any more help let me know, but not natural 
point, right :)

Original comment by billstre...@gmail.com on 3 Nov 2012 at 2:25

GoogleCodeExporter commented 9 years ago
Helo Bill,
those dumps you provided uncovered most of the comunication protocol secrets, 
but there are still few dark corners left... So if I may, I'd like to ask you 
for a few more dumps.

1) Dump just a left click (start dump, wait a second or two, click, release, 
stop dump)

2) Dump just a right click

3) Having grayscale mode selected, go to the left, right, up and down extremes 
(if possible, all the way, so the marker disappears from the sensors field of 
view). If you could also go to the all four corners, it would be great.

4) The same as point 3, only in the normal mode; I know you already sent me 
such a dump, but some values just don't add up - mainly the resolutions...

5) Select a grayscale mode, and try to adjust the light filter (if possible) to 
say 50, and then say 200 (so you don't lose control).

Thank you very much for your help,

Michal

Original comment by f.jo...@email.cz on 4 Nov 2012 at 8:14

GoogleCodeExporter commented 9 years ago
One more thing I forgot, could you try and dump a situation, where you click 
both buttons together? It is quite common way of emulating 3 button mouse in 
linux...
Thank you for your patience,

Michal

Original comment by f.jo...@email.cz on 4 Nov 2012 at 12:56

GoogleCodeExporter commented 9 years ago
the switch has sip and puff so i cant do both at once, on the smart nav 
software you can choose what the switch does, so here is a dump of my right 
click turned to middle click.

Original comment by billstre...@gmail.com on 4 Nov 2012 at 10:52

Attachments:

GoogleCodeExporter commented 9 years ago
Hello Bill,
thank you very much for the dump; it turns out, that the click mapping is done 
inside smartnav software, so the devices reaction is still the same... It is 
not a problem, in case someone needs the middle mouse emulation using foot 
switches, it can be added afterwards...

Might I ask you also for the dumps mentioned in the post number 30?
Thank you very much for your help and your patience,

Michal

Original comment by f.jo...@email.cz on 5 Nov 2012 at 3:56

GoogleCodeExporter commented 9 years ago
here you go.

Original comment by billstre...@gmail.com on 5 Nov 2012 at 11:21

Attachments:

GoogleCodeExporter commented 9 years ago
Thank you!

Original comment by f.jo...@email.cz on 6 Nov 2012 at 3:43

GoogleCodeExporter commented 9 years ago
Hello Bill,
thank to your dumps, I have enough informations now to implement the normal 
mode tracking; the grayscale mode still needs a little bit of work, but I have 
the general idea now...
Thank you for your help and I'll keep you posted...
Kind regards,

Michal

Original comment by f.jo...@email.cz on 6 Nov 2012 at 9:50

GoogleCodeExporter commented 9 years ago
glad i could help, need anything just ask.

Original comment by billstre...@gmail.com on 6 Nov 2012 at 10:04

GoogleCodeExporter commented 9 years ago
Hello Bill,
just a quick update... 

I have both grayscale and normal mode data parsing ready (it is able to go 
through all the data I have from you) and the firmware upload should be working 
too...

Unfortunately, there is one though - the device, before it receives the 
firmware, seems to output lots of packets, that might interfere with the 
functionality...

I'd ask you for a little bit more patience - I'll have to cut a little bit 
deeper than I thought and I want to be sure I didn't messed it up...

Thank you very much,

Michal

PS. If I may ask you for one more dump (if it doesn't cause you much trouble) - 
could you dump me shutting down the smartnav software? Just start dumping while 
tracking and close the software...

Original comment by f.jo...@email.cz on 11 Nov 2012 at 8:38

GoogleCodeExporter commented 9 years ago
ok, i shut it down and to be safe there's a starting the software too.

Original comment by billstre...@gmail.com on 11 Nov 2012 at 8:54

Attachments:

GoogleCodeExporter commented 9 years ago
Hello Bill,
thank you very much for the quick reply... 
I'll keep you posted about the progress.
Kind regards,

Michal

PS. I just added you to our projct's Hall of Fame - cooperation with you is a 
real treat and I enjoy it very much... It is people like you that keep me going 
and make all the work worthwhile.

Original comment by f.jo...@email.cz on 12 Nov 2012 at 7:25

GoogleCodeExporter commented 9 years ago
THANKS! You've been great too.

Original comment by billstre...@gmail.com on 12 Nov 2012 at 10:47

GoogleCodeExporter commented 9 years ago
Hello Bill,
just to give you a short update - I managed to create a SN4 software model, 
that I can use to ensure maximal probability that it is going to work on a real 
device too...
Most of the device communication seem to work well, but I still want to see if 
it will handle some corner cases...

I'm sorry it is taking that long - last two days I was working on the 64bit 
plugin for XPlane simulator, but at this point there shouldn't be much more 
distractions now.
Thank you for your patience...
Kind regards,

Michal

Original comment by f.jo...@email.cz on 17 Nov 2012 at 11:27

GoogleCodeExporter commented 9 years ago
cool, good luck on xplane, thanks for the update.

Original comment by billstre...@gmail.com on 17 Nov 2012 at 11:55

GoogleCodeExporter commented 9 years ago
Hello Bill,
yesterday I checked in modifications that should allow linuxtrack work with the 
SmartNav4; during today and tomorrow I'm going to come up with a package that 
I'd ask you to test.

For the moment, it will only work like usual linuxtrack camera device - you 
should see what camera sees in the Camera view window and the 3D preview should 
work in the 2DOF tracking mode. When that works, we can move to the mouse 
pointer tracking and so on...

I have one question though - it is going to sound (read) awkward, but I'd like 
to ask you to tell me what you can or can't do without causing you trouble or 
discomfort... Knowing that would help me to make the process as painless for 
you as possible.

Thank you for your help,

Michal

Original comment by f.jo...@email.cz on 19 Nov 2012 at 9:16

GoogleCodeExporter commented 9 years ago
ok, i'll gladly test it.

Original comment by billstre...@gmail.com on 19 Nov 2012 at 6:04

GoogleCodeExporter commented 9 years ago
i can move my head quite well but that's it. I use a mouthstick to type and
use my laptops track point to use the mouse when i'm not using the
smartnav, but its a lot slower. I have a sip/puff switch for the mouse
buttons but i can use the laptop mouse buttons too, but only one at a time.

Original comment by billstre...@gmail.com on 19 Nov 2012 at 6:09

GoogleCodeExporter commented 9 years ago
Hello Bill,
here is the package - inside you'll find instructions on how to install it;
let me know how it goes...
Kind regards,

Michal

PS. To make sure the older version would not interfere, please uninstall the 
one you installed previously...

Original comment by f.jo...@email.cz on 22 Nov 2012 at 9:54

Attachments:

GoogleCodeExporter commented 9 years ago
I fallowed your instructions but my camera led's will not turn on so nothing 
shows up in the camera view, any ideas?

Original comment by billstre...@gmail.com on 23 Nov 2012 at 6:49

GoogleCodeExporter commented 9 years ago
Hello Bill,
first of all, thank you for giving it a sot...

Now lets get to the problem...

When you start ltr_gui, can you select the TrackIR as a tracking device?

If you can select it, does it say that firmware is missing, or is the firmware 
found? (the message is under the Camera position combo on the first pane)...

If the firmware is OK, and pressing the Start button in the Tracking window 
doesn't work, could you run the following command:

tar cfz ~/Desktop/logs.tar.gz /tmp/linuxtrack*.log

and send me the resulting file?
Thank you,

Michal

Original comment by f.jo...@email.cz on 23 Nov 2012 at 7:36

GoogleCodeExporter commented 9 years ago
i can select the trackir and i installed the firmware and then copied the 
smartnav firmware. so, here's the file

Original comment by billstre...@gmail.com on 23 Nov 2012 at 7:59

Attachments: