Pagina 1 di 1

collegare GPS seriale a Kismet

Inviato: giovedì 30 aprile 2009, 15:26
da MrOrange
Sto cercando di far leggere il mio ricevitore GPS Holux GM270 al demone gpsd per acquisire dati su Kismet ma ho qualche problema a far capire a gpsd dov'è il ricevitore GPS.
Holux GM270 è una scheda CF e sto usando un adattatore CF/PCMCIA per collegarlo al mio Dell Latitude.
Non ne sono completamente sicuro e chiedo conferma ma l'interfaccia PCMCIA dovrebbe essere seriale e tramite lshw e lspci mi sembra di capire che è la ttyS3. Vi riporto output dei comandi per conferma.

lshw

Codice: Seleziona tutto

# lshw
        *-pci:3
             description: PCI bridge
             product: 82801 Mobile PCI Bridge
             vendor: Intel Corporation
             physical id: 1e
             bus info: pci@0000:00:1e.0
             version: f2
             width: 32 bits
             clock: 33MHz
             capabilities: pci bus_master cap_list
           *-pcmcia
                description: CardBus bridge
                product: Cardbus bridge
                vendor: O2 Micro, Inc.
                physical id: 1
                bus info: pci@0000:03:01.0
                version: 21
                width: 32 bits
                clock: 33MHz
                capabilities: pcmcia bus_master cap_list
                configuration: driver=yenta_cardbus latency=176 maxlatency=5 mingnt=128 module=yenta_socket
lspci

Codice: Seleziona tutto

# lspci -vvv
03:01.0 CardBus bridge: O2 Micro, Inc. Cardbus bridge (rev 21)
    Subsystem: Dell Device 01f9
    Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping+ SERR- FastB2B- DisINTx-
    Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=slow >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
    Latency: 168
    Interrupt: pin A routed to IRQ 19
    Region 0: Memory at fe600000 (32-bit, non-prefetchable) [size=4K]
    Bus: primary=03, secondary=04, subordinate=07, sec-latency=176
    Memory window 0: 88000000-8bfff000 (prefetchable)
    Memory window 1: 8c000000-8ffff000
    I/O window 0: 00002000-000020ff
    I/O window 1: 00002400-000024ff
    BridgeCtl: Parity- SERR- ISA- VGA- MAbort- >Reset- 16bInt+ PostWrite+
    16-bit legacy interface ports at 0001
    Kernel driver in use: yenta_cardbus
    Kernel modules: yenta_socket
Dopo ciò ho capito che devo semplicemente dire a gpsd dove deve cercare il GPS e lasciando la porta di default do il comando:
# gpsd /dev/ttyS3

avvio Kismet ma nessun GPS viene rilevato
stessa cosa per GpsDrive v2.10

avete suggerimenti?