Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
* Hamlib: "ppdev0: claim the port first"
@ 2005-07-27  2:30 Jonathan Lassoff
       [not found] ` <200507271513.37262.w.knol@niwa.co.nz>
  0 siblings, 1 reply; 4+ messages in thread
From: Jonathan Lassoff @ 2005-07-27  2:30 UTC (permalink / raw)
  To: linux-hams

Howdy. I'm trying to use hamlib to control an Icom IC-746 with a
homebrew TTL to RS232 level converter. The level converter works great
on my dekstop's DB9 RS-232 serial port, but not on my laptop's DB25
RS-232 parallel port. Both run the same Debian Sarge release with very
similar sets of software packages. The problem I'm having is that when
any application tries to use the parallel port, ppdev gets angry. The
specific error in the message log is:
"ppdev0: claim the port first"
Does anyone have an idea as to what this is alluding to? Google wasn't
much help for me.

Cheers,
Jonathan Lassoff (KG6THI)

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Re: Hamlib: "ppdev0: claim the port first"
@ 2005-07-27  3:14 Wilbert Knol
  0 siblings, 0 replies; 4+ messages in thread
From: Wilbert Knol @ 2005-07-27  3:14 UTC (permalink / raw)
  To: linux-hams

On Wednesday 27 July 2005 14:30, Jonathan Lassoff wrote:
> Howdy. I'm trying to use hamlib to control an Icom IC-746 with a
> homebrew TTL to RS232 level converter. The level converter works
> great on my dekstop's DB9 RS-232 serial port, but not on my
> laptop's DB25 RS-232 parallel port.

A level converter designed to work with EIA232 ports won't work on a
parallel port. They are different beasts with different voltage
levels and pin-outs.

In any case: as far as I know, Hamlib does not supports rig control
via a parallel port.

> Both run the same Debian Sarge
> release with very similar sets of software packages. The problem
> I'm having is that when any application tries to use the parallel
> port, ppdev gets angry. The specific error in the message log is:
> "ppdev0: claim the port first"

Check that the parport is enabled in the BIOS of your laptop, and
 that it is set to bi-directional instead of the old legacy
 unidirectional mode,  if you plan to use it as such.

Make sure the ppdev module is loaded:
 su -c lsmod | grep ppdev
It looks like it is.

Then make sure no other userland applications ( cwdaemon, line
printing, zip drives etc etc)  have laid claim over the parport.

The Hamlib packages on Debian Sarge work well - even the Perl
 bindings are there.

Hope this helps.


Wilbert, ZL2BSJ

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2005-07-27 12:00 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-27  2:30 Hamlib: "ppdev0: claim the port first" Jonathan Lassoff
     [not found] ` <200507271513.37262.w.knol@niwa.co.nz>
2005-07-27  3:42   ` Jonathan Lassoff
2005-07-27 12:00     ` Rodolfo Brasnarof
  -- strict thread matches above, loose matches on Subject: below --
2005-07-27  3:14 Wilbert Knol

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox