PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #51 (permalink)  
Old 02-24-2007, 12:46 AM
schettj's Avatar
morsus mihi
Offline
Pocket PC: iPhone 4
Carrier: AT&T
Location: Not from around these parts
 
Join Date: Oct 2006
Posts: 3,017
Reputation: 3616
schettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIPschettj is still contributing even after becoming a VIP
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
I've never seen PAN work - it must work somewhere

That UTStarCom aku3.x release is looking better all the time
Reply With Quote
  #52 (permalink)  
Old 02-24-2007, 11:41 AM
MrHappy's Avatar
PPCGeeks Regular
Offline
Pocket PC: 6800
Carrier: Sprint
Location: Sunny FL
 
Join Date: Jan 2007
Posts: 180
Reputation: 6
MrHappy is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via MSN to MrHappy Send a message via Yahoo to MrHappy
Quote:
Originally Posted by schettj
Ok, spent some time digging today.

The OS package in the rom kitchen is missing the BT PAN service. It's also missing the BT DUN service.

It would seem possible to get one or the other of those *back* into the kitchen, if they were ever in a working kitchen and/or rom.

I didn't download all the kitchens off xda, but if anyone did, we're looking for the OS package with a rgu (ie, registry) file containing either of these keys:

[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Se rvices\00001116-0000-1000-8000-00805f9b34fb]
@="PAN"

and /or

[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Se rvices\00001103-0000-1000-8000-00805F9B34FB]
@="Dialup Networking"

The @= may not be PAN above, but the ServiceID is right - we're looking for one with an actual "xxx.dll"=dword:000000 line following the serviceId string.

If anyone can find such a beast, let me know, as I think that there's the problem with both DUN and PAN, and we should be able to drop the missing stuff into the OS and build it


Edit: A Registry DUMP from a 3.5 machine (or 3.3 for that matter) with working PAN will do. That will identify the PAN dll, and we could possibly just copy it off that machine and roll it in.

Also, if anyone has AKU 2.x installed, can they check the above key in their ROM and let me know what the Dialup Networking says? Bonus points for getting the dll out of \Windows and sending it to me via PM
If someone has this it will be an asset to the unifited rom project... I could roll back to a 2.x build to get the BT DUN information, but it should be in one of the kitchens out there..
Reply With Quote
  #53 (permalink)  
Old 02-25-2007, 05:10 PM
ashortnacy's Avatar
Lurker
Offline
Pocket PC: XV6800
Carrier: Verizon
Location: DC
 
Join Date: Nov 2006
Posts: 15
Reputation: 0
ashortnacy is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Quote:
Originally Posted by MrHappy
Quote:
Originally Posted by schettj
Ok, spent some time digging today.

The OS package in the rom kitchen is missing the BT PAN service. It's also missing the BT DUN service.

It would seem possible to get one or the other of those *back* into the kitchen, if they were ever in a working kitchen and/or rom.

I didn't download all the kitchens off xda, but if anyone did, we're looking for the OS package with a rgu (ie, registry) file containing either of these keys:

[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Se rvices\00001116-0000-1000-8000-00805f9b34fb]
@="PAN"

and /or

[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\Se rvices\00001103-0000-1000-8000-00805F9B34FB]
@="Dialup Networking"

The @= may not be PAN above, but the ServiceID is right - we're looking for one with an actual "xxx.dll"=dword:000000 line following the serviceId string.

If anyone can find such a beast, let me know, as I think that there's the problem with both DUN and PAN, and we should be able to drop the missing stuff into the OS and build it ;)


Edit: A Registry DUMP from a 3.5 machine (or 3.3 for that matter) with working PAN will do. That will identify the PAN dll, and we could possibly just copy it off that machine and roll it in.

