Gang,

Amateur here, but i was wondering if there are Java WiFi JNI API`s available to call local C language functions from our Java code that we would code? Going through the WiKi, i noticed that such API`s exist for the COM ports. The penultimate objective would be to be able to control the WiFi interface board using Java code that a developer could write, rather than use native C code.

Hope i worded the question correctly?

thanks,
Chetan

On 10/1/07, gumstix-users-request@lists.sourceforge.net <gumstix-users-request@lists.sourceforge.net> wrote:
Send gumstix-users mailing list submissions to
        gumstix-users@lists.sourceforge.net

To subscribe or unsubscribe via the World Wide Web, visit
         https://lists.sourceforge.net/lists/listinfo/gumstix-users
or, via email, send a message with subject or body 'help' to
         gumstix-users-request@lists.sourceforge.net

You can reach the person managing the list at
        gumstix-users-owner@lists.sourceforge.net

When replying, please edit your Subject line so it is more specific
than "Re: Contents of gumstix-users digest..."


Today's Topics:

   1. Re: How to output text to the     framebufferconsoledurring boot,
      and disable the blinking cursor? (Craig Hughes)
   2. Re: netdev watchdog: mwlan0: transmit timed out (eldridge)
   3. Re: verdex XL-6P + netmicroSD-vx + roboaudio-th (Dave Hylands)
   4. Apache Buildroot configuration available? (Rasmus Kjeldsen)
   5. Re: OLED (Julien Lebot)
   6. new build for verdex XL-6P? (Kevin Uhlir)
   7. USB 24-pin daughterboard (Matthew Friesen)


----------------------------------------------------------------------

Message: 1
Date: Sat, 29 Sep 2007 20:27:24 -0700
From: Craig Hughes <craig@gumstix.com>
Subject: Re: [Gumstix-users] How to output text to the
        framebufferconsoledurring boot, and disable the blinking cursor?
To: "General mailing list for gumstix users."
        <gumstix-users@lists.sourceforge.net>
Message-ID: < E72A1BA2-E6AB-427A-AAAB-7125B041DC15@gumstix.com>
Content-Type: text/plain; charset="us-ascii"

The function

static void gumstix_lcd_backlight(int on_or_off)

is what you probably want to call from kernel space -- you'd probably
need to export it, though you might be able to drill down from the
machine object somehow -- I'd check how the fbcon driver ends up
calling it.  Actually, you probably want to call something upstream
of that to tell the fbcon driver to put itself in low power/blank
mode, and that'll call the gumstix_lcd_backlight function.

C

On Sep 29, 2007, at 5:34 AM, Heilpern, Mark wrote:

> I think that using the file system isn't an option since I need
> access from a driver. I could write a helper app that interacts
> with my driver, but if there's a more clean way to do this from
> kernel space directly, I'd prefer that.
>
> Thanks,
> Mark
>
>
> From: gumstix-users-bounces@lists.sourceforge.net on behalf of
> Craig Hughes
> Sent: Fri 9/28/2007 4:28 PM
> To: General mailing list for gumstix users.
> Subject: Re: [Gumstix-users] How to output text to the
> framebufferconsoledurring boot, and disable the blinking cursor?
>
> On Sep 28, 2007, at 11:05 AM, Heilpern, Mark wrote:
>
> > I would like to be able to enable / disable the LCD from a driver
> > module. I see that I can dim the backlighting by controlling
> > GPIO17. Is
> > there a GPIO that corresponds to /sys/class/graphics/fb0/blank?
> > Or... is
> > there some kernel function I can call to control the LED's state? I
> > imagine this is a generic kernel task, as the functions in
> pxafb.c are
> > static entrypoints in a table.
>
> Don't hit GPIO17 directly.  Use /sys/class/graphics/fb0/blank -- echo
> 1 to that to turn off backlight and blank the screen; echo 0 to turn
> back on.  The FB driver will in turn toggle GPIO17 the correct way
> for you.  There is probably a linux console ESC sequence which will
> initiate the blanking (and cause the driver to twiddle the GPIO too)
> as well.
>
> C
>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users
>
> NOTE: The information in this message is intended for the personal
> and confidential use of the designated recipient(s) named above. To
> the extent the recipient(s) is/are bound by a non-disclosure
> agreement, or other agreement that contains an obligation of
> confidentiality, with AuthenTec, then this message and/or any
> attachments shall be considered confidential information and
> subject to the confidentiality terms of that agreement.  If the
> reader of this message is not the intended recipient named above,
> you are notified that you have received this document in error, and
> any review, dissemination, distribution or copying of this message
> is strictly prohibited. If you have received this document in
> error, please delete the original message and notify the sender
> immediately.
>
> Thank you.
>
>  AuthenTec, Inc.  http://www.authentec.com
>
>
>
> ----------------------------------------------------------------------
> ---
> This SF.net email is sponsored by: Microsoft
> Defy all challenges. Microsoft(R) Visual Studio 2005.
> http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
> _______________________________________________
> gumstix-users mailing list
> gumstix-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gumstix-users

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 2
Date: Sat, 29 Sep 2007 22:11:51 -0700 (PDT)
From: eldridge <nabble-gumstix@onycha-blue.com>
Subject: Re: [Gumstix-users] netdev watchdog: mwlan0: transmit timed
        out
