Re: Wheezy and parallel port
On Wed 19 Feb 2014 at 10:50:14 +0100, francesco scaglione wrote: root@desk:~# lsmod | grep par parport_pc 22364 0 parport31858 3 lp,ppdev,parport_pc The needed modules are loaded. [ 16.498771] ppdev: user-space parallel port driver No sign of the parport (or lp) module being loaded when booting. ppdev depends on parport so this is worrying. root@desk:~# cat /etc/default/cups # Cups configure options # LOAD_LP_MODULE: enable/disable to load lp parallel printer driver # module LOAD_LP_MODULE=yes The lp module also depends on parport. It looks like CUPS is a getting parport loaded. root@desk:~# ls -l /dev/lp* ls: impossible d'accéder à /dev/lp*: Aucun fichier ou dossier de ce type --- root@desk:~# ls -l /dev/parport* ls: impossible d'accéder à /dev/parport*: Aucun fichier ou dossier de ce type No devices created. This doesn't happen on my up-to-date Wheezy machine with a stock kernel; have you got the same setup? There are BIOS settings for the parallel port; you could see whether altering them makes any difference. The cable and its connections might also be worth looking at. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140220130004.ga31...@copernicus.demon.co.uk
Re: Wheezy and parallel port
On 20 Feb 2014 à 13:00, Brian wrote: On Wed 19 Feb 2014 at 10:50:14 +0100, francesco scaglione wrote: root@desk:~# lsmod | grep par parport_pc 22364 0 parport31858 3 lp,ppdev,parport_pc The needed modules are loaded. [ 16.498771] ppdev: user-space parallel port driver No sign of the parport (or lp) module being loaded when booting. ppdev depends on parport so this is worrying. root@desk:~# cat /etc/default/cups # Cups configure options # LOAD_LP_MODULE: enable/disable to load lp parallel printer driver # module LOAD_LP_MODULE=yes The lp module also depends on parport. It looks like CUPS is a getting parport loaded. root@desk:~# ls -l /dev/lp* ls: impossible d'accéder à /dev/lp*: Aucun fichier ou dossier de ce type --- root@desk:~# ls -l /dev/parport* ls: impossible d'accéder à /dev/parport*: Aucun fichier ou dossier de ce type No devices created. This doesn't happen on my up-to-date Wheezy machine with a stock kernel; have you got the same setup? There are BIOS settings for the parallel port; you could see whether altering them makes any difference. The cable and its connections might also be worth looking at. Thanks again Brian! Well, actually I had found this: --- What is your parallel port configured as in your BIOS? Go into your system BIOS (follow your system documentation) and check that your parallel port is configure for ECP mode. --- here: http://hplipopensource.com/node/217 --- But since my machine (HP Compact dx2400 Microtower) didn't come with a parallel port, there's nothing about that in the Bios. I've myself added a small card with such port: --- 03:00.0 Parallel controller: NetMos Technology Device 9900 (prog-if 03 [IEEE1284]) Subsystem: Device a000:2000 Flags: bus master, fast devsel, latency 0, IRQ 5 I/O ports at dc00 [size=8] I/O ports at d880 [size=8] Memory at feaff000 (32-bit, non-prefetchable) [size=4K] Memory at feafe000 (32-bit, non-prefetchable) [size=4K] Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+ Capabilities: [78] Power Management version 3 Capabilities: [80] Express Legacy Endpoint, MSI 00 Capabilities: [100] Virtual Channel Capabilities: [800] Advanced Error Reporting --- But how could I verify whether or not it is in ECP mode? How would I configure that card? Shall I look for a swith on the motherboard? Beside, the same card with the same printer and the same cable worked under xp. Francesco -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140220141629.GE23596@biblioteca
Re: Wheezy and parallel port
On Thu 20 Feb 2014 at 15:16:29 +0100, francesco scaglione wrote: But how could I verify whether or not it is in ECP mode? How would I configure that card? Shall I look for a swith on the motherboard? It is probably configured automatically when a device is connected to it. Beside, the same card with the same printer and the same cable worked under xp. I can only suggest you use wheezy-backports in /etc/apt/sources.list, update and obtain a kernel from there. -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20022014195524.32473567f...@desktop.copernicus.demon.co.uk
Re: Wheezy and parallel port
On 18 Feb 2014 à 18:13, Brian wrote: On Tue 18 Feb 2014 at 11:13:44 +0100, francesco scaglione wrote: On a newly installed Wheezy machine I'm desperately trying to configure an old HP LaserJet 6P printer connected to the parallel port. [Snip] But this is what I get when I launch hplip: [Snip] Enter number 0...2 for connection type (q=quit, enter=usb*) ? 2 Using connection type: par error: No device selected/specified or that supports this functionality. Reboot with the printer connected and switched on. Then provide us with the information from: lsmod | grep par dmesg | grep par cat /etc/default/cups ls -l /dev/lp* ls -l /dev/parport* Hi Brian, thank you for your attention. This is what I get: root@desk:~# lsmod | grep par parport_pc 22364 0 parport31858 3 lp,ppdev,parport_pc --- root@desk:~# dmesg | grep par [0.00] Booting paravirtualized kernel on bare hardware [0.004056] AppArmor: AppArmor disabled by boot time parameter [0.202742] hpet0: 4 comparators, 64-bit 14.318180 MHz counter [2.345196] PM: Hibernation image partition 8:5 present [ 16.498771] ppdev: user-space parallel port driver --- root@desk:~# cat /etc/default/cups # Cups configure options # LOAD_LP_MODULE: enable/disable to load lp parallel printer driver # module LOAD_LP_MODULE=yes --- root@desk:~# ls -l /dev/lp* ls: impossible d'accéder à /dev/lp*: Aucun fichier ou dossier de ce type --- root@desk:~# ls -l /dev/parport* ls: impossible d'accéder à /dev/parport*: Aucun fichier ou dossier de ce type -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140219095014.GA11698@biblioteca
Wheezy and parallel port
On a newly installed Wheezy machine I'm desperately trying to configure an old HP LaserJet 6P printer connected to the parallel port. The card is well recognized, it seems: francesco@desk:~$ lspci -vv [...] 03:00.0 Parallel controller: NetMos Technology Device 9900 (prog-if 03 [IEEE1284]) Subsystem: Device a000:2000 Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast TAbort- TAbort- MAbort- SERR- PERR- INTx- Latency: 0, Cache Line Size: 32 bytes Interrupt: pin A routed to IRQ 5 Region 0: I/O ports at dc00 [size=8] Region 1: I/O ports at d880 [size=8] Region 2: Memory at feaff000 (32-bit, non-prefetchable) [size=4K] Region 5: Memory at feafe000 (32-bit, non-prefetchable) [size=4K] Capabilities: access denied - But this is what I get when I launch hplip: francesco@desk:~$ hp-setup -i HP Linux Imaging and Printing System (ver. 3.12.6) Printer/Fax Setup Utility ver. 9.0 Copyright (c) 2001-14 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. (Note: Defaults for each question are maked with a '*'. Press enter to accept the default.) | SELECT CONNECTION (I/O) TYPE | Num Connection Description Type -- -- 0*usb Universal Serial Bus (USB) 1 net Network/Ethernet/Wireless (direct connection or JetDirect) 2 par Parallel Port (LPT:) Enter number 0...2 for connection type (q=quit, enter=usb*) ? 2 Using connection type: par error: No device selected/specified or that supports this functionality. - Since I don't see /lp0 in my /dev, I've come to think that this could be a problem of udev, non creating the right device. Actually, I've found a couple of bugs that might concern my installation as well. This is an older one: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=351668 while this is quite recent: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=711891 - Has anybody stumbled on the same problem? Any help would be greatly appreciated! Francesco -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/20140218101344.GA21854@biblioteca
Re: Wheezy and parallel port
On Tue 18 Feb 2014 at 11:13:44 +0100, francesco scaglione wrote: On a newly installed Wheezy machine I'm desperately trying to configure an old HP LaserJet 6P printer connected to the parallel port. [Snip] But this is what I get when I launch hplip: [Snip] Enter number 0...2 for connection type (q=quit, enter=usb*) ? 2 Using connection type: par error: No device selected/specified or that supports this functionality. Reboot with the printer connected and switched on. Then provide us with the information from: lsmod | grep par dmesg | grep par cat /etc/default/cups ls -l /dev/lp* ls -l /dev/parport* -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/18022014180521.393e422bb...@desktop.copernicus.demon.co.uk