Bug 1099 - Numlock package is not installed on laptops with numpads (only on desktops)
Summary: Numlock package is not installed on laptops with numpads (only on desktops)
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: Installer (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Low enhancement
Target Milestone: ---
Assignee: Thierry Vignaud
QA Contact:
URL:
Whiteboard:
Keywords: NEEDINFO, PATCH
Depends on:
Blocks:
 
Reported: 2011-05-02 19:03 CEST by Arnaud Vacquier
Modified: 2012-11-16 01:33 CET (History)
4 users (show)

See Also:
Source RPM: drakx-kbd-mouse-x11
CVE:
Status comment:


Attachments
detect (some) numpads (2.41 KB, patch)
2011-08-01 10:38 CEST, Thierry Vignaud
Details | Diff
cat /proc/bus/input/devices > input.txt (2.32 KB, text/plain)
2011-10-12 00:46 CEST, Arnaud Vacquier
Details
lspcidrake -v (3.93 KB, text/plain)
2011-10-12 00:47 CEST, Arnaud Vacquier
Details
file (73.16 KB, text/plain)
2011-10-12 14:42 CEST, Arnaud Vacquier
Details
dmidecode > dmi.txt (10.49 KB, text/plain)
2011-12-06 15:37 CET, Arnaud Vacquier
Details

Description Arnaud Vacquier 2011-05-02 19:03:36 CEST
hi,

Description of problem:
I have laptop (alienware m17x) with a keypad, when i install mageia distibution, "numlock" is never install per default.

keypad is always disable in boot, after lot of research, i have to find install "numlock" now is good.

But i think, there are lot of news users who don't know install that.

Why "numlock" package is not install per default ?


thank you

sorry for my bad english
Comment 1 Arnaud Vacquier 2011-05-02 19:49:10 CEST
duplicated with gnome : https://bugs.mageia.org/show_bug.cgi?id=317

*** This bug has been marked as a duplicate of bug 317 ***

Status: NEW => RESOLVED
Resolution: (none) => DUPLICATE

Comment 2 Arnaud Vacquier 2011-05-05 21:41:27 CEST
Not dupliacted...

Status: RESOLVED => REOPENED
Resolution: DUPLICATE => (none)

Comment 3 Luc Menut 2011-05-05 22:08:54 CEST
(In reply to comment #0)
> 
> Why "numlock" package is not install per default ?
>

numlock is installed by default on desktop system, but not on laptop (as most of laptop don't have numpad).

we have two ways of improvement here:
1) detection of numpad by the installer, and install of numlock if there is a numpad,
2) always install numlock, and enable or disable numlock at runtime (usefull for laptop used with docking station).

Priority: Normal => Low
CC: (none) => lmenut
Hardware: x86_64 => All

Comment 4 Arnaud Vacquier 2011-05-05 23:06:39 CEST
okay, in my alienware m17x, the keybad is here and not detected.

what happens if the install is forced?, if nothing, the better is forced that...as there are not problem detection...

thank you
Ahmad Samir 2011-05-06 00:38:49 CEST

Assignee: bugsquad => ennael1

Manuel Hiebel 2011-07-27 18:43:51 CEST

Component: RPM Packages => Installer
Assignee: ennael1 => bugsquad
Source RPM: (none) => numlock

Comment 5 Thierry Vignaud 2011-07-31 23:49:35 CEST
(In reply to comment #3)
How can we detect numpads?

Keywords: (none) => NEEDINFO
CC: (none) => thierry.vignaud
Source RPM: numlock => meta-task

Comment 6 Thierry Vignaud 2011-08-01 09:37:44 CEST
That is, please attach output of "lspcidrake -v" ...
Thierry Vignaud 2011-08-01 09:38:15 CEST

Summary: Numlock package is not install per default => Numlock package is not installed on laptops with numpads (only on desktops)

Comment 7 Thierry Vignaud 2011-08-01 09:48:07 CEST
Also attach the file input.txt resulting from the following command:
cat /proc/bus/input/devices > input.txt
Thierry Vignaud 2011-08-01 09:48:17 CEST

QA Contact: (none) => thierry.vignaud

Comment 8 Thierry Vignaud 2011-08-01 10:38:33 CEST
Created attachment 701 [details]
detect (some) numpads

The following patch should enable to detect (at least some (eg: Compaq USB numpad): perl -I /usr/lib/libDrakX/ -Mdetect_devices -MData::Dumper -e 'warn Dumper detect_devices::hasNumpad()'
Comment 9 Thierry Vignaud 2011-08-01 10:47:45 CEST
ccing blino in case he has ever seen other numpads...

Keywords: (none) => PATCH
CC: (none) => mageia

Comment 10 Luc Menut 2011-08-01 13:09:13 CEST

(In reply to comment #8)
> Created attachment 701 [details]
> detect (some) numpads
> 

probably a bad copy/paste in rpmsrate-raw, I think it should be
5 TYPE"numpad"  numlock

instead of "touchpad"; most of laptop have a touchpad but no numpad, only 17' and now some 15' have a numpad.



(In reply to comment #5)
> How can we detect numpads?

I have no idea for now!! and you seem to have better ideas than me!!
Thanks

regards,
Luc
Comment 11 Thierry Vignaud 2011-08-01 16:02:36 CEST
Indeed for the typo.
For the rest, just answer to comment #6 & #7 ...
Comment 12 Thierry Vignaud 2011-08-01 20:53:12 CEST
Just fixed in SVN (for Mageia 2), at least for Compaq USB numpad.
Still waiting for data from reporter
Comment 13 Marja Van Waes 2011-10-12 00:02:02 CEST
(In reply to comment #12)
> Just fixed in SVN (for Mageia 2), at least for Compaq USB numpad.
> Still waiting for data from reporter

@ Thierry
You started waiting over three months ago. Do you agree on closing this bug?

CC: (none) => marja11

Comment 14 Marja Van Waes 2011-10-12 00:02:31 CEST
(In reply to comment #12)
> Just fixed in SVN (for Mageia 2), at least for Compaq USB numpad.
> Still waiting for data from reporter

@ Thierry
You started waiting over two months ago. Do you agree on closing this bug?
Comment 15 Arnaud Vacquier 2011-10-12 00:46:48 CEST
Created attachment 940 [details]
cat /proc/bus/input/devices > input.txt

hi,

i have re-install Mageia on Acer laptop with numpad not detected

thank you
Comment 16 Arnaud Vacquier 2011-10-12 00:47:28 CEST
Created attachment 941 [details]
lspcidrake -v

hi,

i have re-install Mageia on Acer laptop with numpad not detected

thank you
Comment 17 Marja Van Waes 2011-10-12 06:32:53 CEST
@ Arnaud
Thx for supplying the attachments Thierry asked for
Thierry Vignaud 2011-10-12 07:40:05 CEST

Attachment 941 mime type: application/octet-stream => text/plain

Comment 18 Thierry Vignaud 2011-10-12 07:49:58 CEST
Nothing there.
Can you attach your /var/log/Xorg.0.log too?
Comment 19 Arnaud Vacquier 2011-10-12 14:42:31 CEST
Created attachment 943 [details]
file

i have too : Xorg.0.log.old and with a 9

thank you
Thierry Vignaud 2011-10-12 17:47:00 CEST

Attachment 943 mime type: text/x-log => text/plain

Comment 20 Thierry Vignaud 2011-10-12 18:04:03 CEST
Now I've really no idea how to detect if your latop has a numeric pad or not...

Source RPM: meta-task => drakx-kbd-mouse-x11

Comment 21 Thierry Vignaud 2011-10-12 18:07:02 CEST
Btw, do you have a "Fn" key on your laptop?
Comment 23 Thierry Vignaud 2011-10-13 10:36:54 CEST
Only solution that came to me would be to whitelist some laptops.
Could you attach the output of dmidecode too?
Comment 24 Arnaud Vacquier 2011-10-15 04:48:27 CEST
hum what ? lol

i research and found that : http://www.thegeekstuff.com/2008/11/how-to-get-hardware-information-on-linux-using-dmidecode-command/


it is that ?

# dmidecode 2.11
SMBIOS 2.4 present.

Handle 0x001D, DMI type 4, 35 bytes
Processor Information
	Socket Designation: uPGA-478
	Type: Central Processor
	Family: Pentium M
	Manufacturer: Intel(R) Corporation
	ID: 7A 06 01 00 FF FB EB BF
	Signature: Type 0, Family 6, Model 23, Stepping 10
	Flags:
		FPU (Floating-point unit on-chip)
		VME (Virtual mode extension)
		DE (Debugging extension)
		PSE (Page size extension)
		TSC (Time stamp counter)
		MSR (Model specific registers)
		PAE (Physical address extension)
		MCE (Machine check exception)
		CX8 (CMPXCHG8 instruction supported)
		APIC (On-chip APIC hardware supported)
		SEP (Fast system call)
		MTRR (Memory type range registers)
		PGE (Page global enable)
		MCA (Machine check architecture)
		CMOV (Conditional move instruction supported)
		PAT (Page attribute table)
		PSE-36 (36-bit page size extension)
		CLFSH (CLFLUSH instruction supported)
		DS (Debug store)
		ACPI (ACPI supported)
		MMX (MMX technology supported)
		FXSR (FXSAVE and FXSTOR instructions supported)
		SSE (Streaming SIMD extensions)
		SSE2 (Streaming SIMD extensions 2)
		SS (Self-snoop)
		HTT (Multi-threading)
		TM (Thermal monitor supported)
		PBE (Pending break enabled)
	Version: Pentium(R) Dual-Core CPU       T4500  @ 2.30GHz
	Voltage: 1.6 V
	External Clock: 200 MHz
	Max Speed: 2200 MHz
	Current Speed: 1200 MHz
	Status: Populated, Enabled
	Upgrade: <OUT OF SPEC>
	L1 Cache Handle: 0x0020
	L2 Cache Handle: 0x001E
	L3 Cache Handle: Not Provided
	Serial Number: Not Specified
	Asset Tag: FFFF
	Part Number: FFFF


OR

# dmidecode 2.11
SMBIOS 2.4 present.

Handle 0x0000, DMI type 0, 24 bytes
BIOS Information
	Vendor: Acer
	Version: V3.07
	Release Date: 02/10/2010
	ROM Size: 1024 kB
	Characteristics:
		PCI is supported
		BIOS is upgradeable
		BIOS shadowing is allowed
		Boot from CD is supported
		Selectable boot is supported
		BIOS ROM is socketed
		EDD is supported
		Japanese floppy for NEC 9800 1.2 MB is supported (int 13h)
		Japanese floppy for Toshiba 1.2 MB is supported (int 13h)
		5.25"/360 kB floppy services are supported (int 13h)
		5.25"/1.2 MB floppy services are supported (int 13h)
		3.5"/720 kB floppy services are supported (int 13h)
		3.5"/2.88 MB floppy services are supported (int 13h)
		8042 keyboard services are supported (int 9h)
		CGA/mono video services are supported (int 10h)
		ACPI is supported
		USB legacy is supported
		Targeted content distribution is supported

thank you
Comment 25 Marja Van Waes 2011-12-06 11:33:57 CET
removing the NEEDINFO keyword and assiging to Thierry, because the required information was given

Keywords: NEEDINFO => (none)
Assignee: bugsquad => thierry.vignaud

Comment 26 Thierry Vignaud 2011-12-06 15:23:22 CET
No it wasn't.
That was just the beginning of the dmi data.
So please _attach_ (and not paste) the full output of the dmidecode command.
Eg attach the dmi.txt file resulting from running the following command
dmidecode > dmi.txt

Keywords: (none) => NEEDINFO

Comment 27 Arnaud Vacquier 2011-12-06 15:37:45 CET
Created attachment 1180 [details]
dmidecode > dmi.txt

ok i add file
thank you
Marja Van Waes 2012-01-21 10:40:54 CET

Keywords: NEEDINFO => (none)
QA Contact: thierry.vignaud => (none)

Luc Menut 2012-03-10 15:29:02 CET

CC: lmenut => (none)

Comment 28 Damien Lallement 2012-05-11 16:28:05 CEST
Thierry, is_Laptop() should not see this as a laptop as we can see "battery" in the dmidecode? I'm wondering...

CC: (none) => mageia

Comment 29 Thierry Vignaud 2012-05-11 16:52:50 CEST
This _IS_ a laptop so there's no reason to look at the battery block.
Anyway this is irrelevant: we do detect the type of this computer.
The issue is that we have no way to detect whether it has a numpad or not.
Comment 30 Marja Van Waes 2012-05-26 13:08:24 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 31 Arnaud Vacquier 2012-11-16 01:33:55 CET
Run perfect in Mageia 3 Alpha 2 after install, numlock is already install :)

Status: REOPENED => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.