Hey there,

I've got a Verizon Palm Pre Plus, running 1.4.5 and UberKernel 1.4.5-92.

Last night I was doing some playing with usbpassthrough and though "hey, maybe I'll have the diag and gps open at the same time..."

According to other posts I've seen around the forum, when you plug the USB in - there should be two usb endpoints detected. In my case, I only ever saw one. (using a USB sniffer on windows confirmed this.)

So I started looking on the Pre's side.

mpt diag,gps (by default) tries to open /dev/ttygs1 to /dev/modemdiag and /dev/ttygs2 to /dev/gps.

running mpt diag,gps results in:
root@palm-webos-device /dev # ls -l ttyg*
crw-rw---- 1 root dialout 246, 0 Sep 21 11:29 ttygs0
crw-rw---- 1 root dialout 246, 1 Sep 21 11:29 ttygs1

This seemed odd to me -- for some reason ttygs2 isn't getting created and ttygs0 is.

/var/log/messages says:

Code:
2010-09-21T18:37:36.347381Z [39851] palm-webos-device daemon.debug passthrud[8688]: can't find /dev/ttygs2. Try /dev/ttyGS2                                                                                                                  
2010-09-21T18:37:36.347595Z [39851] palm-webos-device daemon.err passthrud[8688]: can't open /dev/ttyGS2 : No such file or directory



when I change mpt to:

Code:
        diag,gps)                                   
                ARGS="{                                     
                \"/dev/ttygs0\":{
                        \"joinPort\":\"/dev/modemdiag\",
                        \"isAcm\":false,            
                        \"allowKibitzer\":true    
                },                                           
                \"/dev/ttygs1\":{                         
                        \"joinPort\":\"/dev/gps\",                
                        \"isAcm\":false,                             
                        \"allowKibitzer\":false
                },
I also get:
root@palm-webos-device /dev # ls -l ttygs*
crw-rw---- 1 root dialout 246, 0 Sep 21 11:44 ttygs0
crw-rw---- 1 root dialout 246, 1 Sep 21 11:44 ttygs1

but then in /var/log/messages, is the kicker:

Code:
2010-09-21T18:44:48.328948Z [40284] palm-webos-device daemon.debug passthrud[8688]: mpipe: Added input port /dev/modemdiag with hdlc_strip=0 (1 total)                                                                                       
2010-09-21T18:44:48.329071Z [40284] palm-webos-device daemon.debug passthrud[8688]: mpipe: Added output port /dev/ttygs0 with hdlc_strip=0 (1 total)                                                                                         
2010-09-21T18:44:48.329193Z [40284] palm-webos-device daemon.err passthrud[8688]: can't open /dev/gps : No such file or directory
I guess the biggest question would be: does anyone know how to get /dev/gps to appear in the devs directory? (is there a kernel module missing?)

I looked briefly at the makedevs setup on the pre but couldn't find the device table that it uses, and I'm not sure it is called at boot, etc?

Thanks!