[GLLUG] FreeBSD, USB, and a KVM

Adam McDougall mcdouga9@egr.msu.edu
Mon, 12 May 2003 10:46:20 -0400


Yeah, along those lines, check devd and usbd (if 5 even still uses usbd).
Need to make sure an appropriate daemon is running. 

On Mon, May 12, 2003 at 09:55:18AM -0400, Sean wrote:

  I doubt this "answers" your question, but it sounds like F-BSD isn't 
  repolling the bus like it should be. When USB upport first came out for 
  Linux, there was a set of scripts I think called hotsync or something that 
  repolled that usb bus every like 6 seconds (via crontab) to 
  detect new devices (and load drivers), you might get away with those or 
  look for something similar for F-BSD. 
  
  
  
   On Mon, 12 May 2003, Mike Szumlinski wrote:
  
  > Anyone have any clue on how to get a USB keyboard and mouse to function 
  > in FreeBSD 5 with a KVM?  They both work if I boot the system with KVM 
  > switched to the FreeBSD box, but the instant I switch to a different 
  > system and switch back they don't work anymore.  Here is my usbd.conf 
  > file:
  > 
  > ------
  > 
  > # See usbd.conf(5) for the description of the format of the file.
  > #
  > # $FreeBSD: src/etc/usbd.conf,v 1.11 2002/06/18 07:50:16 dougb Exp $
  > 
  > # Firmware download into the ActiveWire board. After the firmware 
  > download is
  > # done the device detaches and reappears as something new and shiny 
  > automatically.
  > #
  > device "ActiveWire board, firmware download"
  >          vendor  0x0854
  >          product 0x0100
  >          release 0x0000
  >          attach "/usr/local/bin/ezdownload -f 
  > /usr/local/share/usb/firmware/0854.0100.0_01.hex ${DE
  > VNAME}"
  > 
  > # Firmware download for Entrega Serial DB25 adapter.
  > #
  > device "Entrega Serial with UART"
  >          product 0x8001
  >          vendor  0x1645
  >          release 0x0101
  >          attach "if ! kldstat -n usio > /dev/null 2>&1 ; then kldload 
  > usio; fi"
  >          attach "/usr/sbin/ezdownload -v -f 
  > /usr/share/usb/firmware/1645.8001.0101 /dev/${DEVNAME}"
  > 
  > # The entry below starts and stops dhclient when an ethernet device is 
  > inserted
  > # Caveat: It does not support multiple interfaces (but neither does 
  > pccardd,
  > # it shouldn't be too big a deal :-)
  > #
  > device "USB ethernet"
  >          devname "[ack]ue[0-9]+"
  >          attach  "/etc/pccard_ether ${DEVNAME} start"
  >          detach  "/etc/pccard_ether ${DEVNAME} stop"
  > 
  > # This entry starts the ColdSync tool in daemon mode. Make sure you 
  > have an up
  > # to date /usr/local/etc/palms. We override the 'listen' settings for 
  > port and
  > # type in /usr/local/etc/coldsync.conf.
  > device "Handspring Visor"
  >          devname "ugen[0-9]+"
  >          vendor  0x082d
  >          product 0x0100
  >          release 0x0100
  >          attach "/usr/local/bin/coldsync -md -p /dev/${DEVNAME} -t usb"
  > 
  > # The entry below starts moused when a mouse is plugged in. Moused
  > # stops automatically (actually it bombs :) when the device disappears.
  > #
  > device "Mouse"
  >          devname "ums[0-9]+"
  >          attach "/usr/sbin/moused -p /dev/${DEVNAME} -I 
  > /var/run/moused.${DEVNAME}.pid ; /usr/sbin/
  > vidcontrol -m on"
  > 
  > # The fallthrough entry: Nothing is specified, nothing is done.  And it 
  > isn't
  > # necessary at all :-).  Just for pretty printing in debugging mode.
  > #
  > device "USB device"
  > 
  > device "KB"
  > devname "kbd[0-9]+"
  > attach  "/usr/sbin/kbdcontrol -k /dev/${DEVNAME} </dev/console
  > 
  > -----
  > 
  > 
  > Anyone have any ideas?
  > 
  > -Mike
  > 
  > _______________________________________________
  > linux-user mailing list
  > linux-user@egr.msu.edu
  > http://www.egr.msu.edu/mailman/listinfo/linux-user
  > 
  
  
  _______________________________________________
  linux-user mailing list
  linux-user@egr.msu.edu
  http://www.egr.msu.edu/mailman/listinfo/linux-user