|
From: Bradlee L. <bra...@gm...> - 2011-11-07 20:00:41
|
`modprobe lp` adds /dev/lp0, but /var/log/messages says "kernel: : lp0 off-line". On Mon, Nov 7, 2011 at 12:47 PM, Heiko Zuerker <he...@zu...> wrote: > It's been a long time since I worked with a parallel port, but check if the > device /dev/lp0 is there. > > -- > > Regards > Heiko Zuerker > http://www.devil-linux.org > > >> -----Original Message----- >> From: Bradlee Landis [mailto:bra...@gm...] >> Sent: Monday, November 07, 2011 11:22 AM >> To: dev...@li... >> Subject: Re: [Devil-Linux-discuss] Parallel Port Device >> >> On Mon, Nov 7, 2011 at 9:20 AM, Heiko Zuerker <he...@zu...> wrote: >> > Make sure you have the parport_pc and lp modules loaded. >> >> >> parport_pc is loaded, and I loaded lp, and I still get the same message. > Is >> `echo a > /dev/parport0` a good test to run, or should I be trying > something >> else to see if it's working? >> >> >> >> -----Original Message----- >> >> From: Bradlee Landis [mailto:bra...@gm...] >> >> Sent: Monday, November 07, 2011 9:04 AM >> >> To: dev...@li... >> >> Subject: Re: [Devil-Linux-discuss] Parallel Port Device >> >> >> >> Well, that creates a device, but when I try to write to it, it just > hangs. >> > I think >> >> /dev/lp* requires /dev/parport*. I tried creating it using `mknod >> >> /dev/parport0 c 99 0 -m 660`, but it says "No such address or device" >> >> when >> > I >> >> write to it. Users who have had this problem are finding that the >> >> ppdev module is required, but it's not installed on Devil Linux. >> >> >> >> >> >> On Wed, Nov 2, 2011 at 5:59 PM, Chris Grove <dl...@ki...> >> > wrote: >> >> > Hi. It's usually called /dev/lp0 but I've found that my server >> >> > doesn't create it for some reason. That said, if you use mknod >> >> > /dev/lpt0 c 6 0 that then allows you to use it. >> >> > Hope that helps, Chris. >> >> > >> >> > On 2 November 2011 18:36, Bradlee Landis <bra...@gm...> >> >> wrote: >> >> >> >> >> >> I am seeing a parallel port being detected in the boot logs: >> >> >> >> >> >> Nov 2 15:50:31 src@localhost kernel: : parport_pc 00:08: reported >> >> >> by Plug and Play ACPI Nov 2 15:50:31 src@localhost kernel: : > parport0: >> >> >> PC-style at 0x378 (0x778), irq 7, dma 3 >> >> >> [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA] >> >> >> >> >> >> But, I don't see any devices in /dev that are the parallel ports. >> >> >> Do you know what I need to do to be able to see parallel port > devices? >> >> >> Or are they under a different name? I saw in udev configuration >> >> >> that it can be /dev/lp[0-9], parport[0-9], or irlpt[0-9]. >> >> >> >> >> >> -- >> >> >> Thanks, >> >> >> Brad Landis >> >> >> >> >> >> >> >> >> ------------------------------------------------------------------ >> >> >> --- >> >> >> --------- >> >> >> RSA® Conference 2012 >> >> >> Save $700 by Nov 18 >> >> >> Register now! >> >> >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> >> >> _______________________________________________ >> >> >> Devil-linux-discuss mailing list >> >> >> Dev...@li... >> >> >> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >> >> > >> >> > >> >> > ------------------------------------------------------------------- >> >> > --- >> >> > -------- >> >> > RSA(R) Conference 2012 >> >> > Save $700 by Nov 18 >> >> > Register now >> >> > http://p.sf.net/sfu/rsa-sfdev2dev1 >> >> > _______________________________________________ >> >> > Devil-linux-discuss mailing list >> >> > Dev...@li... >> >> > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >> >> > >> >> > >> >> >> >> >> >> >> >> -- >> >> Thanks, >> >> Brad Landis >> >> >> >> >> > ---------------------------------------------------------------------- >> > ------ >> > -- >> >> RSA(R) Conference 2012 >> >> Save $700 by Nov 18 >> >> Register now >> >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> >> _______________________________________________ >> >> Devil-linux-discuss mailing list >> >> Dev...@li... >> >> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >> > >> > >> > >> > ---------------------------------------------------------------------- >> > -------- >> > RSA(R) Conference 2012 >> > Save $700 by Nov 18 >> > Register now >> > http://p.sf.net/sfu/rsa-sfdev2dev1 >> > _______________________________________________ >> > Devil-linux-discuss mailing list >> > Dev...@li... >> > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss >> > >> >> >> >> -- >> Thanks, >> Brad Landis >> >> > ---------------------------------------------------------------------------- > -- >> RSA(R) Conference 2012 >> Save $700 by Nov 18 >> Register now >> http://p.sf.net/sfu/rsa-sfdev2dev1 >> _______________________________________________ >> Devil-linux-discuss mailing list >> Dev...@li... >> https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss > > > > ------------------------------------------------------------------------------ > RSA(R) Conference 2012 > Save $700 by Nov 18 > Register now > http://p.sf.net/sfu/rsa-sfdev2dev1 > _______________________________________________ > Devil-linux-discuss mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/devil-linux-discuss > -- Thanks, Brad Landis |