Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    how to get bluetooth pc105 keyboards to work with N900

    Reply
    Page 2 of 36 | Prev |   1   2   3     4   12 | Next | Last
    qobi | # 11 | 2009-12-27, 23:56 | Report

    To help figure out what is going on, here are two commands (run as user in an X terminal) and their output (exact) on my N900. I have a US N900 that I purchased from amazon.com. And I flashed it with
    RX-51_2009SE_1.2009.42-11.002_PR_COMBINED_002_ARM.bin

    Edit | Forward | Quote | Quick Reply | Thanks
    Attached Files
    File Type: txt print.txt (311 Bytes, 311 views)
    File Type: txt device.txt (649 Bytes, 304 views)

     
    mlpmail | # 12 | 2009-12-28, 00:24 | Report

    The output on my device matches what is in your two files perfectly, except that on the device.txt mine ends with:

    geometry: pc(pc105)
    Error loading new keyboard description
    ~$

    Mine has never been reflashed

    Edit | Forward | Quote | Quick Reply | Thanks

     
    VDVsx | # 13 | 2009-12-28, 14:57 | Report

    The output here also match yours, no error, but the keyboard has exactly the same behavior as before, only the letters work.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qobi | # 14 | 2009-12-28, 18:49 | Report

    Originally Posted by VDVsx View Post
    The output here also match yours, no error, but the keyboard has exactly the same behavior as before, only the letters work.
    After the setxkbmap command, type a key on the internal keyboard then type a key on the bluetooth keyboard. I don't know why this is necessary but I found on mine it is both necessary and sufficient.

    Also I found that sometimes (but not always) after doing this, the Enter key on the bluetooth keyboard has no effect in an X terminal even though it does have effect in an Emacs window. But Ctrl-J and Ctrl-M can generate Enter. I don't know why this sometimes (but not always) happens.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    filologen | # 15 | 2009-12-28, 19:00 | Report

    Originally Posted by mlpmail View Post
    The output on my device matches what is in your two files perfectly, except that on the device.txt mine ends with:

    geometry: pc(pc105)
    Error loading new keyboard description
    ~$

    Mine has never been reflashed
    Same for me...

    Edit | Forward | Quote | Quick Reply | Thanks

     
    VDVsx | # 16 | 2009-12-28, 19:03 | Report

    Originally Posted by qobi View Post
    After the setxkbmap command, type a key on the internal keyboard then type a key on the bluetooth keyboard. I don't know why this is necessary but I found on mine it is both necessary and sufficient.
    I did that several times, no luck

    Originally Posted by qobi View Post
    Also I found that sometimes (but not always) after doing this, the Enter key on the bluetooth keyboard has no effect in an X terminal even though it does have effect in an Emacs window. But Ctrl-J and Ctrl-M can generate Enter. I don't know why this sometimes (but not always) happens.
    Enter+letters+backspace+space+arrows work without problems so far (no need to modify anything), swift, numbers, special punctuation,... doesn't work.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qobi | # 17 | 2009-12-28, 22:26 | Report

    Originally Posted by qobi View Post
    Also I found that sometimes (but not always) after doing this, the Enter key on the bluetooth keyboard has no effect in an X terminal even though it does have effect in an Emacs window. But Ctrl-J and Ctrl-M can generate Enter. I don't know why this sometimes (but not always) happens.
    It appears that this correlates with whether the internal keyboard slider is open or closed. If it is closed then the Enter key on the bluetooth keyboard doesn't work in an X terminal (but does in an X windows Emacs). If it is open then the Enter key on the bluetooth keyboard does work. I don't know why.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    poser | # 18 | 2010-01-05, 20:40 | Report

    Well,

    Everything went smoothly, until I got to my second xkbcomp check...
    Code:
    % xkbcomp -i 4 :0.0 /tmp/post-setxkbmap.txt
    ...at which point it became apparent that my setxkbmap command is not actually changing anything.

    The two output files are identical (anybody know how to get 'diff' on the n900? I had to transfer the files to my laptop), and the keyboard behavior has not changed.

    Ran as 'user', $DEVICE bound to :0.0, bluetooth device ID 4, No errors, verbose (-v 10 -print) output identical to qobi's, etc..

    Thoughts?
    -poser

    Edit | Forward | Quote | Quick Reply | Thanks

     
    poser | # 19 | 2010-01-11, 01:16 | Report

    OK,

    I had left the "-print" argument in my script, so setxkbmap wasn't actually doing anything. Now I get the same error ("Error loading new keyboard description") as everyone else (other than qobi).

    Does anybody know the point of the blank "-I" (as in "eye") argument? Does it rely on any assumptions about the present working directory from which the command is executed?

    Variations on the setxkbmap command get me variations on the error...but nothing that makes me happy.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    qobi | # 20 | 2010-01-11, 04:48 | Report

    Originally Posted by poser View Post
    Does anybody know the point of the blank "-I" (as in "eye") argument? Does it rely on any assumptions about the present working directory from which the command is executed?
    It only works for me if I specify two -I, the first one blank. My guess is that the first blank -I clears the default path. The man page for setxkbmap (on Debian Lenny) doesn't mention anything about this:

    -I directory
    Adds a directory to the list of directories to be used to
    search for specified layout or rules files.

    But the man page for xkbcomp (on Debian Lenny) says:

    -Idir Specifies top-level directories to be searched for files
    included by the keymap description. After all directories
    specified by -I options have been searched, the current direc-
    tory and finally, the default xkb directory (usually
    /usr/lib/X11/xkb) will be searched.

    To prevent the current and default directories from being
    searched, use the -I option alone (i.e. without a directory),
    before any -I options that specify the directories you do want
    searched.

    Originally Posted by poser View Post
    Variations on the setxkbmap command get me variations on the error...but nothing that makes me happy.
    It may help figuring out what is going on if you can report what the variations on the setxkbmap command are and what variations on the error result.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 2 of 36 | Prev |   1   2   3     4   12 | Next | Last
vBulletin® Version 3.8.8
Normal Logout