DaemonForums  

Go Back   DaemonForums > FreeBSD > FreeBSD General

FreeBSD General Other questions regarding FreeBSD which do not fit in any of the categories below.

Reply
 
Thread Tools Display Modes
  #1   (View Single Post)  
Old 22nd October 2008
teig teig is offline
Port Guard
 
Join Date: May 2008
Posts: 20
Thanked 0 Times in 0 Posts
Default USB keyboard/mouse not active after boot

I have USB keyboard attached to PC and USB mouse to the keyboard hub.

During BIOS boot and kernel load the keyboard and mouse works.
When kernel loads USB stack, the keyboard/mouse is turned/powered off.

Pulling the USB connector out and in again enables both keyboard and mouse.

This is what happens most of the time, occasionally the keyboard/mouse are still on after boot?!

My board is Asus P5K-VM and using 7.1-BETA1, same on 7.0 RELEASE.
Saw this on another similar Gigabyte board as well.
On yet another but newer Gigabyte board I had no problems,... with USB!

Any ideas?
Reply With Quote
  #2   (View Single Post)  
Old 23rd October 2008
tad1214 tad1214 is offline
Real Name: Thomas Donnelly
Fdisk Soldier
 
Join Date: Jun 2008
Location: Houston, TX
Posts: 60
Thanked 0 Times in 0 Posts
Default

Have you tried turning the usb mode to different modes in the bios? (i.e. high speed etc)
Reply With Quote
  #3   (View Single Post)  
Old 26th October 2008
anemos's Avatar
anemos anemos is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Ελλάδα
Posts: 53
Thanked 5 Times in 5 Posts
Default

Hi teig,
This problem has been discussed here: http://www.daemonforums.org/showthread.php?t=1885
Read it carefully and see if you can extract some useful info. It didn't work in my case though.

Last edited by anemos; 26th October 2008 at 09:32 AM.
Reply With Quote
  #4   (View Single Post)  
Old 26th October 2008
teig teig is offline
Port Guard
 
Join Date: May 2008
Posts: 20
Thanked 0 Times in 0 Posts
Default

Thanks for the pointers.

I believe the BIOS settings are ok. Had to experiment to get the keyboard to work upon boot just to be able to access the BIOS.
Keyboard and mouse are working just fine in BIOS and GRUB.

Regardless of whether I boot into X or not, the kernel most often does not find the keyboard.

