**** BEGIN LOGGING AT Sat Feb 18 10:59:56 2006 Feb 18 11:03:25 eFfeM: the last one about ipkg is known and ignorable Feb 18 11:03:34 the earlier ones are a real problem Feb 18 11:08:42 figured that out, but fixing this is beyond my control Feb 18 11:29:25 NAiL, koen, have been looking into my reboot problem. Feb 18 11:30:20 recap: hd on hub on usb port 2; boot works if port1 of the slug is empty, but fails if port1 contains my usb audio thing Feb 18 11:31:01 figured out that adding sleep="1" will allow booting even if the audio is present Feb 18 11:31:28 apparently the presence of the audio device causes things to take a little bit longer and the disk is not found yet in that case Feb 18 11:31:38 o_O Feb 18 17:09:23 hi beewoolie-afk, I've been looking at apex the other day as I wanted to have something to boot directly from disk. Feb 18 17:09:35 eFfeM: IDE disk? Feb 18 17:09:45 usb Feb 18 17:09:55 Ah. We don't have any usb drivers yet. Feb 18 17:10:05 ah, thought it also worked on the slug Feb 18 17:10:17 I was thinking of looking at the kernel's small, USB-Storage driver to see how complex it was. Feb 18 17:10:36 I suspect it wouldn't be too difficult, but I've never looked into it. Feb 18 17:10:53 my understanding from http://www.nslu2-linux.org/wiki/HowTo/RunApex and the apex wiki was that this would work Feb 18 17:11:05 there have been lots of reasons to add USB support: console on USB serial, IO from USB flash sticks. Feb 18 17:11:16 wouldn't know how to get an ide disk on the slug (apart from usb<->ide bridging Feb 18 17:11:24 You should be able to use an initramfs to do the trick. Feb 18 17:11:38 how? Feb 18 17:11:45 In other words, if you boot the kernel using flash, you can get access to anything else you need. Feb 18 17:11:56 Are you willing to put the kernel into NOR flash? Feb 18 17:12:38 you overask me, I was unaware that there were two different sorts of flash in the slug Feb 18 17:12:44 There isn't Feb 18 17:13:05 If you want to run from USB, you need to have a driver for the USB interface. Feb 18 17:13:11 ATM, APEX has no USB drivers. Feb 18 17:13:16 i understand Feb 18 17:13:30 You *can* boot a kernel tha is in flash which has the drivers. Feb 18 17:13:55 Once the kernel is running, we use an initrd or initramfs to deal with the startup switch to USB disk or whatever. Feb 18 17:14:08 You could boot nfs or anything else you can dream up. Feb 18 17:14:24 hmm. sounds ok Feb 18 17:14:39 Why do you want to use APEX? Not that I Feb 18 17:14:43 I Feb 18 17:14:52 I'm not trying to discourage you. Feb 18 17:14:57 basically I would like to have two partitions on my hd, one for debian, one for openslug and have a simple way to choose which one I boot Feb 18 17:15:09 so I would like to be able to boot from disk. Feb 18 17:15:10 Hmm On the slug. Feb 18 17:15:24 That also makes things simpler when I want to try a new kernel Feb 18 17:15:26 Do you have a console on your slug? Feb 18 17:15:39 yes, on the slug. after all this is #openslug :-) Feb 18 17:15:51 It isn't necessary, but it does help. Feb 18 17:16:09 You *can* use RedBoot to do that, but I prefer APEX, of course. Feb 18 17:16:26 eFfeM: I think beewoolie-afk means a serial console ;) Feb 18 17:16:31 not yet, I'm working on it. actually the electronics shop I went to for posts to mount the cable didn't have that stuff any more to my amazement Feb 18 17:16:37 NAiL, understood that Feb 18 17:16:41 ah Feb 18 17:16:45 what other kind of console could there be? Feb 18 17:17:01 just placed a bid on a siemens data cable on ebay Feb 18 17:17:06 Ah. Feb 18 17:17:22 The other place to look is the local RadioShack or equivalent. Feb 18 17:17:42 When a cell-phone goes out of production, they sell the data cables for cheap. Feb 18 17:17:49 All of the cables are the same inside. Feb 18 17:18:01 They change the connector and charge US$30 Feb 18 17:18:10 On sale, these are about US$10. Feb 18 17:18:16 radio shack is us, I am in EU Feb 18 17:18:17 I prowl for them every now and then. Feb 18 17:18:30 the siemens cables sell on ebay for a few euros Feb 18 17:18:32 Right, but I'm certain that you can find a similar deal somewhere. Feb 18 17:18:37 Nice. Feb 18 17:18:44 As long as the shipping doesn't kill you. Feb 18 17:18:48 especially the serial ones. Feb 18 17:19:07 So, the thiing about supporting a USB console would be that we wouldn't have to mod the SLUG to get a console. Feb 18 17:19:10 nope. this was from germany. eur 2.50 shipping if I didn't need the cd Feb 18 17:19:19 (which I obviously do not need) Feb 18 17:19:24 :-) Feb 18 17:20:02 i've been thinking of a usb<->serial cable, but that would require a kernel mod or so to get it working Feb 18 17:20:38 Hmm, yeah, but that's well travelled territory. Feb 18 17:20:44 There's a netconsole after all. Feb 18 17:21:58 I've used netconsole before; the issue with usb<->serial is that it will require the usb drivers to be loaded so it is somewhat later active than serial Feb 18 17:22:30 Sure. The way we get console messages early in the boot process is a real hack. Feb 18 17:22:52 We could develop a similar technique for USB serial. Feb 18 17:23:14 Remember, we only need output until the system becomes active. Feb 18 17:23:18 postponed the serial for quite a while, but decided now the time has come to make the mod Feb 18 17:23:42 The hardest part is removing the solder from the holes where you'll insert the header. Feb 18 17:24:15 i know and that is what held me back. Feb 18 17:24:28 Solder sucker works best for me. Feb 18 17:24:37 I had someone at work removed R83 for me and install the auto-reboot circuitry Feb 18 17:24:54 Do we have a good design for that? Feb 18 17:25:01 I thought that that wasn't reliable? Feb 18 17:25:08 the poweron mod? Mine works every time. Feb 18 17:25:19 Hey. What's the circuit? Is there a link? Feb 18 17:25:20 (on two slugs) Feb 18 17:25:21 but he could not get all holes open. I think I'll try again with tapping with the wrist or pushing something from the back e.g. a needle Feb 18 17:25:37 its on the wiki Feb 18 17:25:45 I put the soldering iron on one side and suck from the other. Feb 18 17:25:51 beewoolie-afk: http://www.nslu2-linux.org/wiki/HowTo/ForcePowerAlwaysOn Feb 18 17:25:51 http://www.nslu2-linux.org/wiki/HowTo/ForcePowerAlwaysOn Feb 18 17:25:57 ;) Feb 18 17:26:00 beat you :-) Feb 18 17:26:11 depends Feb 18 17:26:18 18:27 < NAiL> beewoolie-afk: http://www.nslu2-linux.org/wiki/HowTo/ForcePowerAlwaysOn Feb 18 17:26:20 Which one do you use? Feb 18 17:26:21 18:27 < eFfeM> http://www.nslu2-linux.org/wiki/HowTo/ForcePowerAlwaysOn Feb 18 17:26:27 I'm using alternative 1 Feb 18 17:26:29 i've used the CP120-450DI/TO solution Feb 18 17:26:33 the MCP Feb 18 17:26:35 yes Feb 18 17:26:48 ok, let's call it a draw, here it says: Feb 18 17:26:49 eFfeM http://www.nslu2-linux.org/wiki/HowTo/ForcePowerAlwaysOn Feb 18 17:26:49 NAiL beewoolie-afk: http://www.nslu2-linux.org/wiki/HowTo/ForcePowerAlwaysOn Feb 18 17:26:56 :-) I'm reading it. Feb 18 17:27:06 can't clip the time in xchat Feb 18 17:27:10 I know that we've had lots of trouble with this. Feb 18 17:27:18 I wasn't aware that someone foound a reliable solution. Feb 18 17:27:30 Someone had problems with defective MCP Feb 18 17:27:34 's I think Feb 18 17:27:45 ie, had to try a couple before one worked Feb 18 17:28:10 funny. It's a reset controller. I never thought there would be such a thing. Feb 18 17:28:21 i haven't had trouble with it, actually I ordered a free sample from a website (don't know the address any more, but it was mentioned here or on the mailing list Feb 18 17:28:54 18:27 < NAiL> beewoolie-afk: http://www.nslu2-linux.org/wiki/HowTo/ForcePowerAlwaysOn Feb 18 17:28:57 18:27 < eFfeM> http://www.nslu2-linux.org/wiki/HowTo/ForcePowerAlwaysOn Feb 18 17:28:59 argh Feb 18 17:29:07 http://sample.microchip.com/ Feb 18 17:29:10 Um, I got it. Feb 18 17:29:36 Cool. Feb 18 17:30:49 NAiL, our messages crossed, your's didn't arrive here and mine didn't arrive at your place before we did sent Feb 18 17:30:56 microchip indeed rings a bell Feb 18 17:31:12 hw guru's: anyone an idea if it is possible to connect this to a slug: Feb 18 17:31:13 http://cgi.ebay.nl/480x320-GRAPHIC-LCD-DISPLAY-PANEL-WITH-TOUCHSCREEN_W0QQitemZ7583863678QQcategoryZ26206QQrdZ1QQcmdZViewItem Feb 18 17:31:25 that would be pretty cool Feb 18 17:31:49 eFfeM: No. Feb 18 17:31:59 Not on a slug. Not without an LCD controlller. Feb 18 17:32:17 I have some other boards that can do this, but the slug requires external hardware for LCD. Feb 18 17:33:32 i was expecting that it would need an additional controller Feb 18 17:35:36 a touchscreen on the slug would be very nice Feb 18 17:40:10 heeey Feb 18 17:40:28 * NAiL gets a few AT90USB's for free Feb 18 17:41:41 cool Feb 18 17:47:15 heh, 48 GPIOs :P Feb 18 18:36:38 hi, can anyone confirm for me that the header I need for serial is the std 0.1" header (don't want to switch it off and open it only to confirm this) Feb 18 18:38:06 It's a standard header that you could put jumpers on. Feb 18 18:38:10 don't know measurements ;) Feb 18 18:39:00 eg, the headers used for front panels on PCs Feb 18 18:39:08 i think they are the .1 fmt, this is the common one, just wanted to verify this Feb 18 18:39:16 yeah Feb 18 18:41:25 eFfeM: Indeed. It's a standard header. I have pulled them from old motherboards. Feb 18 18:41:34 The audio connectors work well Feb 18 18:41:43 * beewoolie-afk really likes sampling parts. Feb 18 18:42:11 Any fun parts you've found? ;) Feb 18 18:42:30 i used 2x2 from an old serial port isa card and a cdrom audio cable for connecting Feb 18 18:43:08 ah, ok didn't consider cannibalizing an old 133 mhz pentium that is lying around Feb 18 18:43:21 * eFfeM prefers sampling food & drinks, not part Feb 18 18:43:33 parts are too hard for my teeth Feb 18 18:43:35 NAiL: To be honest, this is the first time. Feb 18 18:43:53 But it's kinda of thriling considering how much I've spent on parts that haven't worked. Feb 18 18:44:16 i Feb 18 18:44:18 I both some break-away sockets that turned out to have round holes that don't accept .1" headers. Feb 18 18:44:57 i've mostly given up getting this rt2x00 dongle to work, will try to return it monday (but didn't saw zydas dongles in the shop listing) Feb 18 18:46:18 actually for serial I was planning to get some small 4 pin connector to mount on the slug to which I can then connect the cable should I need it Feb 18 18:46:30 eFfeM: That's what I'm talking about. Feb 18 18:46:56 Oh, you're talking about modding the case. Feb 18 18:47:52 hmm Feb 18 18:48:03 * NAiL considers making a cellslug Feb 18 18:48:10 http://www.sparkfun.com/commerce/product_info.php?products_id=630 <-- $75 :) Feb 18 18:50:00 looks good! Feb 18 18:50:25 it'd be kinda neat Feb 18 18:50:35 yeah I have though of that myself Feb 18 18:51:04 set up an interface to send/recieve sms and stuff :-P Feb 18 18:51:18 browsing the website. if you really want a cool cellphone buy this: http://www.sparkfun.com/commerce/product_info.php?products_id=286 Feb 18 18:51:36 imagine getting a call during a meeting and taking this out of your briefcase :-) Feb 18 18:52:08 heh Feb 18 18:52:18 is that the rotary? Feb 18 18:52:24 yup Feb 18 18:53:32 I really like that site - tons of cool stuff Feb 18 18:53:45 yeah Feb 18 18:53:53 I've ordered stuff from them before Feb 18 18:54:16 That's where I bought the LCD-display I've connected to my DS101 :) Feb 18 18:55:13 NAiL, how did you connect this? Feb 18 18:55:53 It's a SerLCD, so I've connected it to a pl2303 which I soldered to the internal USB-port Feb 18 18:56:25 which one did you use ? Feb 18 18:56:37 There's plenty of room in the ds101, so I've got two pl2303's inside it and an LCD-display. There's more space to cram stuff left :-D Feb 18 18:56:56 I used the 16x2 serlcd, since it has backlight Feb 18 18:57:15 if i have the lcd display, would i be able to drive/control it over the serial port? Feb 18 18:57:29 I've got a bunch of 20x4 displays lying around, but none with backlight :( Feb 18 18:57:47 uhm, only if you disable the console Feb 18 18:58:01 and it will probably be confused by redboot Feb 18 18:58:43 I can't remember which way the other serial port was Feb 18 18:59:09 if it was read or write Feb 18 18:59:39 yeah, can imagine this would confuse redboot Feb 18 18:59:43 gone, back later Feb 18 18:59:47 eFfeM: btw Feb 18 18:59:54 eFfeM: Have you checked usblcd.de? Feb 18 19:18:32 * NAiL fetches "the C book" Feb 18 19:27:25 usblcd looks pretty sweet Feb 18 19:27:54 except for everything being out of stock Feb 18 19:28:01 and damn expensive too Feb 18 19:28:13 But it's a neat solution Feb 18 19:28:14 and that Feb 18 19:28:23 woo Feb 18 19:28:28 * NAiL digs Anjuta Feb 18 19:28:51 I still need to add that to OE Feb 18 19:29:37 This just redefined my definition of IDE Feb 18 19:29:53 * NAiL was used to the likes of TurboPascal Feb 18 19:30:15 that the IDE brings up the function definition when I type it is just brilliant :-) Feb 18 19:44:19 NAiL, i did look at usblcd and at one point I dropped them an email but got no response. Feb 18 19:44:35 on the lcdproc website they say: It looks like this company has gone out of business since all their products are out of stock for c$quite some time and they did not answer mails regarding their products. Feb 18 19:46:30 shame Feb 18 19:46:46 cwlinux also looks nice, but $ 79 (with keypad $ 95) Feb 18 19:47:21 that is for gfx display, 16x2 serial usb = $ 47 Feb 18 19:56:45 I think I'll write a small daemon to control my nice display Feb 18 19:56:50 That's a nice programming exercise Feb 18 20:05:40 yup Feb 18 20:08:31 the nice thing about the serlcd is that is that I can adjust the backlight in software Feb 18 20:08:55 hm that looks god Feb 18 20:25:28 anyone an idea on the proper way to invoke hci_attach ? I am having problems with what to specify for tty Feb 18 20:26:23 do you have a serial dongle? Feb 18 20:26:26 ttyS0 and ttyS1 do not work (timeout) ttyS2 says, can't open serial port Feb 18 20:26:32 no Feb 18 20:26:41 then you don't need hciattach afaik Feb 18 20:27:04 i want to connect over telnet or so to my phone Feb 18 20:27:16 that's rfcomm Feb 18 20:27:27 (I think) Feb 18 20:27:40 rfcomm does serial emulation over bluetooth Feb 18 20:28:02 PAN (bnep0) does ethernet emulation Feb 18 20:28:13 i've loaded the rfcomm module, but what port does it use ? Feb 18 20:28:15 dun is for ppd stuff Feb 18 20:28:25 /dev/rfcomm0 iirc Feb 18 20:28:47 ohhhhh Feb 18 20:29:01 eFfeM: see the smart bt section in http://handhelds.org/moin/moin.cgi/kbdd Feb 18 20:29:27 there is no such thing as /dev/rf*, am looking at the hh page Feb 18 20:29:56 depending on wether you use devfs or udev they will be called different f Feb 18 20:30:05 you might even need to mknod them Feb 18 20:30:25 the hh page indeed mentions rfcomm Feb 18 20:30:55 with devfs it is /dev/bluetooth/rfcomm/0 Feb 18 20:31:54 hmm. I'm using udevd, and udev.rules says: udev.rules:KERNEL="rfcomm[0-9]*", NAME="%k", GROUP="users", MODE="0660" Feb 18 20:32:00 no /dev/bluetooth either Feb 18 20:32:35 and rfcomm.ko is loaded? Feb 18 20:32:57 rfcomm 24408 3 Feb 18 20:33:10 weird Feb 18 20:35:38 will the node only be created if I make a connection? Feb 18 20:38:17 it has to be there to create a connection Feb 18 20:38:19 rfcomm bind rfcomm0 does create the port Feb 18 20:38:58 cute Feb 18 20:39:31 not there yet, when I try to connect from the phone to the slug I get "cannot pair" Feb 18 20:40:00 i changed the pin as the default Bluez cannot be entered on the phone, it needs digits Feb 18 20:40:06 should I reboot or so Feb 18 20:40:14 tl let it take effect Feb 18 20:47:04 "won" a siemens S25 serial cable on ebay for eur 1. no reason left to serialise the slug Feb 18 20:48:26 no reason *not* to, I hope? ;) Feb 18 20:49:35 yes; oops Feb 18 20:49:52 2.5 shipping to nl, so a real bargain Feb 18 20:51:02 yeah Feb 18 20:51:16 I need to get some more cables Feb 18 21:22:33 hi, I have openslug-2.7b and want a spca50x usb cam kernel module -- howto? Feb 18 21:26:19 isn't this on the feed (actually the name is spaca50xx Feb 18 21:26:30 s/spa/sp Feb 18 21:26:48 s/spa/sp/ Feb 18 21:26:49 no bot Feb 18 21:26:57 the name is spca50xx Feb 18 21:27:15 oops spca5xx Feb 18 21:28:08 hm, which feed? Feb 18 21:28:09 checked, it is not there and the bb file does not build so pmeerw i think you are out of luck Feb 18 21:28:12 root@nslu2:~# ipkg list | grep -i spca Feb 18 21:28:12 root@nslu2:~# Feb 18 21:28:22 no, i just checked it doesn't even build Feb 18 21:28:23 ok :( Feb 18 21:30:07 I'm trying to setup ATM; how long is make openslug-image supposed to take? Feb 18 21:36:07 pmeerw, depends on your hw. I think on my 3 Ghz/1GB PC it takes between 1 and 2 hrs Feb 18 21:46:28 so prob. forever on my AMD 1.3 GHz ... Feb 18 21:49:04 pmeerw, typically what I do is leave it on on an afternoon when I'm away. Feb 18 21:49:14 You could also let it run overnight Feb 18 21:49:20 there'd be a spca5xx-20060202.tar.gz instead of 20050419.tar.gz mentioned in spca5xx_20050419.bb Feb 18 21:50:04 that could be better, copy the bb file to spca5xx_20060202.bb and modify it if needed, perhaps that works Feb 19 10:56:44 how can I build packages against openslug 2.7-beta? Feb 19 10:57:17 if I "wget http://www.nslu2-linux.org/Makefile" and make from there will get HEAD, right? Feb 19 10:58:34 regarding spca5xx: it build if you put quotes ("") around $(CC) in the spca5xx Makefile Feb 19 10:58:54 ie. $(MAKE) -C $(KERNELDIR) SUBDIRS=$(PWD) CC="$(CC)" modules (in the spca5xx Makefile) **** ENDING LOGGING AT Sun Feb 19 10:59:57 2006