To: gumstix-users@lists.sourceforge.net
Message-ID: <12962874.post@talk.nabble.com>
Content-Type: text/plain; charset=us-ascii


Re: power

Shouldn't that be txpower?

power controls the power management.

iwconfig --help
Usage: iwconfig [interface]
   ..
                interface power {period N|timeout N|saving N|off}
                interface txpower {NmW|NdBm|off|auto}
   ..

Also I think on some adaptors it will only set properly if the power level
is supported.

--
View this message in context: http://www.nabble.com/netdev-watchdog%3A-mwlan0%3A-transmit-timed-out-tf4541230.html#a12962874
Sent from the Gumstix mailing list archive at Nabble.com.




------------------------------

Message: 3
Date: Sat, 29 Sep 2007 22:30:48 -0700
From: "Dave Hylands" <dhylands@gmail.com>
Subject: Re: [Gumstix-users] verdex XL-6P + netmicroSD-vx +
        roboaudio-th
To: "General mailing list for gumstix users."
        <gumstix-users@lists.sourceforge.net>
Message-ID:
        < c32efac40709292230n2152beb2mf2361ab8d59eeb7d@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

Hi Kevin,

On 9/29/07, Kevin Uhlir < eku@dropboxone.net> wrote:
> I've been using connex400xm + netMMC + robostix-th for a small project.  So
> I'm familiar with it.
>
> I've now got a new project where I want to use verdex XL-6P + netmicroSD-vx
> + roboaudio-th.
>
> A few questions before I proceed to purchase:
>
> 1) Will I have communication with the ATMega128 in a way similar to my
> current configuration?

You should. You need to make sure you've got the latest robostix
driver since a few of the GPIOs changed. This was fixed in revision
1361. I tested the i2c communication, uisp programming and serial
communication between the robostix and verdex.

> 2) Are there any "gotchas" in the new configuration that might preclude
> using the audio portion of the roboaudio?

I'm not sure - I think it should work fine. My brother has used the
audiostix with the verdex, so the audio portion of the roboaudiostix
should work fine.

> 3) Can I use any microSD card?  I remember a known driver or some kind of
> issue that precluded me from using SD cards on the netMMC.

That was fixed quite a while ago. SD and MMC cards should both work
under linux and under u-boot.

--
Dave Hylands
Vancouver, BC, Canada
http://www.DaveHylands.com/



------------------------------

Message: 4
Date: Sun, 30 Sep 2007 11:14:10 +0200
From: "Rasmus Kjeldsen" <rasmus.kjeldsen@gmail.com>
Subject: [Gumstix-users] Apache Buildroot configuration available?
To: gumstix-users@lists.sourceforge.net
Message-ID:
        <4c0801560709300214n7f18541i9a82df1b30093a2d@mail.gmail.com >
Content-Type: text/plain; charset="iso-8859-1"

Hi All

I couldn't find any Apache http server buildroot configuration package in
the Gumstix buildroot or on http://buildroot.uclibc.org/. I now have Apache
compiled and running on the Verdex. Any interest in a Buildroot
configuration for Apache?

