Reply
Thread Tools
Estel's Avatar
Posts: 4,903 | Thanked: 8,148 times | Joined on Mar 2011
#191
Could You check, if during "fake" disconnect (when You don't hear anything from bluetooth headset, but it's shown as connected), the other party hears You? i.e., call someone (or Yourself via second phone), and check if 2nd device "hears" what You speak to bluetooth headset microphone.

If yes, it would prove that (most likely) origins of both problems are same.

/Estel
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 2 Users Say Thank You to Estel For This Useful Post:
Posts: 90 | Thanked: 44 times | Joined on Aug 2010
#192
i investigated further:
- it only happens with my se mw600, the se vh410 (or a slightly older modell) works completely flawlessly - are they using different profiles? (btw listening to music is flawless)

- it happens with power-kernel v50 AND the standard omap of pr1.3

- it was better with kp v49; but i reflashed between using v49/50, so i cant really tell

- sometimes it starts stuttering and stops transferring audio/voice, sometimes it does it without stuttering; the headset stays connected for a few seconds and then disconnects

any idea what can cause the problem?
and i will try kp v49, wether it is kernel-related or just another program.

Last edited by sirpaul; 2012-05-02 at 20:43.
 
Posts: 90 | Thanked: 44 times | Joined on Aug 2010
#193
testing with kp v49 is done:
there were NO connection problems, phoning went fine

is there maybe something that kpv50 and stock have in common, what v49 does not?
 
Posts: 2,757 | Thanked: 10,840 times | Joined on Mar 2010 @ Sofia,Bulgaria
#194
Originally Posted by sirpaul View Post
testing with kp v49 is done:
there were NO connection problems, phoning went fine

is there maybe something that kpv50 and stock have in common, what v49 does not?
yeah, there is, all the kernels between 46 and 49 have a patch for BT mice, which have been applied to all devices. Unfortunately it was causing troubles to many BT headset devices, so in KP50 it was restricted to HID devices only. For all other types of devices KP50 behaves just like stock. Now it turns out that this patch is needed for BT devices too, but I just cannot imagine how we are supposed to recognize for which devices it should be applied and for which not . You may try bt-compat drivers, there is just nothing that could be done in KP AIUI

Last edited by freemangordon; 2012-05-02 at 20:59.
 

The Following 4 Users Say Thank You to freemangordon For This Useful Post:
Estel's Avatar
Posts: 4,903 | Thanked: 8,148 times | Joined on Mar 2011
#195
Maybe some ugly solution about sysfs entry, where few affected ones could write vendor PIDs? I mean, that mice path would be enabled for HID by default, and also for devices matching ID's from sysfs entry/config file...

Ugly, but should work and - as far as my miserably limited developing knowledge goes - it shouldn't be too troublesome to actually code.

/Estel

// Edit

Or even more simple solution - sysfs entry to turn on and off mice patch (still, used by default for HID). I doubt that anyone is using conflicting and non-conflicting headset at the same time (literally, both connected at the same time)?
__________________
N900's aluminum backcover / body replacement
-
N900's HDMI-Out
-
Camera cover MOD
-
Measure battery's real capacity on-device
-
TrueCrypt 7.1 | ereswap | bnf
-
Hardware's mods research is costly. To support my work, please consider donating. Thank You!
 

The Following 3 Users Say Thank You to Estel For This Useful Post:
Posts: 90 | Thanked: 44 times | Joined on Aug 2010
#196
is there any solution for the problem with the bluetooth-patch? because as soon as the kp v50 goes to extras-stable, there is no "easy" (no self-compiling, searching special packages etc.) way to install a kernel which can handle specific bt-headsets. (e.g. se mw600)

so:
is there the possibility to include an sysfs entry (as estel suggested) to turn on/off the patch? so that everybody using an headset which needs that patch isn't stuck with the v49.

thanks in advance!
 

The Following User Says Thank You to sirpaul For This Useful Post:
StefanL's Avatar
Posts: 295 | Thanked: 336 times | Joined on Aug 2010 @ This world :)
#197
Pali, can you check that your injection driver load script works for KP51, because I cannot get it to do anything other than tell me when I am not root.

I think there is a problem in your case statement, where you do all the loading / unloading etc. I have KP51, but do not have bash.

To check for injection driver being loaded I use the following
Code:
lsmod | grep wl12
Which just tells me that the standard drivers are loaded (wl12xx), no matter how often I run your script using sudo or as root.

Thanks

Edit: Attached script that works for me. Just rename and delete the .txt at the end of the filename.
Attached Files
File Type: txt packet-injection.sh.txt (2.1 KB, 214 views)
__________________
My phone evolution: Nokia 7610 (RIP), N82 (RIP), BB9000 (RIP), N900, BB9760 (RIP), N8, BB9900, N9 64GB
Working : Python Gorillas (Maemo5) Faircrack0.50 Update (Maemo5)
Not so much : WPScrack (Maemo5)

Last edited by StefanL; 2012-07-25 at 22:17. Reason: Added fixed script
 

The Following 2 Users Say Thank You to StefanL For This Useful Post:
Posts: 1,944 | Thanked: 7,476 times | Joined on May 2010
#198
Originally Posted by StefanL View Post
Pali, can you check that your injection driver load script works for KP51, because I cannot get it to do anything other than tell me when I am not root.
So did you tried it to run as root? Open X-Term and run:
sudo gainroot

Also, try to run:
id -u
 

The Following User Says Thank You to pali For This Useful Post:
StefanL's Avatar
Posts: 295 | Thanked: 336 times | Joined on Aug 2010 @ This world :)
#199
Originally Posted by pali View Post
So did you tried it to run as root? Open X-Term and run:
sudo gainroot

Also, try to run:
id -u
I ran it as root using sudo su, which gives me a result for id -u of zero , (ie. your script would complain if I am not root.). The script istelf is in /home/user with chmod 755 access rights and run using ./script.sh from that directory.
__________________
My phone evolution: Nokia 7610 (RIP), N82 (RIP), BB9000 (RIP), N900, BB9760 (RIP), N8, BB9900, N9 64GB
Working : Python Gorillas (Maemo5) Faircrack0.50 Update (Maemo5)
Not so much : WPScrack (Maemo5)
 

The Following User Says Thank You to StefanL For This Useful Post:
Posts: 462 | Thanked: 549 times | Joined on Sep 2008 @ Moscow
#200
@pali
A small packaging question
Is there a special reason for placing modules right in /opt (e.g /opt/packet-injection-modules/kernel_name_here) instead of e.g. /opt/lib/modules/kernel_name_here/packet-injection (which more suits standard packaging and placing rules)?
 

The Following User Says Thank You to 412b For This Useful Post:
Reply

Tags
development, kernel-power

Thread Tools

 
Forum Jump


All times are GMT. The time now is 04:14.