uath under FreeBSD 8.0-STABLE

Steven Friedrich freebsd at insightbb.com
Tue Dec 22 22:54:36 UTC 2009


On Tuesday 22 December 2009 02:31:04 pm Weongyo Jeong wrote:
> On Tue, Dec 15, 2009 at 04:03:31PM -0500, Steven Friedrich wrote:
> > Ok, I am able to load firmware with:
> > uathload -d /dev/ugen4.3
> > but it also appears to do so when I plug it in...
> >
> > Now what? It doesn't show up in ifconfig...
> 
> Could you please show me dmesg output and the output of
> 
> 	# usbconfig dump_device_desc
This message appears on the console when the device is plugged in:
ugen4.3: < Atheros Communications Inc > at usbus4

usbconfig -u 4 -a 3 dump_info
ugen4.3: <WG111T Atheros Communications Inc> at usbus4, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON


kldstat
Id Refs Address    Size     Name
 1   84 0xc0400000 651018   kernel
 2    1 0xc0a52000 7df8     if_rl.ko
 3    2 0xc0a5a000 2699c    miibus.ko
 4    1 0xc0a81000 8bac     if_uath.ko
 5    1 0xc0a8a000 33bc     speaker.ko
 6    1 0xc0a8e000 88978    bcmwl5_sys.ko
 7    1 0xc0b17000 5a2c     acpi_hp.ko
 8    2 0xc0b1d000 4590     acpi_wmi.ko
 9    3 0xc0b22000 6e360    acpi.ko
10    1 0xc5bb8000 1e000    smbfs.ko
11    2 0xc5bd7000 4000     libiconv.ko
12    2 0xc5c75000 3000     libmchain.ko

The device doesn't show up in ifconfig, so the example from the man page:
   ifconfig wlan create wlandev uath0

doesn't work because uath0 isn't found by ifconfig.
ifconfig wlan0 create wlandev uath0
ifconfig: SIOCIFCREATE2: Device not configured

I filed a PR against usb, probably should have made it net. Sorry.

usbconfig dump_device_desc
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0100 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0000 
  idProduct = 0x0000 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  <Intel>
  iProduct = 0x0002  <UHCI root HUB>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 

ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0100 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0000 
  idProduct = 0x0000 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  <Intel>
  iProduct = 0x0002  <UHCI root HUB>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 

ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0100 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0000 
  idProduct = 0x0000 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  <Intel>
  iProduct = 0x0002  <UHCI root HUB>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 

ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) 
pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0100 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0000 
  idProduct = 0x0000 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  <Intel>
  iProduct = 0x0002  <UHCI root HUB>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 

ugen4.1: <EHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0009 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0001 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x0000 
  idProduct = 0x0000 
  bcdDevice = 0x0100 
  iManufacturer = 0x0001  <Intel>
  iProduct = 0x0002  <EHCI root HUB>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 

ugen4.2: <My Book Western Digital> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0000 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x1058 
  idProduct = 0x1100 
  bcdDevice = 0x0175 
  iManufacturer = 0x0001  <Western Digital >
  iProduct = 0x0002  <My Book         >
  iSerialNumber = 0x0003  <57442D574341535537363239323938>
  bNumConfigurations = 0x0001 

ugen3.2: <USB Receiver Logitech> at usbus3, cfg=0 md=HOST spd=LOW (1.5Mbps) 
pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x0000 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0008 
  idVendor = 0x046d 
  idProduct = 0xc518 
  bcdDevice = 0x4202 
  iManufacturer = 0x0001  <Logitech>
  iProduct = 0x0002  <USB Receiver>
  iSerialNumber = 0x0000  <no string>
  bNumConfigurations = 0x0001 

ugen4.3: <WG111T Atheros Communications Inc> at usbus4, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=ON

  bLength = 0x0012 
  bDescriptorType = 0x0001 
  bcdUSB = 0x0200 
  bDeviceClass = 0x00ff 
  bDeviceSubClass = 0x0000 
  bDeviceProtocol = 0x0000 
  bMaxPacketSize0 = 0x0040 
  idVendor = 0x1385 
  idProduct = 0x4251 
  bcdDevice = 0x0001 
  iManufacturer = 0x0001  <Atheros Communications Inc>
  iProduct = 0x0002  <WG111T>
  iSerialNumber = 0x0003  <1.0>
  bNumConfigurations = 0x0001 



More information about the freebsd-net mailing list