připojení GPS loggeru

jaroslav noví oldcpu na centrum.cz
Čtvrtek Srpen 10 20:59:44 CEST 2017


Ahoj všem,
Nedávno jsem se dostal k zařízení firmy Canmore GF-750F. Má to být GPS logger, který pomocí Bluetooth umí komunikovat s telefonama a tak. Jde to také připojit přes USB k počítači. Pdle dokumentace se to má chovat při připojení přes USB jako virtuální sériový port . Což se asi týká Win světa.
Po připojení k linuxu mi povel lsusb napsal:
 
     Bus 003 Device 012: ID 0483:5740 STMicroelectronics STM32F407
 
Moc mi to nepomohlo, zkusil jsem lsusb -v:
 
Bus 003 Device 012: ID 0483:5740 STMicroelectronics STM32F407
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            2 Communications
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0483 STMicroelectronics
  idProduct          0x5740 STM32F407
  bcdDevice            2.00
  iManufacturer           1 STMicroelectronics
  iProduct                2 STM32 Virtual COM Port  
  iSerial                 3 087A35593435
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           67
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0xc0
      Self Powered
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         2 Communications
      bInterfaceSubClass      2 Abstract (modem)
      bInterfaceProtocol      1 AT-commands (v.25ter)
      iInterface              0 
      CDC Header:
        bcdCDC               1.10
      CDC Call Management:
        bmCapabilities       0x00
        bDataInterface          1
      CDC ACM:
        bmCapabilities       0x02
          line coding and serial state
      CDC Union:
        bMasterInterface        0
        bSlaveInterface         1 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval             255
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass        10 CDC Data
      bInterfaceSubClass      0 
      bInterfaceProtocol      0 
      iInterface              0 
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x03  EP 3 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               0
can't get device qualifier: Resource temporarily unavailable
can't get debug descriptor: Resource temporarily unavailable
Device Status:     0x0001
  Self Powered
 
To už toho řeko o něco víc. Mě to ale nestačí, asi mi něco uniká, protože se mi nepovedlo tohle rozumně rozběhat v linuxu.
Má se to udajně fungovat na ovladače PL2303, ale nefunguje, netváří. Tyhle USB-serial konvertory s čipem PL2303 běžně používám, v jádře mám podporu zapnutou, jsou nalezeny jako /dev/ttyUSBx.
Tohle ale nic.
 
Nemá někdo tohle udělátko doma a byl úspěšný ? Mám na mysli, co pozapínat v jádře, aby to fungovalo?
Díky moc za pomoc
 
OC
 
 


Další informace o konferenci Linux