C-Pen

Borodin
Inlägg: 128
Blev medlem: 17 nov 2006, 16:13
Ort: Täby Kommun

C-Pen

Inlägg av Borodin »

Hej alla!

Säkert har några en C-pen för att läsa clearingnummer på bankgiroblanketter.
Jag har letat efter Linuxdrivers för pennan, tji inget från agenten. Vad jag hittat är detta. Ubuntu tar inte rpm-raden i monitorn, vet någon en lösning? Skulle ju vara cool att kunna använda pennan i Ubuntu


CPEN and Linux: Techno-Tools for the Techno-Cool
Working with CPEN and Linux

Rob Reilly
Thursday, September 5, 2002 11:30:42 AM

All that techno coolness meant nothing if it couldn't be put to good use. Here's how the applications were installed and configured. The Open OBEX application setup was virtually identical to the installation of the driver software.

You'll need to download and compile Openobex-apps from its SourceForge site. I used openobex-apps-0.9.8-1.i386.rpm. The RPM was expanded with:


rpm xvf openobex-apps-0.9.8-1.i386.rpm

Running the rpm file built a directory with the source and most .h files that were needed to build the basic file transfer applications. Just so you aren't disappointed, these applications aren't very sophisticated or comprehensive. They were executed within an X-term and simply move the files back and forth between the CPEN and my computer.

Just as before, I went into the Openobex-apps directory and ran the following commands:


./configure

make

make install

What I ended up with was a program in the Openobex-apps directory called irxfer. I switched to a normal user account and executed the irxfer command.

The ixfer program is executed in an X-term and simply waits for a file to be beamed from the CPEN.

I picked a name out of the address book on the CPEN and beamed it over. As expected, the irxfer program showed the transfer taking place and when it completed it simply returned to the command prompt.

Note: The file did show up in the /tmp directory. There were a couple of other programs that did various other functions, but irxfer is the main one.

A similar operation worked from the laptop to the CPEN. This time a filename (rob.txt) was added to the irxfer command. Lo and behold, the CPEN beeped and asked if I wanted to save the file on its little LCD screen.

Looking in the main notepad directory on the CPEN showed that the rob.txt file had been successfully moved over. I tried it with a .vcf (vcard file) and the file transferred right over to the address book on the CPEN. I could pull up the new name and address in the address book without problem.

I realize this doesn't sound like much, but think of the possibilities.

* You could write some filters to pull your address book out of Mozilla and format it for the CPEN. Then write a little script that would download any new name/address objects to the CPEN. Suddenly, it's a vcard.
* You could do the same with the calendar, except it's even simpler, since the CPEN understands the vcal format. Your calendar is just one object!
* There is a company doing some CPEN development at <a class="postlink" href="http://www.benlo.com">http://www.benlo.com</a>. They have some downloads and an interesting drawing capture program for the CPEN. All Windows, but the applications are interesting. They also do custom CPEN programming.

M.V.H.

Lasse

/ Eftersom detta tillhör program och spel, flyttar jag det dit /
/ gholen /
Användarvisningsbild
Martin Olsson
Inlägg: 218
Blev medlem: 15 okt 2006, 10:56
Ort: Malmö
Kontakt:

C-Pen

Inlägg av Martin Olsson »

Vilken version av C-pen har du?
C-pen är en smart konstruktion men pga usel marknadsföring för den en tynande tillvaro.
Räkna därför inte med att det kommer att finnas program för pennan. Det enda jag kan tänka mig är att med 600 och 800-modellen föra över information via IR (obex)
http://www.soptunna.se
** Ubuntu user #8998 **
Borodin
Inlägg: 128
Blev medlem: 17 nov 2006, 16:13
Ort: Täby Kommun

C-Pen

Inlägg av Borodin »

[quote="Martin O"]Vilken version av C-pen har du?
C-pen är en smart konstruktion men pga usel marknadsföring för den en tynande tillvaro.
Räkna därför inte med att det kommer att finnas program för pennan. Det enda jag kan tänka mig är att med 600 och 800-modellen föra över information via IR (obex)[/quote]
Hej!

Usb-C-pen10 tror jag. Du har nog rätt, tror knappast heller att den kommer att kunna användas i Ubuntu. Synd för det är knöligt att knappa in 14-siffriga nummer.:ojavascript:insert_text(':o', '');
Användarvisningsbild
Martin Olsson
Inlägg: 218
Blev medlem: 15 okt 2006, 10:56
Ort: Malmö
Kontakt:

C-Pen

Inlägg av Martin Olsson »

Jag hittade den här länken: http://linuxplanet.com/linuxplanet/tutorials/4421/1/

Det verkar finnas en SDK (software development kit) för Cpen 10 på http://www.cpen.com
Då är det bara till att programmera. :)
Tyvärr får du nog göra det i Windows. :(
http://www.soptunna.se
** Ubuntu user #8998 **
Skriv svar

Återgå till "Program - inaktuell"