[07:56] <infinity> Who understands udev/rules.d?
[07:57] <fabbione> Keybuk :)
[07:57] <infinity> Right, but he's not around.  Anyone else? :)
[12:24] <fabbione> guys who remember how to disable archive copier?
[12:24] <fabbione> from install cd/dvd boot prompt?
[12:25] <Kamion> archive-copier/copy=false
[12:25] <fabbione> Kamion: thanks
[12:56] <makx> hmm latest initramfs-tools remved the code surounding ${resume}
[12:56] <makx> config file setting this param will noop.
[02:24] <Keybuk> Mithrandir: do you still have a T42?
[03:06] <infinity> Keybuk : Oh, I was looking for you earlier.
[03:07] <Keybuk> I'm here now, what's your pleasure?
[03:07] <infinity> http://cerberus.0c3.net/~adconrad/ltmodem.rules
[03:08] <infinity> a) Do I even need that in the new world order?
[03:08] <Keybuk> almost certainly
[03:08] <infinity> b) Do I need anything OTHER than that (ie: something to make hotplugging work?)
[03:08] <Keybuk> it'll need rewriting though
[03:08] <Keybuk> if the ltmodem drivers correctly advertise what things they hook for, you don't need anything for hotplug
[03:08] <infinity> c) If I only need the above, is there any way to get it into udev itself, so I don't have to worry about sticking it in lrm-common, or some other odd place.
[03:09] <Keybuk> sure, I can stick those in udev
[03:10] <infinity> How does it advertise?
[03:10] <infinity> MODULE_DEVICE_TABLE(pci, ltmodem_pci_ids);
[03:10] <infinity> ?
[03:10] <infinity> (ltmodem_pci_ids is a big struct with a mess of PCI IDs)
[03:10] <Keybuk> yup
[03:10] <Keybuk> sounds reasonable
[03:10] <Keybuk> does "modinfo ltmodem" list a bunch of alias lines?
[03:11] <Keybuk> (ltserial seems to)
[03:11] <infinity> Yeah, it's ltserial that has the table..
[03:11] <infinity> I assume ltmodem gets loaded from ltserial or something.
[03:11] <infinity> Not having the hardware makes it difficult to actually test these theories. :)
[03:12] <Keybuk> yeah, ltmodem depends: ltserial
[03:12] <Kamion> infinity: wow, does that even work? KERNEL== not KERNEL= surely ...
[03:12] <infinity> Kamion : It works for the driver maintainer on Debian.
[03:12] <infinity> (As of sometime this summer)
[03:12] <Keybuk> heh
[03:12] <Kamion> maybe he has no udev rules after it ;)
[03:12] <infinity> So... "maybe"?
[03:12] <Keybuk> KERNEL="ttyLTM[0-9] " will return true <g>
[03:13] <Keybuk> (and change the kernel-assigned make for any following udev rule :p)
[03:13] <Keybuk> that should be
[03:13] <Keybuk> KERNEL=="ttyLTM[0-9] *", SYMLINK+="modem"  (in 40-permissions.rules)
[03:13] <Keybuk> KERNEL=="ttyLTM[0-9] *", MODE="0660", GROUP="dialout"  (in 60-symlinks.rules)
[03:14] <Keybuk> uh, reverse the filenames and get me more coffee <g>
[03:14] <infinity> Cool.  If you can put it in udev proper, I'll be a happy camper.
[03:14] <Keybuk> yup
[03:14] <infinity> Out of curiosity, though, how should I do it (and at what order in rules.d) if I had to do it myself?
[03:15] <Keybuk> those two rules
[03:15] <Keybuk> 00-19 is anything really critically important to go first (ie. WAIT_FOR_SYSFS type things)
[03:16] <Keybuk> 20-39 assigns names
[03:16] <Keybuk> 40-59 assigns permissions
[03:16] <Keybuk> 60-79 adds symlinks
[03:16] <Keybuk> 80-99 runs programs
[03:16] <infinity> Cool.
[03:16] <Keybuk> usually pick low+5 (ie. 25, 45, 65, 85, 95 [for modprobe calls] ) for custom rules
[03:17] <Keybuk> the idea is that it makes /etc/udev/rules.d/50-*.rules the perfect place for user rules
[03:17] <Keybuk> they can't override names we assign, but can assign their own
[03:17] <Keybuk> they can override permissions, symlinks, programs, and can do things like options="last_rule" and stuff
[03:21] <Kamion> Keybuk: oh yeah, thanks for the pcmciautils change, I'd been meaning to do that
[03:21] <Kamion> Keybuk: do you have a bzr branch for that?
[03:23] <Keybuk> no :p  I don't have bzr on my laptop at the moment
[03:24] <Kamion> ok, I'll just merge it then
[06:45] <Keybuk> \o/
[06:45] <Keybuk> I fixed the /dev permissions bugs
[06:45] <Keybuk> it was debhelper being "helpful"
[06:50] <jbailey> Yeah, it does that. =)
[06:53] <Keybuk> I want them all to be 0600 by default, so people can't toy with them <g>
[06:54] <Keybuk> debhelper thought they should be 0644
[11:34] <Kamion> hmm, weird, now udev on the live CD doesn't want to create /dev/hd*
[11:34] <Kamion> or sd*
[11:39] <Kamion> ah, there's /dev/sd* now after udevplug -Bpci
[11:48] <Kamion> double-ah, iz hw-detect's fault