Also, if anyone has AKU 2.x installed, can they check the above key in their ROM and let me know what the Dialup Networking says? Bonus points for getting the dll out of \Windows and sending it to me via PM
If someone has this it will be an asset to the unifited rom project... I could roll back to a 2.x build to get the BT DUN information, but it should be in one of the kitchens out there..
I'm backporting for a few days to the Verizon 2x ROM. I'll dig and see what I can find for DUN but I think it's missing PAN altogether.
Reply With Quote
  #54 (permalink)  
Old 02-25-2007, 06:51 PM
evans's Avatar
PPCGeeks Regular
Offline
Location: Boston, MA
 
Join Date: Feb 2007
Posts: 54
Reputation: 0
evans is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to evans
grep'ing through the WM5 platform builder stuff....

I have yet to install the more recent platform updates, but the registry entries related to BTPAN are at the end of this post.

based on reading, btpan is implemented by btd.dll - which I cannot find on my device - I know it is there someplace.

BTPAN support is only present if the btd.dll has the export named "DriverEntry" (this is from the .def file for btd.dll).

If the btd.dll we have here has "DriverEntry" as an export, then I think it is "simply" a matter of getting the registry entries to "add" a BTPAN connection type.

If that export is not there, then we need a btd.dll with it (or I or someone needs to figure out the platform builder stuff enough to build a new one).


...tom



; @CESYSGEN IF BTD_BTPAN

;
; Global settings
; MediaDelay (DWORD) - period between inquiries, in ms. 2 min is the default, 30 sec minimum.
; InquiryLength (DWORD) - Bluetooth inquiry length, 1..255
; Authenticate (dw) - require authentication on connection. 0 or 1, default 1.
; Encrypt (dw) - require encryption on connection. 0 or 1, default 1.
;

[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\pa n]
"MediaDelay"=dword:493e0 ; 300000 = 5 min
"InquiryLength"=dword:8
"Authenticate"=dword:1
"Encrypt"=dword:1

[HKEY_LOCAL_MACHINE\Comm\BTPAN]
"DisplayName"="Bluetooth PAN Driver"
"Group"="NDIS"
"ImagePath"="btd.dll"

[HKEY_LOCAL_MACHINE\Comm\BTPAN\Linkage]
"Route"=multi_sz:"BTPAN1"

[HKEY_LOCAL_MACHINE\Comm\BTPAN1]
"DisplayName"="Bluetooth PAN Driver"
"Group"="NDIS"
"ImagePath"="btd.dll"

[HKEY_LOCAL_MACHINE\Comm\BTPAN1\Parms]
"BusNumber"=dword:0
"BusType"=dword:0
; "NetworkAddress"="00-50-F2-00-00-00"

;
; Pan parameters
;
; AdapterType (sz) - Type of adapter. "PANU", "GN" or "NAP".
; ServiceId (sz) - service GUID. Standard string representation of GUID, including {}.
; ConnectionTimeout (dw) - if configuration is not complete within this interval, connection
; is closed. In ms, from 1000 to 30000
; AcceptConnections (dw, PANU and GN) - allow acceptiong connections. 0 or 1, default 0.
; MaxConnections (dw, GN and NAP) - maximum simultaneous connections
; FriendlyName (sz) - friendly name of the service, used to build SDP record
; Description (sz) - description of the service, used to build SDP record
; SDP (bin) - SDP record blob. If absent but required, will be built.
;
IF PRJ_BTH_PAN_BRIDGE !
IF PRJ_BTH_PAN_ROUTER !
IF PRJ_BTH_PAN_GN !
"AdapterType"="PANU"
"ServiceId"="{00001115-0000-1000-8000-00805f9b34fb}" ; PANU
"FriendlyName"="Personal Ad-hoc Network"
"Description"="Bluetooth PANU service"
ENDIF
ENDIF
ENDIF
IF PRJ_BTH_PAN_BRIDGE
"AdapterType"="NAP"
"ServiceId"="{00001116-0000-1000-8000-00805f9b34fb}" ; NAP
"FriendlyName"="Network Access Point"
"Description"="Bluetooth NAP service"
ENDIF
IF PRJ_BTH_PAN_ROUTER
"AdapterType"="NAP"
"ServiceId"="{00001116-0000-1000-8000-00805f9b34fb}" ; NAP
"FriendlyName"="Network Access Point"
"Description"="Bluetooth NAP service"
ENDIF
IF PRJ_BTH_PAN_GN
"AdapterType"="GN"
"ServiceId"="{00001117-0000-1000-8000-00805f9b34fb}" ; GN
"FriendlyName"="Group Ad-hoc Network"
"Description"="Bluetooth GN service"
ENDIF
"ConnectionTimeout"=dword:7530 ; 30000
"AcceptConnections"=dword:1
"MaxConnections"=dword:10

