Skip Menu |

This queue is for tickets about the Device-ParallelPort-drv-linux CPAN distribution.

Report information
The Basics
Id: 16775
Status: open
Priority: 0/
Queue: Device-ParallelPort-drv-linux

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 1.00
Fixed in: (no value)



Subject: $this->{DATA}{DEVICE} is not filled
The module uses $this->{DATA}{DEVICE} as device name, however this variable is never filled. Not too severe, because the C part ignores the device parameter and accesses port 0 only.
From: Scott Penrose <scottp [...] dd.com.au>
Subject: Re: [cpan #16775] $this->{DATA}{DEVICE} is not filled
Date: Thu, 29 Dec 2005 11:14:10 +1100
To: bug-Device-ParallelPort-drv-linux [...] rt.cpan.org
RT-Send-Cc:
I will check it out. But there is an interaction between the DRV and normal versions. But I will check it out. Thanks Scott On 29/12/2005, at 8:37, via RT wrote: Show quoted text
> > This message about Device-ParallelPort-drv-linux was sent to you by > JACOB <JACOB@cpan.org> via rt.cpan.org > > Full context and any attached attachments can be found at: > <URL: https://rt.cpan.org/Ticket/Display.html?id=16775 > > > The module uses $this->{DATA}{DEVICE} as device name, however this > variable is never filled. Not too severe, because the C part > ignores the device parameter and accesses port 0 only.
-- * - * http://www.osdc.com.au - Open Source Developers Conference * - * Scott Penrose Welcome to the Digital Dimension http://www.dd.com.au/ scottp@dd.com.au Dismaimer: Contents of this mail and signature are bound to change randomly. Whilst every attempt has been made to control said randomness, the author wishes to remain blameless for the number of eggs that damn chicken laid. Oh and I don't want to hear about butterflies either. Please do not send me Word or PowerPoint attachments. See http://www.gnu.org/philosophy/no-word-attachments.html Microsoft is not the answer. It's the question. And the answer is no.
Download PGP.sig
application/pgp-signature 186b

Message body not shown because it is not plain text.

From: vlatko.kosturjak [...] gmail.com
I got same problem. $this->{DATA}{DEVICE} is not filled. So, I get this: Use of uninitialized value in subroutine entry at /usr/local/lib/perl/5.10.0/Device/ParallelPort/drv/linux.pm line 68. Also, I have to hack linux.xs, to change default base (0x378). It's not that everyone has parallel port on same port....
On Wed Aug 12 07:05:57 2009, k0st wrote: Show quoted text
> I got same problem. $this->{DATA}{DEVICE} is not filled. > So, I get this: > Use of uninitialized value in subroutine entry at > /usr/local/lib/perl/5.10.0/Device/ParallelPort/drv/linux.pm line 68. > Also, I have to hack linux.xs, to change default base (0x378). It's not > that everyone has parallel port on same port....
Debugged it a bit. It seems that this thing happens when there is no /dev/parport* device(s) (but, Why I would need it if I'm using direct IO commands?). Some distro doesn't have correct udev rules (e.g. Ubuntu) to make parport by defaut, so you have to make /dev/parport0 by hand: For example: mknod -m 666 /dev/parport0 c 99 0