gnokii-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: DKU2 kernel module


From: Chris Kemp
Subject: Re: DKU2 kernel module
Date: Wed, 04 Oct 2006 12:42:31 +0100
User-agent: Thunderbird 1.5 (Windows/20051201)

Petri Airio wrote:
On 04/10/06, Pawel Kot <address@hidden> wrote:
Hi,

On 10/4/06, Petri Airio <address@hidden> wrote:
> Again my goal is to find out a way to send messages to S40 FBUS using
> self developed C program. If I have understood it correctly one way to
> do this is to use DKU2 kernel module.

No. As you noticed previously libusb is also way to go.

Yesterday I tried to find out how to do it with libusb way. Couldn't
find any examples but the gnokii sourcses themselfs. For me they are
to complicated I could extract the relevant parts from it and use them
as example in my own program. So do you know any links to examples
where libusb is used to communicate with S40 fbus ?

But again to clarify. Is it so, with DKU2 kernel module when it's
correctly working and you have the device node created. You can just
open the node normally in C-program with open() and then use
read()/write() to send data to the fbus ?

Yes, that's correct - but as pkot says, libusb is the way to go and compared to getting the fbus comms working yourself, sorting libusb should be easy.

udev configuration. I think it's either on our wiki or in the docs.

Ok, I'll try to figure out how to configure that.

For the purposes of testing you can of course make the device nodes by hand (using mknod).

Regards, Chris





reply via email to

[Prev in Thread] Current Thread [Next in Thread]