Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Feb 2008 21:48:09 -0500 (EST)
From:      Michael S <msherman77@yahoo.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   usb devices don't "wake up"
Message-ID:  <695962.22574.qm@web88312.mail.re4.yahoo.com>

next in thread | raw e-mail | index | archive | help
Good day all,

I got hold of an old Dell laptop and decided to
install FreeBSD on it.
I managed to install it after a few retrials, and this
is due to the installer  not
being able to write out partitions, complaining that
there was no device entry in /dev for the swap
partition.
Now everything works as expected, except after putting
the laptop to sleep with acpiconf -s 3, upon wake up,
the USB devices (network card or flash drive) wouldn't
work anymore.
I tried to restart usbd and devd, and that wouldn't
help.

Anyone has an idea? Here are the dmesg and kernel
config.

Regards,
Michael

Copyright (c) 1992-2008 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989,
1991, 1992, 1993, 1994
       The Regents of the University of California.
All rights reserved.
FreeBSD is a registered trademark of The FreeBSD
Foundation.
FreeBSD 6.3-RELEASE #4: Thu Feb  7 16:40:59 EST 2008
   root@freedom:/usr/obj/usr/src/sys/FREE
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel Pentium III (497.84-MHz 686-class CPU)
 Origin = "GenuineIntel"  Id = 0x686  Stepping = 6

Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 150913024 (143 MB)
avail memory = 138096640 (131 MB)
kbd1 at kbdmux0
acpi0: <DELL CPi R  > on motherboard
Timecounter "ACPI-safe" frequency 3579545 Hz quality
850
acpi_timer0: <24-bit timer at 3.579545MHz> port
0x808-0x80b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_acad0: <AC Adapter> on acpi0
battery0: <ACPI Control Method Battery> on acpi0
battery1: <ACPI Control Method Battery> on acpi0
acpi_lid0: <Control Method Lid Switch> on acpi0
acpi_button0: <Power Button> on acpi0
acpi_button1: <Sleep Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on
acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem
0xf4000000-0xf7ffffff at device 0.0 on pci0
pcib1: <ACPI PCI-PCI bridge> at device 1.0 on pci0
pci1: <ACPI PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver
attached)
cbb0: <TI1225 PCI-CardBus Bridge> at device 3.0 on
pci0
cardbus0: <CardBus bus> on cbb0
pccard0: <16-bit PCCard bus> on cbb0
cbb1: <TI1225 PCI-CardBus Bridge> at device 3.1 on
pci0
cardbus1: <CardBus bus> on cbb1
pccard1: <16-bit PCCard bus> on cbb1
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port
0x1f0-0x1f7,0x3f6,0x170-0x177,0x376,0x860-0x86f at
device 7.1 on pci0
ata0: <ATA channel 0> on atapci0
ata1: <ATA channel 1> on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port
0xdce0-0xdcff irq 11 at device 7.2 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on
uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00,
addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge> at device 7.3 (no driver attached)
pci0: <multimedia, audio> at device 8.0 (no driver
attached)
acpi_tz0: <Thermal Zone> on acpi0
atkbdc0: <Keyboard controller (i8042)> port 0x60,0x64
irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model GlidePoint, device ID 0
fdc0: <floppy drive controller (FDE)> port
0x3f2-0x3f5,0x3f7 irq 6 drq 2 on acpi0
fdc0: [FAST]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff
irq 4 flags 0x10 on acpi0
sio0: type 16550A
ppc0: <ECP parallel printer port> port
0x378-0x37f,0x778-0x77b irq 7 drq 3 on acpi0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in
COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
pmtimer0 on isa0
orm0: <ISA Option ROM> at iomem 0xc0000-0xcffff on
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio1: configured irq 3 not in bitmap of probed irqs 0
sio1: port may not be enabled
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem
0xa0000-0xbffff on isa0
udav0: DM9601 USB NNC Davicom CO., LTD, rev 1.10/1.01,
addr 2
udav0: DM9601 USB NNC Davicom CO., LTD, rev 1.10/1.01,
addr 2
udav0: Ethernet address 00:60:6e:af:38:ef
miibus0: <MII bus> on udav0
ukphy0: <Generic IEEE 802.3u media interface> on
miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX,
100baseTX-FDX, auto
udav0: Ethernet address: 00:60:6e:af:38:ef
udav0: if_start running deferred for Giant
Timecounter "TSC" frequency 497837724 Hz quality 800
Timecounters tick every 1.000 msec
ad0: 28615MB <IC25N030ATCS04 0 CA3OA71A> at
ata0-master UDMA33
acd0: CDROM <SAMSUNG CD-ROM SN-124/S004> at
ata1-master PIO4
Trying to mount root from ufs:/dev/ad0s1a
IP Filter: v4.1.28 initialized.  Default = pass all,
Logging = enabled

