You are not logged in.

#1 2016-09-13 20:49:55

NoRoboto
New Member
Registered: 2016-09-13
Posts: 2

[Minor Bug] function keys not working.

Function keys not working.

Hello everyone!.

I tried this distro for 2 days and I loved it, few things to criticize. In my case the function keys do not work. Also, the volume control wheel (Yes, volume control hardware) does not work.

Here is the info from my computer:

$ lshw -short

H/W path     Device      Class       Description
================================================
                         system      Computer
/0                       bus         Motherboard
/0/0                     memory      2764MiB System memory
/0/1                     processor   AMD Turion(tm) X2 Dual-Core Mobile RM-70
/0/100                   bridge      RS780 Host Bridge
/0/100/1                 bridge      RS780/RS880 PCI to PCI bridge (int gfx)
/0/100/1/5               display     RS780MC [Mobility Radeon HD 3100]
/0/100/4                 bridge      RS780/RS880 PCI to PCI bridge (PCIE port 0)
/0/100/5                 bridge      RS780/RS880 PCI to PCI bridge (PCIE port 1)
/0/100/5/0   eth0        network     RTL8101E/RTL8102E PCI Express Fast Ethernet controller
/0/100/6                 bridge      RS780 PCI to PCI bridge (PCIE port 2)
/0/100/6/0   wlan0       network     AR242x / AR542x Wireless Network Adapter (PCI-Express)
/0/100/11                storage     SB7x0/SB8x0/SB9x0 SATA Controller [AHCI mode]
/0/100/12                bus         SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
/0/100/12.1              bus         SB7x0 USB OHCI1 Controller
/0/100/12.2              bus         SB7x0/SB8x0/SB9x0 USB EHCI Controller
/0/100/13                bus         SB7x0/SB8x0/SB9x0 USB OHCI0 Controller
/0/100/13.1              bus         SB7x0 USB OHCI1 Controller
/0/100/13.2              bus         SB7x0/SB8x0/SB9x0 USB EHCI Controller
/0/100/14                bus         SBx00 SMBus Controller
/0/100/14.1              storage     SB7x0/SB8x0/SB9x0 IDE Controller
/0/100/14.2              multimedia  SBx00 Azalia (Intel HDA)
/0/100/14.3              bridge      SB7x0/SB8x0/SB9x0 LPC host controller
/0/100/14.4              bridge      SBx00 PCI to PCI Bridge
/0/101                   bridge      Family 11h Processor HyperTransport Configuration
/0/102                   bridge      Family 11h Processor Address Map
/0/103                   bridge      Family 11h Processor DRAM Controller
/0/104                   bridge      Family 11h Processor Miscellaneous Control
/0/105                   bridge      Family 11h Processor Link Control
/0/2         scsi2       storage     
/0/2/0.0.0   /dev/cdrom  disk        CDDVDW TS-L633P
~$ sudo dmidecode | grep -A 9 "System Information"
System Information
	Manufacturer: TOSHIBA
	Product Name: Satellite L305D
	Version: PSLC8U-00D010
	Serial Number: 88045562Q
	UUID: ED022390-59A1-11DD-A70E-001E3351E825
	Wake-up Type: Power Switch
	SKU Number: 123456789
	Family: Type1Family

Thanks in advance. big_smile


**********************************
Always perseveres over all things.
Everything becomes a discipline.
Be humble.

Offline

#2 2016-09-14 06:07:10

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: [Minor Bug] function keys not working.

welcome to the forums, Mr NoRoboto!

+1 for alias, -1 for calling a "bug" what is really an "absence of functionality".

so, we're talking about this model.

you can create appropriate shortcuts thusly:
start a progam called "xev" and press the key combination you want a hotkey for.
make note of the key release event(s).
as an example, for F12 that would be:

KeyRelease event, serial 48, synthetic NO, window 0x1600001,
    root 0xf3, subw 0x0, time 3328120, (409,-121), root:(411,267),
    state 0x0, keycode 96 (keysym 0xffc9, F12), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

take note of keycode or keysym.
you can use these to add a keybind to your ~/.config/openbox/rc.xml.

Offline

#3 2016-09-14 06:34:31

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 9,086
Website

Re: [Minor Bug] function keys not working.

NoRoboto wrote:

Also, the volume control wheel (Yes, volume control hardware) does not work.

I'm not sure I understand the problem but does this help:

https://forums.bunsenlabs.org/viewtopic.php?id=2266

Offline

#4 2016-09-15 20:30:20

NoRoboto
New Member
Registered: 2016-09-13
Posts: 2

Re: [Minor Bug] function keys not working.

ohnonot wrote:

welcome to the forums, Mr NoRoboto!

+1 for alias, -1 for calling a "bug" what is really an "absence of functionality".

so, we're talking about this model.

you can create appropriate shortcuts thusly:
start a progam called "xev" and press the key combination you want a hotkey for.
make note of the key release event(s).
as an example, for F12 that would be:

KeyRelease event, serial 48, synthetic NO, window 0x1600001,
    root 0xf3, subw 0x0, time 3328120, (409,-121), root:(411,267),
    state 0x0, keycode 96 (keysym 0xffc9, F12), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

take note of keycode or keysym.
you can use these to add a keybind to your ~/.config/openbox/rc.xml.

You're right , I thought to put it in another category but I did it wrong, and fix the problem as you describe, Thank you for comment.

Head_on_a_Stick wrote:

I'm not sure I understand the problem but does this help:
https://forums.bunsenlabs.org/viewtopic.php?id=2266

Yes, I saw it, gave me an idea of how to do the volume control , thanks for comment

earlybird wrote:

For the multimedia keys, you probably need to map XF86Volume* keys to explicit actions.

As for the function keys, try pressing Fn+Function key (the special Fn key for laptop functions) and check the BIOS for settings related to the Fn key. There very likely are some.

XF86Volume I was useful , thank you.

Last edited by NoRoboto (2016-09-15 20:37:35)


**********************************
Always perseveres over all things.
Everything becomes a discipline.
Be humble.

Offline

Board footer

Powered by FluxBB