summaryrefslogtreecommitdiff
path: root/docs/PROTOCOL_HELP.txt
diff options
context:
space:
mode:
authorNoël Köthe <noel@debian.org>2013-12-07 10:41:20 +0100
committerRALOVICH, Kristof <tade60@freemail.hu>2013-12-07 10:41:20 +0100
commite24d0c7c09f9ea1f8022528392b3df3f1dfc7da8 (patch)
treeb1a0bba7186acaaf208d14109588ccc0bd2cb7ce /docs/PROTOCOL_HELP.txt
parentc1a30b8657d77d9634fefa93d6b8319834bd7ca9 (diff)
Additional a small patch for PROTOCOL_HELP.txt which would have helped me and might make it easier for other.;)
Diffstat (limited to 'docs/PROTOCOL_HELP.txt')
-rw-r--r--docs/PROTOCOL_HELP.txt13
1 files changed, 8 insertions, 5 deletions
diff --git a/docs/PROTOCOL_HELP.txt b/docs/PROTOCOL_HELP.txt
index 43eee2d..d773726 100644
--- a/docs/PROTOCOL_HELP.txt
+++ b/docs/PROTOCOL_HELP.txt
@@ -4,21 +4,24 @@
* In this case your device talks a different dialect of ANT/ANT+/ANT-FS that we've seen so far.
* To solve this, we'll need a dump of the USB communication between your watch (USB2ANT stick) and any software tool, that your watch is able to talk to: e.g. garmin's ant agent. This may be facilitated in a e.g. VirtualBox environment.
-1) Install VirtualBox on linux, including proprietary oracle usb extensions
+1) Install VirtualBox on linux, including proprietary oracle usb extensions from www.virtualbox.org. The Open Source edition in the distribution does not support USB.
-2) Install win xp in vbox, set up usb filter to pass through all devices
+2) Install win xp with service pack 3 in vbox, set up usb filter to pass through all devices
3) Install garmin's ant agent in virtual xp, but do not start it!
-4) Plug in your USB2ANT stick to the host, make sure the cp201x driver didn't grab it, by unloading cp201x kernel module.
+4) Plug in your USB2ANT stick to the host, make sure the cp210x driver didn't grab it, by unloading cp210x kernel module: "rmmod cp210x".
5) Make sure usbmon kernel driver is loaded on the host: "modprobe usbmon"
6) Under linux host, figure out usb bus address of your USB2ANT stick: "lsusb" (e.g.: "Bus 005 Device 001: ID 1d6b:0001 USB2ANT ..." means our bus number is 5)
-7) We need to increase usbmon lower threshold for message truncation to say 100 characters. For this build the usbmon tool. In the antpm sources "cd 3rd_party/usbmon-6 && make"
+7) We need to increase usbmon lower threshold for message truncation to say 100 characters. For this build the usbmon tool:
+ # git clone https://code.google.com/p/antpm/
+ # cd antpm/3rd_party/usbmon-6/
+ # make
-8) Start capturing usb traffic under linux host: "./usbmon -i <USB bus> -fu -s 100 /sys/kernel/debug/usb/usbmon/6u > ~/ant-usb-log-001.usbmon"
+8) Start capturing usb traffic under linux host: "./usbmon -i <USB bus> -fu -s 100 > ~/ant-usb-log-001.usbmon"
9) Start garmin's ant agent in virtual xp. Once the download is done, quit ant agent. Also terminate the above "cat" process. The dump of your usb communication is now saved to ~/ant-usb-log-001.usbmon.