| === pitti [n=pitti@ubuntu/member/pitti] has joined #ubuntu-boot | ||
| infinity | Who understands udev/rules.d? | 07:56 |
|---|---|---|
| fabbione | Keybuk :) | 07:57 |
| infinity | Right, but he's not around. Anyone else? :) | 07:57 |
| === 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 | ||
| fabbione | guys who remember how to disable archive copier? | 12:24 |
| fabbione | from install cd/dvd boot prompt? | 12:24 |
| Kamion | archive-copier/copy=false | 12:25 |
| fabbione | Kamion: thanks | 12:25 |
| === pitti_ [n=pitti@195.227.105.180] has joined #ubuntu-boot | ||
| makx | hmm latest initramfs-tools remved the code surounding ${resume} | 12:56 |
| makx | config file setting this param will noop. | 12:56 |
| === 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 | ||
| Keybuk | Mithrandir: do you still have a T42? | 02:24 |
| === pitti_ [n=pitti@195.227.105.180] has joined #ubuntu-boot | ||
| === Mithrandir [n=tfheen@c5100BC63.inet.catch.no] has joined #ubuntu-boot | ||
| infinity | Keybuk : Oh, I was looking for you earlier. | 03:06 |
| Keybuk | I'm here now, what's your pleasure? | 03:07 |
| infinity | http://cerberus.0c3.net/~adconrad/ltmodem.rules | 03:07 |
| 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:08 |
| Keybuk | sure, I can stick those in udev | 03:09 |
| 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:10 |
| === Mithrand1r [n=tfheen@c5100BC63.inet.catch.no] has joined #ubuntu-boot | ||
| 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:11 |
| 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:12 |
| 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:13 |
| 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:14 |
| Keybuk | those two rules | 03:15 |
| Keybuk | 00-19 is anything really critically important to go first (ie. WAIT_FOR_SYSFS type things) | 03:15 |
| 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:16 |
| 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:17 |
| 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:21 |
| Keybuk | no :p I don't have bzr on my laptop at the moment | 03:23 |
| Kamion | ok, I'll just merge it then | 03:24 |
| Keybuk | \o/ | 06:45 |
| Keybuk | I fixed the /dev permissions bugs | 06:45 |
| Keybuk | it was debhelper being "helpful" | 06:45 |
| jbailey | Yeah, it does that. =) | 06:50 |
| Keybuk | I want them all to be 0600 by default, so people can't toy with them <g> | 06:53 |
| Keybuk | debhelper thought they should be 0644 | 06:54 |
| === 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 | ||
| Kamion | hmm, weird, now udev on the live CD doesn't want to create /dev/hd* | 11:34 |
| Kamion | or sd* | 11:34 |
| Kamion | ah, there's /dev/sd* now after udevplug -Bpci | 11:39 |
| Kamion | double-ah, iz hw-detect's fault | 11:48 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!