diff options
Diffstat (limited to 'zarb-ml/mageia-dev/2013-March/023672.html')
-rw-r--r-- | zarb-ml/mageia-dev/2013-March/023672.html | 131 |
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: +><i> On 20 March 2013 21:22, AL13N <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">alien at rmail.be</A>> wrote: +</I>><i> >> > > That's because modules.alias enables to match through wildchars. +</I>><i> >> > > +</I>><i> >> > > eg for ehci (see either /sbin/modinfo ehci_pci or +</I>><i> >> > > "fgrep ehci /lib/modules/3.8.3-desktop-2.mga3/modules.alias"): +</I>><i> >> > > +</I>><i> >> > > alias pci:v0000104Ad0000CC00sv*sd*bc*sc*i* ehci_pci +</I>><i> >> > > alias pci:v*d*sv*sd*bc0Csc03i20* ehci_pci +</I>><i> >> > > +</I>><i> >> > > That means that ehci matches both: +</I>><i> >> > > - 0x104A 0xCC00 (probably a device that reports a broken/bogus class) +</I>><i> >> > > - any PCI device whose class is PCI_CLASS_SERIAL_USB_EHCI +</I>><i> >> > > +</I>><i> >> > > Note that for this one: +</I>><i> >> > > - lsmod reports ehci_pci +</I>><i> >> > > - modinfo reports the real fs path: ehci-pci +</I>><i> >> > > - lspci -vvk reports: ehci-pci +</I>><i> >> > +</I>><i> >> > I understand. It is the kernel itself (and associated tools) that mix +</I>><i> >> > and match underscore and dash. Hence the need for a conversion patch. +</I>><i> >> +</I>><i> >> not really, it just means that in the kernel - are mapped to _; modprobe +</I>><i> >> tools handle both cases, just modinfo reports the filename which can +</I>><i> >> include '-', but it can still handle both. +</I>><i> >> +</I>><i> >> lspci and most tools just report it as it's really named (depending on +</I>><i> >> filename). modules.dep and modules.descr, etc... has the name as it is as +</I>><i> >> well, meaning there can be '-' in the name. +</I>><i> >> +</I>><i> >> i just see this workaround being effective to handle lstdetect, which +</I>><i> >> somehow forces all of it being lowercase... +</I>><i> >> +</I>><i> >> i don't know how much of lstdetect is hardcoded and how much of it is +</I>><i> >> generated, but imho the cleanest way would be to fix lstdetect, so that +</I>><i> >> it +</I>><i> >> gives the proper module names... +</I>><i> >> +</I>><i> >> i've been looking at a way to fix the module list window for choosing, +</I>><i> >> but +</I>><i> >> the problem isn't as simple as i thought, since insmod looks at +</I>><i> >> filenames... which is another workaround. +</I>><i> >> +</I>><i> >> @thierry: i donno what you think of it, but imo: +</I>><i> >> A) fixing lstdetect would be the cleanest way (maybe not the simplest) +</I>><i> >> B) perhaps in the comparing i can workaround this, but the compare code +</I>><i> >> will not be as simple as it should... +</I>><i> > +</I>><i> > forgot to mention option C: +</I>><i> > +</I>><i> > C) using kmod in stage1 +</I>><i> > +</I>><i> > but option C might not be as easy and will increase the stage1 size; and +</I>><i> > raises the question if stage2 is actually still needed then...? +</I>><i> +</I>><i> As already said, stage1 uses ldetect which use libkmod, thus we already +</I>><i> are linked to it. +</I>><i> mdv switched to kmod. +</I>><i> You can look at it. +</I>><i> But show me the patch before commiting it. +</I>><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> |