Date: Mon, 25 Jun 2018 23:45:18 +0900 (JST) From: Masachika ISHIZUKA <ish@amail.plala.or.jp> To: freebsd-net@freebsd.org Subject: usb ethernet adapter does not work after reboot Message-ID: <20180625.234518.743785892819344523.ish@amail.plala.or.jp>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20180625.234518.743785892819344523.ish>