;
; Non-zero-config connections are controlled by association list.
; For every network, a key like below is created
;
;[HKEY_LOCAL_MACHINE\Comm\BTPAN1\Associations\device 1]
; "Address"=hex:00,00,00,00,00,00
; "ServiceId"="{00001115-0000-1000-8000-00805f9b34fb}"
; "SSID"="FriendlyDevice"
; "Priority"=dword:1
;
;
; @CESYSGEN IF CE_MODULES_BTSVC || CE_MODULES_NETUI
[HKEY_LOCAL_MACHINE\Software\Microsoft\Bluetooth\De vice\pan]
"DefaultAuth"=dword:1
"DefaultEncrypt"=dword:1
"AdapterName"="BTPAN1"

; @CESYSGEN ENDIF


IF PRJ_BTH_PAN_BRIDGE
[HKEY_LOCAL_MACHINE\Comm\MBRIDGE]
"Bind"=multi_sz:"BTPAN1", "$(PRJ_NET_LAN1D)"

[HKEY_LOCAL_MACHINE\Comm\BTPAN1\Parms]
"ProtocolsToBindTo"=multi_sz:"MBRIDGE"

[HKEY_LOCAL_MACHINE\Comm\$(PRJ_NET_LAN1)\Parms]
"ProtocolsToBindTo"=multi_sz:"MBRIDGE"

ENDIF
; @CESYSGEN ENDIF
Reply With Quote
  #55 (permalink)  
Old 02-25-2007, 08:15 PM
sfaure03's Avatar
Regular 'Geeker
Offline
Location: dallas
 
Join Date: Jan 2007
Posts: 344
Reputation: 0
sfaure03 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
havent checked the directory entries yet, but often our issues are that the dll's might have conflicts... as said earlier, i dont use this, but I will build a stock rom in a few minutes with this module btd.dll protected from module conflicts. somebody want to test that?
__________________
shawn
Reply With Quote
  #56 (permalink)  
Old 02-25-2007, 09:47 PM
hodula1's Avatar
N00b
Offline
Pocket PC: Treo Pro
Carrier: Sprint
 
Join Date: Sep 2006
Posts: 29
Reputation: 0
hodula1 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
I would love to test.

Quote:
Originally Posted by sfaure03
havent checked the directory entries yet, but often our issues are that the dll's might have conflicts... as said earlier, i dont use this, but I will build a stock rom in a few minutes with this module btd.dll protected from module conflicts. somebody want to test that?
Reply With Quote
  #57 (permalink)  
Old 02-25-2007, 10:57 PM
ImCoKeMaN's Avatar
Retired Staff
Offline
Pocket PC: Touch PRO 2! Touch Pro, Touch, Mogul, 6700
Carrier: Sprint
 
Join Date: Dec 2006
Posts: 918
Reputation: 3178
ImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIPImCoKeMaN is still contributing even after becoming a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Ok i put a test up for the btpan issues that sfaure was working on. it's in my dir on the ftp check under "nk.nbf for btpanduntesting.zip"
Reply With Quote
  #58 (permalink)  
Old 02-25-2007, 11:36 PM
hodula1's Avatar
N00b
Offline
Pocket PC: Treo Pro
Carrier: Sprint
 
Join Date: Sep 2006
Posts: 29
Reputation: 0
hodula1 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Downloading now....fingers crossed.

Quote:
Originally Posted by ImCoKeMaN
Ok i put a test up for the btpan issues that sfaure was working on. it's in my dir on the ftp check under "nk.nbf for btpanduntesting.zip"
Reply With Quote
  #59 (permalink)  
Old 02-25-2007, 11:36 PM
evans's Avatar
PPCGeeks Regular
Offline
Location: Boston, MA
 
Join Date: Feb 2007
Posts: 54
Reputation: 0
evans is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Send a message via AIM to evans
i can see btd.dll now ... (maybe I just missed it before)

The btd.dll does not have "DriverEntry" exported, so I'm thinking the DLL does not have PAN at all - this is based on the btd.def file in the WCE5 platform builder (notice that "DriverEntry" is only exported if BTD_BTPAN is defined):


;
; Copyright (c) Microsoft Corporation. All rights reserved.
;
;
; This source code is licensed under Microsoft Shared Source License
; Version 1.0 for Windows CE.
; For a copy of the license visit http://go.microsoft.com/fwlink/?LinkId=3223.
;
LIBRARY BTD

EXPORTS
; @CESYSGEN IF BTD_SYS
BTD_Init
BTD_Deinit
BTD_Open
BTD_Close
BTD_Read
BTD_Write
BTD_Seek
BTD_IOControl
; BTD_PowerUp
; BTD_PowerDown
; @CESYSGEN ENDIF

; @CESYSGEN IF BTD_PORTEMU
COM_Init
COM_Deinit
COM_Open
COM_Close
COM_Read
COM_Write
COM_Seek
COM_IOControl
; COM_PowerUp
; COM_PowerDown

BSP_Init
BSP_Deinit
BSP_Open
BSP_Close
BSP_Read
BSP_Write
BSP_Seek
BSP_IOControl
; BSP_PowerUp
; BSP_PowerDown
; @CESYSGEN ENDIF

; @CESYSGEN IF BTD_TDI
Register
; @CESYSGEN ENDIF

; @CESYSGEN IF BTD_SDP
SdpRetrieveVariableSize
SdpRetrieveVariableSize
SdpRetrieveVariableSize
SdpIsStreamRecord
WriteVariableSizeToStream
WriteVariableSizeToStream
GetContainerHeaderSize
GetContainerHeaderSize
SdpAddAttributeToNodeHeader
Sdp_InitializeListHead
Sdp_RemoveHeadList
WriteLeafToStream
WriteLeafToStream
ComputeNodeListSize
ComputeNodeListSize
ValidateStream
ValidateStream
SdpWalkStream
SdpRetrieveUuid128
SdpRetrieveUint16
SdpRetrieveUint32
SdpRetrieveUint64
SdpRetrieveUint128
SdpByteSwapUuid128
SdpByteSwapUint128
SdpByteSwapUint64
SdpByteSwapUint32
SdpByteSwapUint16
SdpVerifySequenceOf
SdpFreeOrphanedNode
Sdp_InsertEntryList
Sdp_RemoveEntryList
Sdp_InsertTailList
SdpInitializeNodeHeader
SdpTreeFromStream
SdpFreeNode
Sdp_IsListEmpty
SdpCreateNode
SdpCreateNodeUrl
SdpCreateNodeString
SdpCreateNodeUUID16
SdpCreateNodeUUID32
SdpCreateNodeUUID128
SdpCreateNodeInt128
SdpCreateNodeInt64
SdpCreateNodeInt32
SdpCreateNodeInt16
SdpCreateNodeInt8
SdpCreateNodeUInt128
SdpCreateNodeUInt64
SdpCreateNodeUInt32
SdpCreateNodeUInt16
SdpCreateNodeUInt8
SdpCreateNodeBoolean
SdpCreateNodeNil
; @CESYSGEN ENDIF

