|
From: Heiko Z. <he...@zu...> - 2011-11-07 23:20:36
|
This means that the port should work. Maybe you're really just missing the device in /dev, not sure why udev is not creating it. -- Regards Heiko Zuerker http://www.devil-linux.org > -----Original Message----- > From: Bradlee Landis [mailto:bra...@gm...] > Sent: Monday, November 07, 2011 5:15 PM > To: dev...@li... > Subject: Re: [Devil-Linux-discuss] Parallel Port Device > > I do have that directory: > > # ll /proc/sys/dev/parport/parport0/ > total 0 > -r--r--r-- 1 root root 0 Nov 7 17:14 autoprobe > -r--r--r-- 1 root root 0 Nov 7 17:14 autoprobe0 > -r--r--r-- 1 root root 0 Nov 7 17:14 autoprobe1 > -r--r--r-- 1 root root 0 Nov 7 17:14 autoprobe2 > -r--r--r-- 1 root root 0 Nov 7 17:14 autoprobe3 > -r--r--r-- 1 root root 0 Nov 7 17:14 base-addr dr-xr-xr-x 0 root root 0 Nov 7 > 17:14 devices > -r--r--r-- 1 root root 0 Nov 7 17:14 dma > -r--r--r-- 1 root root 0 Nov 7 17:14 irq > -r--r--r-- 1 root root 0 Nov 7 17:14 modes > -rw-r--r-- 1 root root 0 Nov 7 17:14 spintime > > > On Mon, Nov 7, 2011 at 5:00 PM, Heiko Zuerker <he...@zu...> wrote: > > Do you have this directory? > > /proc/sys/dev/parport/parport0/ > > > > The parportX devices are listed under etc/udev/rules.d/25-lfs.rules in DL. > > > > -- > > > > Regards > > Heiko Zuerker > > http://www.devil-linux.org > > > > > >> -----Original Message----- > >> From: Bradlee Landis [mailto:bra...@gm...] > >> Sent: Monday, November 07, 2011 2:49 PM > >> To: dev...@li... > >> Subject: Re: [Devil-Linux-discuss] Parallel Port Device > >> > >> This was in dmesg: > >> parport_pc 00:08: reported by Plug and Play ACPI > >> parport0: PC-style at 0x378 (0x778), irq 7, dma 3 > >> [PCSPP,TRISTATE,COMPAT,EPP,ECP,DMA] > >> > >> > >> Actually, I guess I can just use /dev/port, and create a program that > >> uses > >> 0x378 on /dev/port to get to the parallel port. I think that was > >> working > > using > >> lcdlinux in DL 1.2.15, so I can create my own program to access it myself. > >> > >> If this helps any, I noticed in Redhat that they have a file > >> /etc/udev/makedev.d/50-udev.nodes that creates parport0-4. It would > >> be nice to have working, but I guess not a lot of people need it. > >> > >> > >> On Mon, Nov 7, 2011 at 2:28 PM, Heiko Zuerker <he...@zu...> > wrote: > >> > Do you see anything in dmesg about the parallel port? > >> > Stupid question: Is the port enabled in the BIOS? > >> > > >> > -- > >> > > >> > Regards > >> > Heiko Zuerker > >> > http://www.devil-linux.org > >> > > >> > > >> >> -----Original Message----- > >> >> From: Bradlee Landis [mailto:bra...@gm...] > >> >> Sent: Monday, November 07, 2011 2:01 PM > >> >> To: dev...@li... > >> >> Subject: Re: [Devil-Linux-discuss] Parallel Port Device > >> >> > >> >> `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- > >> >> >> >> >> dis > >> >> >> >> >> cus > >> >> >> >> >> s > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > ---------------------------------------------------------- > >> >> >> >> > --- > >> >> >> >> > --- > >> >> >> >> > --- > >> >> >> >> > --- > >> >> >> >> > -------- > >> >> >> >> > 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-d > >> >> >> >> > isc > >> >> >> >> > uss > >> >> >> >> > > >> >> >> >> > > >> >> >> >> > >> >> >> >> > >> >> >> >> > >> >> >> >> -- > >> >> >> >> 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-dis > >> >> >> >> cus > >> >> >> >> s > >> >> >> > > >> >> >> > > >> >> >> > > >> >> >> > ------------------------------------------------------------- > >> >> >> > --- > >> >> >> > --- > >> >> >> > --- > >> >> >> > -------- > >> >> >> > 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-disc > >> >> >> > uss > >> >> >> > > >> >> >> > >> >> >> > >> >> >> > >> >> >> -- > >> >> >> 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-discus > >> >> >> s > >> >> > > >> >> > > >> >> > > >> >> > ---------------------------------------------------------------- > >> >> > --- > >> >> > --- > >> >> > -------- > >> >> > 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 > > ---------------------------------------------------------------------------- -- > 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 |