[ 35.125223] usblp0: USB Bidirectional printer dev 2 if 0 alt 1 proto 2 vid 0x067B pid 0x2305
[ 35.125307] usbcore: registered new interface driver usblp
####
Device::ParallelPort unabel to create driver parport (see Device::ParallelPort::drv::auto for further information) - Failed to load partport driver for /dev/usb/lp0 at (eval 1) line 3
at ./parportcontroller line 5
####
Use of uninitialized value in subroutine entry at /usr/local/lib/perl/5.10.0/Device/ParallelPort/drv/linux.pm line 68.
####
$this->{DATA}{BASE} = linux_opendev("/dev/usb/lp0");
####
#!/usr/bin/perl -w
use Device::ParallelPort;
my $port = Device::ParallelPort->new('linux');
if($port){
print "Bit 0: ".$port->get_bit(1)."\n";
$port->set_bit(1, 0);
print "Bit 0: ".$port->get_bit(1)."\n";
} else {
die "Errore sul driver\n";
}
####
Use of uninitialized value in subroutine entry at /usr/local/lib/perl/5.10.0/Device/ParallelPort/drv/linux.pm line 68.
Bit 0: 1
Bit 0: 1