From owner-freebsd-questions@FreeBSD.ORG Sat Jul 1 17:56:32 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45B2C16A407 for ; Sat, 1 Jul 2006 17:56:32 +0000 (UTC) (envelope-from yraffah@savola.com) Received: from heathrow.savoladns.com (heathrow.savoladns.com [212.12.174.7]) by mx1.FreeBSD.org (Postfix) with SMTP id 2C2FD43D5C for ; Sat, 1 Jul 2006 17:56:30 +0000 (GMT) (envelope-from yraffah@savola.com) Received: from ocs.savola.com (ocs.savola.com [222.22.1.211]) by heathrow.savoladns.com (Postfix) with ESMTP id ACEE09585A for ; Sat, 1 Jul 2006 20:56:28 +0300 (AST) Received: from 222.22.1.105 by ocs.savola.com with ESMTP id 65532941151775852; Sat, 01 Jul 2006 20:44:12 +0300 From: Yousef Raffah To: freebsd-questions@freebsd.org Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-BfnKfNaa2+215Ncd4tnf" Organization: The Savola Group Date: Sat, 01 Jul 2006 20:55:59 +0300 Message-Id: <1151776559.711.5.camel@redevil.savola.com> Mime-Version: 1.0 X-Mailer: Evolution 2.6.2 FreeBSD GNOME Team Port Subject: permission denied on /dev/ttyd0 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: yraffah@savola.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 01 Jul 2006 17:56:32 -0000 --=-BfnKfNaa2+215Ncd4tnf Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Hello.. It's kinda strange though but I am getting a permission denied when I try to read from the /dev/ttyd0 device although I have: crw------- 1 root wheel 0, 75 Jul 1 20:49 /dev/ttyd0 crw------- 1 root wheel 0, 76 Jul 1 20:45 /dev/ttyd0.init crw------- 1 root wheel 0, 77 Jul 1 20:45 /dev/ttyd0.lock I'm running the command minicom and here is my minicom configuration lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk x A - Serial Device : /dev/ttyd0 x x B - Lockfile Location : /var/run/ttyd0.lock x x C - Callin Program : x x D - Callout Program : x x E - Bps/Par/Bits : 9600 8N1 x x F - Hardware Flow Control : No x x G - Software Flow Control : No x x x x Change which setting? x mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj Any idea what could be the reason? Using FreeBSD 6.1-RELEASE-p1 Below is my kernel configuration file: machine i386 cpu I686_CPU ident LAPTOP makeoptions DEBUG=3D-g # Build kernel with gdb(1) debug symbols options SCHED_4BSD # 4BSD scheduler options PREEMPTION # Enable kernel thread preemption options INET # InterNETworking options FFS # Berkeley Fast Filesystem options SOFTUPDATES # Enable FFS soft updates support options UFS_ACL # Support for access control lists options UFS_DIRHASH # Improve performance on big directories options MD_ROOT # MD is a potential root device options NFSCLIENT # Network Filesystem Client options NFSSERVER # Network Filesystem Server options NFS_ROOT # NFS usable as /, requires NFSCLIENT options MSDOSFS # MSDOS Filesystem options CD9660 # ISO 9660 Filesystem options PROCFS # Process filesystem (requires PSEUDOFS) options PSEUDOFS # Pseudo-filesystem framework options GEOM_GPT # GUID Partition Tables. options COMPAT_43 # Compatible with BSD 4.3 [KEEP THIS!] options COMPAT_FREEBSD4 # Compatible with FreeBSD4 options COMPAT_FREEBSD5 # Compatible with FreeBSD5 options SCSI_DELAY=3D5000 # Delay (in ms) before probing SCSI options KTRACE # ktrace(1) support options SYSVSHM # SYSV-style shared memory options SYSVMSG # SYSV-style message queues options SYSVSEM # SYSV-style semaphores options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time extensions options KBD_INSTALL_CDEV # install a CDEV entry in /dev options AHC_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~128k to driver. options AHD_REG_PRETTY_PRINT # Print register bitfields in debug # output. Adds ~215k to driver. options ADAPTIVE_GIANT # Giant mutex is adaptive. device apic # I/O APIC device eisa device pci device ata device atadisk # ATA disk drives device atapicd # ATAPI CDROM drives options ATA_STATIC_ID # Static device numbering device scbus # SCSI bus (required for SCSI) device ch # SCSI media changers device da # Direct Access (disks) device cd # CD device pass # Passthrough device (direct SCSI access) device ses # SCSI Environmental Services (and SAF-TE) device atkbdc # AT keyboard controller device atkbd # AT keyboard device psm # PS/2 mouse device kbdmux # keyboard multiplexer device vga # VGA video card driver device splash # Splash screen and screen saver support device sc device agp # support several AGP chipsets device apm device pmtimer device cbb # cardbus (yenta) bridge device pccard # PC Card (16-bit) bus device cardbus # CardBus (32-bit) bus device ppc device ppbus # Parallel port bus (required) device lpt # Printer device ppi # Parallel port interface device device miibus # MII bus support device wlan # 802.11 support device wi # WaveLAN/Intersil/Symbol 802.11 wireless NICs. device loop # Network loopback device random # Entropy device device ether # Ethernet support device ppp # Kernel PPP device tun # Packet tunnel. device pty # Pseudo-ttys (telnet etc) device md # Memory "disks" device bpf # Berkeley packet filter device uhci # UHCI PCI->USB interface device ohci # OHCI PCI->USB interface device ehci # EHCI PCI->USB interface (USB 2.0) device usb # USB Bus (required) device ugen # Generic device uhid # "Human Interface Devices" device ukbd # Keyboard device ulpt # Printer device umass # Disks/Mass storage - Requires scbus and da device ums # Mouse device firewire # FireWire bus code device sbp # SCSI over FireWire (Requires scbus and da) device sio # Added for serial ports device atapicam # Added to burn dvds with cdrecord -- Sincerely, Yousef Raffah Senior Systems Administrator -- Aren't you using Firefox? Get it at http://www.getfirefox.com --=-BfnKfNaa2+215Ncd4tnf Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQBEprcvH9IXMb4e6CMRAk2TAKCw+wodaQgJeF7bnJEYYHVjbe0tYgCgo2AF llaNoiitM/oLMQD08pqYjBE= =U63U -----END PGP SIGNATURE----- --=-BfnKfNaa2+215Ncd4tnf--