Cheers
Rasmus
-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

Message: 5
Date: Sun, 30 Sep 2007 17:30:43 +0800
From: Julien Lebot <30579108@student.murdoch.edu.au>
Subject: Re: [Gumstix-users] OLED
To: gumstix-users@lists.sourceforge.net
Message-ID:
        <20070930173043.webw9rklh1xc08oc@wwwstudent.murdoch.edu.au >
Content-Type: text/plain;       charset=ISO-8859-1;     format="flowed"

Quoting "Black, Michael" <Michael.Black@EssexCorp.com>:

> Has anybody hooked up any low power text only displays?
>
> Like OLED for example?
>
>
>
> I'm looking for a display with really low power.
>
>
>
> For example Densitron makes a 256x64 OLED DD-25664 that uses about 18mA
> (50% fill factor).
>
> It uses an STV8105 controller.
>
>
>
> Has anybody out there done something like this or can recommend another
> low power device???

Hi,

Some of the OLED screen can be interfaced normally like any other LCD
screens, and some uses a parallel bus.
In any case the PXA 270 can drive them, but the driver exists only for
normal LCD screen.
Some testing drivers exists for the 'bus' screen but since each OLED
screen is kind of different, I guess a general driver is unlikely to be
made.

You also can have a look at 4D Systems' smart LCD, look for the ?OLEDs,
they can be interfaced with a simple serial communication port.
On the other hand they are bloody slow, and it's still not possible to
use the embedded SPI port for other purposes.
According to the spec (?OLED160) power consumption vary between 10 and
110mA, typical 40.
With contrast low and text and graphics displayed on screen, the module
is rated at 18mA.

http://www.4dsystems.com.au

Cheers,
Julien



------------------------------

Message: 6
Date: Sun, 30 Sep 2007 17:23:36 -0600
From: "Kevin Uhlir" <eku@dropboxone.net>
Subject: [Gumstix-users] new build for verdex XL-6P?
To: gumstix-users@lists.sourceforge.net
Message-ID: <20070930221650.M19835@dropboxone.net>
Content-Type: text/plain; charset=iso-8859-1

I currently have a source tree with for connex.

Obviously I need to update it, but do I need a separate source tree and/or
build tree and/or config for verdex?

Kevin




------------------------------

Message: 7
Date: Sun, 30 Sep 2007 21:04:55 -0400
From: "Matthew Friesen" <matt@hanbayinc.com>
Subject: [Gumstix-users] USB 24-pin daughterboard
To: < gumstix-users@lists.sourceforge.net>
Message-ID: <E1Ic9ia-0000th-N2@mail.sourceforge.net>
Content-Type: text/plain; charset="windows-1250"

Hi,

I designed a custom daughter-board to provide host USB though the flex
connector. After referring to the pxa270 manual and the gumstix wiki, I
provided circuitry to pull USBH_PWR1 (pin20 on 24 pin connector) to 3.3V (to
signal that there is not an over-current condition on the port). After many
days of frustration, I managed to get the board working by pulling USBH_PWR1
to *ground*. I had read in the manual that it was possible to configure the
processor this way, but had found no mention of it in the wiki. Is this the
default configuration for the gumstix? (I?m using version 1421 from svn, and
made no attempt to modify the configuration of USBH_PWR1)



Also, I have been having strange experiences with buildroot, and ?make
arch=arm menuconfig? when trying to configure device drivers in the kernel
(i2c/usb etc.). It seems that menuconfig isn?t reading the Kconfig scripts,
but is instead reading the host system (i386) config scripts. Has anyone
ever experienced this? It is causing me a lot of confusion and wasted time.
I?m sure it is a simple stupid issue, but I can?t figure what it could be.



Sincerely,

Matthew Friesen

Hanbay Inc.

514 426 1989

HYPERLINK " http://www.hanbayinc.com/"http://www.hanbayinc.com




No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.5.488 / Virus Database: 269.13.35/1040 - Release Date: 30/09/2007
9:01 PM

-------------- next part --------------
An HTML attachment was scrubbed...

------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/

------------------------------

_______________________________________________
gumstix-users mailing list
gumstix-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gumstix-users


End of gumstix-users Digest, Vol 17, Issue 134
**********************************************