デスクトップとして使う(12)入力デバイスのドライバの組み込み

Debian LS-VL

まるしすなうぇぶろぐ(仮): 玄柴/ディスプレイの接続で 紹介いただいている手順を参考に、 LinkStation LS-VL でも X が動いたのだが、
マウスもキーボードもつながっていないので、何も操作できず、 マウスとキーボードをつないでみたものの、うんともすんとも。
何も操作できない状態であった。

ひょっとして、カーネルにキーボード/マウスドライバの組み込みが 必要なのでは?とmake menuconfig してみた。

yasunari@vl:/usr/src/linux-2.6.31.8$ make menuconfig

 .config - Linux Kernel v2.6.31.8 Configuration
 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqq Linux Kernel Configuration qqqqqqqqqqqqqqqqqqqqqqqk
  x  Arrow keys navigate the menu.  <Enter> selects submenus --->.          x
  x  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, x
  x  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> x
  x  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       x
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
  x x        General setup  --->                                          x x
  x x    [*] Enable loadable module support  --->                         x x
  x x    -*- Enable the block layer  --->                                 x x
  x x        System Type  --->                                            x x
  x x        Bus support  --->                                            x x
  x x        Kernel Features  --->                                        x x
  x x        Boot options  --->                                           x x
  x x        CPU Power Management  --->                                   x x
  x x        Floating point emulation  --->                               x x
  x x        Userspace binary formats  --->                               x x
  x x        Power management options  --->                               x x
  x x    [*] Networking support  --->                                     x x
  x x        Device Drivers  --->                                         x x
  x x        File systems  --->                                           x x
  x x        Kernel hacking  --->                                         x x
  x x        Security options  --->                                       x x
  x x    -*- Cryptographic API  --->                                      x x
  x x        Library routines  --->                                       x x
  x x    ---                                                              x x
  x x        Load an Alternate Configuration File                         x x
  x x        Save an Alternate Configuration File                         x x
  x x                                                                     x x
  x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
  x                    <Select>    < Exit >    < Help >                     x
  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

Device Drivers の

 .config - Linux Kernel v2.6.31.8 Configuration
 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqqqqqqqq Device Drivers qqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  x  Arrow keys navigate the menu.  <Enter> selects submenus --->.          x
  x  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, x
  x  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> x
  x  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       x
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
  x x        Generic Driver Options  --->                                 x x
  x x    < > Connector - unified userspace <-> kernelspace linker  --->   x x
  x x    <*> Memory Technology Device (MTD) support  --->                 x x
  x x    < > Parallel port support  --->                                  x x
  x x    [*] Block devices  --->                                          x x
  x x    [*] Misc devices  --->                                           x x
  x x    < > ATA/ATAPI/MFM/RLL support  --->                              x x
  x x        SCSI device support  --->                                    x x
  x x    < > Serial ATA (prod) and Parallel ATA (experimental) drivers  --x x
  x x    [*] Multiple devices driver support (RAID and LVM)  --->         x x
  x x    [ ] Fusion MPT device support  --->                              x x
  x x        IEEE 1394 (FireWire) support  --->                           x x
  x x    < > I2O device support  --->                                     x x
  x x    [*] Network device support  --->                                 x x
  x x    [ ] ISDN support  --->                                           x x
  x x    <*> Telephony support  --->                                      x x
  x x        Input device support  --->                                   x x
  x x        Character devices  --->                                      x x
  x x    < > I2C support  --->                                            x x
  x mqqqqv(+)qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
  x                    <Select>    < Exit >    < Help >                     x
  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

