Date: Tue, 24 Jan 2017 15:25:10 +0100 From: diffusae <punasipuli@t-online.de> To: Hans Petter Selasky <hps@selasky.org>, freebsd-net@freebsd.org Subject: Re: RTL8153 Gigabit Ethernet USB Adapter Message-ID: <48723e92-371b-39d2-d16d-845600b01b5c@t-online.de> In-Reply-To: <d1c7aa6c-a937-3372-67ad-2e24b94afed1@selasky.org> References: <59a929e6-5d6d-5f15-6ff6-4c61bf4a14c0@t-online.de> <d1c7aa6c-a937-3372-67ad-2e24b94afed1@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48723e92-371b-39d2-d16d-845600b01b5c>