**** BEGIN LOGGING AT Fri Apr 21 09:59:57 2006 Apr 21 11:53:43 has anyone used these seagate (round) pocket drives with nslu2? Apr 21 13:29:45 Little help.... Apr 21 13:30:13 ? Apr 21 13:30:32 native compileing...and i am stupid... Apr 21 13:32:32 on which system, unslung, openslug, debianslug, opendebianslug, so much choices? Apr 21 13:32:40 unslung 6.8 Apr 21 13:32:54 ipkg install unslung-devel Apr 21 13:33:25 yeah its almost good. i am just missing a dumb thing i will re-do the error Apr 21 13:36:16 ok my sed can't read my directory /libtool it does not exist... and make finished with error 2 Apr 21 13:43:32 not sure i am commenting out enough things Apr 21 13:46:13 got it...i think Apr 21 13:46:30 damm..I AM good Apr 21 13:54:24 and....no rule to make target 'install-strip' Apr 21 13:54:31 now what it i miss Apr 21 13:54:38 or comment out too much Apr 21 14:12:32 learning.... Apr 21 15:57:03 03bzhou * 10unslung/make/py-formencode.mk: upstream upgrade to 0.5.1 Apr 21 17:06:31 03bzhou * 10unslung/make/py-pastescript.mk: upstream upgrade to 0.5.1 Apr 21 17:06:53 03bzhou * 10unslung/make/py-paste.mk: upstream upgrade to 0.9 Apr 21 20:00:00 Hi folks. I'm trying to communicate with a Nokia phone through the slug. A site told me to run "modprobe usbserial vendor=0x0421 product=0x0802" on a Linux box to create the proper ports. When I do, I get the error message "modprobe: could not parse modules.dep". Since I'm still figuring out exactly what I'm doing I'd like to get some advice on how to proceed. Grateful for any help! Apr 21 20:01:12 have you done "depmod -a"? Apr 21 20:12:21 well, yep - but depmod contains nothing but a shellscript with the command "exit 0" Apr 21 20:13:49 well, which depmod do you mean, and on which fw version? Apr 21 20:14:33 I'm talking about /sbin/depmod, Unslung 5.5 Apr 21 20:15:32 maybe that ipkg install modutils, or something like that, gives you a /opt/bin/modprobe which is an executable... jam Apr 21 20:16:32 modutils it should be Apr 21 20:16:48 and its /opt/sbin/depmod Apr 21 20:18:24 Same error :( : "modprobe: could not parse modules.dep" Apr 21 20:19:01 Sorry...: /opt/sbin/modprobe gives "modprobe: Can't locate module usbserial" Apr 21 20:19:16 Is that downloadable somewhere? Apr 21 20:20:32 you may use http://ipkgfind.nslu2-linux.org/ or browse the feed directly Apr 21 20:21:26 http://ipkgfind.nslu2-linux.org/ Apr 21 20:21:46 Right-o - sorry for asking stupid questions! Apr 21 20:22:07 reading the wiki helps ;-) Apr 21 20:22:18 sorry, wrong link... http://ipkg.nslu2-linux.org/feeds/unslung/ Apr 21 20:22:35 ~nslu2-wiki Apr 21 20:22:36 extra, extra, read all about it, nslu2-wiki is the short-hand way of saying "Have a look at the NSLU2-Linux Wiki at http://www.nslu2-linux.org/". Apr 21 20:22:43 ~botsnack Apr 21 20:22:44 thanks, caplink811_log Apr 21 20:23:14 It does and I have! But I didn't find any particular info on the modprobe-question and my Linux-knowledge isn't deep enough (yet?). Apr 21 20:23:39 Unslung? modprobe? Don't think the two work together... Apr 21 20:23:45 Or is it openslug? Apr 21 20:23:53 unslung, 5.5 Apr 21 20:25:57 Yeah, I don't think modprobe does anything on Unslung. You need to install modules manually (usually, serial seems to be an exception) with insmod. All other plumbing (/dev entries, etc, you need to handle yourself on Unslung) Apr 21 20:26:57 OK. Tell me, any good walkthrough for that manual labor? Apr 21 20:27:29 No I take that back - I see that I put the insmod command in the startup script for my serial ports too, so even serial needs insmod. What modules are you trying to install? Apr 21 20:27:37 insmod /lib/modules/path/to/usbserial.o Apr 21 20:27:44 I'm trying to install usbserial Apr 21 20:28:02 I didn't think usbserial took arguments. I've never seen it done... Apr 21 20:28:45 Let's see... Apr 21 20:28:54 insmod usbserial; insmod pl2303 -- that does it for mine -- as soon as that's done, the USB-Serial converter is recognized and /dev/ttyUSB0 becomes an active device. Apr 21 20:30:08 well, if i run /opt/sbin/iwhat's the pl2303? Apr 21 20:30:16 Sorry: what's the pl2303? Apr 21 20:31:04 usb-serial converter Apr 21 20:32:12 Just checked the source - usbserial takes a command-line flag to enable debug; also appears that one can specify the USB device codes, although why one would do so I do not know. Apr 21 20:32:19 And: The original command I was trying to do was "modprobe usbserial vendor=0x0421 product=0x0802" (found that on a website, from a guy who had succeeded with my project on an ordinary Linux-box). Can I ignore the vendor/product-stuff? Apr 21 20:32:48 You should be able to ignore that. What type of converter do you have, do you know? Apr 21 20:33:04 It's a Nokia data cable for use with cellphones Apr 21 20:33:09 Old nokia cable? Apr 21 20:33:16 Nope, spanking new. Apr 21 20:33:56 Without the modules loaded, do you get any messages with USB device ids (vendor and product) when you plug it into the slug? Apr 21 20:35:11 No. I managed to connect to it with the ttyp0-port, but the connection was obviously garbled - I never managed to send/receive any good stuff. The conf was for the older DKU-5 Apr 21 20:35:41 So I did some web search, and found "http://linux.seindal.dk/item97.html" - there's this guy who managed to do what I'm trying to do Apr 21 20:36:31 But I haven't hacked this deep and dark into connectiong external stuff to a Linux-box before, so I'm a bit lost... Apr 21 20:38:46 What does "lsusb" report when the device is plugged in? (We need those id codes from your specific device to match to the driver)... Apr 21 20:39:48 hmm...just a sec...where do i find the lsusb-command? is it in busybox? Apr 21 20:40:39 No - /opt/sbin/lsusb (if not present, do ipkg install usbutils to install) Apr 21 20:41:02 yay, wasn't installed. just a sec Apr 21 20:43:04 k, here we go. Six lines, this one was added after plugging in the phone: Bus 003 Device 002: ID 0421:0802 Apr 21 20:43:22 Looks like the vendor/product-code to me! Apr 21 20:46:44 I wouldn't bet on the cable being supported by usbserial in unslung though Apr 21 20:47:09 oh Apr 21 20:47:20 The CA-42 runs the standard usb-to-serial protocol (usbcdc). Thus the usbserial driver can be used. Before plugging the cable use the insmod to bind the usbserial driver to the cable: insmod usbserial vendor=0x0421 product=0x0802. As soon as you plug in the cable a /dev/ttyUSBX node should be created. Apr 21 20:47:49 Where did you find that info, Nail? Apr 21 20:48:01 http://www.qbik.ch/usb/devices/showdev.php?id=3251 Apr 21 20:48:13 linked from http://wiki.gnokii.org/index.php/New_DKU_cable Apr 21 20:48:24 Ok - that seems to be a very recent addition. It is not supported by any kernel yet as far as I know; I did find a patch to the Cypress driver, but that's for the 2.6 kernel and (according to the notes) is absolutely guaranteed to NOT work for the 2.4 kernel... Apr 21 20:48:48 So, mwester, should I just quit and open a bottle of red? Apr 21 20:48:56 So, the answer is -- no driver exists for Unslung -- there is a chance a driver could be patched for OpenSlug. Apr 21 20:49:31 Bummer, but OK. What about DKU-5, would that work with Unslung? Apr 21 20:50:14 DKU-5 uses pl2303 IIRC Apr 21 20:50:15 It's the older cable for connecting the Nokia phones. Apr 21 20:50:28 No, don't quit - just consider using another (older) cable -- the older ones are said to be pl2303-based. Or, move to OpenSlug to try the 2.6 kernel and patch it. Or, see if you can modify the cypress driver to suit teh 2.4 kernel... Apr 21 20:51:54 That's a big project, mwester :) I don't think I would have the skill for driver modification. OpenSlug would be an option, but my slug is nicely confed at the moment...I guess the older cable is the solution. Apr 21 20:52:56 Goodnight NAiL... Apr 21 20:53:29 Night Nail - thx for your interest and participation in my project Apr 21 20:56:16 OK, mwester, I'll take a copy of our conversation, get me a new cable, and try again. Thx for your help, it's been interesting. Wiki-stuff, as soon as I get the gnokii-connection running. Apr 21 21:01:23 np, Apr 21 21:01:24 nite Apr 22 00:03:25 Is this where I would ask about setting up X on my slug? **** ENDING LOGGING AT Sat Apr 22 09:59:56 2006