Re: MAKEDEV question

From: Kris Kennaway (kris_at_obsecurity.org)
Date: 03/08/04

  • Next message: Vulpes Velox: "Re: Installation - More user friendly"
    Date: Sun, 7 Mar 2004 21:24:42 -0800
    To: Stephen Liu <satimis@icare.com.hk>
    
    
    

    On Mon, Mar 08, 2004 at 10:54:46PM +0800, Stephen Liu wrote:
    > > > FreeBSD 5.2
    > > >
    > > > I am now configuring printer and aware that 'MAKEDEV' has been replaced
    > > > with 'devfs'
    > > >
    > > > According to handbook I should run
    > > >
    > > > # ./MAKEDEV lpt0 (para port)
    > > >
    > > > whether to be replaced with
    > > >
    > > > # ./devfs -m lpt0
    > >
    > > The device should be created automatically if your kernel detects the
    > > device.
    >
    > Hi Kris,
    >
    > Tks for your response.
    >
    > # grep ppc0 /var/run/dmesg.boot
    > ppc0 port 0x778-0x77b,0x378-0x37f irq 7 drq 3 on acpi0
    > ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
    > ppc0: FIFO with 16/16/7 bytes threshold
    > ppbus0: <Parallel port bus> on ppc0
    >
    > I suppose lpt0 is supported.

    If your kernel detects it it will be listed in the dmesg:

    lpt0: <Printer> on ppbus0
    lpt0: Interrupt-driven port

    Kris

    
    



  • Next message: Vulpes Velox: "Re: Installation - More user friendly"

    Relevant Pages

    • Re: Freebsd Theme Song
      ... >> measure the efficiency of an isolated kernel. ... >> network, you're in good shape. ... Whats "false" about it, Kris? ... people that used to rely on FreeBSD for serious ...
      (freebsd-questions)
    • Re: [GIANT-LOCK] seen on several kernel facilities
      ... Kris Kennaway wrote: ... I do not have any glue how fast or slow giant locks ... >> on a specific driver involves performance, so please excuse my questions about that, ... If the kernel did not ...
      (comp.unix.bsd.freebsd.misc)
    • Re: lpt0 always busy
      ... > some hints too (e.g. excluding device ppi from kernel) but all this ... > i should mention that my printer connected to lpt0 is a funny gdi ... i am running fbsd 5.4 ... Usually, if you get "device busy," it means that the printer is simply ...
      (freebsd-stable)
    • Re: strange
      ... Actually no I used the kernel tar bal from source forge debian does not seem ... Kris ... >> is not being emulated back to the cd but rather looks for a floppy disk ... > "If you have an apple and I have an apple and we exchange apples then ...
      (Debian-User)
    • exclusive sleep mutex mntvnode r = 0 (0xffffffff80758220) locked @ /a/asami/portbuild/amd64/src-clie
      ... The kernel is a ... Kris ... panic: recurse ... syscall() at syscall+0x320 ...
      (freebsd-current)