1. backXslash's Avatar
    I've been playing with a GPS unit, and my first gen iPhone.

    When you plug in a working TTY level serial GPS unit to the correct pins on the iPhone dock connector, a device /dev/tty.iap appears. That is the GPS unit.

    So far, so good. The problem is, nothing can read it. By nothing, I mean stuff you buy out of the app store, or even the location services built in to the phone. However, if I knew where the iPhone 3G mounted up ITS GPS unit, I'd be able to create a symlink from where mine is, to where the OS wants it to be.

    My question is this: if someone who has jail broken their 3G iPhone, and can SSH into would help me out. All I need if for you to run the command "ls /dev" (without the quotes, obviously) and paste the output here for me.

    I'd be much obliged.


    *EDIT* *EDIT* *EDIT* *EDIT*

    OK, I've been at it all morning, and I've got revisions.

    /dev/tty.iap is the TTY level serial port built into the iPhone. It's always there, and isn't going anywhere. Also, it seems to always want to talk at a baud rate of 9600 (I think....)

    So, that all leads me to think that the iPhone 3G will have something.... *else* in /dev along with everything else. What ever it is that's different is probably the GPS unit.

    So, is anyone willing to help me out?
    Last edited by backXslash; 2008-08-11 at 04:37 PM. Reason: Automerged Doublepost
    2008-08-11 04:36 PM
  2. lbendlin's Avatar
    iPhone:/dev root# ls -l
    total 0
    crw-rw-rw- 1 root wheel 21, 0 Aug 22 22:23 aes_0
    crw------- 1 root wheel 23, 0 Aug 22 23:04 bpf0
    crw------- 1 root wheel 23, 1 Aug 22 23:04 bpf1
    crw------- 1 root wheel 23, 2 Aug 22 22:23 bpf2
    crw------- 1 root wheel 23, 3 Aug 22 22:23 bpf3
    c------r-- 1 root wheel 11, 0 Aug 22 22:23 btreset
    crw--w--w- 1 root wheel 0, 0 Aug 22 22:23 console
    crw-rw-rw- 1 root wheel 1, 5 Aug 22 22:44 cu.bluetooth
    crw-rw-rw- 1 root wheel 1, 7 Aug 22 22:23 cu.debug
    crw-rw-rw- 1 root wheel 1, 1 Aug 22 22:23 cu.iap
    crw-rw-rw- 1 root wheel 1, 3 Aug 22 22:23 cu.umts
    brw-r----- 1 root operator 14, 0 Aug 22 22:23 disk0
    brw-r----- 1 root operator 14, 1 Aug 22 22:23 disk0s1
    brw-r----- 1 root operator 14, 2 Aug 22 22:23 disk0s2
    crw------- 1 root wheel 9, 0 Aug 22 22:24 dlci.spi-baseband.0
    crw------- 1 root wheel 9, 1 Aug 22 23:04 dlci.spi-baseband.1
    crw------- 1 root wheel 9, 10 Aug 22 22:24 dlci.spi-baseband.10
    crw------- 1 root wheel 9, 11 Aug 22 22:24 dlci.spi-baseband.11
    crw------- 1 root wheel 9, 12 Aug 22 22:24 dlci.spi-baseband.12
    crw------- 1 root wheel 9, 13 Aug 22 22:24 dlci.spi-baseband.13
    crw------- 1 root wheel 9, 14 Aug 22 22:24 dlci.spi-baseband.14
    crw------- 1 root wheel 9, 15 Aug 22 22:24 dlci.spi-baseband.15
    crw------- 1 root wheel 9, 2 Aug 22 23:04 dlci.spi-baseband.2
    crw------- 1 root wheel 9, 3 Aug 22 22:44 dlci.spi-baseband.3
    crw------- 1 root wheel 9, 4 Aug 22 22:44 dlci.spi-baseband.4
    crw------- 1 root wheel 9, 5 Aug 22 22:44 dlci.spi-baseband.5
    crw------- 1 root wheel 9, 6 Aug 22 23:04 dlci.spi-baseband.6
    crw------- 1 root wheel 9, 7 Aug 22 22:44 dlci.spi-baseband.7
    crw------- 1 root wheel 9, 8 Aug 22 22:44 dlci.spi-baseband.8
    crw------- 1 root wheel 9, 9 Aug 22 22:24 dlci.spi-baseband.9
    crw------- 1 root wheel 6, 0 Aug 22 22:23 klog
    cr--r--r-- 1 root wheel 13, 4 Aug 22 22:23 mrvl868x0
    crw------- 1 root wheel 9, 0 Aug 22 22:24 mux.spi-baseband
    crw-rw-rw- 1 root wheel 3, 2 Aug 22 23:04 null
    crw-rw-rw- 1 root tty 15, 1 Aug 22 23:04 ptmx
    crw-rw-rw- 1 root wheel 5, 0 Aug 22 22:23 ptyp0
    crw-rw-rw- 1 root wheel 5, 1 Aug 22 22:23 ptyp1
    crw-rw-rw- 1 root wheel 5, 2 Aug 22 22:23 ptyp2
    crw-rw-rw- 1 root wheel 5, 3 Aug 22 22:23 ptyp3
    crw-rw-rw- 1 root wheel 5, 4 Aug 22 22:23 ptyp4
    crw-rw-rw- 1 root wheel 5, 5 Aug 22 22:23 ptyp5
    crw-rw-rw- 1 root wheel 5, 6 Aug 22 22:23 ptyp6
    crw-rw-rw- 1 root wheel 5, 7 Aug 22 22:23 ptyp7
    crw-rw-rw- 1 root wheel 8, 0 Aug 22 22:23 random
    crw-r----- 1 root operator 14, 0 Aug 22 22:23 rdisk0
    crw-r----- 1 root operator 14, 1 Aug 22 22:23 rdisk0s1
    crw-r----- 1 root operator 14, 2 Aug 22 22:23 rdisk0s2
    crw-rw-rw- 1 root wheel 20, 0 Aug 22 22:23 sha1_0
    crw-rw-rw- 1 root wheel 2, 0 Aug 22 22:23 tty
    crw-rw-rw- 1 root wheel 1, 4 Aug 22 22:23 tty.bluetooth
    crw-rw-rw- 1 root wheel 1, 6 Aug 22 22:23 tty.debug
    crw-rw-rw- 1 root wheel 1, 0 Aug 22 22:23 tty.iap
    crw-rw-rw- 1 root wheel 1, 2 Aug 22 22:23 tty.umts
    crw-rw-rw- 1 root wheel 4, 0 Aug 22 22:23 ttyp0
    crw-rw-rw- 1 root wheel 4, 1 Aug 22 22:23 ttyp1
    crw-rw-rw- 1 root wheel 4, 2 Aug 22 22:23 ttyp2
    crw-rw-rw- 1 root wheel 4, 3 Aug 22 22:23 ttyp3
    crw-rw-rw- 1 root wheel 4, 4 Aug 22 22:23 ttyp4
    crw-rw-rw- 1 root wheel 4, 5 Aug 22 22:23 ttyp5
    crw-rw-rw- 1 root wheel 4, 6 Aug 22 22:23 ttyp6
    crw-rw-rw- 1 root wheel 4, 7 Aug 22 22:23 ttyp7
    crw--w---- 1 root tty 16, 0 Aug 22 23:04 ttys000
    crw-rw-rw- 1 root wheel 10, 2 Aug 22 22:23 uart.bluetooth
    crw-rw-rw- 1 root wheel 10, 3 Aug 22 22:23 uart.debug
    crw-rw-rw- 1 root wheel 10, 0 Aug 22 22:23 uart.iap
    crw-rw-rw- 1 root wheel 10, 1 Aug 22 22:23 uart.umts
    crw-rw-rw- 1 root wheel 8, 1 Aug 22 22:23 urandom
    brw------- 1 root operator 1, 0 Aug 22 22:23 vn0
    brw------- 1 root operator 1, 1 Aug 22 22:23 vn1
    crw-rw-rw- 1 root wheel 3, 3 Aug 22 22:23 zero
    2008-08-23 05:05 AM
LINK TO POST COPIED TO CLIPBOARD