From: Leigh W. <le...@pd...> - 2006-03-02 17:19:19
|
Thanks for the replies, guys. All this is making me think...maybe I should be taking a different approach to my problem altogether. Here's what I'm really trying to accomplish - I need to extract log files and update some files on the gumstix from a Win box. I'm going to have a configuration app on the Win side that will hopefully shove config files onto the GS and retrieve log files from it. I don't want to have to stop the running app on the GS, though. =20 Do you guys think I'd be better off pursuing another avenue, like ppp? Hardware-wise, I've built a motherboard that the GS Basix sits on, and I have the console serial ttyS0 exposed via a Mini-din 8 connector and I've also got USB brought out.=20 Thanks for you opinions! Leigh W. Wells -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Craig Hughes Sent: Wednesday, March 01, 2006 4:30 PM To: gum...@li... Subject: Re: [Gumstix-users] Grabbing ttyS0 You can also log into the gumstix w/out having to reflash by =20 modifying the u-boot "bootargs" variable to append "init=3D/bin/sh", eg: GUM> set bootargs $bootargs init=3D/bin/sh GUM> bootd ... ... Eventually it will boot into linux bypassing /sbin/init and just =20 dropping you directly to a shell prompt from whence you can edit /etc/=20 inittab and then reboot. C On Mar 1, 2006, at 4:06 PM, Paul Coldrey wrote: > One last note is that if you forgot to fix the initab before =20 > rebooting then all is not lost you can still restore a "working" =20 > file system in the usual fashion using u-boot. > > Paul Coldrey wrote: >> Hi Leigh, >> >> If you edit /etc/inttab and comment out the line: >> >> ::respawn:/sbin/getty -L ttyS0 115200 vt100 >> >> then that will stop the getty reclaiming the port when it notices =20 >> that it is free (and it will stop you having a console when you =20 >> boot as well - see note below). To make init re-read this config do: >> >> kill -HUP 1 >> >> Then if you kill the job running /bin/getty (find the id with ps) =20 >> then ttyS0 will be free for you to use. >> >> NOTE: if you don't uncomment the above line before reboot then you =20 >> won't get a console to log in with so before experimenting you =20 >> might want to make sure your Gumstix boots to a point where you =20 >> can SSH in or otherwise, comment the line, run the kill -HUP and =20 >> then uncomment it again so you don't get caught without a console. >> >> In theory you can automate the whole procedure moderately easily =20 >> in code. >> >> Cheers, >> >> Paul. >> >> >> Leigh Wells wrote: >>> >>> Hi, all. >>> >>> I need to be able to grab the serial port that the console is on =20 >>> by default (ttyS0). At some point in my program I need to do some =20 >>> serial comm on ttyS0 (to a Windows box), and then I'd like to be =20 >>> able to give it back to the console (in an ideal world). I =20 >>> haven't found a good way to do this yet. >>> >>> I seem to be able to open the port and send data into the gumstix =20 >>> (basix), but the console reacts as well. For example, if I open =20 >>> the port within my program and then receive data that includes =20 >>> 0x03, the console sees it as a CTRL-C and kills my app. >>> >>> All of the other uarts are used for other functions, so I need to =20 >>> grab this one. Any ideas? I guess if all else fails, I would need =20 >>> to permanently disable the console from grabbing the port at boot... >>> not exactly sure how to do that either. >>> >>> Thanks! >>> >>> Leigh Wells >>> >>> >> >> > > > --=20 > Paul Coldrey > http://www.ensigma.com.au/ > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting =20 > language > that extends applications into web and mobile media. Attend the =20 > live webcast > and join the prime developer group breaking into this new coding =20 > territory! > = http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd_____________________________________ __________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Leigh W. <le...@pd...> - 2006-03-03 21:29:23
|
OK, I've got USBnet going between my gumstix and my XP box. Now, I need a way to transfer files. I'm thinking about tftp, but I can't find it on the gumstix, or a way to build it in. Is there one I can build in? tftp is built-in to XP, so this might be the way to go. I would like to avoid third-party stuff on the Win side, but I guess I could find some scp utility or something... Thanks. Leigh W. Wells -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Paul Coldrey Sent: Thursday, March 02, 2006 1:52 PM To: gum...@li... Subject: Re: [Gumstix-users] Grabbing ttyS0 Leigh Wells wrote: > Thanks for the replies, guys. > > All this is making me think...maybe I should be taking a different > approach to my problem altogether. > > Here's what I'm really trying to accomplish - I need to extract log > files and update some files on the gumstix from a Win box. I'm going to > have a configuration app on the Win side that will hopefully shove > config files onto the GS and retrieve log files from it. I don't want > to have to stop the running app on the GS, though. =20 > > Do you guys think I'd be better off pursuing another avenue, like ppp? > Hardware-wise, I've built a motherboard that the GS Basix sits on, and I > have the console serial ttyS0 exposed via a Mini-din 8 connector and > I've also got USB brought out.=20 > > Thanks for you opinions! > > Leigh W. Wells > > =20 All sorts of good things are possible with SSH. You could either use=20 ttyS0 for your app and control the Gusmtix via an SSH connection (which=20 is what I am doing for a touch-screen system which used ttyS0). Or,=20 perhaps you could leave the console as is and use USBnet to get TCP/IP=20 connectivity and then use scp to copy the files backwards and forwards.=20 I don't know how much you know about these tools but I'm happy to give=20 you some hints off the list if you require. Cheers, Paul ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Andrew P. <ap...@gm...> - 2006-03-03 22:30:31
|
I highly recommend installing Cygwin on the Windows side. Makes things a lot easier 'cause everything is in a *nix command-line context. Don't need to get all the X-windows stuff, just the basics so you can bring up a term and do the usual ssh and sftp things. http://www.cygwin.com/ Andrew. On 3/3/06, Leigh Wells <le...@pd...> wrote: > OK, I've got USBnet going between my gumstix and my XP box. Now, I need > a way to transfer files. I'm thinking about tftp, but I can't find it > on the gumstix, or a way to build it in. Is there one I can build in? > tftp is built-in to XP, so this might be the way to go. > > I would like to avoid third-party stuff on the Win side, but I guess I > could find some scp utility or something... > > Thanks. > > > Leigh W. Wells [snip] -- If you don't know what to do, do something. |
From: Leigh W. <le...@pd...> - 2006-03-03 22:44:04
|
I hear ya... This is going to be distributed to computer-illiterate users who need to install my app and push one button to configure the gumstix and retrieve log files for parsing and display. I can't force the end user to install anything but my app, unfortunately. I think people will start freaking out if I have to install Cygwin as well. I think I managed to find tftp that I can build into Busybox...I'll see if I can make that work, although it doesn't appear at first glance to be a server. I assume tftp requires a server at one end... Tftp client is also built into Windows. This might not work, but I may as well give it a shot. Thanks, Leigh W. Wells -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Andrew Plumb Sent: Friday, March 03, 2006 2:31 PM To: gum...@li... Subject: Re: [Gumstix-users] Grabbing ttyS0 I highly recommend installing Cygwin on the Windows side. Makes things a lot easier 'cause everything is in a *nix command-line context. Don't need to get all the X-windows stuff, just the basics so you can bring up a term and do the usual ssh and sftp things. http://www.cygwin.com/ Andrew. On 3/3/06, Leigh Wells <le...@pd...> wrote: > OK, I've got USBnet going between my gumstix and my XP box. Now, I need > a way to transfer files. I'm thinking about tftp, but I can't find it > on the gumstix, or a way to build it in. Is there one I can build in? > tftp is built-in to XP, so this might be the way to go. > > I would like to avoid third-party stuff on the Win side, but I guess I > could find some scp utility or something... > > Thanks. > > > Leigh W. Wells [snip] -- If you don't know what to do, do something. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd_____________________________________ __________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Alexandre P. N. <al...@om...> - 2006-03-03 22:54:41
|
Leigh Wells escreveu: >I hear ya... > >This is going to be distributed to computer-illiterate users who need to >install my app and push one button to configure the gumstix and retrieve >log files for parsing and display. I can't force the end user to >install anything but my app, unfortunately. I think people will start >freaking out if I have to install Cygwin as well. > >I think I managed to find tftp that I can build into Busybox...I'll see >if I can make that work, although it doesn't appear at first glance to >be a server. I assume tftp requires a server at one end... > >Tftp client is also built into Windows. This might not work, but I may >as well give it a shot. > >Thanks, > >Leigh W. Wells > > I would try one of: - Using scp (putty is a nice open source ssh client to windows with a very good user interface, and there is a scp command-line client); That would work with stock gumstix. - Using file_storage gadget, making gumstix appear as a "pendrive" to the windows machine. That would require previous customization on the gumstix build, afaik. You would have to have a loop filesystem or some other sort of trick in order to make it work correctly, but it works fine. That's what I can think of by now ... Alexandre |
From: Paul C. <pa...@en...> - 2006-03-03 23:39:56
|
I would try one of: > > - Using scp (putty is a nice open source ssh client to windows with a > very good user interface, and there is a scp command-line client); > That would work with stock gumstix. > WinSCP is a good drag-and-drool alternative if that's what you're after: http://winscp.net/eng/index.php Cheers, Paul |
From: Nate W <del...@gm...> - 2006-03-04 09:05:24
|
On 3/3/06, Alexandre Pereira Nunes <al...@om...> wrote: > I would try one of: > > - Using scp (putty is a nice open source ssh client to windows with a > very good user interface, and there is a scp command-line client); That > would work with stock gumstix. I'll second the putty / pscp recommendation, it's a small download and trivial installation, if you just need to administer your gumstix or copy files over TCP/IP, it doesn't get much simpler. I have my one of my gumstix set up with non-silent u-boot (so I can still muck around there) but with the ttyS0 console line commented out from inittab. The boot messages don't bother the servo controller that I have on ttyS0. The rx line on ttyS0 is pulled up with a 10k resistor to prevent u-boot from entering interactive mode. The gumstix reaches out to my laptop via bluetooth, and once they connect I use putty and pscp to log in or copy files around. I'm pretty happy with this setup. -- Nate Waddoups Redmond WA USA http://www.natew.com/ <=3D=3D for nerds http://www.featherforum.com/ <=3D=3D for birds |
From: Craig H. <cr...@gu...> - 2006-03-04 22:09:41
|
On Mar 3, 2006, at 2:54 PM, Alexandre Pereira Nunes wrote: > - Using file_storage gadget, making gumstix appear as a "pendrive" > to the windows machine. That would require previous customization > on the gumstix build, afaik. You would have to have a loop > filesystem or some other sort of trick in order to make it work > correctly, but it works fine. It should be pretty easy to have something which is normally mounted loopback on the 'stix where it reads/writes data you want to pass over to windows, then when USB insertion is detected (iirc it triggers a udev event), you unmount the loopback on the gumstix (after closing any open files and whatnot), then use the /sys interface to the file_storage gadget to tell it to export the thing which was just unmounted. Windows will then mount it on its side, and execute the autorun.bat which is on there. When the USB removal event is detected, you reverse the process -- tell /sys to unexport the device, then re-mount it loopback and re-open your files on the gumstix side. C |
From: Andrew P. <ap...@gm...> - 2006-03-04 01:34:45
|
Ah, completely different purpose then. Make it a web-served interface then. Once networking is working it's just another system "on the web" to a computer-illiterate user. Most platform-agnostic: HTML form interface to simple shell scripts. Intermediate complexity: Javascript in the HTML interface for more complex client-side form parsing, but still shell scripts within the gumstix. Complex but comprehensive: Java client that runs in the web browser.=20 The gumstix serves up the Java applet that interfaces with it and is more platform-agnostic than a Windows-specific binary. On 3/3/06, Leigh Wells <le...@pd...> wrote: > I hear ya... > > This is going to be distributed to computer-illiterate users who need to > install my app and push one button to configure the gumstix and retrieve > log files for parsing and display. I can't force the end user to > install anything but my app, unfortunately. I think people will start > freaking out if I have to install Cygwin as well. > > I think I managed to find tftp that I can build into Busybox...I'll see > if I can make that work, although it doesn't appear at first glance to > be a server. I assume tftp requires a server at one end... > > Tftp client is also built into Windows. This might not work, but I may > as well give it a shot. > > Thanks, > > Leigh W. Wells [deletia] -- If you don't know what to do, do something. |
From: Eric H. <e_h...@ya...> - 2006-03-04 01:44:22
|
Not sure if anyone saw this. Remind me, is the card slot on the gumstix SDIO capable? http://linuxdevices.com/news/NS5637388534.html Eric __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Alexandre P. N. <al...@om...> - 2006-03-04 02:42:30
|
Eric Heinemann escreveu: >Not sure if anyone saw this. Remind me, is the card slot on the gumstix SDIO capable? > >http://linuxdevices.com/news/NS5637388534.html > >Eric > > > After seeing this post, I hope it is :-) Alexandre |
From: Craig H. <cr...@gu...> - 2006-03-04 22:11:27
|
On Mar 3, 2006, at 6:42 PM, Alexandre Pereira Nunes wrote: > Eric Heinemann escreveu: > >> Not sure if anyone saw this. Remind me, is the card slot on the >> gumstix SDIO capable? >> >> http://linuxdevices.com/news/NS5637388534.html >> >> Eric >> >> > > After seeing this post, I hope it is :-) Yes, the hardware is SDIO ready -- the only thing missing is the driver. I believe there's a company listed on the wiki somewhere which offers commercial for-money/closed-source drivers for SDIO on linux -- possibly codetelligence actually since that name rings a bell. C |
From: Craig H. <cr...@gu...> - 2006-03-04 22:06:58
|
One thing which I'd thought of which might be useful for the "users =20 are on windows, and can't be trusted to click the right button, let =20 alone install an app" situation would be to have the gumstix use the =20 file_storage gadget to appear to Windows as a USB thumb drive, and =20 then include an autorun.bat in the storage area which Windows will =20 run when it mounts the "drive". C On Mar 3, 2006, at 2:44 PM, Leigh Wells wrote: > I hear ya... > > This is going to be distributed to computer-illiterate users who =20 > need to > install my app and push one button to configure the gumstix and =20 > retrieve > log files for parsing and display. I can't force the end user to > install anything but my app, unfortunately. I think people will start > freaking out if I have to install Cygwin as well. > > I think I managed to find tftp that I can build into Busybox...I'll =20= > see > if I can make that work, although it doesn't appear at first glance to > be a server. I assume tftp requires a server at one end... > > Tftp client is also built into Windows. This might not work, but I =20= > may > as well give it a shot. > > Thanks, > > Leigh W. Wells > > -----Original Message----- > From: gum...@li... > [mailto:gum...@li...] On Behalf Of Andrew > Plumb > Sent: Friday, March 03, 2006 2:31 PM > To: gum...@li... > Subject: Re: [Gumstix-users] Grabbing ttyS0 > > I highly recommend installing Cygwin on the Windows side. Makes > things a lot easier 'cause everything is in a *nix command-line > context. Don't need to get all the X-windows stuff, just the basics > so you can bring up a term and do the usual ssh and sftp things. > > http://www.cygwin.com/ > > Andrew. > > On 3/3/06, Leigh Wells <le...@pd...> wrote: >> OK, I've got USBnet going between my gumstix and my XP box. Now, I > need >> a way to transfer files. I'm thinking about tftp, but I can't =20 >> find it >> on the gumstix, or a way to build it in. Is there one I can build =20= >> in? >> tftp is built-in to XP, so this might be the way to go. >> >> I would like to avoid third-party stuff on the Win side, but I =20 >> guess I >> could find some scp utility or something... >> >> Thanks. >> >> >> Leigh W. Wells > [snip] > > -- > > If you don't know what to do, do something. > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?=20 > cmd_____________________________________ > __________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting =20 > language > that extends applications into web and mobile media. Attend the =20 > live webcast > and join the prime developer group breaking into this new coding =20 > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=110944&bid$1720&dat=121642= > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Leigh W. <le...@pd...> - 2006-03-06 18:28:04
|
Is there a possibility that I can access the console over USB? I know I can get it over Bluetooth, but the units we have aren't BT. Thanks! Leigh W. Wells -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Craig Hughes Sent: Saturday, March 04, 2006 2:09 PM To: gum...@li... Subject: Re: [Gumstix-users] Grabbing ttyS0 On Mar 3, 2006, at 2:54 PM, Alexandre Pereira Nunes wrote: > - Using file_storage gadget, making gumstix appear as a "pendrive" =20 > to the windows machine. That would require previous customization =20 > on the gumstix build, afaik. You would have to have a loop =20 > filesystem or some other sort of trick in order to make it work =20 > correctly, but it works fine. It should be pretty easy to have something which is normally mounted =20 loopback on the 'stix where it reads/writes data you want to pass =20 over to windows, then when USB insertion is detected (iirc it =20 triggers a udev event), you unmount the loopback on the gumstix =20 (after closing any open files and whatnot), then use the /sys =20 interface to the file_storage gadget to tell it to export the thing =20 which was just unmounted. Windows will then mount it on its side, =20 and execute the autorun.bat which is on there. When the USB removal =20 event is detected, you reverse the process -- tell /sys to unexport =20 the device, then re-mount it loopback and re-open your files on the =20 gumstix side. C ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Deniz D. <den...@gm...> - 2006-03-06 19:31:56
|
How can you get it over BT? Is it possible on MacOSX? I am using ZTerm to connect gumstix over serial port; I wonder how to get console over BT. Thanks, Deniz On 3/6/06, Leigh Wells <le...@pd...> wrote: > > Is there a possibility that I can access the console over USB? I know I > can get it over Bluetooth, but the units we have aren't BT. > > Thanks! > > Leigh W. Wells > > -----Original Message----- > From: gum...@li... > [mailto:gum...@li...] On Behalf Of Craig > Hughes > Sent: Saturday, March 04, 2006 2:09 PM > To: gum...@li... > Subject: Re: [Gumstix-users] Grabbing ttyS0 > > On Mar 3, 2006, at 2:54 PM, Alexandre Pereira Nunes wrote: > > > - Using file_storage gadget, making gumstix appear as a "pendrive" > > to the windows machine. That would require previous customization > > on the gumstix build, afaik. You would have to have a loop > > filesystem or some other sort of trick in order to make it work > > correctly, but it works fine. > > It should be pretty easy to have something which is normally mounted > loopback on the 'stix where it reads/writes data you want to pass > over to windows, then when USB insertion is detected (iirc it > triggers a udev event), you unmount the loopback on the gumstix > (after closing any open files and whatnot), then use the /sys > interface to the file_storage gadget to tell it to export the thing > which was just unmounted. Windows will then mount it on its side, > and execute the autorun.bat which is on there. When the USB removal > event is detected, you reverse the process -- tell /sys to unexport > the device, then re-mount it loopback and re-open your files on the > gumstix side. > > C > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Nate W <del...@gm...> - 2006-03-07 04:29:26
|
There are two approaches to this. One is to use a bluetooth serial link, as Craig described, the other is to use bluetooth networking.=20 If you have a device that advertises itself as a bluetooth personal area networking (PAN) master, the gumstix should automatically find it and then you can just ssh into the gumstix on whatever address DHCP has assigned to it. I configured my gumstix to use a static IP address and connect specifically to my laptop instead, but the result is the same - the gumstix gets a new ethernet interface called bnep0 which you can ssh into. On 3/6/06, Deniz Demir <den...@gm...> wrote: > How can you get it over BT? Is it possible on MacOSX? I am using ZTerm to > connect gumstix over serial port; I wonder how to get console over BT. > > Thanks, > Deniz > > > On 3/6/06, Leigh Wells <le...@pd...> wrote: > > Is there a possibility that I can access the console over USB? I know = I > > can get it over Bluetooth, but the units we have aren't BT. > > > > Thanks! > > > > Leigh W. Wells > > > > -----Original Message----- > > From: gum...@li... > > [mailto:gum...@li...] On > Behalf Of Craig > > Hughes > > Sent: Saturday, March 04, 2006 2:09 PM > > To: gum...@li... > > Subject: Re: [Gumstix-users] Grabbing ttyS0 > > > > On Mar 3, 2006, at 2:54 PM, Alexandre Pereira Nunes wrote: > > > > > - Using file_storage gadget, making gumstix appear as a "pendrive" > > > to the windows machine. That would require previous customization > > > on the gumstix build, afaik. You would have to have a loop > > > filesystem or some other sort of trick in order to make it work > > > correctly, but it works fine. > > > > It should be pretty easy to have something which is normally mounted > > loopback on the 'stix where it reads/writes data you want to pass > > over to windows, then when USB insertion is detected (iirc it > > triggers a udev event), you unmount the loopback on the gumstix > > (after closing any open files and whatnot), then use the /sys > > interface to the file_storage gadget to tell it to export the thing > > which was just unmounted. Windows will then mount it on its side, > > and execute the autorun.bat which is on there. When the USB removal > > event is detected, you reverse the process -- tell /sys to unexport > > the device, then re-mount it loopback and re-open your files on the > > gumstix side. > > > > C > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > > language > > that extends applications into web and mobile media. Attend the live > > webcast > > and join the prime developer group breaking into this new coding > > territory! > > > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > > > > > ------------------------------------------------------- > > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > > that extends applications into web and mobile media. Attend the live > webcast > > and join the prime developer group breaking into this new coding > territory! > > > http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 > > _______________________________________________ > > gumstix-users mailing list > > gum...@li... > > > https://lists.sourceforge.net/lists/listinfo/gumstix-users > > > > -- Nate Waddoups Redmond WA USA http://www.natew.com/ <=3D=3D for nerds http://www.featherforum.com/ <=3D=3D for birds |
From: Craig H. <cr...@gu...> - 2006-03-06 21:20:29
|
On Mar 6, 2006, at 11:31 AM, Deniz Demir wrote: > How can you get it over BT? Is it possible on MacOSX? I am using > ZTerm to connect gumstix over serial port; I wonder how to get > console over BT. Deniz, it works great for me using Mac ZTerm (well, Zterm is a little flakey, but it works). If you use the OSX bluetooth "add a device" wizard thing, and browse to find the gumstix, then enter PIN number 1234, it should create /dev/tty.gumstix-SerialPort-1 if I remember right -- anyway, just check for /dev/tty.* and you'll see it. Point ZTerm at that serial port, with 115200,8n1 and then hit "enter" and you should get the login prompt. C |
From: Deniz D. <den...@gm...> - 2006-03-06 23:38:19
|
Hi Craig, Thank you very much. I will try this at home, it sounds great. Thanks again, Deniz On 3/6/06, Craig Hughes <cr...@gu...> wrote: > On Mar 6, 2006, at 11:31 AM, Deniz Demir wrote: > > > How can you get it over BT? Is it possible on MacOSX? I am using > > ZTerm to connect gumstix over serial port; I wonder how to get > > console over BT. > > Deniz, > > it works great for me using Mac ZTerm (well, Zterm is a little > flakey, but it works). If you use the OSX bluetooth "add a device" > wizard thing, and browse to find the gumstix, then enter PIN number > 1234, it should create /dev/tty.gumstix-SerialPort-1 if I remember > right -- anyway, just check for /dev/tty.* and you'll see it. Point > ZTerm at that serial port, with 115200,8n1 and then hit "enter" and > you should get the login prompt. > > C > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting langua= ge > that extends applications into web and mobile media. Attend the live webc= ast > and join the prime developer group breaking into this new coding territor= y! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > |
From: Leigh W. <le...@pd...> - 2006-03-06 18:47:12
|
I think I answered my own question. I downloaded a ssh client for Windows, and got right in. Thanks Leigh W. Wells -----Original Message----- From: Leigh Wells=20 Sent: Monday, March 06, 2006 10:29 AM To: 'gum...@li...' Subject: RE: [Gumstix-users] Grabbing ttyS0 Is there a possibility that I can access the console over USB? I know I can get it over Bluetooth, but the units we have aren't BT. Thanks! Leigh W. Wells -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Craig Hughes Sent: Saturday, March 04, 2006 2:09 PM To: gum...@li... Subject: Re: [Gumstix-users] Grabbing ttyS0 On Mar 3, 2006, at 2:54 PM, Alexandre Pereira Nunes wrote: > - Using file_storage gadget, making gumstix appear as a "pendrive" =20 > to the windows machine. That would require previous customization =20 > on the gumstix build, afaik. You would have to have a loop =20 > filesystem or some other sort of trick in order to make it work =20 > correctly, but it works fine. It should be pretty easy to have something which is normally mounted =20 loopback on the 'stix where it reads/writes data you want to pass =20 over to windows, then when USB insertion is detected (iirc it =20 triggers a udev event), you unmount the loopback on the gumstix =20 (after closing any open files and whatnot), then use the /sys =20 interface to the file_storage gadget to tell it to export the thing =20 which was just unmounted. Windows will then mount it on its side, =20 and execute the autorun.bat which is on there. When the USB removal =20 event is detected, you reverse the process -- tell /sys to unexport =20 the device, then re-mount it loopback and re-open your files on the =20 gumstix side. C ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users |
From: Leigh W. <le...@pd...> - 2006-03-06 19:55:43
|
I did this some time ago. I used a version of Zterm (I think it's ztppc.exe, can't remember where I got it) on my IPAQ, using bluetooth as a serial port. I haven't tried with Mac, though. I'd give more details, but my IPAQ is no longer with me, so I can't check what the settings were or anything. It was sweet, though...I was able to get the full console, just as if I was connected by direct serial. =20 Leigh =20 =20 -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Deniz Demir Sent: Monday, March 06, 2006 11:32 AM To: gum...@li... Subject: Re: [Gumstix-users] Grabbing ttyS0 =20 How can you get it over BT? Is it possible on MacOSX? I am using ZTerm to connect gumstix over serial port; I wonder how to get console over BT. Thanks, Deniz On 3/6/06, Leigh Wells <le...@pd...> wrote: Is there a possibility that I can access the console over USB? I know I can get it over Bluetooth, but the units we have aren't BT. Thanks! Leigh W. Wells -----Original Message----- From: gum...@li... [mailto:gum...@li...] On Behalf Of Craig Hughes Sent: Saturday, March 04, 2006 2:09 PM=20 To: gum...@li... Subject: Re: [Gumstix-users] Grabbing ttyS0 On Mar 3, 2006, at 2:54 PM, Alexandre Pereira Nunes wrote: > - Using file_storage gadget, making gumstix appear as a "pendrive" > to the windows machine. That would require previous customization > on the gumstix build, afaik. You would have to have a loop=20 > filesystem or some other sort of trick in order to make it work > correctly, but it works fine. It should be pretty easy to have something which is normally mounted loopback on the 'stix where it reads/writes data you want to pass=20 over to windows, then when USB insertion is detected (iirc it triggers a udev event), you unmount the loopback on the gumstix (after closing any open files and whatnot), then use the /sys interface to the file_storage gadget to tell it to export the thing=20 which was just unmounted. Windows will then mount it on its side, and execute the autorun.bat which is on there. When the USB removal event is detected, you reverse the process -- tell /sys to unexport the device, then re-mount it loopback and re-open your files on the=20 gumstix side. C ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live=20 webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat=3D= 121642 _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast=20 and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmdlnk&kid=110944&bid$1720&dat=121642 <http://sel.as-us.falkag.net/sel?cmdlnk&kid%110944&bid$1720&dat%121642>=20 _______________________________________________ gumstix-users mailing list gum...@li... https://lists.sourceforge.net/lists/listinfo/gumstix-users =20 |
From: Paul C. <pa...@en...> - 2006-03-02 21:51:57
|
Leigh Wells wrote: > Thanks for the replies, guys. > > All this is making me think...maybe I should be taking a different > approach to my problem altogether. > > Here's what I'm really trying to accomplish - I need to extract log > files and update some files on the gumstix from a Win box. I'm going to > have a configuration app on the Win side that will hopefully shove > config files onto the GS and retrieve log files from it. I don't want > to have to stop the running app on the GS, though. > > Do you guys think I'd be better off pursuing another avenue, like ppp? > Hardware-wise, I've built a motherboard that the GS Basix sits on, and I > have the console serial ttyS0 exposed via a Mini-din 8 connector and > I've also got USB brought out. > > Thanks for you opinions! > > Leigh W. Wells > > All sorts of good things are possible with SSH. You could either use ttyS0 for your app and control the Gusmtix via an SSH connection (which is what I am doing for a touch-screen system which used ttyS0). Or, perhaps you could leave the console as is and use USBnet to get TCP/IP connectivity and then use scp to copy the files backwards and forwards. I don't know how much you know about these tools but I'm happy to give you some hints off the list if you require. Cheers, Paul |
From: <jer...@gm...> - 2006-03-02 23:04:40
|
I think USBnet is a good approach to communicate with gumstix. Is there a way to have rfcomm serial ports at the same time ..? Thanks for clarifications on how to free ttyS0. Perhaps there is a 3rd way to prevent uboot to read/write on it : If I remember, u-boot can search for a file on MMC, and runs the script in it. Could it be possible to check for something like that at the very beginnig, to enable ttyS0 or not ? On 3/2/06, Paul Coldrey <pa...@en...> wrote: > > Leigh Wells wrote: > > Thanks for the replies, guys. > > > > All this is making me think...maybe I should be taking a different > > approach to my problem altogether. > > > > Here's what I'm really trying to accomplish - I need to extract log > > files and update some files on the gumstix from a Win box. I'm going to > > have a configuration app on the Win side that will hopefully shove > > config files onto the GS and retrieve log files from it. I don't want > > to have to stop the running app on the GS, though. > > > > Do you guys think I'd be better off pursuing another avenue, like ppp? > > Hardware-wise, I've built a motherboard that the GS Basix sits on, and = I > > have the console serial ttyS0 exposed via a Mini-din 8 connector and > > I've also got USB brought out. > > > > Thanks for you opinions! > > > > Leigh W. Wells > > > > > All sorts of good things are possible with SSH. You could either use > ttyS0 for your app and control the Gusmtix via an SSH connection (which > is what I am doing for a touch-screen system which used ttyS0). Or, > perhaps you could leave the console as is and use USBnet to get TCP/IP > connectivity and then use scp to copy the files backwards and forwards. > I don't know how much you know about these tools but I'm happy to give > you some hints off the list if you require. > > Cheers, > > Paul > > > ------------------------------------------------------- > This SF.Net email is sponsored by xPML, a groundbreaking scripting > language > that extends applications into web and mobile media. Attend the live > webcast > and join the prime developer group breaking into this new coding > territory! > http://sel.as-us.falkag.net/sel?cmd=3Dlnk&kid=3D110944&bid=3D241720&dat= =3D121642 > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > -- J=E9r=F4me Multrier TinyCoach, un projet KaliBee |
From: Craig H. <cr...@gu...> - 2006-03-03 07:30:45
|
On Mar 2, 2006, at 3:04 PM, J=E9r=F4me Multrier wrote: > I think USBnet is a good approach to communicate with gumstix. > Is there a way to have rfcomm serial ports at the same time ..? > > Thanks for clarifications on how to free ttyS0. Perhaps there is a =20 > 3rd way to prevent uboot to read/write on it : > If I remember, u-boot can search for a file on MMC, and runs the =20 > script in it. Could it be possible to check for something like that =20= > at the very beginnig, to enable ttyS0 or not ? You could use such a script to set the "silent" and "bootdelay" =20 variables, and to unset them later. That's a good idea for how to =20 come out of the "can't press a key" situation. But by the time the =20 gumstix boots to read from the MMC card, it's already written =20 something to ttyS0 (ie the splash stuff at the beginning, then the =20 countdown). And if you're in "silent" mode, then it's already too =20 late to turn the console back on once it gets to reading the MMC card =20= script. You'll have to have the script contain a "reset" command at =20 the tail end to reboot with the new settings in effect. C= |