dmesg at end when keyboard is found:
Code:
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
uhub8: <Lite-On Technology USB 1.1 2port downstream low power hub, class 9/0, rev 1.10/1.00, addr 2> on uhub2
uhub8: 3 ports with 2 removable, bus powered
ukbd0: <Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ), class 0/0, rev 1.10/1.00, addr 3> on uhub8
kbd2 at ukbd0
uhid0: <Lite-On Technology USB Productivity Option Keyboard( has the hub in # 1 ), class 0/0, rev 1.10/1.00, addr 3> on uhub8
ums0: <vendor 0x04b3 product 0x310b, class 0/0, rev 2.00/1.60, addr 4> on uhub8
ums0: 3 buttons and Z dir.
Timecounters tick every 1.000 msec
firewire0: 1 nodes, maxhop <= 0, cable IRM = 0 (me)
firewire0: bus manager 0 (me)
acd0: DVDR <PIONEER DVD-RW DVR-111D/1.23> at ata2-master PIO4
ad6: 715403MB <SAMSUNG HD753LJ 1AA01108> at ata3-master SATA300
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 0x01
pcm0: <HDA Codec: Realtek ALC883>
pcm0: <HDA Driver Revision: 20080420_0052>
acd0: FAILURE - INQUIRY ILLEGAL REQUEST asc=0x24 ascq=0x00 sks=0x48 0x00 0x01
SMP: AP CPU #1 Launched!
cd0 at ata0 bus 0 target 0 lun 0
cd0: <PIONEER DVD-RW  DVR-111D 1.23> Removable CD-ROM SCSI-0 device 
cd0: 16.000MB/s transfers
cd0: Attempt to query device size failed: NOT READY, Medium not present
Trying to mount root from ufs:/dev/ad6s1a
uhub2 is UHCI which is USB revision 1.0.

I'll try and connect to a hub which is EHCI and USB revision 2.0 and see if that makes any difference.

I have Arch Linux on the system as well and haven't experienced any USB problems there.

Hopefully the new USB stack underway will solve problems like this.
Reply With Quote
  #5   (View Single Post)  
Old 26th October 2008
anemos's Avatar
anemos anemos is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Ελλάδα
Posts: 53
Thanked 5 Times in 5 Posts
Default

Could you post the contents of /boot/loader.conf and /etc/rc.conf?
Reply With Quote
  #6   (View Single Post)  
Old 26th October 2008
BSDfan666 BSDfan666 is offline
Real Name: N/A, this is the interweb.
Helpful companion
 
Join Date: Apr 2008
Location: Ontario, Canada
Posts: 2,223
Thanked 193 Times in 184 Posts
Default

Some BIOS's offer legacy emulation of PS/2 devices, and sometimes.. the emulation is persistent after the switch to protected mode.

I would recommend this over trying to deal with USB devices from within the OS, it's simply a problematic approach..

They really never should have phased out PS/2 ports on newer systems.. they were far more reliable.
Reply With Quote
  #7   (View Single Post)  
Old 27th October 2008
teig teig is offline
Port Guard
 
Join Date: May 2008
Posts: 20
Thanked 0 Times in 0 Posts
Default

Here's /boot/loader.conf:
Code:
#snd_hda_load="YES"
if_msk_load="YES"
hw.ata.atapi_dma="0"
hw.pci.enable_msix=0
hw.pci.enable_msi=0
and /etc/rc.conf:
Code:
defaultrouter="192.168.4.1"
font8x14="iso15-8x14"
font8x16="iso15-8x16"
font8x8="iso15-8x8"
hostname="quark.krossteig.tld"
ifconfig_msk0="DHCP"
keymap="danish.iso"
keyrate="fast"
moused_enable="YES"
devfs_system_ruleset="local_ruleset"
linux_enable="YES"
nfs_server_enable="YES"
nfs_client_enable="YES"
rpcbind_enable="YES"
sshd_enable="YES"
usbd_enable="YES"
mountd_flags="-r"
keybell="visual"
hpssd_enable="YES"
cupsd_enable="YES"
gdm_enable="YES"
hald_enable="YES"
polkitd_enable="YES"
dbus_enable="YES"
# -- sysinstall generated deltas -- # Thu Aug 14 17:13:54 2008
moused_type="auto"
moused_enable="YES"
I do have a PS/2 keyboard connector, but recently ditched my very old IBM keyboard. But have another PS/2 keyboard for 'backup' if needed.
Reply With Quote
  #8   (View Single Post)  
Old 27th October 2008
anemos's Avatar
anemos anemos is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Ελλάδα
Posts: 53
Thanked 5 Times in 5 Posts
Default

1. Add
Code:
ums_load="YES"
into /boot/loader.conf
2. Remove the lines generated by sysinstall
3. Post the results (I know that it takes time to find out)
Reply With Quote
  #9   (View Single Post)  
Old 27th October 2008
teig teig is offline
Port Guard
 
Join Date: May 2008
Posts: 20
Thanked 0 Times in 0 Posts
Default

Well, ums is already loaded by the kernel, got an error saying that.
Removed moused* stuff from rc.conf.

Alas, no difference, mostly no keyboard found, sometimes it is.
Also tried to plug the mouse into other ports, but no consistent behaviour.
I suppose I have to live with this for a while yet.
Reply With Quote
Old 27th October 2008
anemos's Avatar
anemos anemos is offline
Fdisk Soldier
 
Join Date: May 2008
Location: Ελλάδα
Posts: 53
Thanked 5 Times in 5 Posts
Default

I live with that - I know it's very annoying.
A thorough search to http://lists.freebsd.org/pipermail/freebsd-usb/ showed that the problem is common yet I haven't found any workaround and believe me I have searched a lot.
Anyways, if something new appears I'll post it right here.
Cheers

Last edited by anemos; 27th October 2008 at 04:22 PM.
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy w/ active verification Weaseal FreeBSD General 4 5th February 2009 12:23 AM
Problem with lid switch Inspiron 1300 sysctl: unknown oid 'hw.acpi.video.lcd0.active' pax FreeBSD General 2 6th August 2008 11:49 AM
Keyboard with built in mouse trackball blodan FreeBSD General 2 21st June 2008 07:44 PM
Dual-boot laptop won't boot OpenBSD after upgrade to 4.3 kbeaucha OpenBSD Installation and Upgrading 17 30th May 2008 02:40 PM
Keyboard delboy FreeBSD Installation and Upgrading 2 23rd May 2008 05:55 PM


All times are GMT. The time now is 01:57 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content copyright © 2007-2010, the authors
Daemon image copyright ©1988, Marshall Kirk McKusick