#
# GENERIC -- Generic kernel configuration file for
FreeBSD/i386
#
# For more information on this file, please read the
handbook section on
# Kernel Configuration Files:
#
#   
http://www.FreeBSD.org/doc/en_US.ISO8859-1/books/handbook/kernelconfig-config.html
#
# The handbook is also available locally in
/usr/share/doc/handbook
# if you've installed the doc distribution, otherwise
always see the
# FreeBSD World Wide Web server
(http://www.FreeBSD.org/) for the
# latest information.
#
# An exhaustive list of options and more detailed
explanations of the
# device lines is also present in the ../../conf/NOTES
and NOTES files.
# If you are in doubt as to the purpose or necessity
of a line, check first
# in NOTES.
#
# $FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.14.2.1
2007/12/15 06:32:32 scottl Exp $

machine         i386
#cpu            I486_CPU
#cpu            I586_CPU
cpu             I686_CPU
ident           FREE

# To statically compile in device wiring instead of
/boot/device.hints
#hints          "GENERIC.hints"         # Default
places to look for devices.

options         DDB
options         KDB
makeoptions     DEBUG=-g                # Build kernel
with gdb(1) debug symbols

options         SCHED_4BSD              # 4BSD
scheduler
options         PREEMPTION              # Enable
kernel thread preemption
options         INET                    #
InterNETworking
options         INET6                   # IPv6
communications protocols
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=5000         # 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         ADAPTIVE_GIANT          # Giant mutex
is adaptive.
options         VGA_WIDTH90
options         VESA
options         SC_PIXEL_MODE

device          apic                    # I/O APIC

# Bus support.
device          eisa
device          pci

# Floppy drives
device          fdc

# ATA and ATAPI devices
device          ata
device          atadisk         # ATA disk drives
device          ataraid         # ATA RAID drives
device          atapicd         # ATAPI CDROM drives
device          atapifd         # ATAPI floppy drives
device          atapist         # ATAPI tape drives
options         ATA_STATIC_ID   # Static device
numbering


# SCSI peripherals
device          scbus           # SCSI bus (required
for SCSI)
device          ch              # SCSI media changers
device          da              # Direct Access
(disks)
device          sa              # Sequential Access
(tape etc)
device          cd              # CD
device          pass            # Passthrough device
(direct SCSI access)
device          ses             # SCSI Environmental
Services (and SAF-TE)


# atkbdc0 controls both the keyboard and the PS/2
mouse
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

# syscons is the default console driver, resembling an
SCO console
device          sc

# Enable this for the pcvt (VT220 compatible) console
driver
#device         vt
#options        XSERVER         # support for X server
on a vt console
#options        FAT_CURSOR      # start with block
cursor

device          agp             # support several AGP
chipsets

# Power management support (see NOTES for more
options)
#device         apm
# Add suspend/resume support for the i8254.
device          pmtimer

# PCCARD (PCMCIA) support
# PCMCIA and cardbus bridge support
device          cbb             # cardbus (yenta)
bridge
device          pccard          # PC Card (16-bit) bus
device          cardbus         # CardBus (32-bit) bus

# Serial (COM) ports
device          sio             # 8250, 16[45]50 based
serial ports

# Parallel port
device          ppc
device          ppbus           # Parallel port bus
(required)
device          lpt             # Printer
device          plip            # TCP/IP over parallel
device          ppi             # Parallel port
interface device
#device         vpo             # Requires scbus and
da

# If you've got a "dumb" serial or parallel PCI card
that is
# supported by the puc(4) glue driver, uncomment the
following
# line to enable it (connects to the sio and/or ppc
drivers):
#device         puc

device          miibus          # MII bus support

# Pseudo devices.
device          loop            # Network loopback
device          random          # Entropy device
device          ether           # Ethernet support
device          sl              # Kernel SLIP
device          ppp             # Kernel PPP
device          tun             # Packet tunnel.
device          pty             # Pseudo-ttys (telnet
etc)
device          md              # Memory "disks"
device          gif             # IPv6 and IPv4
tunneling
device          faith           # IPv6-to-IPv4
relaying (translation)

# The `bpf' device enables the Berkeley Packet Filter.
# Be aware of the administrative consequences of
enabling this!
# Note that 'bpf' is required for DHCP.
device          bpf             # Berkeley packet
filter

# USB support
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         udbp            # USB Double Bulk Pipe
devices
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         ural            # Ralink Technology
RT2500USB wireless NICs
#device         urio            # Diamond Rio 500 MP3
player
#device         uscanner        # Scanners
# USB Ethernet, requires miibus
device          aue             # ADMtek USB Ethernet
device          axe             # ASIX Electronics USB
Ethernet
device          cdce            # Generic USB over
Ethernet
device          cue             # CATC USB Ethernet
device          kue             # Kawasaki LSI USB
Ethernet
device          rue             # RealTek RTL8150 USB
Ethernet
device          udav

# FireWire support
device          firewire        # FireWire bus code
device          sbp             # SCSI over FireWire
(Requires scbus and da)
device          fwe             # Ethernet over
FireWire (non-standard!)


Michael Sherman
http://msherman77.blogspot.com/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?695962.22574.qm>