Date: Tue, 02 Apr 2019 16:49:25 +0200 From: "Florian Schulze" <mail@florian-schulze.net> To: "Warner Losh" <imp@bsdimp.com> Cc: "Hans Petter Selasky" <hps@selasky.org>, "freebsd-usb@FreeBSD.org" <freebsd-usb@freebsd.org> Subject: Re: USB issues with 12.0 Message-ID: <07BE6FF5-FD92-4B15-9283-6A0D99F6FE1F@florian-schulze.net> In-Reply-To: <CANCZdfoDPaDSF4PDPepjQh-8KSdDkz6eYSWtvgCbQ6ofNXu18Q@mail.gmail.com> References: <74A35CD5-8D89-48B8-95AD-85108E98B39E@florian-schulze.net> <429667b1-a5af-bb05-9927-f51e0a936323@selasky.org> <730B2CAC-E43A-48B6-BE38-632944023C35@florian-schulze.net> <26abd10e-a98b-215a-3355-fa104f76efcf@selasky.org> <B0CEE860-DE36-447A-8C4F-8EE50B451125@florian-schulze.net> <bb5b90e5-5093-84db-01bd-bb3d2da43ccb@selasky.org> <A57BA68E-C962-40B0-9501-522DB9E46D18@florian-schulze.net> <f515fad2-7b43-70d7-4561-34b523751819@selasky.org> <A06565BF-536A-4418-A01E-80D5F45D86B9@florian-schulze.net> <03eb9014-6dbd-8dcf-49ec-856d8a588038@selasky.org> <CANCZdfoDPaDSF4PDPepjQh-8KSdDkz6eYSWtvgCbQ6ofNXu18Q@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2 Apr 2019, at 15:25, Warner Losh wrote: > On Tue, Apr 2, 2019, 1:52 AM Hans Petter Selasky <hps@selasky.org> > wrote: > >> On 4/2/19 8:22 AM, Florian Schulze wrote: >>> Only difference is that the text for the Kindle is rearranged: >>> ugen1.2: <Linux 2.6.31-rt11-lab126 with fsl-usb2-udc RNDIS/Ethernet >>> Gadget> at usbus1, cfg=1 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) >> >> Hi, >> >> Try to get more info on this device by "usbconfig -d 1.2 show_ifdrv" I got this on 10.3. No data yet for 12.0, most likely tomorrow morning again. # usbconfig -d 1.2 show_ifdrv ugen1.2: <RNDISEthernet Gadget Linux 2.6.31-rt11-lab126 with fsl-usb2-udc> at usbus1, cfg=1 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) ugen1.2.1: cdce0: <Linux 2.6.31-rt11-lab126 with fsl-usb2-udc RNDISEthernet Gadget, class 2/0, rev 2.00/3.25, addr 2> # usbconfig -d 3.4 show_ifdrv ugen3.4: <Arduino Leonardo Arduino LLC> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (500mA) ugen3.4.0: uarduno0: <Arduino LLC Arduino Leonardo, class 239/2, rev 2.00/1.00, addr 4> > Kldstat will tell you that. Is there a linker.hints in both > /boot/kernel > and /boot/modules? Yes, linker.hints is in /boot/kernel and /boot/modules for both 10.3 and 12.0. The kldstat gave me a clue on why Arduino might fail. Initially I complied uarduno myself, because I didn't realize it's in pkg. That seems to be the one in /boot/kernel. It looks like the one from pkg in /boot/modules isn't used on 10.3. Because I have a clone, I might have changed the device list in uarduno when I compiled it myself. Because the self compiled one still is in use, it might be that an out of the box uarduno on 12.0 doesn't work for me. When I try next time, I will move the possibly self compiled uarduno in 10.3 away to check that theory. This still doesn't explain why the Kindle doesn't work. > It might have something to do with devd, that the driver is not >> automatically loaded. >> > > I was just thinking that based on other things said... Any tips on what to look for there? Thanks for the help so far! Regards, Florian Schulze
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?07BE6FF5-FD92-4B15-9283-6A0D99F6FE1F>