Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Development] kernel-power

    Reply
    Page 20 of 23 | Prev | 10   18     19   20   21     22   | Next | Last
    Estel | # 191 | 2012-04-20, 15:55 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 2 Users Say Thank You to Estel For This Useful Post:
    sirpaul, Sourav.dubey

     
    sirpaul | # 192 | 2012-04-26, 16:52 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by sirpaul; 2012-05-02 at 20:43.

     
    sirpaul | # 193 | 2012-05-02, 20:42 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    freemangordon | # 194 | 2012-05-02, 20:51 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by freemangordon; 2012-05-02 at 20:59.
    The Following 4 Users Say Thank You to freemangordon For This Useful Post:
    Estel, fw190, nkirk, sirpaul

     
    Estel | # 195 | 2012-05-02, 23:09 | Report

    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)?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following 3 Users Say Thank You to Estel For This Useful Post:
    maacruz, nkirk, sirpaul

     
    sirpaul | # 196 | 2012-06-23, 09:11 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to sirpaul For This Useful Post:
    Estel

     
    StefanL | # 197 | 2012-07-25, 18:12 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: txt packet-injection.sh.txt (2.1 KB, 304 views)

    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:
    Estel, samipower

     
    pali | # 198 | 2012-07-25, 18:17 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to pali For This Useful Post:
    StefanL

     
    StefanL | # 199 | 2012-07-25, 18:37 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to StefanL For This Useful Post:
    Estel

     
    412b | # 200 | 2012-07-25, 18:47 | Report

    @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)?

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to 412b For This Useful Post:
    Estel

     
    Page 20 of 23 | Prev | 10   18     19   20   21     22   | Next | Last
vBulletin® Version 3.8.8
Normal Logout