usb ethernet adapter does not work after reboot

Masachika ISHIZUKA ish at amail.plala.or.jp
Mon Jun 25 14:45:31 UTC 2018


  Hi.

  I'm using DELL XPS12 notebook pc.
  This machine has not ethernet card and I use AX88179 usb ethernet
adapter.
  This works well on 11.2-RC3 and 12-current after first bootup.
  But if I reboot pc, this adapter is not seen any more.

  So I was using 'shutdown and bootup' instead of reboot.

  I found that I can use this usb ethernet adapter after reboot with
the following sequence .

(1) sync the disks
(2) usbconfig -d ugenX.Y power_off
(3) wait for a few seconds
(4) usbconfig -d ugenX.Y power_off
(5) reboot

I wrote this sequence to shell script as follows.

ugen=`/usr/sbin/usbconfig list | /usr/bin/sed -n 's/^\(ugen[0-9]*\.[0-9]*\): .* AX88179\>.*/\1/p'`
/bin/sync
/bin/sync
/bin/sync
/usr/sbin/usbconfig -d $ugen power_off
/bin/sleep 3
/usr/sbin/usbconfig -d $ugen power_off
/sbin/shutdown -r now
-- 
Masachika ISHIZUKA


More information about the freebsd-net mailing list