Disabled USB support

Augieman
2007-08-24
2013-05-01
  • Augieman
    Augieman
    2007-08-24

    Hi! With the help of Eike (in the SportsTracker forum) I've managed to get SportsTracker to work on my Ubuntu, but I've got problems with getting my Polar S610i to communicate with the s/w. I've installed s710-0.21 but I get an error when I run ./configure. Here are the last lines of output from it:
    ...
    configure: creating ./config.status
    config.status: creating Makefile
    config.status: WARNING:  Makefile.in seems to ignore the --datarootdir setting
    config.status: creating src/Makefile
    config.status: WARNING:  src/Makefile.in seems to ignore the --datarootdir setting
    config.status: creating src/libs710/Makefile
    config.status: WARNING:  src/libs710/Makefile.in seems to ignore the --datarootdir setting
    config.status: creating src/utils/Makefile
    config.status: WARNING:  src/utils/Makefile.in seems to ignore the --datarootdir setting
    config.status: creating include/Makefile
    config.status: WARNING:  include/Makefile.in seems to ignore the --datarootdir setting
    config.status: creating doc/Makefile
    config.status: WARNING:  doc/Makefile.in seems to ignore the --datarootdir setting
    config.status: creating test/Makefile
    config.status: WARNING:  test/Makefile.in seems to ignore the --datarootdir setting
    config.status: creating include/config.h
    config.status: executing depfiles commands

    Configuration (s710)
            USB support:             disabled (http://libusb.sf.net)
            Max valid heart rate:    206
            Max valid cadence:       170
            HRM output MaxHR:        200
            HRM output RestHR:       60
            Workout file directory:  /var/polar/s710/raw

    I've (sudo apt-get-) installed every libusb-packet I can find, but I doesn't help.
    Any suggestions? 
    br/Mike - linux-newbee ;-)

     
    • Augieman
      Augieman
      2007-08-24

      With some help =-) I found the switch (./configure --with-usb), so I've actually moved a step further (there seems to be no way to edit my previous post). I think output from s710d explains my new problem.
      Best regards/Mike
      ------------
      micke@MyHP:~/Desktop/s710-0.21$ sudo s710d -d usb
      s710d[6252]: started
      usb_set_debug(99)
      usb_set_debug: Setting debugging level to 99 (on)
      usb_os_init: Found USB VFS at /dev/bus/usb
      usb_os_find_busses: Skipping non bus directory devices
      usb_os_find_busses: Found 004
      usb_os_find_busses: Found 003
      usb_os_find_busses: Found 002
      usb_os_find_busses: Found 001
      micke@MyHP:~/Desktop/s710-0.21$ usb_os_find_devices: Found 001 on 004
      usb_os_find_devices: Found 002 on 003
      skipped 1 class/vendor specific interface descriptors
      usb_os_find_devices: Found 001 on 003
      error obtaining child information: Inappropriate ioctl for device
      usb_os_find_devices: Found 002 on 002
      skipped 1 class/vendor specific interface descriptors
      usb_os_find_devices: Found 001 on 002
      error obtaining child information: Inappropriate ioctl for device
      usb_os_find_devices: Couldn't open /dev/bus/usb/001/003
      usb_os_find_devices: Found 001 on 001
      usb_find_devices is done
      The Polar USB interface was not found.  Boo hoo.

      If you turned your computer on with the USB device already
      plugged in, try unplugging it and then plugging it back in.
      If you're on a Linux system and you can't find anything in
      /proc/bus/usb, then you need to mount usbdevfs (as root):

      mount -t usbdevfs usbdevfs /proc/bus/usb

      Unplug the device and plug it back in, and it should show
      up under /proc/bus/usb somewhere.  If you're on Mac OS X,
      guess what?  You're (almost) totally out of luck.  You can't
      use the USB attachment on Mac OS X because Polar's USB device
      is broken in a way that Mac OS X won't forgive.  You have to
      use Polar's serial interface and connect it to a USB-Serial
      adapter such as the Keyspan USA-19QW.  See the following for
      details:

      doc/README.usb
      doc/README.osx

      s710d[6252]: failed to initialize, aborting

      micke@MyHP:~/Desktop/s710-0.21$ sudo mount -t usbdevfs usbdevfs /proc/bus/usb
      mount: okänd filsystemstyp "usbdevfs"

       
    • jede28
      jede28
      2007-08-25

      Sorry, can't help here.
      You should ask the question to the authors of s710 or create an issue, see http://code.google.com/p/s710

      Bye,
      Stefan