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