Tiny Core Linux
Tiny Core Base => TCB Q&A Forum => Topic started by: jjreina on August 05, 2010, 07:57:58 AM
-
Hi all.
How to enable the parallel port?
I have intalled libieee1284.tcz and too i I tried to install ppdev.tczm but this said: ppdev.tczm not found!
Whit dmesg | grep port ->
parport _pc 00:0c: disable
parport_pc: probe of 00:0c failed whit error -22
thanks
-
ppdev is included in the base in 3.x. Is your paraller port disabled in the bios?
-
I use TC 2.X and port parallel is enable in bios
-
See if there's an option "PnP OS" or similar. Turn it off so that the bios initializes everything, instead of leaving them for the OS.
-
See if there's an option "PnP OS" or similar. --> In BIOS??
Thanks
-
Yes, in bios.
-
I searched and find nothing similar has PnP also did the same test in ububtu and if it finds the parallel port, so I think it's no problem configuring the BIOS.
Thanks
-
Post output of
showbootcodes
Boot including parameter
syslog
and after booting do:
grep -i par /var/log/messages
grep -i pp /var/log/messages
-
showbootcodes
initrd=/ubninit quiet max_loop=255 BOOT_IMAGE=/ubnkern
Boot including parameter -> Sorry this I do not know how to make them
Code:
syslog
and after booting do:
Code:
grep -i par /var/log/messages
grep -i pp /var/log/messages
a bit of information:
lsmod | grep port
parport_pc 18352 0
parport 18763 1 parpor_pc
Thanks
-
Umm, i suspect the output of 'showbootcodes' is not done in TC, which would be what is needed.
EDIT: or maybe I am wrong as i couldn't know your particualr setup, just that i haven't seen myself a similar naming scheme in TC, just confirm if output is in TC.
Also: which version of TC are you using exactly?
Add the word 'syslog' to the parameter line in your bootloader, e.g. after 'max_loop=255'
-
Oops, i realized I overlooked something:
Remove the boot parameter 'quiet', that one is unfavourable for debugging. ;)
-
Ok, sorry where is bootloader? I don't find in /hda1/boot
Thanks
-
I couldn't know which (of the many existing) Linux bootloader you use, without you giving more details.
But wherever you have specified 'initrd=/ubninit quiet max_loop=255 BOOT_IMAGE=/ubnkern', remove the 'quiet' and add 'syslog'.
-
i did find the bootloader :) and i modifed it
display boot.msg
default tinycore
label tinycore
kernel /boot/bzImage
append initrd=/boot/tinycore.gz max_loop=255 syslog
implicit 0
prompt 1
timeout 300
F1 boot.msg
F2 f2
F3 f3
but when ->
grep -i par /var/log/messages
no such file or directory
-
Hmm, i can't point out why ???
Hopefully someone else seeing this can tell why grep'ping /var/log/messages doesn't work with this bootline...
What you could try as a boot parameter, in case boot parameters do work for you:
parport=auto
parport= [HW,PPT] Specify parallel ports. 0 disables.
Format: { 0 | auto | 0xBBB[,IRQ[,DMA]] }
Use 'auto' to force the driver to use any
IRQ/DMA settings detected (the default is to
ignore detected IRQ/DMA settings because of
possible conflicts). You can specify the base
address, IRQ, and DMA settings; IRQ and DMA
should be numbers, or 'auto' (for using detected
settings on that particular port), or 'nofifo'
(to avoid using a FIFO even if it is detected).
Parallel ports are assigned in the order they
are specified on the command line, starting
with parport0.
From: http://www.kernel.org/doc/Documentation/kernel-parameters.txt
-
Oooops... (again...) only now noticed that bit, it means your basic parallel port modules are loaded and therefore parallel port should work! :)
a bit of information:
lsmod | grep port
parport_pc 18352 0
parport 18763 1 parpor_pc
-
too i have traid in bootloader -> parport=auto
but parport_pc 00:0c disabled
parport_pc 00:0c probe 00:0c failed with error -22
The version de TC is 2.8.1
Thanks
-
I tested with version 3.x
but parport_pc 00:0c disabled
parport_pc 00:0c probe 00:0c failed with error -22
lsmod | grep port
parport_pc 18655 0
parport 18560 2 ppdev,parpor_pc
I'm using TC 3.X live
any suggestions?
Thanks
-
Along the lines of pnp o/s, maybe it could be named something else like "plug n' play o/s"
You could also try booting with "pnpacpi=off" or manually pass the settings (ie during modprobe)