Hi! Thanks for your fast reply.
On 23.01.2017 21:24, Hans Petter Selasky wrote: > On 01/23/17 21:06, diffusae wrote: >> Hi! >> >> Maybe a noobs question but I am mostly familiar with Linux. >> >> Currently there is no driver for the RTL8153 Gigabit Ethernet Adapter. >> >> Bus 001 Device 004: ID 0bda:8153 Realtek Semiconductor Corp. >> >> https://www.freebsd.org/relnotes/CURRENT/hardware/support.html >> >> RealTek has a Unix (Linux) driver here: >> >> http://www.realtek.com/downloads/downloadsView.aspx?Langid=1&PNid=56&PFid=56&Level=5&Conn=4&DownTypeID=3&GetDown=false#RTL8153 >> >> >> How can I compile a custome kernel with this driver? >> >> I am using FreeBSD 11.0-STABLE (RPI-B) #0 r308738 >> > > Hi, > > Have a look in sys/dev/usb/net and see if you find any similar devices. > I think your driver is already supported. You need to: > > 1) kldload usb_quirk > 2) kldload if_ure > 3) replug your device and it should attach (FreeBSD-12 at least) > > grep -r 8153 /usr/src/sys/dev/usb > > --HPS That was the key. Yes, you're right. It's supported and uses the if_cdce driver, but there is no mediaopt extention with ifconfig. Nevertheless it is connected with one 1 Gbit/s. So, that's fine. It was due to a "faulty" USB OTG cable of the RPI. If I plug the device connector until the end, it isn't detected, because it has no power. If I slighly move it back for some mm, that the power is connected and the device will be detected: usbconfig -d 0.2 dump_device_desc ugen0.2: <USB 101001000 LAN Realtek> at usbus0, cfg=1 md=HOST spd=HIGH (480Mbps) pwr=ON (180mA) Strange chinese adaptors ... :-) So, thanks again Best regards, _______________________________________________ freebsd-net@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-net To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"