Input device support で

 .config - Linux Kernel v2.6.31.8 Configuration
 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqqqqq Input device support qqqqqqqqqqqqqqqqqqqqqqqqqqk
  x  Arrow keys navigate the menu.  <Enter> selects submenus --->.          x
  x  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, x
  x  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> x
  x  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       x
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
  x x    -*- Generic input layer (needed for keyboard, mouse, ...)        x x
  x x    < >   Support for memoryless force-feedback devices              x x
  x x    < >   Polled input device skeleton                               x x
  x x          *** Userland interfaces ***                                x x
  x x    -*-   Mouse interface                                            x x
  x x    [ ]     Provide legacy /dev/psaux device                         x x
  x x    (1024)  Horizontal screen resolution                             x x
  x x    (768)   Vertical screen resolution                               x x
  x x    < >   Joystick interface                                         x x
  x x    < >   Event interface                                            x x
  x x    < >   Event debugging                                            x x
  x x          *** Input Device Drivers ***                               x x
  x x    [*]   Keyboards  --->                                            x x
  x x    [*]   Mice  --->                                                 x x
  x x    [ ]   Joysticks/Gamepads  --->                                   x x
  x x    [ ]   Tablets  --->                                              x x
  x x    [ ]   Touchscreens  --->                                         x x
  x x    [ ]   Miscellaneous devices  --->                                x x
  x x        Hardware I/O ports  --->                                     x x
  x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
  x                    <Select>    < Exit >    < Help >                     x
  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

Keyboards と Mice を組み込む。

Keyboard は

 .config - Linux Kernel v2.6.31.8 Configuration
 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq Keyboards qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  x  Arrow keys navigate the menu.  <Enter> selects submenus --->.          x
  x  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, x
  x  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> x
  x  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       x
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
  x x    --- Keyboards                                                    x x
  x x    <*>   AT keyboard (NEW)                                          x x
  x x    < >   DECstation/VAXstation LK201/LK401 keyboard (NEW)           x x
  x x    < >   GPIO Buttons (NEW)                                         x x
  x x    < >   GPIO driven matrix keypad support (NEW)                    x x
  x x    < >   Newton keyboard (NEW)                                      x x
  x x    < >   Stowaway keyboard (NEW)                                    x x
  x x    < >   Sun Type 4 and Type 5 keyboard (NEW)                       x x
  x x    < >   XT keyboard (NEW)                                          x x
  x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
  x                    <Select>    < Exit >    < Help >                     x
  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj
AT keyboard だけで良い?

Mouse は

 .config - Linux Kernel v2.6.31.8 Configuration
 qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq
  lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqq Mice qqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk
  x  Arrow keys navigate the menu.  <Enter> selects submenus --->.          x
  x  Highlighted letters are hotkeys.  Pressing <Y> includes, <N> excludes, x
  x  <M> modularizes features.  Press <Esc><Esc> to exit, <?> for Help, </> x
  x  for Search.  Legend: [*] built-in  [ ] excluded  <M> module  < >       x
  x lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x
  x x    --- Mice                                                         x x
  x x    <*>   PS/2 mouse (NEW)                                           x x
  x x    [ ]     Elantech PS/2 protocol extension (NEW)                   x x
  x x    [ ]     eGalax TouchKit PS/2 protocol extension (NEW)            x x
  x x    < >   Serial mouse (NEW)                                         x x
  x x    < >   Apple USB Touchpad support (NEW)                           x x
  x x    < >   Apple USB BCM5974 Multitouch trackpad support (NEW)        x x
  x x    < >   DEC VSXXX-AA/GA mouse and VSXXX-AB tablet (NEW)            x x
  x x    < >   GPIO mouse (NEW)                                           x x
  x x                                                                     x x
  x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj x
  tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu
  x                    <Select>    < Exit >    < Help >                     x
  mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj

PS/2 mouse だけで良い?

リリビルド

yasunari@vl:/usr/src/linux-2.6.31.8$ make uImage
yasunari@vl:/usr/src/linux-2.6.31.8$ make -j2 modules
yasunari@vl:/usr/src/linux-2.6.31.8$ sudo make modules_install
yasunari@vl:/usr/src/linux-2.6.31.8$ sudo cp arch/arm/boot/uImage /boot/uImage.buffalo
yasunari@vl:/usr/src/linux-2.6.31.8$ 

再起動

yasunari@vl:~$ startx
して、マウスやらキーボードやらを触ってみたけれど、うんともすんとも。

これは完全にハマったな(藁



LS-VL

楽天市場
Amazon
livedoor デパート
バッファローダイレクト
Yahoo!ショッピング


デスクトップとして使う(11)入力デバイスをつなぐ
ハックの記録
LinkStation/玄箱 をハックしよう

デスクトップとして使う(13)X -configure を試してみる

ツイート Tweet to @yasunari_y @yasunari_yをフォロー

Copyright (C) 2003-2012 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市