Re: Incorporate udev rules in initrd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 31.12.2012 11:00, Rodrigo Rivas wrote:
> On Mon, Dec 31, 2012 at 8:37 AM, Christoph Vigano <mail@xxxxxxxxxx> wrote:
> 
>>
>> How can I tell mkinitcpio to include a custom udev rule? Do I need to
>> write a hook for that? How can a hook for this look like?
> 
> 
> AFAIK, using FILES="path-to-udev-rule-file" should be enough. The udev
> binaries and basic rules are already there, so adding the custom rule to
> the image should make it work automagically.
> 
> HTH
> --
> Rodrigo
> 

Well, your solution was correct after all. The only thing missing was
the psmouse module, which needed to be added to the initrd.
Before adding that module, only a generic mouse device appeared in sysfs
and my udev rule had no attribute sensitivity which it wanted to set.

Thanks to Dave for pointing out the break-option which proved to be
useful for examining sysfs as seen by the initrd.

Now the struggle after rebooting has again lost some of its quirks ;)

Greetings,
Christoph

Attachment: signature.asc
Description: OpenPGP digital signature


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux