[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [avr-chat] AVRDUDE : fails to open // pport ?!
From: |
Rolf Magnus |
Subject: |
Re: [avr-chat] AVRDUDE : fails to open // pport ?! |
Date: |
Wed, 31 Aug 2005 10:43:20 +0200 |
User-agent: |
KMail/1.8.50 |
On Wednesday 31 August 2005 09:42, Vincent Trouilliez wrote:
> But avrdude won't start, it's having problem using hte parallel port it
> seems, this is error I get :
>
> "avrdude: can't claim device "/dev/parport0": Invalid argument"
>
> On my system the parport device is /dev/lp0, so I made a symlink
> ("sudo ln -s /dev/lp0 /dev/parport0"), but still no joy.
/dev/lp0 is _not_ the parport device. It's the printer device. (lp = line
printer). You need to have the ppdev kernel module loaded. Look with lsmod of
it is loaded. If not, try loading it (as root) with 'modprobe ppdev'.
> I ran avrdude as root, but again no joy.
> I looked in the manual where it says that on Linux platforms, avrdude
> uses the "ppdev interface" to access the parport.
> So I guess my linux distro doesn't have this installed by default, so I
> need to add it.
> But how to do that ? What is this "interface",
It's the parport device in /dev.