**** BEGIN LOGGING AT Sat Dec 24 02:59:57 2005 Dec 24 03:24:01 hi, want to add a modprobe on slug startup because a device that is already plugged when the slug boots is not recognized Dec 24 03:24:07 what would be a good place for that ? Dec 24 04:25:36 eFfeM: which firmware? Dec 24 05:14:41 rwhitby, was away for dinner, openslug, i was just checking out update-modules Dec 24 05:14:52 s/dinner/lunch/ Dec 24 05:15:54 yeah, update-modules is what you want Dec 24 05:16:02 look in /etc/modutils/... Dec 24 05:17:15 was trying to sort that out, there is only one file there af_packet.conf which contains alias net-pf-17 af_packet Dec 24 05:17:54 yep, so put a foo.conf in there, with the contents that you want added, and then run update-modules Dec 24 05:18:50 actually what i want is to load pvrusb2.ko upon startup, so what I need is a modprobe pvrusb2 somewhere Dec 24 05:18:59 can't really relate that to the alias Dec 24 05:19:23 oh, just put it in /etc/modules then Dec 24 05:20:32 considered that too, but it says: Dec 24 05:20:33 ### This file is automatically generated by update-modules" Dec 24 05:20:37 followed by do not modify Dec 24 05:27:42 that's why i was looking at update-modules and trying to figure out the format of the conf file Dec 24 05:31:29 hmm - I seem to remember a modules.txt file somewhere Dec 24 05:31:30 made a conf file in modutils with content "/sbin/modprobe pvrusb2" Dec 24 05:31:59 after doing update-modules this command is added to modules.conf Dec 24 05:33:44 will try a reboot now to test things, back in a min or so Dec 24 05:33:46 just put a pvrusb2 file, with pvrusb2 in it. The omission of .conf on the file name means it goes into /etc/modules instead of /etc/modules.conf Dec 24 05:34:06 ah ok Dec 24 05:34:19 See line 168 of update-modules script. Dec 24 05:37:14 changed that and indeed now it goes to /etc/modules Dec 24 05:38:12 reboot now to test things, back in a min or so Dec 24 05:38:27 it'll work :-) Dec 24 05:42:25 rwhitby, indeed it does; I'd rather check it now while i am working on it instead of being surprised later Dec 24 05:42:47 tnx for the help Dec 24 05:43:16 np Dec 24 05:50:51 hi can anyone help me with a shell script i need to controll if in a file is a 1 or 0 with a if commadn how can i do this? Dec 24 05:54:49 kami22, did you already get an answer Dec 24 06:02:00 eFfeM-log: no i don't get any answer Dec 24 06:02:07 only that you are rebooting Dec 24 06:07:19 it is not very difficult Dec 24 06:07:34 x=`cat yourfile` Dec 24 06:07:48 if test $x -eq 1 ... Dec 24 06:08:29 was trying to get hotplug to work again and somehow lost connection with the hd so had to reboot Dec 24 06:09:12 don't know why your hwclock -r does not work Dec 24 06:09:27 root@NSLU2:/etc/hotplug.d/usb# hwclock -r Dec 24 06:09:27 Sat Dec 24 14:08:59 2005 0.000000 seconds Dec 24 06:09:42 i solved my problem with the shell script Dec 24 06:09:44 this is on openslug Dec 24 06:09:48 ok Dec 24 06:10:00 but the time is a big problem :( Dec 24 06:11:55 i'll look into it ... Dec 24 06:12:26 need to reboot again, i think i made the same mistake, unplugged the power of the pvr while the hd is on the same hub Dec 24 06:12:50 apparently it takes too much current from the hub and the hd is not recognised any mre Dec 24 06:13:10 will be away for a longer time this time; will do a fsck as well Dec 24 06:13:11 later Dec 24 06:13:28 okay Dec 24 06:13:29 cu Dec 24 06:13:40 maybe on question? Dec 24 06:14:44 will the recd programm delete old timers? Dec 24 06:18:16 back with a direct connection, kami22 what did you want to ask? Dec 24 06:19:05 will the recd programm delete old timers? Dec 24 06:19:14 haven't really found what I need to do to get the fsck automatically done Dec 24 06:19:31 kami22, no, but they will not harm you. Dec 24 06:20:03 actually the prog I use to write the timers file purges expired entries (e.g. when adding a new one); recd will ignore them Dec 24 06:20:20 back in 15 mins Dec 24 06:21:14 okay Dec 24 09:57:38 hi, someone around who can do a quick peek in /usr/lib/ipkg/alternatives for me? Dec 24 09:57:52 I have a file bin-lsmod and a file lsmod in there Dec 24 09:58:25 would like to know if others have this as well, I had the idea this is one too much ... Dec 24 09:59:48 actually the problem I am having is that when installing a package update-alternatives complains: Dec 24 10:00:02 cannot register alternative lsmod to /sbin/lsmod since it is already registered to /bin/lsmod Dec 24 10:34:19 apparently module-init-tools has as postinst: Dec 24 10:34:20 update-alternatives --install /bin/lsmod bin-lsmod /bin/lsmod.26 60 Dec 24 10:34:20 update-alternatives --install /sbin/lsmod lsmod /bin/lsmod.26 60 Dec 24 10:34:36 could this be my problem? Dec 24 12:17:05 03bzhou * 10unslung/ (6 files in 2 dirs): upstream upgrade from R10B-8 to R10B-9 Dec 24 13:17:10 03bzhou * 10unslung/ (2 files in 2 dirs): patch to ln -s relative path epmd Dec 24 16:12:42 03rwhitby * 10debian/Makefile: Added targets for building kernel from debian kernel svn repo. Dec 24 16:40:22 m Dec 24 16:44:51 hi Dec 24 16:54:20 03rwhitby * 10debian/patches/debian-nslu2.patch: *** empty log message *** Dec 24 16:57:39 03rwhitby * 10debian/patches/linux-2.6.15-rc6-nslu2.patch: -rc6 patch for nslu2. Dec 24 16:59:45 03rwhitby * 10debian/patches/debian-nslu2.patch: Updated for latest debian kernel svn Dec 24 17:01:10 03rwhitby * 10debian/configs/nslu2_defconfig-2.6.15-rc6: -rc6 config for nslu2. Dec 24 17:05:52 03rwhitby * 10debian/patches/debian-nslu2.patch: Fixed the paths Dec 24 19:08:53 ~weather klft Dec 24 19:08:56 Lafayette, Lafayette Regional Airport, LA, United States; (KLFT) 30-12-08N 091-59-35W 11M; last updated: 2005.12.25 0153 UTC; Dew Point: 37.0 F (2.8 C); Pressure (altimeter): 29.83 in. Hg (1010 hPa); Relative Humidity: 40%; Sky conditions: clear; Temperature: 61.0 F (16.1 C); Visibility: 10 mile(s); Wind: from the W (280 degrees) at 8 MPH (7 KT) Dec 24 19:09:15 sigh Dec 24 19:09:21 it aint no 61F here Dec 24 19:12:48 ~weather ypad Dec 24 19:12:52 Adelaide Airport, Australia; (YPAD) 34-56S 138-31E 4M; last updated: 2005.12.25 0130 UTC; Dew Point: 51 F (11 C); Pressure (altimeter): 30.00 in. Hg (1016 hPa); Relative Humidity: 56%; Sky conditions: mostly cloudy; Temperature: 68 F (20 C); Visibility: greater than 7 mile(s); Wind: from the W (280 degrees) at 16 MPH (14 KT) Dec 24 19:15:12 something is wrong with the NOAA Dec 24 19:15:32 even they say it's 61F and I just waled outside and it's like 37F **** ENDING LOGGING AT Sun Dec 25 02:59:56 2005