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