Re: FreeBSD 13.0-BETA2 and slow IO
On Sun, Feb 28, 2021 at 12:49 PM Christos Chatzaras wrote: > Did someone test if this is fixed in BETA4? > Just tried to "make extract" on firefox and I am still seeing transfer rates around 1.7M when I would expect more like 50M. If I see the same thing others are, it runs for a while at >40MB and abruptly drops to 1.5-20M for some random time varying from a few seconds to minutes before jumping back to >40MB. Is this what others are seeing? -- Kevin Oberman, Part time kid herder and retired Network Engineer E-mail: rkober...@gmail.com PGP Fingerprint: D03FB98AFA78E3B78C1694B318AB39EF1B055683J ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Rasberry Pi 4 has no USB
Peter Cornelius writes: > [Retransmssion, stupid HTML mails] > > G'day, Carl, > > On 2/28/21 11:26 AM, Carl Johnson wrote: >> I have an 8GB RPi 4B that I am trying out, but it has no USB response at >> all. [...] > > I second the suggestion to do a brief trial with Raspbian or so. I > currently run mine under -current as below, but can confirm that I > have been able to run it since 13 with USB keyboard and mouse. I > currenly am logged in via the net, so without further USB devices, at > least the hubs should be present: I had tested it with Raspbian, and everything worked properly. > [root@rpi4 ~]# usbconfig > ugen0.1: <0x1106 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) > pwr=SAVE (0mA) > ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH > (480Mbps) pwr=SAVE (100mA) > > [root@rpi4 ~]# uname -a > FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #1: Tue Feb 23 02:30:31 > UTC 2021 root@rpi4:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC > arm64 > > I can share a 14.0 image I used to initially boot if you have > somewhere to push it > (FreeBSD-aarch64-14.0-GENERIC-a63eae65ff8-RaspberryPi4.img, seven and > a half gig, roughly; an xz. I'd expect at around two). > > I did, though, have to do a couple of tries with Raspbian initially to put a > recent firmware onto my RPI4B8GB. > > HOWEVER. > > I also have an odd observation which is that there is NO OTHER USB > device BUT the above and my mouse/keyboard. This is quite odd since I > do have more devices connected (most notably a umass > JMicron-JMS561-based device [1]) and naively hoped that also on arm, > USB devices would at least show up as ugen-something. Well, at least > keyboard and mouse did work, did they not? > > I did boot with rasbian, all comes to life instantly and > beautifully. I even was able to update some firmware on the > JMS-thingo, see the disks, all blinkenlights there. Back to FreeBSD -- > again, silence. I now really am scratching my head and also have run > out of ideas... though kind of luxury, compared to you, I guess. > > Any help appreciated, and Carl, as written, if you want my image, where > should I put it? > > Cheers, > > Peter. > > [1] https://www.jmicron.com/file/download/1033/JMS561_Product+Brief.pdf There is another response that states this is a known problem that will be fixed in -RC1, so I will wait to test that one. Maybe your problem will be fixed with that one also. Meanwhile, I will just go back to Raspbian until -RC1 comes out. Thanks for your information. -- Carl Johnsonca...@peak.org ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: FreeBSD 13.0-BETA2 and slow IO
Did someone test if this is fixed in BETA4? ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Rasberry Pi 4 has no USB
Emmanuel Vadot writes: > On Sun, 28 Feb 2021 09:26:23 -0800 > Carl Johnson wrote: > >> I have an 8GB RPi 4B that I am trying out, but it has no USB response at >> all. That means that I can't use a keyboard or mouse, but I can use a >> serial console and ethernet. I can plug any USB device into any port, >> but there is nothing logged in /var/messages. Running usbconfig as root >> just reports 'No device match or lack of permissions'. Running >> 'dmesg | grep -i usb' reports only the following lines: >> >> usb_nop_xceiv0: on ofwbus0 >> bcm_xhci0: irq 81 at >> device 0.0 on pci2 >> usb_needs_explore_all: no devclass >> >> Running 'pciconf -lv' shows there is a VL805 USB controller present. I >> tested this with Linux and everything worked properly. This is a new >> computer that I bought only a couple of weeks ago. Does anybody have >> any ideas on what this might be, or what I could do to try to figure it >> out? >> >> Thanks in advance for any ideas. >> -- >> Carl Johnson ca...@peak.org >> >> ___ >> freebsd-stable@freebsd.org mailing list >> https://lists.freebsd.org/mailman/listinfo/freebsd-stable >> To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" > > Hello, > > This is known, see > https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252971#c25 > > I wanted to wait that a tag was created on the rpi-firmware github > repo but it seems that they don't want to so I'll update the port next > week so RC1 will have the updated firmware. > > Cheers, Thank you very much for that! I will test that as soon as it comes out. -- Carl Johnsonca...@peak.org ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Any way to get hsm(4) device under stable/12?
On 28/02/2021 20:12, David Wolfskill wrote: > Various devices under src/sys/dev/hid are available in base under > stable/13 and head; are they available in some way under stable/12? Yes, they are part of iichid package. -- Andriy Gapon ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Rasberry Pi 4 has no USB
On Sun, 28 Feb 2021 09:26:23 -0800 Carl Johnson wrote: > I have an 8GB RPi 4B that I am trying out, but it has no USB response at > all. That means that I can't use a keyboard or mouse, but I can use a > serial console and ethernet. I can plug any USB device into any port, > but there is nothing logged in /var/messages. Running usbconfig as root > just reports 'No device match or lack of permissions'. Running > 'dmesg | grep -i usb' reports only the following lines: > > usb_nop_xceiv0: on ofwbus0 > bcm_xhci0: irq 81 at > device 0.0 on pci2 > usb_needs_explore_all: no devclass > > Running 'pciconf -lv' shows there is a VL805 USB controller present. I > tested this with Linux and everything worked properly. This is a new > computer that I bought only a couple of weeks ago. Does anybody have > any ideas on what this might be, or what I could do to try to figure it > out? > > Thanks in advance for any ideas. > -- > Carl Johnson ca...@peak.org > > ___ > freebsd-stable@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-stable > To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org" Hello, This is known, see https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=252971#c25 I wanted to wait that a tag was created on the rpi-firmware github repo but it seems that they don't want to so I'll update the port next week so RC1 will have the updated firmware. Cheers, -- Emmanuel Vadot ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Rasberry Pi 4 has no USB
Tim Daneliuk writes: > On 2/28/21 11:26 AM, Carl Johnson wrote: >> I have an 8GB RPi 4B that I am trying out, but it has no USB response at >> all. That means that I can't use a keyboard or mouse, but I can use a >> serial console and ethernet. I can plug any USB device into any port, >> but there is nothing logged in /var/messages. Running usbconfig as root >> just reports 'No device match or lack of permissions'. Running >> 'dmesg | grep -i usb' reports only the following lines: >> >> usb_nop_xceiv0: on ofwbus0 >> bcm_xhci0: irq 81 at >> device 0.0 on pci2 >> usb_needs_explore_all: no devclass >> >> Running 'pciconf -lv' shows there is a VL805 USB controller present. I >> tested this with Linux and everything worked properly. This is a new >> computer that I bought only a couple of weeks ago. Does anybody have >> any ideas on what this might be, or what I could do to try to figure it >> out? >> >> Thanks in advance for any ideas. >> > > > Not to belabour the obvious, but have you booted the machine with Linux > to see if USB works there? (Just to avoid the possibility that you > have bad hardware.) I did verify that it works on Linux and everything worked properly there. -- Carl Johnsonca...@peak.org ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Rasberry Pi 4 has no USB
Mehmet Erol Sanliturk writes: > On Sun, Feb 28, 2021 at 8:26 PM Carl Johnson wrote: > >> I have an 8GB RPi 4B that I am trying out, but it has no USB response at >> all. That means that I can't use a keyboard or mouse, but I can use a >> serial console and ethernet. I can plug any USB device into any port, >> but there is nothing logged in /var/messages. Running usbconfig as root >> just reports 'No device match or lack of permissions'. Running >> 'dmesg | grep -i usb' reports only the following lines: >> >> usb_nop_xceiv0: on ofwbus0 >> bcm_xhci0: irq 81 at >> device 0.0 on pci2 >> usb_needs_explore_all: no devclass >> >> Running 'pciconf -lv' shows there is a VL805 USB controller present. I >> tested this with Linux and everything worked properly. This is a new >> computer that I bought only a couple of weeks ago. Does anybody have >> any ideas on what this might be, or what I could do to try to figure it >> out? >> >> Thanks in advance for any ideas. >> -- >> Carl Johnsonca...@peak.org >> >> ___ >> > > > > You did not mention which FreeBSD you are using ( please use "uname -a" ) > . > > Personally , I do not know anything about Raspberry Pi with FreeBSD , but > , without knowing which FreeBSD you are using , > it is very likely that no one will be able to give you any information . You are right that I forgot to mention that. In this case this is the binary 13.0-BETA4 image that I downloaded directly from the FreeBSD website, and verified the checksum. The output of uname -a is: FreeBSD basil 13.0-BETA4 FreeBSD 13.0-BETA4 #0 releng/13.0-n244592-e32bc253629: Fri Feb 26 08:02:53 UTC 2021 r...@releng1.nyi.freebsd.org:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 Thanks for reminding me. -- Carl Johnsonca...@peak.org ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Rasberry Pi 4 has no USB
[Retransmssion, stupid HTML mails] G'day, Carl, On 2/28/21 11:26 AM, Carl Johnson wrote: > I have an 8GB RPi 4B that I am trying out, but it has no USB response at > all. [...] I second the suggestion to do a brief trial with Raspbian or so. I currently run mine under -current as below, but can confirm that I have been able to run it since 13 with USB keyboard and mouse. I currenly am logged in via the net, so without further USB devices, at least the hubs should be present: [root@rpi4 ~]# usbconfig ugen0.1: <0x1106 XHCI root HUB> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) [root@rpi4 ~]# uname -a FreeBSD rpi4 14.0-CURRENT FreeBSD 14.0-CURRENT #1: Tue Feb 23 02:30:31 UTC 2021 root@rpi4:/usr/obj/usr/src/arm64.aarch64/sys/GENERIC arm64 I can share a 14.0 image I used to initially boot if you have somewhere to push it (FreeBSD-aarch64-14.0-GENERIC-a63eae65ff8-RaspberryPi4.img, seven and a half gig, roughly; an xz. I'd expect at around two). I did, though, have to do a couple of tries with Raspbian initially to put a recent firmware onto my RPI4B8GB. HOWEVER. I also have an odd observation which is that there is NO OTHER USB device BUT the above and my mouse/keyboard. This is quite odd since I do have more devices connected (most notably a umass JMicron-JMS561-based device [1]) and naively hoped that also on arm, USB devices would at least show up as ugen-something. Well, at least keyboard and mouse did work, did they not? I did boot with rasbian, all comes to life instantly and beautifully. I even was able to update some firmware on the JMS-thingo, see the disks, all blinkenlights there. Back to FreeBSD -- again, silence. I now really am scratching my head and also have run out of ideas... though kind of luxury, compared to you, I guess. Any help appreciated, and Carl, as written, if you want my image, where should I put it? Cheers, Peter. [1] https://www.jmicron.com/file/download/1033/JMS561_Product+Brief.pdf ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Rasberry Pi 4 has no USB
On Sun, Feb 28, 2021 at 8:26 PM Carl Johnson wrote: > I have an 8GB RPi 4B that I am trying out, but it has no USB response at > all. That means that I can't use a keyboard or mouse, but I can use a > serial console and ethernet. I can plug any USB device into any port, > but there is nothing logged in /var/messages. Running usbconfig as root > just reports 'No device match or lack of permissions'. Running > 'dmesg | grep -i usb' reports only the following lines: > > usb_nop_xceiv0: on ofwbus0 > bcm_xhci0: irq 81 at > device 0.0 on pci2 > usb_needs_explore_all: no devclass > > Running 'pciconf -lv' shows there is a VL805 USB controller present. I > tested this with Linux and everything worked properly. This is a new > computer that I bought only a couple of weeks ago. Does anybody have > any ideas on what this might be, or what I could do to try to figure it > out? > > Thanks in advance for any ideas. > -- > Carl Johnsonca...@peak.org > > ___ > You did not mention which FreeBSD you are using ( please use "uname -a" ) . Personally , I do not know anything about Raspberry Pi with FreeBSD , but , without knowing which FreeBSD you are using , it is very likely that no one will be able to give you any information . Mehmet Erol Sanliturk ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Any way to get hsm(4) device under stable/12?
I have been using a laptop that is old enough to have a fair number of its components replaced with parts taken from others (mostly of the same model) -- a Dell Precision M4800. And it works well.. but single points of failure do not bring me comfort. :-} I acquired a refurbished Dell Precision 7520 a while back; it runs FreeBSD just fine, but I was unable to get the built-in touchpad to work until this morning. It turns out that the 7520's touchpad communicates via I2C. I had tried installing the sysutils/iichid port; that seemed to be a bit of progress, as after doing that, and appending: hw.usb.usbhid.enable=1 iichid_load="YES" to /boot/loader.conf, utilities such as libinput(1) and xinput(1) each reported "something" was there that had not been there before, and dmesg mentioned an "hsm0" device (though that didn't show up in /dev). But neither the touchpad nor the buttons actually worked. During my daily update cycle this morning, I was thus quite pleased to note that the mouse was seemed to be working (in X11, anyway) under stable/13 and head (where iichid is part of base). Comparing the kernel modules loaded between stable/12 and stable/13, I see that the latter also includes hms.ko, hidmap.ko, and hkbd.ko. And stable/13 (as well as head) have src/sys/dev/hid/*, which stable/12 does not. (That directory is where (e.g.) hms.c resides.) So: iichid is part of base in stable/13 and head, but available as a port for stable/12. Various devices under src/sys/dev/hid are available in base under stable/13 and head; are they available in some way under stable/12? (Yes, I plan to migrate from stable/12 to stable/13 "soon" -- but not quite yet.) Peace, david -- David H. Wolfskill da...@catwhisker.org It is supremely disingenuous to claim a lack of jurisdiction, then proceed to participate in a decision on the same matter. See https://www.catwhisker.org/~david/publickey.gpg for my public key. signature.asc Description: PGP signature
Re: Rasberry Pi 4 has no USB
___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: Rasberry Pi 4 has no USB
On 2/28/21 11:26 AM, Carl Johnson wrote: > I have an 8GB RPi 4B that I am trying out, but it has no USB response at > all. That means that I can't use a keyboard or mouse, but I can use a > serial console and ethernet. I can plug any USB device into any port, > but there is nothing logged in /var/messages. Running usbconfig as root > just reports 'No device match or lack of permissions'. Running > 'dmesg | grep -i usb' reports only the following lines: > > usb_nop_xceiv0: on ofwbus0 > bcm_xhci0: irq 81 at > device 0.0 on pci2 > usb_needs_explore_all: no devclass > > Running 'pciconf -lv' shows there is a VL805 USB controller present. I > tested this with Linux and everything worked properly. This is a new > computer that I bought only a couple of weeks ago. Does anybody have > any ideas on what this might be, or what I could do to try to figure it > out? > > Thanks in advance for any ideas. > Not to belabour the obvious, but have you booted the machine with Linux to see if USB works there? (Just to avoid the possibility that you have bad hardware.) ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Rasberry Pi 4 has no USB
I have an 8GB RPi 4B that I am trying out, but it has no USB response at all. That means that I can't use a keyboard or mouse, but I can use a serial console and ethernet. I can plug any USB device into any port, but there is nothing logged in /var/messages. Running usbconfig as root just reports 'No device match or lack of permissions'. Running 'dmesg | grep -i usb' reports only the following lines: usb_nop_xceiv0: on ofwbus0 bcm_xhci0: irq 81 at device 0.0 on pci2 usb_needs_explore_all: no devclass Running 'pciconf -lv' shows there is a VL805 USB controller present. I tested this with Linux and everything worked properly. This is a new computer that I bought only a couple of weeks ago. Does anybody have any ideas on what this might be, or what I could do to try to figure it out? Thanks in advance for any ideas. -- Carl Johnsonca...@peak.org ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: 13-BETA3 installation from source problems.
W dniu 24.02.2021 o 20:03, Kyle Evans pisze: > On Wed, Feb 24, 2021 at 12:57 PM Dean E. Weimer wrote: >> >> On 2021-02-23 12:34 pm, Kyle Evans wrote: >>> The more I look at `make -dm` output, the less sense it makes. Your >>> patch is decidedly correct regardless of how this specific scenario is >>> playing out: >>> >>> 1.) As you noted, it's wrong to clean something that's built >>> elsewhere. You can reasonably expect `make clean all` to work pretty >>> much everywhere else. >>> >>> 2.) i386/loader cannot make an informed decision about whether it's >>> out-of-date, which is sufficient to tell that the existing addition to >>> OBJS was not the correct implementation in hindsight. >>> >>> 3.) The failure mode if it's *missing* is exactly the same before and >>> after your patch; file can't be found, cannot build it. >>> >>> On Tue, Feb 23, 2021 at 12:09 PM Warner Losh wrote: I'm unsure of the mechanics as well. I do know that we shouldn't delete stuff in OTHER directories, though. the btx stuff is trying to do a bit of an end run around the link only with the installed stuff here and using crt0.o as a library from the 'where it was built' directory which I think creates one too many dependencies... I've not yet puzzled through all of them to find out which one is causing us to think we need to rebuild though. Warner On Tue, Feb 23, 2021 at 9:21 AM Kyle Evans wrote: > > Hi, > > What I don't understand here is, why are these being considered > out-of-date? That seems like it is indicative of a larger problem > that > we'd surely fall over elsewhere on if not for here, that the source > tree's timestamps are post-dated w.r.t. the objdir. > > Thanks, > > Kyle Evans > > On Mon, Feb 22, 2021 at 5:52 PM Warner Losh wrote: >> >> What does this patch do for you? >> >> diff --git a/stand/i386/loader/Makefile b/stand/i386/loader/Makefile >> index ad95948ec50a..cbbe15bd1fc0 100644 >> --- a/stand/i386/loader/Makefile >> +++ b/stand/i386/loader/Makefile >> @@ -90,7 +90,8 @@ FILES+= ${LOADER} >> FILESMODE_${LOADER}= ${BINMODE} -b >> >> # XXX crt0.o needs to be first for pxeboot(8) to work >> -OBJS= ${BTXCRT} >> +# Can't add it to OBJS w/o pain and suffering >> +LDFLAGS+= ${BTXCRT} >> >> DPADD= ${LDR_INTERP32} ${LIBFIREWIRE} ${LIBI386} ${LIBSA32} >> LDADD= ${LDR_INTERP32} ${LIBFIREWIRE} ${LIBI386} ${LIBSA32} >> >> Anything? >> >> Warner >> >> On Mon, Feb 22, 2021 at 4:17 PM Dean E. Weimer >> wrote: >> >>> On 2021-02-22 10:53 am, Dean E. Weimer wrote: On 2021-02-22 9:38 am, Dean E. Weimer via freebsd-stable wrote: > On 2021-02-22 9:29 am, Warner Losh wrote: > >> On Mon, Feb 22, 2021 at 8:24 AM Dean E. Weimer via freebsd-stable >> wrote: >> >>> I was able to successfully build and install BETA2 from source, >>> however >>> I am now attempting to upgrade the same machine to BETA3 buildworld >>> and >>> buildkernel complete. installkernel also completes, but installworld >>> fails, it appears to not find a file for i386 boot. >>> >>> >>> >>> /jails/devel/ROOT/usr/obj/jails/devel/ROOT/usr/src/amd64.amd64/stand/i386/btx/btx/btx >>> -l boot2.ldr -o boot2.ld -P 1 boot2.bin >>> make[6]: exec(btxld) failed (No such file or directory) >> >> Does this happen every time, or only sometimes? Do you have the >> complete log? Why we're trying to run btxld and objcopy in the >> *INSTALL* phase is likely why (paths are different between the two) >> >> Warner >> >>> mail to "freebsd-stable-unsubscr...@freebsd.org" > > Everytime, not sure why I am trying to run btxld and objcopy in > install phase, I am simply running the command make installworld > > I do use env variables to change paths, as I install to a ZFS clone of > the original system dataset then change boot setting on pool and > reboot. > > Environment Variables used during build and install, been doing this > process ever since I started using ZFS boot on FreeBSD 9.2. > > setenv MAKEOBJDIRPREFIX /jails/devel/ROOT/usr/obj > setenv DESTDIR /jails/devel/ROOT > setenv __MAKE_CONF /jails/devel/ROOT/etc/make.conf > setenv SRCCONF /jails/devel/ROOT/etc/src.conf I had already started a new build specifying CPUTYPE=silvermont in make.conf, as attempt work around. It failed as well. I did check and the path above exists on the system >>> :/jails/devel/ROOT/usr/obj/jails/devel/ROOT/usr/src/amd64.amd64/stand/i386/btx/btx # ll total 10 -rw-r--r-- 1
Re: uchcom update
On 28/02/2021 11:03, KOT MATPOCKuH wrote: > Hello! > > I'm using FreeBSD 12.2-STABLE r368656 and got usb-to-rs232 with this > controller. > I see /dev/cuaU0 after plugging in adapter, I can attach to serial line > using cu, but after sending any symbol to device I have device reconnection: > uchcom0 on uhub0 > uchcom0: on usbus0 > uchcom0: CH340 detected > uchcom0: at uhub0, port 9, addr 17 (disconnected) > uchcom0: detached > uchcom0 on uhub0 > uchcom0: on usbus0 > uchcom0: CH340 detected I have this in my loader.conf: # Ignore result of "clear stall" (clearing halt on endpoints) # CH340 USB<->RS232 requires this # and it seems that Linux and Windows do this by default hw.usb.no_cs_fail=1 I recall that without that tuning I had a similar problem. > вт, 5 июн. 2018 г. в 15:05, Ian FREISLICH : > >> On 05/22/2018 09:44 AM, Andriy Gapon wrote: >>> Yesterday I committed some changes to uchcom (so far, only in CURRENT). >>> Commits are r333997 - r334002. >>> >>> If you have a CH340/341 based USB<->RS232 adapter and it works for you, >> could >>> you please test that it still does? >>> If you tried your adapter in the past and it did not work, there is a >> chance it >>> might start working now. Could you please test that as well? >> >> ugen5.4: at usbus5, cfg=0 md=HOST spd=FULL >> (12Mbps) pwr=ON (96mA) >> ugen5.4.0: uchcom0: >> >> It's not made it any worse. I'm not using this adapter by choice - it's >> a USB to Maxim (Dallas) one-wire bus adapter. The manual used to state >> that these are possibly the worst chips ever. Is that still the >> prevailing opinion? -- Andriy Gapon ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"
Re: uchcom update
Hello! I'm using FreeBSD 12.2-STABLE r368656 and got usb-to-rs232 with this controller. I see /dev/cuaU0 after plugging in adapter, I can attach to serial line using cu, but after sending any symbol to device I have device reconnection: uchcom0 on uhub0 uchcom0: on usbus0 uchcom0: CH340 detected uchcom0: at uhub0, port 9, addr 17 (disconnected) uchcom0: detached uchcom0 on uhub0 uchcom0: on usbus0 uchcom0: CH340 detected вт, 5 июн. 2018 г. в 15:05, Ian FREISLICH : > On 05/22/2018 09:44 AM, Andriy Gapon wrote: > > Yesterday I committed some changes to uchcom (so far, only in CURRENT). > > Commits are r333997 - r334002. > > > > If you have a CH340/341 based USB<->RS232 adapter and it works for you, > could > > you please test that it still does? > > If you tried your adapter in the past and it did not work, there is a > chance it > > might start working now. Could you please test that as well? > > ugen5.4: at usbus5, cfg=0 md=HOST spd=FULL > (12Mbps) pwr=ON (96mA) > ugen5.4.0: uchcom0: > > It's not made it any worse. I'm not using this adapter by choice - it's > a USB to Maxim (Dallas) one-wire bus adapter. The manual used to state > that these are possibly the worst chips ever. Is that still the > prevailing opinion? > > Ian > > -- > > ___ > freebsd-curr...@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscr...@freebsd.org" > -- MATPOCKuH ___ freebsd-stable@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-stable To unsubscribe, send any mail to "freebsd-stable-unsubscr...@freebsd.org"