[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: kernel-image-2.6.8-2-k7, and parallel port printing



On Wed, 31 Aug 2005 16:42:58 CDT, Matt Zagrabelny writes:
>first step, as you guessed it, is getting
>$ cat /etc/passwd > /dev/lp0
>to work.

Yep, that's why I explicitly mentioned that even that didn't work
 (though I usually use /etc/issue.net ;) ).

>are you using udev? have you checked dmesg? what about lsmod?

udev .. it's installed but I don't _knowingly_ use it. The only mention 
 I find in my logs are about lp device-nodes are for the 2.6 kernel, 
 from when I un-&reloaded the lp, parport, parport_pc modules probably:
Aug 31 21:47:08 fsck udev[14071]: removing device node '/dev/lp0'
Aug 31 21:47:37 fsck udev[14106]: creating device node '/dev/lp0'

dmesg, AFAICT, looks good:

2.6.8:
parport: PnPBIOS parport detected.
parport0: PC-style at 0x378 (0x778), irq 7, dma 3
          [PCSPP,TRISTATE,COMPAT,ECP,DMA]
parport0: Legacy device
lp0: using parport0 (interrupt-driven).

2.4.27:
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE]
parport0: irq 7 detected
parport0: Legacy device
lp0: using parport0 (polling).

lsmod shows lp, parport and parport_pc in both cases.

cups' logs don't indicate any problems at all.

>what is /proc/sys/vm/swappiness? i am curious.

Ever been annoyed when the system swapped out an app just because you 
 didn't use it for only a couple minutes? This is the solution, a way 
 to tell the kernel how aggressively it should be with swapping out what 
 (it guesstimates) is unused.
http://kerneltrap.org/node/3000 has more detail (I run my desktop
 systems set to 5 or 10, and am quite happy).

cheers,
&rw
-- 
-- "Frankly, if ignoring inane opinions and noisy people and not flaming
--  them to crisp is bad behaviour, I have not yet achieved a state of
--  nirvana."                                         - Manoj Srivastava


Attachment: pgpfmEA7ZiVAy.pgp
Description: PGP signature


Reply to: