Getting Linux to recognize my keyboard properly


Recommended Posts

I just bought a Toshiba Satellite A205-S4577 and installed openSUSE 10.2 in a dual boot with Windows Vista, this is my first time wit Linux on a primary machine.

Except for a few lingering problems it works fine. My sound doesn't work but that may be resolved in the next version of Alsa. SUSE doesn't recognize the ability to change the brightness which is a feature of the Windows drivers.

Right now I'd like to resolve a relativly easy-looking lingering problem that just bothers me. The machine has a large built-in keyboard and this being a laptop it has a rather odd layout.

I'd like some way of getting KDE to recognize my Windows key and map it to open the Kmenu. The context menu key doesn't work. The PrintScreen key does nothing although its configured in KDE configuration to start ksnapshot. Less remarkable but still annoying is that the function shortcuts don't work (Fn+ some key). They seem to be driven by the Windows software: stop the software and the keys in Windows stop working as Fn-enabled keys.

I tried Kubuntu and the same results.

I attached a picture of the keyboard.

Is there any way to at least get the winkey, context key, and PrintScreen key working?

post-1865-1185571205_thumb.jpg

Another thing is to check to make sure you get X events for your keys. Use the xev app to start. I have never had to actually change or make assignments to the keyboard (outside of creating simple keyboard shortcuts for known keys to start apps or perform functions in fluxbox), but if you verify that there are x events, you can probably work off of that to do what you need.

  CaKeY said:
Maybe if you take the stickers off...anyway, here's some info.
LOL I'm keeping the stickers until I get really bored.Umm... thanks, you linked to my thread on the SUSE forums, trying to answer the sound issue. :huh: As you can see I didn't get anywhere with that, so I decided to try this problem until the Alsa team updates their packages, although my request for help on their mailing list have gone unanswered so far.
  markjensen said:
Another thing is to check to make sure you get X events for your keys. Use the xev app to start. I have never had to actually change or make assignments to the keyboard (outside of creating simple keyboard shortcuts for known keys to start apps or perform functions in fluxbox), but if you verify that there are x events, you can probably work off of that to do what you need.
I get this as output:
  Quote
Outer window is 0x4600001, inner window is 0x4600002PropertyNotify event, serial 8, synthetic NO, window 0x4600001, atom 0x27 (WM_NAME), time 30000932, state PropertyNewValuePropertyNotify event, serial 9, synthetic NO, window 0x4600001, atom 0x22 (WM_COMMAND), time 30000932, state PropertyNewValuePropertyNotify event, serial 10, synthetic NO, window 0x4600001, atom 0x28 (WM_NORMAL_HINTS), time 30000932, state PropertyNewValueCreateNotify event, serial 11, synthetic NO, window 0x4600001, parent 0x4600001, window 0x4600002, (10,10), width 50, height 50border_width 4, override NOMapNotify event, serial 12, synthetic NO, window 0x4600001, event 0x4600001, window 0x4600002, override NOPropertyNotify event, serial 15, synthetic NO, window 0x4600001, atom 0x1c9 (_KDE_NET_WM_USER_CREATION_TIME), time 30000932, state PropertyNewValueConfigureNotify event, serial 18, synthetic NO, window 0x4600001, event 0x4600001, window 0x4600001, (0,0), width 178, height 178, border_width 0, above 0x4400078, override NOReparentNotify event, serial 18, synthetic NO, window 0x4600001, event 0x4600001, window 0x4600001, parent 0x1211816, (0,0), override NOPropertyNotify event, serial 18, synthetic NO, window 0x4600001, atom 0x1a2 (_NET_WM_DESKTOP), time 30000969, state PropertyNewValuePropertyNotify event, serial 18, synthetic NO, window 0x4600001, atom 0x1aa (_NET_FRAME_EXTENTS), time 30000971, state PropertyNewValuePropertyNotify event, serial 18, synthetic NO, window 0x4600001, atom 0x10d (_KDE_NET_WM_FRAME_STRUT), time 30000971, state PropertyNewValuePropertyNotify event, serial 18, synthetic NO, window 0x4600001, atom 0x1a8 (_NET_WM_ALLOWED_ACTIONS), time 30000971, state PropertyNewValuePropertyNotify event, serial 18, synthetic NO, window 0x4600001, atom 0x103 (_NET_WM_STATE), time 30000971, state PropertyNewValuePropertyNotify event, serial 18, synthetic NO, window 0x4600001, atom 0x78 (WM_STATE), time 30000971, state PropertyNewValueConfigureNotify event, serial 18, synthetic YES, window 0x4600001, event 0x4600001, window 0x4600001, (761,19), width 178, height 178, border_width 0, above 0x0, override NOMapNotify event, serial 18, synthetic NO, window 0x4600001, event 0x4600001, window 0x4600001, override NOVisibilityNotify event, serial 18, synthetic NO, window 0x4600001, state VisibilityFullyObscuredFocusIn event, serial 18, synthetic NO, window 0x4600001, mode NotifyNormal, detail NotifyNonlinearKeymapNotify event, serial 18, synthetic NO, window 0x0, keys: 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0VisibilityNotify event, serial 21, synthetic NO, window 0x4600001, state VisibilityUnobscuredExpose event, serial 21, synthetic NO, window 0x4600001, (0,0), width 178, height 10, count 3Expose event, serial 21, synthetic NO, window 0x4600001, (0,10), width 10, height 58, count 2Expose event, serial 21, synthetic NO, window 0x4600001, (68,10), width 110, height 58, count 1Expose event, serial 21, synthetic NO, window 0x4600001, (0,68), width 178, height 110, count 0PropertyNotify event, serial 27, synthetic NO, window 0x4600001, atom 0x1a5 (_NET_WM_ICON_GEOMETRY), time 30001186, state PropertyNewValueFocusOut event, serial 28, synthetic NO, window 0x4600001, mode NotifyNormal, detail NotifyNonlinear
so where do I go from here?

