Fw: udev 114

Moritz Heiber moe at lunar-linux.org
Mon Aug 27 19:33:35 CEST 2007


Just to make sure: Please be patient on this one. I'm going to be home
by the 11th next month. I'll get right to this. Just give me some time.
udev has become a very crucial module and I really don't want to screw
it up.

Regards,

Moritz

Begin forwarded message:

Date: Mon, 27 Aug 2007 10:16:37 -0700 (PDT)
From: Florin Braescu <florin_brs_ro at yahoo.com>
To: Zbigniew Luszpinski <zbiggy at o2.pl>
Cc: moe at lunar-linux.org, stumbles at lunar-linux.org
Subject: Re: udev 114


--- Zbigniew Luszpinski <zbiggy at o2.pl> wrote:

> Florin Braescu <florin_brs_ro at yahoo.com> wrote:
> > Hi,
> >
> >   I use for some time the 114 version of udev. I
> > attach here the module i use. Please give it a
> try.
> >
> >   Florin
> 
> Hi Florin,
> 
> your udev work nice.
> Some MHO and cosmetic changes:
> BUILD:
> +	extras/collect
> This tool might be useful.
> 
> -	install -m644
> ${SOURCE_DIRECTORY}/etc/udev/gentoo/50-udev.rules  \
> -                 /etc/udev/rules.d/50-udev.rules   
>                &&
> -	install -m755 ${SOURCE_CACHE}/${SOURCE3} \
> -                 /etc/udev/scripts.d/raid-devfs.sh
> +	install -m644
> ${SOURCE_DIRECTORY}/etc/udev/gentoo/50-udev.rules \
> +               /etc/udev/rules.d/ &&
> +	install -m755 ${SOURCE_CACHE}/${SOURCE3} \
> +                 /etc/udev/scripts.d/
> This is shorter if you do not change destination
> name. Just cosmetic.
> 
> -	for script in
> ${SOURCE_DIRECTORY}/etc/udev/rules.d/*; do
> -	install -m644 ${script} /etc/udev/rules.d/
> -	done  &&
> +	install -m644
> ${SOURCE_DIRECTORY}/etc/udev/rules.d/* \
> +                 /etc/udev/rules.d/ &&
> This is shorter. Just cosmetic.
> 
> 
> 
> DETAILS:
> -
>
SOURCE_URL=http://www.kernel.org/pub/linux/utils/kernel/hotplug/
> +
>
SOURCE_URL=$KERNEL_URL/pub/linux/utils/kernel/hotplug/
> Faster and more safe.
> 
> 
> remove tabulators (or replace them with spaces)
> from:
> POST_INSTALL
> DETAILS
> BUILD
> or you can get warning like I got. It looks Striker
> and other do not like tabs 
> in moonbase modules.
> 
> I use OpenOffice with option showing non printable
> characters to hunt for 
> tabs.
> Another option is nano with special .nanorc file
> options to show non 
> printables.
> The last editor I modified is mcedit (applied patch
> showing non printables).
> If you would like to check this stuff I can send it
> to you.
> 
> udev.rules-v8.patch:
> -SUBSYSTEM=="sound", GROUP="audio", MODE="0660"
> +SUBSYSTEM=="sound", GROUP="audio", MODE="0666"
> I think it is safe to give audio access to all.
> 
> +KERNEL=="mice",                NAME="input/%k",
> MODE="0644", SYMLINK="mouse"
> Lunar users still use /dev/mouse ? In my opinion
> this is not needed. I changed 
> xorg.conf mouse section years ago to /dev/input/mice
> .
> 
> -KERNEL=="lp[0-9]*",    SUBSYSTEM=="usb",      
> NAME="usb/%k", GROUP="lp"
> +KERNEL=="lp[0-9]*",            NAME="usb/%k",
> GROUP="lp",  SUBSYSTEM=="usb"
> What this change makes? I think exchanging places of
> these parameters do 
> nothing.
> 
> This is MHO so you can ignore these comments.
> 
 
  OK, thank You for these. I have reworked the module
a bit and bumped the version to 115. Here is the
resulted module.

  Florin


       
____________________________________________________________________________________
Be a better Globetrotter. Get better travel answers from someone who
knows. Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=list&sid=396545469
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udev.tar.bz2
Type: application/x-tbz
Size: 2566 bytes
Desc: not available
Url : http://foo-projects.org/pipermail/lunar-dev/attachments/20070827/cf4d7080/udev.tar.bin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: udev.rules-v8.patch.bz2
Type: application/x-bzip2
Size: 852 bytes
Desc: not available
Url : http://foo-projects.org/pipermail/lunar-dev/attachments/20070827/cf4d7080/udev.rules-v8.patch.bin


More information about the Lunar-dev mailing list