Hi,
I use MS eMbedded Visual C++ for create my applications.
I create aplications for iPaq and XDA.
I can't open communication port COM in XDA.
I use follow function:
lpszPortName = TEXT("COM1:"); // COM port = COM1
// open COM port
if (hPort == INVALID_HANDLE_VALUE)
{
hPort = CreateFile (lpszPortName, GENERIC_READ | GENERIC_WRITE,
0, NULL, OPEN_EXISTING,
0,
NULL);
}
Handle hPort has got enduringly value INVALID_HANDLE_VALUE.
If I use this function in iPaq so it execute all OK.
I've got close all aplications, witch work with COM port.
I use synchronization cable for transfer data from external equipment in XDA.
Where is my mistake? Please, help mi.
[email protected]
not sure if yu just cut/pasted your code incorrectly, but you should test if the handle is valid -after- you open it, not before.
specify
Next example is only cut my source code. I make test so after open COM port.
I use function GetLastError for get more information.
GetLastError return this result:
code 55:
text: The specified network resource or device is no longer available.
Where is problem?
If I use this cable for synchronization between XDA and my PC, all is OK.
What COM port is use during this connection?
[email protected]
I have also had this error code 55 problem. It means that the comm port is already open by something else. This should happen if the XDA was already sat in a serial cradle with ActiveSync running, BUT I have had it repeatadly happen for no reason.
Do Settings -> Connections -> Beam and UnTick 'Receive incoming beams'. I don't know why this causes the problem but it seems to clear it. Please tell me reason why this works.
Another 'cure' I have found is that if you use ActiveSync and serially sync the XDA, then remove it from the cradle. Then your code will work, but possibly only once.
When it does work - transmit a stream of characters (say a file about 500 bytes) out of the comm1 port, then it will work correctly and can be open/closed as expected.
Let me know how you get on, I would like to know a reason why this problem happens.
Cheers
Paul
Hello,
I recently upgraded my TyTN to the official WM6, and ran into an issue. Occasionally, I use another phone as external modem (mostly via bluetooth, but ir is also an option). When doing this, I need to tell the TyTN to dial the number *99#, but also to use an extra AT dial string (in my case: +cgdcont=1,"IP","internet.proximus.be" ).
On WM5, there was a tab called "general" in advanced modem settings where this dial string could be set (other tabs were tcp/ip and servers), other settings in this tab were baudrate and portsettings. On WM6, this general tab is gone...
How can I set this dialstring?
(is there a fix, or a workaround e.g. by entering it somewhere in the
registry or in a configuration file)
Thanks!
Jörg
I have no idea if this is what you are looking for but u can try http://www.vijay555.com/?Releases:VJPhoneTools
i am using a lot of vijay555's tools and they are ok.
Thanks for the link, but it doesn't help my problem...
Apparently, if the device used as modem runs Windows Mobile, the device using it doesn't need to set an init string, as I read here:
http://www.pocketpcmag.com/blogs/index.php?blog=3&p=1282&more=1&c=1&tb=1&pb=1#more1282
The device I'm using as modem is a Nokia 6260 (which runs Symbian 60, v2.x). Is there perhaps a similar workaround?
Jörg
You may reference this translated article:
http://64.233.179.104/translate_c?h...www.mobile01.com/print.php?f=222&t=361268&p=1
Basically, it says use a WM5 machine, configured all the init strings, export the rasman\devcfg registry key, and import it back to the WM6 machine.
Cool... Thanks!
When I find a WM5 device, I'll definately give it a try.
(hopefully, there quickly comes a fix for this...)
Jörg
I found on Meinessyys' blog that if the modem is a Windows Mobile device, the dial string can be circumvented by entering specific fields on the Windows Mobile device. As it turns out, this is also the case on Symbian systems. The setting there is in
Menu > Settings > Connection > GPRS
The access point (which should be put in the extra dial string) should be entered in this field. Dialing *99# will cause this entry to be used.
(my problem is solved thusly )
Jörg
HD2: HTC Desire 2.6.35 Port
This will serve as the active development thread for the HTC Desire Kernel 2.6.35 Port.
THIS IS A SENSE AND NONSENSE KERNEL.
Thank you for showing your interest in our development.
Please be respectful of others and please do not flood this thread with support questions if you are a normal user. Instead, as a user, if you encounter a bug please see if it is on the current bug list. If it is not, then please post a reply to this thread with your bug.
If you have a question about how to install this kernel or how to compile it, this thread is NOT FOR YOU.
Please also realize that this is using my personal git, which I use to develop things for AmeriCanAndroid. If you use my scripts to compile, you will get files which indicate they are for ACA usage....this is because THEY ARE. The whole community can use the kernels though. I just fine tune it best for packaging with ACA.
This code is based on previously established source code from myself and other kernel developers. It could be seen as a Frankenstein which will eventually contain the best of the community.
Credits: To be expanded. Cotulla, DFT, marcinus, hastarin, tytung, marc1706, copenhagen, warrenb213, rafpigna, arif-ali, dorimanx, nrg
Code:
[B][SIZE="4"][COLOR="Blue"][CENTER]SENSE CHANGELOG:[/CENTER][/COLOR][/SIZE][/B]
[B]v11/28/11[/B]
-First log in changelog. All standard stuff working it appears.
Code:
[B][SIZE="4"][COLOR="Blue"][CENTER]NONSENSE CHANGELOG:[/CENTER][/COLOR][/SIZE][/B]
[B]v02/08/12[/B]
Made RMNET into a module. See below for instructions
[B]v02/06/12[/B]
Added most common governors (Marc1706)
Add and enabled ondemandx governor
Default pm sleep mode to 1
Disabled SunRPC
Improve the performance of memcpy and memmove of the general version (bananacakes)
[B]v02/05/12[/B]
INCLUDED A NEW SPECIAL KERNEL INSTALLER based on the extended Dorimax CWM script. Downloads will always come INSIDE the installer now.
Users of non-ACA ROM's will need to provide their builds initrd and other files in the custom folders.
[B]v02/04/12||1942[/B]
regulator: tps65023: clear the client data in i2c (from 2.6.34)
drivers: mmc: msm: Change max frequency to 49152000
Updated Early Suspend and Wakelock
Revert "Disabled a few old video hacks (from the work of Marc1706)"
Changed a few things in the defconfig. Sleep faster
Made a bunch of mods, disabling what we don't need etc
Fixed Prox Sensor location permissions to 666
May have now allowed knock off chargers to fast charge
[B]v02/01/12||1001[/B]
Disabled RMNET - Fixes Data arrows for PPP. Will add back RMNET as module later
Disabled Old Video Hacks. (Marc1706)
Slight mod to the cpu table
Disabled Packet Filtering
regulator: tps65023: clear the client data in i2c (from 2.6.34)
Allow CPU alignment
Updated built-in Wakelock and Earlysuspend
drivers: mmc: msm: Change max frequency to 49152000
Added/Enabled SLQB
[B]v01/25/12||1409[/B]
Enabled AXI Screen Policy
Introduced 96mhz
Decreased AXI reg speed to 96mhz
Decreased AXI sleep speed to 61mhz
Disabled extraneous features from defconfig
Tweak SmartAssV2 for new clocks
Slight mods to QSD
Disable Write-Cache support
Add Jhash3
Increase DMA Consistent memory to 14mb
Fast Sleep
Switched to CFQ
Lowered hz to 300
Disabled CONFIG_MSM_SERIAL
iface_stat introduced. should allow monitoring of all network interfaces
Disable predecode repair hash for QSD
Slightest mod to msm_serial_hs
Introduced full BT battery drain fix
Enabled Wifi-N
[B]v01/21/12||17:08[/B]
Changed compile optimizations further and updated bcm4329 source
Changed to Tiny RCU
Turned back on some defconfig stuff
fix scaling_cur_freq (bananacakes)
Disabled the AXI Screen Policy **WILL REENABLE SOON
Enabled AXI Sleep Policy and HTC OffMode Alarm
Modded the compiled copy as per request of Cope.
Gonna try the remaining portion of the old tytung bt drain fix
Changed Lightsensor polling to 2.5 seconds
Enable preempt by default and make people steer away from voluntary
Disable unneeded parts in defconfig (marc1706)
Stop kernel from spamming dmesg log while it vibrates (marc1706)
Internet pass-through should be working now (marc1706)
Modded the opimization flags a bit
Removed all autogroup stuff
Specialize HTCLEO build for our cpu
Introduced the custom ACA undervolt! **NOT ENABLED, INTERNAL TESTING
[B]v01/09/12||23:53[/B]
Reverted back the eMMC, bma150 mutex and another change
[B]v01/09/12||17:38[/B]
Tweaked Battery. Set PM_FAST on wifi
Added Max_Control_Command_Size
Lowered Wifi Voltage
Merged headset driver from .35 cm-kernel -- HS is now working (marc1706)
Extended extended battery support further extended (marc1706)
Tweaked smartassV2 for Snapdragon (marc1706)
Fixed unique BT mac address
htcleo: audio: add proc file interface /proc/mic_level and fix mic gain (Credits to mdebeljuh and jdivic)
Tweaked Camera as per bananacakes and marc1706
Applied one Jan-Willem3 tweak
Slight change to WinCE clock structure as per Fikret
Fixed Call Recording
Tweaked CPU setup
Disabled the V4L2 interface for Camera.
PM: Wait for completion of the parent resume before resuming.
Put eMMC in sleep (cmd5) mode before suspend.
Bluetooth: Fix crash with quirky BT dongles with sound
ARM: Optimize swahb32() byteswap helper for v6 and above
Mutex the lock/unlock of BMA150 (WILL PROBABLY REMOVE)
sched: Add 'autogroup' scheduling feature
Patched Autogroup up
Added Autogroup to defconfig
[B]v11/30/11||15:58[/B]
-Whipped up the ACA BT Batt Drain Fix. **Only fixes persistent drain when BT off**
-Added limited extended battery support(2300mah) **To use, unmount battery, remount once dead**
-Overclocked Camera to 83mhz
-WiFi possible dieing averted
-Original 32 style acpu tables
-Added Auto White Balance
-Removed AXI Rate calls
-Adjusted to new min/max cpu table until further OC is stable
[B]v11/28/11||20:44[/B]
-First log in changelog. All standard stuff working it appears.
-Added ALSA
-Added proper Bluetooth for CM/AOSP builds using LPM
Currently known bugs:
SENSE:
- ?
AOSP/CM:
- ? Please check Bluetooth
What works:
- Most Everything
RMNET USERS:
- If you wish to utilize RMNET, it has been included as a module. If your ROMs data connection is messed up still, please insmod the module via one of the init.d files
Compiled Downloads:
All Kernels, including old, can be found HERE or below:
**SENSE**
11/28/2011: HERE
**NONSENSE**
02/08/2012: HERE
Source Code:
NEW SOURCE:
HERE
OLD SOURCE:
HERE
What ROM's use this kernel by default??
AmeriCanAndroid NAND
Hell yes! Can't wait till this is stable and everything's working correctly! Thank you all for the hard work
I know this is a Development thread but I could not resist posting here to thank you for this. Things can only get better from here...
However let me report that the minimum battery drain I have seen testing this kernel is 69 mA. Everything esle is as ably described above.
So.. what should we expect from this kernel ?
white-energy said:
So.. what should we expect from this kernel ?
Click to expand...
Click to collapse
Start from here http://kernelnewbies.org/Linux_2_6_35
Also read this thread http://forum.xda-developers.com/showthread.php?t=1049170
But in a nutshell I am told there are more greater benefits in respect of more specific ARM stuff. This will also represent another step in Htc's development evolution so will have lots of things done better like:-
Memory management is better
File systems have been updated
Newer vpn tunneling abilities
Better network path selection
Many more benefits......
warrenb213 said:
I updated the git repo.
I don't personally have time at the moment to have another ACA build compiled with this kernel tonight or tomorrow flashed, but I'll aim to install with this ASAP. Besides the problems noted, has the kernel been stable?
Click to expand...
Click to collapse
I didn't get any random reboots so I'd say more or less pretty stable.
Quadrant gave me a score of 1183, which seems to be normal on HyperDroid 2.1.0 and Linpack came up with scores around 36+ MFlops. Anyhow, can't think of any FCs except for the camcorder.
this need to be sticked
beta testing it
good work,i'm beta testing it now on my new ROM sense based...i made it a cLK,lets see...
marc1706 said:
I didn't get any random reboots so I'd say more or less pretty stable.
Quadrant gave me a score of 1183, which seems to be normal on HyperDroid 2.1.0 and Linpack came up with scores around 36+ MFlops. Anyhow, can't think of any FCs except for the camcorder.
Click to expand...
Click to collapse
Unless i am wrong, marc, isn't ACA kernel based on evo kernel (markinus's port) + cm-kernel ?
no luck with clk....testing now on MAGLDR
Rick_1995 said:
Unless i am wrong, marc, isn't ACA kernel based on evo kernel (markinus's port) + cm-kernel ?
Click to expand...
Click to collapse
Some files from markinus' port + the newly released HTC desire 2.6.35 GB kernel.
That's wassup feel free to join in.
Sent from my HTC HD2 using XDA App
warrenb213 said:
Some files from markinus' port + the newly released HTC desire 2.6.35 GB kernel.
That's wassup feel free to join in.
Sent from my HTC HD2 using XDA App
Click to expand...
Click to collapse
Yeah, just did the setup of my gitorious git acc.
will pm you the details and start committing
porting seem very quick
Currently known bugs:
- no Bluetooth - Fix it using the rfkill, board in mach-msm drivers/serial/bcm n serial etc , similar to what trilu n I did
- no Phone connection (doesn't even ask for a PIN)
- Camera doesn't work and just shows a white screen instead of the real picture, although I was able to make a picture - Change the DSP, Take the s5k3e2fx driver from CM repo and edit the config to specify the camera model
- Camcorder doesn't work at all - Change the DSP version
I didnt look at the source yet but this is all i can think of a good start point for fixing them, For phone i dont know
Maybe phone is not working because of missing AMSS 1.5.50?
Sorry for the non-Dev post, but wanted to report something on BT that I see in almost all current kernels (2.6.32) on which BT works (Android v2.3.4+), Logcat:
Code:
21:51:18.541 Debug BluetoothService 183 Bluetooth state 10 -> 11
21:51:18.541 Verbose BluetoothEventRedirector 1077 Received android.bluetooth.adapter.action.STATE_CHANGED
21:51:18.541 Info bluedroid 183 Starting hciattach daemon
21:51:18.541 Debug SettingsAppWidgetProvider 1077 Widget is from a previous version... Let's update
21:51:18.541 Debug SettingsAppWidgetProvider 1077 No instances yet... Wait for at least one instance to exist before adding global settings
21:51:20.612 Info bluedroid 183 Starting bluetoothd deamon
21:51:23.670 Info BluetoothEventLoop.cpp 183 agent_event_filter: Received method org.bluez.Agent:Release
21:51:23.671 Error BluetoothA2dpService.cpp 183 onConnectSinkResult: D-Bus error: org.freedesktop.DBus.Error.NoReply (Message did not receive a reply (timeout by message bus))
21:51:23.671 Error BluetoothService 183 getAddressFromObjectPath: AdapterObjectPath:/org/bluez/1269/hci0/dev_ is not a prefix of deviceObjectPath:/org/bluez/1219/hci0/dev_00_1E_3D_1F_3A_E5bluetoothd crashed ?
21:51:23.779 Debug BluetoothService 183 found 3 bonded devices
21:51:23.779 Debug BluetoothService 183 Bluetooth state 11 -> 12
21:51:23.779 Verbose BluetoothEventRedirector 1077 Received android.bluetooth.adapter.action.STATE_CHANGED
21:51:23.887 Debug AudioFlinger 68 setParameters(): io 0, keyvalue bluetooth_enabled=true, tid 68, calling tid 183
21:51:23.887 Debug AudioFlinger 68 setParameters(): io 0, keyvalue A2dpSuspended=false, tid 142, calling tid 183
21:51:23.887 Info pand 1274 Bluetooth PAN daemon version 4.69
21:51:23.887 Debug BT HSHFP 289 Saved priority 00:0C:55:40:0C:62 = 100
21:51:23.887 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:23.887 Debug BT HSHFP 289 Saved priority 00:0C:55:40:0C:62 = 1000
21:51:23.887 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:23.887 Info bluetooth_ScoSocket.cpp 289 Listening SCO socket...
21:51:23.996 Debug SettingsAppWidgetProvider 1077 Widget is from a previous version... Let's update
21:51:23.996 Debug SettingsAppWidgetProvider 1077 No instances yet... Wait for at least one instance to exist before adding global settings
21:51:26.838 Debug BluetoothService 183 Registering hfag record
21:51:26.838 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:26.838 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:27.385 Debug BluetoothService 183 Registering hsag record
21:51:27.385 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Device:PropertyChanged from /org/bluez/1269/hci0/dev_00_0C_55_40_0C_62
21:51:27.385 Debug BluetoothService 183 setRemoteDeviceProperty addr = 00:0C:55:40:0C:62 name = Connected value = true
21:51:27.385 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:27.818 Debug BluetoothService 183 Registering opush record
21:51:27.818 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:27.818 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:27.929 Info BluetoothAudioGateway.cpp 289 Accepting HF connection.
21:51:27.929 Info BluetoothAudioGateway.cpp 289 Successful accept() on AG socket 78: new socket 83, address 00:0C:55:40:0C:62, RFCOMM channel 10
21:51:27.929 Info BT Audio Gateway 289 connect notification!
21:51:27.929 Info BT Audio Gateway 289 Incoming connection from handsfree 00:0C:55:40:0C:62 on channel 10
21:51:27.929 Info BT HSHFP 289 Incoming rfcomm (handsfree) connection from 00:0C:55:40:0C:62on channel 10
21:51:27.929 Info BluetoothDeviceProfileState 183 Entering IncomingHandsfree state with: 2
21:51:27.929 Error BluetoothDeviceProfileState 183 Processing command:2
21:51:28.037 Info BluetoothDeviceProfileState 183 handleIncomingConnection:2:true
21:51:28.037 Debug BT HSHFP 289 Device: 00:0C:55:40:0C:62 Headset state0 -> 1, result = 1
21:51:28.037 Verbose BluetoothEventRedirector 1077 Received android.bluetooth.headset.action.STATE_CHANGED
21:51:28.037 Debug CachedBluetoothDevice 1077 onProfileStateChanged: profile HEADSET newProfileState 1
21:51:28.037 Info BT HSHFP 289 initializeNativeDataNative: ALREADY CONNECTED!
21:51:28.037 Debug BT HSHFP 289 Rfcomm connected
21:51:28.037 Debug BT HSHFP 289 Device: 00:0C:55:40:0C:62 Headset state1 -> 2, result = 1
21:51:28.037 Debug BT HSHFP 289 Saved priority 00:0C:55:40:0C:62 = 1000
21:51:28.037 Verbose BluetoothEventRedirector 1077 Received android.bluetooth.headset.action.STATE_CHANGED
21:51:28.037 Debug CachedBluetoothDevice 1077 onProfileStateChanged: profile HEADSET newProfileState 2
21:51:28.037 Info BluetoothDeviceProfileState 183 Entering ACL Connected state with: 102
21:51:28.037 Debug AudioFlinger 68 setParameters(): io 0, keyvalue bt_headset_name=Motorola H500;bt_headset_nrec=on, tid 68, calling tid 289
21:51:28.038 Debug AudioHardwareQSD 68 Using default acoustic parameters (Motorola H500 not in acoustic database)
21:51:28.038 Info AudioHardwareQSD 68 Routing audio to Speakerphone
21:51:28.364 Debug BluetoothService 183 Registering pbap record
21:51:28.364 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.Adapter:PropertyChanged from /org/bluez/1269/hci0
21:51:31.861 Info BluetoothDeviceProfileState 183 A2dp:Auto Connect Profiles
21:51:31.861 Debug BluetoothA2dpService 183 connectSink(00:1E:3D:1F:3A:E5)
21:51:31.861 Info BluetoothProfileState 183 Message:Entering PendingCommandState State
21:51:31.861 Info BluetoothDeviceProfileState 183 Entering OutgoingA2dp state with: 3
21:51:31.861 Error BluetoothDeviceProfileState 183 Processing command:3
21:51:31.861 Verbose BluetoothEventRedirector 1077 Received android.bluetooth.a2dp.action.SINK_STATE_CHANGED
21:51:31.861 Debug CachedBluetoothDevice 1077 onProfileStateChanged: profile A2DP newProfileState 1
21:51:31.861 Debug BluetoothA2dpService 183 A2DP state : device: 00:1E:3D:1F:3A:E5 State:0->1
21:51:31.861 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/1269/hci0/dev_00_1E_3D_1F_3A_E5
21:51:33.061 Info BtOppRfcommListener 1124 Accept thread started on channel 12
21:51:36.994 Error BluetoothEventLoop.cpp 183 event_filter: Received signal org.bluez.AudioSink:PropertyChanged from /org/bluez/1269/hci0/dev_00_1E_3D_1F_3A_E5
21:51:36.994 Info BluetoothProfileState 183 Message:Entering Stable State
21:51:36.994 Verbose BluetoothEventRedirector 1077 Received android.bluetooth.a2dp.action.SINK_STATE_CHANGED
21:51:36.994 Info BluetoothEventRedirector 1077 Failed to connect BT A2DP
21:51:36.994 Debug CachedBluetoothDevice 1077 onProfileStateChanged: profile A2DP newProfileState 0
21:51:36.994 Debug BluetoothA2dpService 183 A2DP state : device: 00:1E:3D:1F:3A:E5 State:1->0
21:51:36.994 Info BluetoothDeviceProfileState 183 Entering ACL Connected state with: 102
21:51:39.721 Error BluetoothA2dpService.cpp 183 onConnectSinkResult: D-Bus error: org.bluez.Error.Failed (Stream setup failed)
In spite of all these errors, BT works fine - except that if I issue about 3 BT Voice Commands, the phone loses all sounds. And if I do not use BT Voice Commands, but still use BT for receiving and making calls, the losing sound is gradual, and takes about 2 days of uptime. Logcat when sound is lost:
Code:
20:36:58.178 Error AudioHardwareQSD 69 Cannot start pcm playback
20:50:20.093 Error AudioHardwareQSD 69 Cannot start voice
20:50:35.054 Error AudioHardwareQSD 69 Error starting record
Not sure if the symptom is related to the errors in anyway, but fixes involving libaudio.so have not be successful so far (thread)
Can the BT errors be fixed while compiling the new kernel please? Or, in other words, can a solution for the BT Voice Commands/ gradually losing sound issues be fixed with kernel drivers? I am ready to test anytime!
Kefir.net said:
Maybe phone is not working because of missing AMSS 1.5.50?
Click to expand...
Click to collapse
May very well be it.
If you wanna mod that in that'd be great, I'm focused hard on a few classes and work annnnd the gf so my time is very minimal.
warrenb213 said:
May very well be it.
If you wanna mod that in that'd be great, I'm focused hard on a few classes and work annnnd the gf so my time is very minimal.
Click to expand...
Click to collapse
I'm not much experienced for it, I tried to port it, according our .32 sources, but still no succes
It will be great to find information about how AMSS part was done in first android-msm-2.6.32 and Evo's kernel..
Who made it?..Is there anywhere any discussions from that time?
Kefir.net said:
I'm not much experienced for it, I tried to port it, according our .32 sources, but still no succes
It will be great to find information about how AMSS part was done in first android-msm-2.6.32 and Evo's kernel..
Who made it?..Is there anywhere any discussions from that time?
Click to expand...
Click to collapse
your best bet would be to go on irc and asking Cotulla.
Kefir.net said:
I'm not much experienced for it, I tried to port it, according our .32 sources, but still no succes
It will be great to find information about how AMSS part was done in first android-msm-2.6.32 and Evo's kernel..
Who made it?..Is there anywhere any discussions from that time?
Click to expand...
Click to collapse
Which files you been working with? You've gone further into research of it than I. If I knew the files u were porting it'd be easier for me to look into it when I have time.
Sent from my HTC HD2 using XDA App
Hi,
I own this belkin bluetooth car kit ( http://www.amazon.com/Belkin-Blueto...04CLYJ2I/ref=cm_cd_t_pb_t/176-8854606-5137354 ), but since I bought it (5 months ago) I can't use it to caling as I can't control its volume. Even if I set my amplifier to the minimum, I have a very loud in-call volume.
Already tried with many roms (2.2; 2.3; 4.0.3 on Milestone) and (2.3;4.0.4 aokp based on Mytouch 4g). Using it with an iphone 3g I could control its volume.
I was wondering it has anything to audio protocol or profile.
I found this product specs https://www.bluetooth.org/tpg/QLI_viewQDL.cfm?qid=17157 and maybe it helps.
Today, I'm using the config below on my /system/etc/bluetooth/audio.conf
Thanks in advance for any help!
@edit
I forgot to mention that I can control media volume normally. It just happens to in-call volume which is stuck on a very loud one, not changeable.
# Configuration file for the audio service
# This section contains options which are not specific to any
# particular interface
# NOTE: Enable=Sink means that bluetoothd exposes Sink interface for remote
# devices, and the local device is a Source
[General]
Enable=Sink,Control
Disable=Headset,Gateway,Source
# Switch to master role for incoming connections (defaults to true)
Master=false
# If we want to disable support for specific services
# Defaults to supporting all implemented services
#Disable=Control,Source
# SCO routing. Either PCM or HCI (in which case audio is routed to/from ALSA)
# Defaults to HCI
#SCORouting=PCM
# Automatically connect both A2DP and HFP/HSP profiles for incoming
# connections. Some headsets that support both profiles will only connect the
# other one automatically so the default setting of true is usually a good
# idea.
#AutoConnect=true
# Headset interface specific options (i.e. options which affect how the audio
# service interacts with remote headset devices)
#[Headset]
# Set to true to support HFP (in addition to HSP only which is the default)
# Defaults to false
HFP=true
# Maximum number of connected HSP/HFP devices per adapter. Defaults to 1
#MaxConnections=1
# Set to true to enable use of fast connectable mode (faster page scanning)
# for HFP when incomming call starts. Default settings are restored after
# call is answered or rejected. Page scan interval is much shorter and page
# scan type changed to interlaced. Such allows faster connection initiated
# by a headset.
FastConnectable=true
# Just an example of potential config options for the other interfaces
[A2DP]
SBCSources=1
MPEG12Sources=0
[AVRCP]
InputDeviceName=AVRCP
Hi, I´ve got the same rpoblem. Have you found an answer? Thanks.
I solved my issue buying this:
http://www.ebay.com/itm/3-5mm-M-F-1...er_MP3_Player_Accessories&hash=item2ec3a13dff
Hi, I'm making a custom interface for my HU Erisin ES8846B, and I'm trying to get the current song playing from the app. The HU is not connected to the internet so i cannot use the Android SDK, since it needs an internet connection. Basically I make a BroadcastReciever and listen for this message : "com.spotify.music.playbackstatechanged". I tried it on a Lenovo P1 Vibe, and a Samsung Galaxy 8 and the Spotify app does broadcast this message. But when I try it on my unit the text field stays empty. Any advice on how to bypass this problem ?
Code:
IntentFilter iF = new IntentFilter();
iF.addAction("com.spotify.music.playbackstatechanged");
private BroadcastReceiver mReceiver = new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent intent) {
String artistName = intent.getStringExtra("artist");
String trackName = intent.getStringExtra("track");
//do something with information
}