summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2013-March/023670.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2013-March/023670.html')
-rw-r--r--zarb-ml/mageia-dev/2013-March/023670.html117
1 files changed, 117 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2013-March/023670.html b/zarb-ml/mageia-dev/2013-March/023670.html
new file mode 100644
index 000000000..0ffbb1ba6
--- /dev/null
+++ b/zarb-ml/mageia-dev/2013-March/023670.html
@@ -0,0 +1,117 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] USB Keyboard disabled in current stage1
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20USB%20Keyboard%20disabled%20in%20current%20stage1&In-Reply-To=%3CCAONrEtbp5eGtcGn26s-EbVEE6%3D5Jom4Qi0ke6RK_r0xtDJhnZw%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="023669.html">
+ <LINK REL="Next" HREF="023672.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] USB Keyboard disabled in current stage1</H1>
+ <B>Thierry Vignaud</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20USB%20Keyboard%20disabled%20in%20current%20stage1&In-Reply-To=%3CCAONrEtbp5eGtcGn26s-EbVEE6%3D5Jom4Qi0ke6RK_r0xtDJhnZw%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] USB Keyboard disabled in current stage1">thierry.vignaud at gmail.com
+ </A><BR>
+ <I>Wed Mar 20 21:28:51 CET 2013</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="023669.html">[Mageia-dev] USB Keyboard disabled in current stage1
+</A></li>
+ <LI>Next message: <A HREF="023672.html">[Mageia-dev] USB Keyboard disabled in current stage1
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#23670">[ date ]</a>
+ <a href="thread.html#23670">[ thread ]</a>
+ <a href="subject.html#23670">[ subject ]</a>
+ <a href="author.html#23670">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 20 March 2013 21:22, AL13N &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">alien at rmail.be</A>&gt; wrote:
+&gt;&gt;<i> &gt; &gt; That's because modules.alias enables to match through wildchars.
+</I>&gt;&gt;<i> &gt; &gt;
+</I>&gt;&gt;<i> &gt; &gt; eg for ehci (see either /sbin/modinfo ehci_pci or
+</I>&gt;&gt;<i> &gt; &gt; &quot;fgrep ehci /lib/modules/3.8.3-desktop-2.mga3/modules.alias&quot;):
+</I>&gt;&gt;<i> &gt; &gt;
+</I>&gt;&gt;<i> &gt; &gt; alias pci:v0000104Ad0000CC00sv*sd*bc*sc*i* ehci_pci
+</I>&gt;&gt;<i> &gt; &gt; alias pci:v*d*sv*sd*bc0Csc03i20* ehci_pci
+</I>&gt;&gt;<i> &gt; &gt;
+</I>&gt;&gt;<i> &gt; &gt; That means that ehci matches both:
+</I>&gt;&gt;<i> &gt; &gt; - 0x104A 0xCC00 (probably a device that reports a broken/bogus class)
+</I>&gt;&gt;<i> &gt; &gt; - any PCI device whose class is PCI_CLASS_SERIAL_USB_EHCI
+</I>&gt;&gt;<i> &gt; &gt;
+</I>&gt;&gt;<i> &gt; &gt; Note that for this one:
+</I>&gt;&gt;<i> &gt; &gt; - lsmod reports ehci_pci
+</I>&gt;&gt;<i> &gt; &gt; - modinfo reports the real fs path: ehci-pci
+</I>&gt;&gt;<i> &gt; &gt; - lspci -vvk reports: ehci-pci
+</I>&gt;&gt;<i> &gt;
+</I>&gt;&gt;<i> &gt; I understand. It is the kernel itself (and associated tools) that mix
+</I>&gt;&gt;<i> &gt; and match underscore and dash. Hence the need for a conversion patch.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> not really, it just means that in the kernel - are mapped to _; modprobe
+</I>&gt;&gt;<i> tools handle both cases, just modinfo reports the filename which can
+</I>&gt;&gt;<i> include '-', but it can still handle both.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> lspci and most tools just report it as it's really named (depending on
+</I>&gt;&gt;<i> filename). modules.dep and modules.descr, etc... has the name as it is as
+</I>&gt;&gt;<i> well, meaning there can be '-' in the name.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> i just see this workaround being effective to handle lstdetect, which
+</I>&gt;&gt;<i> somehow forces all of it being lowercase...
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> i don't know how much of lstdetect is hardcoded and how much of it is
+</I>&gt;&gt;<i> generated, but imho the cleanest way would be to fix lstdetect, so that it
+</I>&gt;&gt;<i> gives the proper module names...
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> i've been looking at a way to fix the module list window for choosing, but
+</I>&gt;&gt;<i> the problem isn't as simple as i thought, since insmod looks at
+</I>&gt;&gt;<i> filenames... which is another workaround.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> @thierry: i donno what you think of it, but imo:
+</I>&gt;&gt;<i> A) fixing lstdetect would be the cleanest way (maybe not the simplest)
+</I>&gt;&gt;<i> B) perhaps in the comparing i can workaround this, but the compare code will
+</I>&gt;&gt;<i> not be as simple as it should...
+</I>&gt;<i>
+</I>&gt;<i> forgot to mention option C:
+</I>&gt;<i>
+</I>&gt;<i> C) using kmod in stage1
+</I>&gt;<i>
+</I>&gt;<i> but option C might not be as easy and will increase the stage1 size; and
+</I>&gt;<i> raises the question if stage2 is actually still needed then...?
+</I>
+As already said, stage1 uses ldetect which use libkmod, thus we already
+are linked to it.
+mdv switched to kmod.
+You can look at it.
+But show me the patch before commiting it.
+In the meantime please upload a stage1 with your change revertd
+</PRE>
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="023669.html">[Mageia-dev] USB Keyboard disabled in current stage1
+</A></li>
+ <LI>Next message: <A HREF="023672.html">[Mageia-dev] USB Keyboard disabled in current stage1
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#23670">[ date ]</a>
+ <a href="thread.html#23670">[ thread ]</a>
+ <a href="subject.html#23670">[ subject ]</a>
+ <a href="author.html#23670">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>