OESF Portables Forum

Model Specific Forums => Sharp Zaurus => Zaurus - pdaXrom => Topic started by: Kondou on March 11, 2006, 01:55:05 pm

Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: Kondou on March 11, 2006, 01:55:05 pm
Hello everybody: (I am foreigner English am not fluent Sorry~~~~)

I am a c1000 pdaxrom 1.1.0 user but i use PC Usb keyboard on my c1000

but keyin 1 show b keyin 2 show c please dear all help me how to can use USB KEYBOARD on my C1000 for pdaxrom TK~~~~~

my linux not ripely i hope can get a ipk to install ~~~

i am use  101 key standard keyboard

TK~~~ dear all help Me ~~~~
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: anunakin on March 11, 2006, 02:06:40 pm
Look this post:
https://www.oesf.org/forums/index.php?showt...122&hl=keyboard (https://www.oesf.org/forums/index.php?showtopic=17122&hl=keyboard)
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: Kondou on March 11, 2006, 02:24:18 pm
i can not maker a keymap how to?

can get a ipk to me install?

Quote
Look this post:
https://www.oesf.org/forums/index.php?showt...122&hl=keyboard (https://www.oesf.org/forums/index.php?showtopic=17122&hl=keyboard)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118067\"][{POST_SNAPBACK}][/a][/div]
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: Antikx on March 11, 2006, 03:22:14 pm
You should only need to use xev to find the key codes. See the second post: https://www.oesf.org/forums/index.php?showt...ndpost&p=110904 (https://www.oesf.org/forums/index.php?showtopic=17122&view=findpost&p=110904)
I would recommend making a copy of the existing "akita.xmodmap" and call it what your keyboard is called and then edit it.
Please post your results so that others can learn from you.
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: Kondou on March 13, 2006, 12:17:07 am
how to read & modify the keymap tab? have 4 column
and how to gat all key name table (eg. Lift, apostrophe, question)

exp:

keycode  14 = f F dstroke ordfeminine

14 is keycode, f F is show Character, dstroke ordfeminine is what?
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: anunakin on March 13, 2006, 08:31:31 am
Quote
how to read & modify the keymap tab? have 4 column
and how to gat all key name table (eg. Lift, apostrophe, question)

exp:

keycode  14 = f F dstroke ordfeminine

14 is keycode, f F is show Character, dstroke ordfeminine is what?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118274\"][{POST_SNAPBACK}][/a][/div]


keycode  14 = f F dstroke ordfeminine

First, the sintax:

keycode NUMBER = NORMAL SHIFT ALTGr ALTGr+SHIT

The names dstroke ordfeminine, are the keysyms, I got mines form xev on PC and looking at .map files on PC...
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: Kondou on March 13, 2006, 12:16:57 pm
Thank anunakin:

but i login on X-window how to not need restart X-window to use the c1000 keyboard or usb keyboard?


if i insert the usb keyboard on c1000 auto change to ketmap on abnt2.map
if i remove the usb keyboard on c1000 auto change keymap to define akita.xmodmap not need restart X-Window?
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: mars on March 13, 2006, 04:06:08 pm
Quote
but i login on X-window how to not need restart X-window to use the c1000 keyboard or usb keyboard?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118371\"][{POST_SNAPBACK}][/a][/div]

I haven't figured out how to do it automatically, but I've generated two keyboard files -- one for changes to the usb keyboard -- and one for changes back to the zaurus. I then do an "xmodmap configuration_file" from the terminal to switch.
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: Meanie on March 13, 2006, 06:57:18 pm
Quote
Quote
but i login on X-window how to not need restart X-window to use the c1000 keyboard or usb keyboard?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118371\"][{POST_SNAPBACK}][/a][/div]

I haven't figured out how to do it automatically, but I've generated two keyboard files -- one for changes to the usb keyboard -- and one for changes back to the zaurus. I then do an "xmodmap configuration_file" from the terminal to switch.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118395\"][{POST_SNAPBACK}][/a][/div]

you can create a script under /etc/hotplug/usb which detects when a usb keyboard is plugged in/unplugged and can run the appropriate commands to load the coressponding mappings accordingly.
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: anunakin on March 14, 2006, 06:53:48 am
I have made some changes on ~/.xinitrc, then you need exit from openbox and use startx again, after plug USB Keyboard... and why not use a automatic method? well in my tests... if I apply a .map file on a running Xsession... the keymaps go wrong and many kays dont works, I dont know why this it....

The files is here, I think you need change some thinks in abnt2.map, this is for Brazilian Laptop Keyboards.... for get keycodes use xev

 
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: Kondou on March 14, 2006, 08:09:27 am
 I have some ideas but are unable with English to answer ~~~  


Quote
I have made some changes on ~/.xinitrc, then you need exit from openbox and use startx again, after plug USB Keyboard... and why not use a automatic method? well in my tests... if I apply a .map file on a running Xsession... the keymaps go wrong and many kays dont works, I dont know why this it....

The files is here, I think you need change some thinks in abnt2.map, this is for Brazilian Laptop Keyboards.... for get keycodes use xev

 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118492\"][{POST_SNAPBACK}][/a][/div]
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: Kondou on March 14, 2006, 08:21:04 am
I thought xmodmap can't reset (not clear old keymap), abnt2.map only overwrite in akita.xmodmap on memory ~~ many kays dont works or wrong
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: Kondou on March 14, 2006, 08:29:53 am
 my c1000 & mouse & Soft Keyboard~~
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: Kondou on March 14, 2006, 08:34:10 am
  The keyboard can rollup facilitates carries~~~~~
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: anunakin on March 14, 2006, 10:37:13 am
A microsoft mouse, hehe!  

But this keyboard sounds a good think, I found a Palm IR Keyboard, but dont have 100% working driver and $150 is very expancive for a keyb....
Title: Help Me! Usb Keyboard On Pdxxrom~~
Post by: Antikx on March 14, 2006, 10:42:48 am
Quote
  The keyboard can rollup facilitates carries~~~~~
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118510\"][{POST_SNAPBACK}][/a][/div]

Sweet!