avr-chat
[Top][All Lists]
Advanced

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

Re: [avr-chat] device not found?!


From: Vincent Trouilliez
Subject: Re: [avr-chat] device not found?!
Date: Fri, 21 Apr 2006 11:05:53 +0200

On Fri, 2006-04-21 at 10:39 +0200, Jan-Erik wrote:
> Hallo;
> There is the next! it don't open the lp port!
> 
> avrdude -c sp12 -p m8 -P /dev/lp0
> avrdude: can't claim device "/dev/lp0": Invalid argument

I had similar problems when I was beginning with Avrdude.

Avrdude doesn't use /dev/lp0. Instead it uses /dev/parport0 (by default,
so no need to specify it on the command line).
/dev/parport0 may not exist on your machine. If you don't have it, you
probably need to load the 'ppdev' kernel module. To get it running right
now, you can load it by hand: as root, type "modprobe ppdev". The you
can add it to /etc/modules so that it loads automatically every time you
start your computer.

On my machine, I also had to make myself part of the 'lp0' group, so
that I can access /dev/parport0 as a regular user. Otherwise, you will
only be able to use avrdude as root.


HTH,

--
Vince






reply via email to

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