; @CESYSGEN IF BTD_HCI
HCI_EstablishDeviceContext
HCI_CloseDeviceContext
; @CESYSGEN ENDIF

; @CESYSGEN IF BTD_L2CAP
L2CAP_EstablishDeviceContext
L2CAP_CloseDeviceContext
; @CESYSGEN ENDIF

; @CESYSGEN IF BTD_SDP
SDP_EstablishDeviceContext
SDP_CloseDeviceContext
; @CESYSGEN ENDIF

; @CESYSGEN IF BTD_RFCOMM
RFCOMM_EstablishDeviceContext
RFCOMM_CloseDeviceContext
; @CESYSGEN ENDIF

; @CESYSGEN IF BTD_BTPAN
DriverEntry
; @CESYSGEN ENDIF

DebugOut PRIVATE
DumpBuff PRIVATE

These are the exports of the btd.dll in that image:

AVCT_CloseDeviceContext
AVCT_EstablishDeviceContext
AVDTP_CloseDeviceContext
AVDTP_EstablishDeviceContext
BSP_Close
BSP_Deinit
BSP_Init
BSP_IOControl
BSP_Open
BSP_Read
BSP_Seek
BSP_Write
BTD_Close
BTD_Deinit
BTD_Init
BTD_IOControl
BTD_Open
BTD_Read
BTD_Seek
BTD_Write
COM_Close
COM_Deinit
COM_Init
COM_IOControl
COM_Open
COM_Read
COM_Seek
COM_Write
ComputeNodeListSize
DebugOut
DumpBuff
GetContainerHeaderSize
HCI_CloseDeviceContext
HCI_EstablishDeviceContext
L2CAP_CloseDeviceContext
L2CAP_EstablishDeviceContext
Register
RFCOMM_CloseDeviceContext
RFCOMM_EstablishDeviceContext
SDP_CloseDeviceContext
SDP_EstablishDeviceContext
Sdp_InitializeListHead
Sdp_InsertEntryList
Sdp_InsertTailList
Sdp_IsListEmpty
Sdp_RemoveEntryList
Sdp_RemoveHeadList
SdpAddAttributeToNodeHeader
SdpByteSwapUint128
SdpByteSwapUint16
SdpByteSwapUint32
SdpByteSwapUint64
SdpByteSwapUuid128
SdpCreateNode
SdpCreateNodeBoolean
SdpCreateNodeInt128
SdpCreateNodeInt16
SdpCreateNodeInt32
SdpCreateNodeInt64
SdpCreateNodeInt8
SdpCreateNodeNil
SdpCreateNodeString
SdpCreateNodeUInt128
SdpCreateNodeUInt16
SdpCreateNodeUInt32
SdpCreateNodeUInt64
SdpCreateNodeUInt8
SdpCreateNodeUrl
SdpCreateNodeUUID128
SdpCreateNodeUUID16
SdpCreateNodeUUID32
SdpFreeNode
SdpFreeOrphanedNode
SdpInitializeNodeHeader
SdpIsStreamRecord
SdpRetrieveUint128
SdpRetrieveUint16
SdpRetrieveUint32
SdpRetrieveUint64
SdpRetrieveUuid128
SdpRetrieveVariableSize
SdpTreeFromStream
SdpVerifySequenceOf
SdpWalkStream
ValidateStream
WriteLeafToStream
WriteVariableSizeToStream
Reply With Quote
  #60 (permalink)  
Old 02-25-2007, 11:56 PM
hodula1's Avatar
N00b
Offline
Pocket PC: Treo Pro
Carrier: Sprint
 
Join Date: Sep 2006
Posts: 29
Reputation: 0
hodula1 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Still no luck. Still not showing BT PAN and ICS also gives an error when you select Bluetooth PAN
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Apache


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 04:47 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com