You need to see if events are generated when you press the keys. If they are, then X sees them, and it is a matter of mapping (and that is where my experience ends, I am afraid).

I know on my thinkpad there is a kernel module (ibm-acpi) that allows linux to see the fn key presses and other special keys, I wouldn't be surprised if it were the same on your toshiba. You may have to do some googling to figure out which is what though.

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • There are too many people doing nothing and just cruising at MS because of how the previous culture was (vest and rest). If I get laid off, that's fine as well. I chose extremely high compensation over job security many years ago. It's a choice every employee has. I would rather have the stock price jump. People should stop acting like people working for FAANG companies are abused blue collar workers. A graduate SWE at MS in US (with 0 years of experience) makes twice the national median income.
    • AMD Ryzen AM4 16-core 5900XT processor has never been priced cheaper by Sayan Sen While AMD's newest processor platform with DDR5 and PCIe 5.0 goodness is AM5, the preceding Socket AM4 continues to be a great option for gamers shopping on a lower budget. One of the most powerful AM4 desktop chips, the 16-core Ryzen 9 5900XT, is currently priced at the lowest ever at just $230 (purchase links down below). The Ryzen 7 5900XT is based on the Zen 3 architecture supports DDR4, PCIe Gen4, and offers very good performance in both gaming and productivity. While users may not expect the same level of gaming throughput or latency improvement as the 5800X3D, it is certainly possible that titles that utilize more than 16 threads will favor the 5900XT over the 5800X3D. And the 5900XT has plenty of L3 cache as well at 64 MB. So while not 3D stacked V-cache, it should still be a decent gaming chip. And all that cache as well as cores/threads will be excellent for non-gaming tasks of course. The CPU has a base clock of 3.3 GHz and boosts up to 4.8. It has a TDP of 105 watts so the available power envelope certainly helps with that. It can tolerate temperatures of up to 90 °C and there is no boxed cooler with it. So you need an aftermarket one, ideally a 280 mm or 360 mm AIO liquid cooler or an excellent air cooler. Also since this is a 16-core 105-watt chip, make sure to run it on an AM4 board that has good quality VRM and cooling with lots of power (ideally an X570 motherboard). Another consideration is that it does not have integrated graphics so you need a separate dedicated GPU for display out. Get the AMD Ryzen 9 5900XT at the links below: AMD Ryzen 9 5900XT - No Integrated Graphics Desktop CPU Processor - 100-100001581WOF: $229.99 (Amazon US) || : $279.00 (Newegg US + Corsair 32GB DDR4-3200 RAM) This Amazon deal is US-specific and not available in other regions unless specified. If you don't like it or want to look at more options, check out the Amazon US deals page here. Get Prime (SNAP), Prime Video, Audible Plus or Kindle / Music Unlimited. Free for 30 days. As an Amazon Associate, we earn from qualifying purchases.
    • OnlyOffice 9.0.0 by Razvan Serea OnlyOffice Desktop Editors is an open-source office suite distributed under AGPL v.3 that combines text, spreadsheet and presentation editors allowing to create, view and edit documents stored on your computer. The application does not require constant connection to the Internet and allows youto create, edit, save and export text, spreadsheet and presentation documents. It is fully compatible with Office Open XML formats: .docx, .xlsx, .pptx. One pack - five editors - multiple features Create, view and edit text documents, spreadsheets and presentations of any size and complexity. Work on documents of most popular formats: DOCX, ODT, XLSX, PDF, ODS, CSV, PPTX, ODP, etc. Deal with multiple files within one and the same window thanks to the tab-based user interface. Highest compatibility with Microsoft Office formats. Real-time collaboration within your favorite cloud Connect ONLYOFFICE Desktop Editors to the cloud platform of your choice: ONLYOFFICE, Nextcloud or ownCloud to collaborate on documents with your team – co-edit in real time, review, comment and interact using chat. Extending your editing capabilities Take the most of your editing with the collection of third-party plugins. Insert a YouTube video, add special symbols or a ClipArt object, automatically translate any word or sentence, highlight code, etc. Do even more! Create your own plugin using the API documentation and ready-to-use examples available on GitHub. OnlyOffice key features: View, edit, and collaborate on docs, sheets, slides Build fillable PDF forms and fill them in online Read and edit PDFs, export/import to/from PDF Convert docs to Markdown and HTML Turn your textbooks into e-books Generate texts with the AI helper OnlyOffice 9.0 changelog: New features All Editors Redesigned interface of the main application window Added new interface themes: Modern Light and Modern Dark Added saving of the last selected languages in spellcheck lists Added Arabic spellcheck dictionary used in sixteen dialects Added AI-powered macro generation from descriptions and VBA-to-JavaScript conversion Added the interface translation into Urdu (ur-PK, Urdu (Pakistan)) Added support for TextArt text settings inside chart labels Added support for drawing the Up/Down Bars chart elements Merged local and cloud template lists into a unified view The list of templates is now processed on the client side, not on the server The installed system languages are now displayed at the top of the text/document/dictionary list Added a contrast-reducing effect for control buttons in inactive windows Added the option to select a printer in the print preview menu The Print using the system dialog option has been added to the print preview menu The ability to configure format associations for modern Windows OS in the EXE package installation wizard has been unlocked Document Editor Added correct display of previews for paragraph numbers for RTL Improved positioning and settings of TextArt for RTL Improved drawing of borders and fill for paragraphs with RTL direction Enabled accurate cursor navigation with arrow keys based on the paragraph's text direction Added the ability to display numbers using Hindi digits Added a setting in the File menu for selecting the preferred font size: Western/Chinese for the Chinese interface language (Chinese (Simplified)) Added a Borders button to the Home toolbar to quickly set paragraph settings Added support for the MD format for reading Spreadsheet Editor Added support for displaying bidirectional text Added the ability to select external data from another spreadsheet Presentation Editor Added the ability to set the paragraph direction (Text Direction > RTL) on the toolbar and in the advanced settings Added the ability to view animations with text Added the "Preserve" option to the Slide Master context menu Forms Changed the appearance of the Signature and Image fields: the placeholder and signature icon are now always displayed Improved user experience when filling in the Signature and Image fields Added a new "type": "signature" for the Signature field, used in the process of filling out forms PDF Editor Added the ability to set RTL direction for text The Edit Text option is available in the Community Edition build Implemented a PDF form editor Added copying pages between PDF files Diagrams Release of the first version of the Diagram Viewer with the ability to open VSDX files for viewing Convert Added conversion of the XLSB format to the editor's internal format, allowing editing and saving in XLSX without preliminary conversion Download: OnlyOffice 64-bit | 273.0 MB (Open Source) Download: OnlyOffice 32-bit | 252.0 MB Download: Windows XP 64-bit | 467.0 MB Download: Windows XP 32-bit | 457.0 MB View: OnlyOffice Website | Screenshot | Release Notes Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Awesome! Can't wait to get the stable version on my Surface Pro.
    • Welcome to our cozy corner of the internet!
  • Recent Achievements

    • Week One Done
      Wayne Robinson earned a badge
      Week One Done
    • One Month Later
      Karan Khanna earned a badge
      One Month Later
    • Week One Done
      Karan Khanna earned a badge
      Week One Done
    • First Post
      MikeK13 earned a badge
      First Post
    • Week One Done
      OHI Accounting earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      687
    2. 2
      ATLien_0
      265
    3. 3
      Michael Scrip
      204
    4. 4
      +FloatingFatMan
      172
    5. 5
      Steven P.
      145
  • Tell a friend

    Love Neowin? Tell a friend!