search usbd_interfaces in case of non-compliant device

2021-01-26 Thread Edd Barrett
dx++) { + if (dev->ifaces[idx].idesc->bInterfaceNumber == ifaceno) { + *iface = &dev->ifaces[idx]; + return (USBD_NORMAL_COMPLETION); + } + } + return (USBD_INVAL); } /* use altno */ -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: search usbd_interfaces in case of non-compliant device

2021-01-28 Thread Edd Barrett
+) { + if (dev->ifaces[idx].idesc->bInterfaceNumber == ifaceno) { + *iface = &dev->ifaces[idx]; + return (USBD_NORMAL_COMPLETION); + } + } + return (USBD_INVAL); } /* use altno */ -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: search usbd_interfaces in case of non-compliant device

2021-01-28 Thread Edd Barrett
On Thu, Jan 28, 2021 at 09:56:14AM +, Edd Barrett wrote: > Here's a revised diff that always searches the array, instead of first trying the expected index. Everyone agreed that this makes for simpler code, and that since this function isn't called much, there's no real p

Re: sndiod: Move controls out of the device structure, please test & review

2021-01-30 Thread Edd Barrett
On Fri, Jan 29, 2021 at 04:16:44PM +0100, Alexandre Ratchov wrote: > Thanks for the feedback, new diff below. It fixes a server crash when > a client issues an invalid request. I retested the crash scenario, and can confirm that it is fixed. No other problems to report! -- Best Regar

sndiod: allow mixing of duplex, record-only and play-only audio devices

2021-02-27 Thread Edd Barrett
MODE_PLAY | MODE_REC), &ctlhdl); - if (hdl == NULL) { - if (log_level >= 1) { - dev_log(d); - log_puts(": couldn't open an alternate device\n"); - } + if (!dev_sio_openlist(d, &hdl, &ctlhdl, &mode)) return 0; - } sio_initpar(&par); par.bits = d->par.bits; @@ -310,10 +322,10 @@ dev_sio_reopen(struct dev *d) par.sig = d->par.sig; par.le = d->par.le; par.msb = d->par.msb; - if (d->mode & SIO_PLAY) - par.pchan = d->pchan; - if (d->mode & SIO_REC) - par.rchan = d->rchan; + if (mode & SIO_PLAY) + par.pchan = d->reqpchan; + if (mode & SIO_REC) + par.rchan = d->reqrchan; par.appbufsz = d->bufsz; par.round = d->round; par.rate = d->rate; @@ -343,6 +355,7 @@ dev_sio_reopen(struct dev *d) } /* update parameters */ + d->mode = mode; d->par.bits = par.bits; d->par.bps = par.bps; d->par.sig = par.sig; -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

cpu utilisation bars for top(1)

2020-04-13 Thread Edd Barrett
1000,9 @@ rundisplay(void) skip -= max_topn / 2; if (skip < 0) skip = 0; + break; + case CMD_bars: + cpu_bars = !cpu_bars; break; default: new_message(MT_standout, " BAD CASE IN SWITCH!"); -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: cpu utilisation bars for top(1)

2020-04-13 Thread Edd Barrett
| >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> >>> >>>>>>> > Memory: Real: 3931M/12G act/tot Free: 11G Cache: 6507M Swap: 0K/1028M PID USERNAME PRI NICE SIZE RES STATE WAIT TIMECPU COMMAND ... ``` Something like that? -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: cpu utilisation bars for top(1)

2020-04-13 Thread Edd Barrett
t(1) uses both chevrons (first screen) and hashes (second screen) for CPU bar graphs. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: cpu utilisation bars for top(1)

2020-04-13 Thread Edd Barrett
On Mon, Apr 13, 2020 at 11:15:59AM -0600, Theo de Raadt wrote: > I think your bar-graph removes detailed information and replaces it > with a visual which wastes screen real-estate. I agree, that's why I made it a toggle. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: cpu utilisation bars for top(1)

2020-04-13 Thread Edd Barrett
default display. The bar graphs I'm proposing are only displayed when toggled on by pressing `B` (or by invoking top(1) with `-B`). Otherwise the display remains exactly as it was before. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: cpu utilisation bars for top(1)

2020-04-14 Thread Edd Barrett
show_args = true; break; @@ -632,7 +637,7 @@ rundisplay(void) char ch, *iptr; int change, i; struct pollfd pfd[1]; - static char command_chars[] = "\f qh?en#sdkriIuSopCHg+P109)("; + static char command_chars[] = "\f qh?en#sdkriIuSopCHg+P109)(B"; /* * assume valid command unless told @@ -995,6 +1000,9 @@ rundisplay(void) skip -= max_topn / 2; if (skip < 0) skip = 0; + break; + case CMD_bars: + cpu_bars = !cpu_bars; break; default: new_message(MT_standout, " BAD CASE IN SWITCH!"); -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

human-readable audio device descriptions

2021-07-07 Thread Edd Barrett
cvs/src/share/man/man4/audio.4,v retrieving revision 1.86 diff -u -p -r1.86 audio.4 --- share/man/man4/audio.4 1 Nov 2020 21:32:03 - 1.86 +++ share/man/man4/audio.4 7 Jul 2021 13:41:38 - @@ -112,8 +112,7 @@ argument. .Bd -literal typedef struct audio_device { char name[MAX_AUDIO_DEV_LEN]; -char version[MAX_AUDIO_DEV_LEN]; -char config[MAX_AUDIO_DEV_LEN]; +char descr[MAX_AUDIO_DESCR_LEN]; } audio_device_t; .Ed .Pp -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

dl_iterate_phdr(3) manual tweak

2018-08-24 Thread Edd Barrett
s passed in a structure that is defined as: .Bd -literal -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: dl_iterate_phdr(3) manual tweak

2018-08-24 Thread Edd Barrett
t, passing it infor program headers and the .Fa data argument. +Iteration continues until either there are no more objects to +iterate over, or +.Fa callback +returns a non-zero value. +.Pp The information about the program headers is passed in a structure that is defined as: .Bd -literal

FAT32 short filename inconsistencies

2022-01-25 Thread Edd Barrett
hack that I think would work for me, would be to rename all of my files lower-case before copying to the FAT filesystem. This would force OpenBSD to create long filenames, but that may not be suitable for every user's circumstance] Cheers -- Best Regards Edd Barrett https://www.theunixzoo.co.uk

Re: FAT32 short filename inconsistencies

2022-01-26 Thread Edd Barrett
ve you tried enforcing short (old scool) mode by using -s? WELL THAT WOULD WORK, BUT ALL OF MY FILENA~1 WOULD BE TRUNCA~1 ;) kn@, what do you think? Should `-l` *always* (really always) create long filenames? Cheers -- Best Regards Edd Barrett https://www.theunixzoo.co.uk

Re: RFC: kern.video.record

2020-09-26 Thread Edd Barrett
io I'd prefer fine-grained control. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Lenovo ThinkCentre M910q fails to suspend

2022-06-16 Thread Edd Barrett
PHY ] is disabled/in DSI mode with an ungated DDI clock, gate it drm:pid0:intel_ddi_sanitize_encoder_pll_mapping *NOTICE* [drm] [ENCODER:109:DDI \M-j/PHY ] is disabled/in DSI mode with an ungated DDI clock, gate it inteldrm0: 1920x1080, 32bpp wsdisplay0 at inteldrm0 mux 1: console (std, vt100 emulation), using wskbd0 wsdisplay0: screen 1-5 added (std, vt100 emulation) ``` -- Best Regards Edd Barrett https://www.theunixzoo.co.uk

Re: Lenovo ThinkCentre M910q fails to suspend

2022-06-16 Thread Edd Barrett
p-related power options, and any fancy power stuff I don't need or recognise, I've disabled. No joy. I've even updated the BIOS software to no avail. Hrm... -- Best Regards Edd Barrett https://www.theunixzoo.co.uk

Re: Lenovo ThinkCentre M910q fails to suspend

2022-06-17 Thread Edd Barrett
tton or something. One additional piece of info, which may be worthless. I tried a Debian live USB stick, to see if Linux was able to sleep this box. It was able to. I don't know if that rules out the idea of a fixed-function button? -- Best Regards Edd Barrett https://www.theunixzoo.co.uk

Re: Lenovo ThinkCentre M910q fails to suspend

2022-06-17 Thread Edd Barrett
On Fri, Jun 17, 2022 at 09:14:45AM +0100, Edd Barrett wrote: > > 1. remove the code that truncates this list after 16, and note down all the > > wake devices. Here's the full list: acpi0: wakeup devices PEG0(S4) PEGP(S4) PEG1(S4) PEGP(S4) PEG2(S4) PEGP(S4) SIO1(S3) RP09(S4)

Re: Lenovo ThinkCentre M910q fails to suspend

2022-06-17 Thread Edd Barrett
see any [XEA]HCI options in the BIOS that I could tweak. Unless you have any other ideas, I'll try disabling random devices in the hope that I can narrow it down... I've already tried the network card, it aint that. Thanks. -- Best Regards Edd Barrett https://www.theunixzoo.co.uk

Re: Lenovo ThinkCentre M910q fails to suspend

2022-06-17 Thread Edd Barrett
p -c` and then `disable xhci` means that the system can at least boot with no xhci, but sadly it still won't stay in the suspended state. That might rule out xhci as a source of the issue, maybe. -- Best Regards Edd Barrett https://www.theunixzoo.co.uk

Re: Lenovo ThinkCentre M910q fails to suspend

2022-06-17 Thread Edd Barrett
On Fri, Jun 17, 2022 at 12:46:49PM -0700, Mike Larkin wrote: > Sorry, out of ideas. No worries. Thanks for all of the back and forth :) -- Best Regards Edd Barrett https://www.theunixzoo.co.uk

Re: acpithinkpad: fix brightness keys, keyboard backlight value

2019-03-11 Thread Edd Barrett
On Wed, Mar 06, 2019 at 09:37:52PM +0100, Juan Francisco Cantero Hurtado wrote: > The brightness keys on the X61s still work fine. I've just built today's kernel on my X1 5th gen, and the backlight keys now function. Many thanks jcs@! -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Thinkpad X1 5th gen TPM chip

2019-03-11 Thread Edd Barrett
"ICO0102", + "MSFT0101", NULL }; -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: Thinkpad X1 5th gen TPM chip

2019-03-11 Thread Edd Barrett
un Arch Linux on their X1 5gs and have no problem suspending. Cheers! Edd Barrett Mon Mar 11 23:47:54 GMT 2019 Mike Larkin : > On Mon, Mar 11, 2019 at 11:24:42AM +, Edd Barrett wrote: > > Hi, > > > > I was looking at the manual page for tpm(4) and noticed that

mixerctl broken for sparc?

2009-06-19 Thread Edd Barrett
and the same task works fine under solaris 10. Any clues what may be wrong here? I am willing to have a look at the code myself if no-one has any ideas. (DMESG attached) -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.de

Re: mixerctl broken for sparc?

2009-06-25 Thread Edd Barrett
accident. The code looks similar, but not the same. Does the actual hardware differ? Thanks -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bournemouth.ac.uk/ebarrett

Re: mixerctl broken for sparc?

2009-06-28 Thread Edd Barrett
that you told the dac to be. Sorry it is vague in areas. I blame the disk :) Thanks -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett

Re: Partition question (Was new installer disklabel question)

2009-07-16 Thread Edd Barrett
e of the total disk available? Just a minor thought really. -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett

Elite3d Acceleration on Sparc64 (firmware blob fun)

2009-07-17 Thread Edd Barrett
rc.local awkward. So I was hoping someone with some X11 hacking experience might be able to lend a hand. I am guessing the card needs to be "initialised" in some way prior to the firmware coming in. I wonder if ttyCX is the right device node in the first place. -- Best Regards Edd Barrett

Re: Elite3d Acceleration on Sparc64 (firmware blob fun)

2009-07-18 Thread Edd Barrett
tl(fd, WSSDISPLAYIO_SMODE, &oldmode); > > (with proper error checking of course). OK, I have patched the sources and added error checking. Works fine! Many thanks for the pointer. The port is on po...@. Can I get an OK? -- Best Regards Edd Barrett (Freelance software developer / te

Re: Elite3d Acceleration on Sparc64 (firmware blob fun)

2009-07-19 Thread Edd Barrett
a swap on sd0b dump on sd0b creator0: firmware rev 1.3.11 panic: kernel data fault: pc=14078f4 addr=4000144600 -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett

Re: Elite3d Acceleration on Sparc64 (firmware blob fun)

2009-07-19 Thread Edd Barrett
On Sun, Jul 19, 2009 at 10:36:47PM +0200, Mark Kettenis wrote: > Oops, I can see where that is going wrong. Here's a new diff. Now we get a freeze after the kernel reports the firmware version. Getting there :) -- Best Regards Edd Barrett (Freelance software developer / technica

Re: Elite3d Acceleration on Sparc64 (firmware blob fun)

2009-07-20 Thread Edd Barrett
x27;t get ddb on sparc64 btw? Also, on another note, does your sparc64 have a ce4231 sound card? I have been hacking this, as it is broken. Will need testers soonish. Thanks -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://student

Re: Elite3d Acceleration on Sparc64 (firmware blob fun)

2009-07-22 Thread Edd Barrett
shed hacking I will send you the diff. All I need to do now is get the recording inputs done. Talking of diffs, I think you forgot to attach in your last mail. Thanks -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett

Re: Elite3d Acceleration on Sparc64 (firmware blob fun)

2009-07-22 Thread Edd Barrett
ing diffs? I'm in the middle of moving house, or I would have a go at doing it myself. -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett

Re: Free Sun Blade 100 to developer, you pay shipping

2009-08-04 Thread Edd Barrett
ipping it's yours. Which graphics card does it have? dmesg | grep fb We are looking for an Elite3D, but AFAIK these didn't have a UPA port. -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bournemouth.ac.uk/ebarrett

Re: [heads up] X snapshots now contain libxcb

2009-08-06 Thread Edd Barrett
On Tue, Aug 4, 2009 at 2:38 PM, David Coppa wrote: > For awesome 3, we need also a working port of cmake 2.6.X Is anyone working on that? -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bournemouth.ac.uk/ebarrett

Re: [heads up] X snapshots now contain libxcb

2009-08-07 Thread Edd Barrett
On Fri, Aug 7, 2009 at 4:42 AM, Christiano Farina Haesbaert wrote: > On Thu, Aug 06, 2009 at 01:00:23PM +0100, Edd Barrett wrote: >> On Tue, Aug 4, 2009 at 2:38 PM, David Coppa wrote: >> > For awesome 3, we need also a working port of cmake 2.6.X >> >> Is anyone worki

Re: cwmrc(5) color options

2009-08-07 Thread Edd Barrett
zes/o/ Perhaps a change of default font or turning off hinting (if possible) would help? Thanks -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett

Re: cwmrc(5) color options

2009-08-07 Thread Edd Barrett
64 too. Good work :) -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett

Re: cwmrc(5) color options

2009-08-07 Thread Edd Barrett
On Fri, Aug 07, 2009 at 07:30:47PM +0100, Edd Barrett wrote: > Anyway, it works on sparc64 too. Good work :) No it doesnt. Oops :) When moving windows in cwm (with the mouse) on a blade 1000, bits of other window borders get "stuck" over the window you are dragging. See scr

Re: cwmrc(5) color options

2009-08-08 Thread Edd Barrett
On Fri, Aug 07, 2009 at 07:51:37PM +0100, Edd Barrett wrote: > I have an expert3d card with the firmware loaded. Rolling back the colour diff stops this from happening. -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) h

ce4231 driver WIP patch

2009-08-10 Thread Edd Barrett
ot of things to be wrong. Be nice :) -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett Index: ce4231.c === RCS file: /cvs/src/sys/arch/spar

Re: cwmrc(5) color options

2009-08-10 Thread Edd Barrett
On Mon, Aug 10, 2009 at 03:56:53PM -0400, Olivier Cherrier wrote: > > I have an expert3d card with the firmware loaded. > > Do you mean an Elite3D card? Yes. Woops -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source deve

Expert3D-Lite driver breakage

2009-09-03 Thread Edd Barrett
steep. So maybe someone here is an expert (excuse the pun). PS: This is unrelated to the work on the similarly named "Elite3D" card. Thanks -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett

Re: Expert3D-Lite driver breakage

2009-09-03 Thread Edd Barrett
On Thu, Sep 03, 2009 at 06:04:25PM +0100, Edd Barrett wrote: > Hi, > > I went digging and found my: > ifb0 at pci0 dev 2 function 0 "Intergraph Expert3D" rev 0x00 > ifb0: Expert3D-Lite (SUNW,375-0116), 1280x1024 And I should have got an Xorg.0.log while the card w

Re: Expert3D-Lite driver breakage

2009-09-04 Thread Edd Barrett
initialization failed: Found no sufficiently capable > > X11 visuals. > > That isn't likely to change without getting hardware documentation, > unfortunately )-: :( -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett

Re: Expert3D-Lite driver breakage

2009-09-04 Thread Edd Barrett
Hi, On Fri, Sep 4, 2009 at 8:51 AM, Mark Kettenis wrote: > Can you proivde a dmesg and eeprom -p output for that machine with the > Expert-3D in it? Sure. Watch this space. PS: Does this card need firmware of any sort? -- Best Regards Edd Barrett (Freelance software developer / tec

broken X/sparc64

2009-09-10 Thread Edd Barrett
sion (II) Initializing built-in extension XTEST (II) Initializing built-in extension BIG-REQUESTS (II) Initializing built-in extension SYNC (II) Initializing built-in extension XKEYBOARD (II) Initializing built-in extension XC-MISC (II) Initializing built-in extension XINERAMA (II) Initializing built-in extension XFIXES (II) Initializing built-in extension RENDER (II) Initializing built-in extension RANDR (II) Initializing built-in extension COMPOSITE (II) Initializing built-in extension DAMAGE (II) AIGLX: Screen 0 is not DRI2 capable (II) AIGLX: Screen 0 is not DRI capable (II) AIGLX: Loaded and initialized /usr/X11R6/lib/modules/dri/swrast_dri.so (II) GLX: Initialized DRISWRAST GL provider for screen 0 (II) AIGLX: Screen 1 is not DRI2 capable (II) AIGLX: Screen 1 is not DRI capable (II) AIGLX: Loaded and initialized /usr/X11R6/lib/modules/dri/swrast_dri.so (II) GLX: Initialized DRISWRAST GL provider for screen 1 Fatal server error: Caught signal 11. Server aborting Please consult the The X.Org Foundation support at http://wiki.x.org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional information. -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett

Re: broken X/sparc64

2009-09-10 Thread Edd Barrett
roper > xorg.conf, whith just the device section that you need. Thanks, ping me a mail when you think it is fixed and I can remove my xorg.conf and report the results. -- Best Regards Edd Barrett (Freelance software developer / technical writer / open-source developer) http://students.dec.bmth.ac.uk/ebarrett

Re: Thank you for making p2k9 possible!

2009-10-12 Thread Edd Barrett
ng team for having me here at p2k9 and to Naddy for creating my account. Thankyou all. But if I hear any more 'g|nther and the sunshine girls', I may never make it home. It melts the brain... -- Best Regards Edd Barrett http://students.dec.bmth.ac.uk/ebarrett

Re: Firefox, malloc(3) and threads

2016-01-25 Thread Edd Barrett
t; rev 2.00/0.00 addr 2 uhub4 at uhub3 port 3 "Standard Microsystems product 0x2514" rev 2.00/0.00 addr 3 uhidev3 at uhub3 port 5 configuration 1 interface 0 "Tablet ISD-V4" rev 1.10/6.11 addr 4 uhidev3: iclass 3/1, 2 report ids ums1 at uhidev3 reportid 1: 2 buttons wsmouse2 at ums1 mux 0 ums2 at uhidev3 reportid 2: 3 buttons, tip, barrel, eraser wsmouse3 at ums2 mux 0 uhidev4 at uhub4 port 4 configuration 1 interface 0 "SEJIN SEJIN USB joint Keyboard" rev 1.10/1.30 addr 5 uhidev4: iclass 3/1 ukbd1 at uhidev4: 8 variable keys, 6 key codes wskbd2 at ukbd1 mux 1 wskbd2: connecting to wsdisplay0 -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Allow top(1) to search arguments

2016-02-10 Thread Edd Barrett
is enabled, the +arguments are searched too. .It Fl H Show process threads in the display. Normally, only the main process is shown. @@ -305,7 +306,8 @@ command. .It g Ar string Display only processes that contain .Ar string -in their command name. +in their command name. If displaying of argu

Re: Allow top(1) to search arguments

2016-02-12 Thread Edd Barrett
process is shown. @@ -305,7 +306,8 @@ command. .It g Ar string Display only processes that contain .Ar string -in their command name. +in their command name. If displaying of arguments is enabled, the +arguments are searched too. .Sq g+ shows all processes. .It H -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Revisiting the HDMI2 bug with i915 and docking stations.

2016-02-13 Thread Edd Barrett
rosystems product 0x2514" rev 2.00/0.00 addr 3 uhidev3 at uhub3 port 5 configuration 1 interface 0 "Tablet ISD-V4" rev 1.10/6.11 addr 4 uhidev3: iclass 3/1, 2 report ids ums1 at uhidev3 reportid 1: 2 buttons wsmouse2 at ums1 mux 0 ums2 at uhidev3 reportid 2: 3 buttons, tip, barrel, eraser wsmouse3 at ums2 mux 0 uhidev4 at uhub4 port 4 configuration 1 interface 0 "SEJIN SEJIN USB joint Keyboard" rev 1.10/1.30 addr 5 uhidev4: iclass 3/1 ukbd1 at uhidev4: 8 variable keys, 6 key codes wskbd2 at ukbd1 mux 1 wskbd2: connecting to wsdisplay0 -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

diff(1) performance

2016-02-13 Thread Edd Barrett
State::packetPending: HandlerTask::fn: --->8--- Tarred up files: http://theunixzoo.co.uk/random/diff_files.tgz -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: diff(1) performance

2016-02-14 Thread Edd Barrett
. Cheers -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

uplcom usb panic in amd64 snap

2016-02-23 Thread Edd Barrett
hidev3: 8 variable keys, 6 key codes wskbd2 at ukbd1 mux 1 wskbd2: connecting to wsdisplay0 uhidev4 at uhub3 port 5 configuration 1 interface 0 "Tablet ISD-V4" rev 1.10/6.11 addr 6 uhidev4: iclass 3/1, 2 report ids ums1 at uhidev4 reportid 1: 2 buttons wsmouse2 at ums1 mux 0 ums2 at uhidev4 reportid 2: 3 buttons, tip, barrel, eraser wsmouse3 at ums2 mux 0 vscsi0 at root scsibus2 at vscsi0: 256 targets softraid0 at root scsibus3 at softraid0: 256 targets root on sd0a (a81068940d057f4c.a) swap on sd0b dump on sd0b --->8--- -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: Allow top(1) to search arguments

2016-03-09 Thread Edd Barrett
On Fri, Feb 12, 2016 at 06:59:02PM +, Edd Barrett wrote: > Updated diff: I've now tested the updated diff on sparc64 and amd64 with S malloc flags for a while. No issues. Would anyone go as far as "OK"? -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: New scheduler for OpenBSD

2016-03-19 Thread Edd Barrett
ofiling portion of [2]. [1] http://clang.llvm.org/docs/UsersManual.html#profile-guided-optimization [2] https://github.com/gperftools/gperftools -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: New scheduler for OpenBSD

2016-03-19 Thread Edd Barrett
'll run with this for a while and let you know if anything comes up. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: Scheduler hack for multi-threaded processes

2016-03-19 Thread Edd Barrett
efox too. Will run this diff for a few days and let you know if anything bad happens. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: Scheduler hack for multi-threaded processes

2016-03-24 Thread Edd Barrett
o work well in firefox. Thanks. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: Scheduler hack for multi-threaded processes

2016-03-27 Thread Edd Barrett
On Thu, Mar 24, 2016 at 12:09:39PM +, Edd Barrett wrote: > On Wed, Mar 23, 2016 at 09:35:50PM +0100, Mark Kettenis wrote: > > So here is a diff that keeps yield() the same and adds the code in the > > sched_yield(2) implementation instead. > > I'm going to now run

Allow top(1) to search arguments (again)

2016-04-28 Thread Edd Barrett
and name. If displaying of arguments is enabled, the +arguments are searched too. .It Fl H Show process threads in the display. Normally, only the main process is shown. @@ -305,7 +306,8 @@ command. .It g Ar string Display only processes that contain .Ar string -in their command name. +in thei

Re: Allow top(1) to search arguments (again)

2016-05-10 Thread Edd Barrett
On Thu, Apr 28, 2016 at 03:26:48PM +0100, Edd Barrett wrote: > Resubmitting this diff, as I've been unable to get an OK. Style tweaks fixed, as pointed out by Michal Mazurek. Thanks for this. OK? Index: machine.c ===

Re: RETGUARD

2017-08-21 Thread Edd Barrett
On Mon, Aug 21, 2017 at 12:13:05PM -, Christian Weisgerber wrote: > lang/pypy retguard I'm looking into PyPy. Can you provide the build output? Cheers -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: Allow top(1) to search arguments (again)

2016-05-28 Thread Edd Barrett
can do a KNF whack in a separate commit (later). -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

schizo0: safari error

2016-05-29 Thread Edd Barrett
e keyboard, using wsdisplay0 vscsi0 at root scsibus4 at vscsi0: 256 targets softraid0 at root scsibus5 at softraid0: 256 targets bootpath: /pci@8,60/SUNW,qlc@4,0/fp@0,0/disk@2114c303de67,0 root on sd0a (8d7ec6f394d57510.a) swap on sd0b dump on sd0b creator0: firmware rev 1.3.11 -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: removing wsmouse_input [2]: zts, hilms, uts

2016-06-06 Thread Edd Barrett
I have a uts. I can test later. Am I expecting to see any functional change? On 5 June 2016 15:55:19 BST, Mark Kettenis wrote: >> From: Ulf Brosziewski >> Date: Sun, 5 Jun 2016 09:55:07 +0200 >> >> ok? > >Would have been nice if somebody with zts(4) or uts(4) would have >tested this, but we

Re: removing wsmouse_input [2]: zts, hilms, uts

2016-06-06 Thread Edd Barrett
On Mon, Jun 06, 2016 at 01:53:01PM +0200, Stefan Sperling wrote: > On Mon, Jun 06, 2016 at 12:40:24PM +0100, Edd Barrett wrote: > > I have a uts. > > > > I can test later. Am I expecting to see any functional change? > > No change is expected. It should just

vmm: experimentation with networking on wifi interfaces

2016-10-13 Thread Edd Barrett
orts. Insufficient info makes it difficult to find and fix bugs. --->8--- Oops. Well, please don't take that as a bug report, as the guest is running vanilla 6.0-release. If someone wants more info, I can mail it, but I should try to reproduce that on 6.0-stable or -current. Cheers -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: vmm: experimentation with networking on wifi interfaces

2016-10-14 Thread Edd Barrett
the common vmm cases.) -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

FAQ entry for vmm

2016-10-15 Thread Edd Barrett
er and router addresses. + Index: faq/index.html === RCS file: /home/edd/cvsync/www/faq/index.html,v retrieving revision 1.495 diff -u -p -r1.495 index.html --- faq/index.html 2 Oct 2016 21:16:26 - 1.495 +++ faq/index.html 15 Oct 2016 16:08:48 - @@ -151,6 +151,7 @@ that are not covered in the FAQ. Using S/Key Directory services Keeping OpenBSD up to date +Virtual machines with vmm(4) The X Window System -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

vm.conf(5) manual tweak for switches

2016-10-16 Thread Edd Barrett
ce automatically added into the corresponding +.Xr bridge 4 +or +.Xr switch 4 +interface underlying the virtual switch. .Pp +Virtual switches can be configured at any point in the configuration file. Each .Ic switch section starts with a declaration of the virtual switch: -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: FAQ entry for vmm

2016-10-17 Thread Edd Barrett
ill looking for an OK on that. > One very minor nit: why re0? ;-) I think modern vmm-compatible > machines with VMX/VT-d/EPT will have em0 in most cases ... It's just what my test system had in it. We can easily switch to em. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: FAQ entry for vmm

2016-10-19 Thread Edd Barrett
Hi, On Mon, Oct 17, 2016 at 05:28:38PM +0100, Edd Barrett wrote: > Thanks. The general consensus was to try to reduce this a lot before > commit though. I will probably only include the wireless setup in the > FAQ. Here is the reduced version. I also moved this into the networkin

Re: vm.conf(5) manual tweak for switches

2016-10-19 Thread Edd Barrett
On Sun, Oct 16, 2016 at 07:15:41PM +0100, Edd Barrett wrote: > The following diff attempts to fix this, and tweaks the surrounding text > a bit too. Any love for this? -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: FAQ entry for vmm

2016-10-23 Thread Edd Barrett
red in the FAQ. Setting up a network bridge Equal-cost multipath routing Adding and replacing NICs +Networking vmm(4) guests Keyboard and Display Controls -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Thinkpad dock only provides HDMI2 after first suspend.

2015-06-22 Thread Edd Barrett
ddr 5 video0 at uvideo0 uhub3 at uhub1 port 1 "Intel Rate Matching Hub" rev 2.00/0.00 addr 2 uhub4 at uhub3 port 3 "Standard Microsystems product 0x2514" rev 2.00/0.00 addr 3 uhidev3 at uhub3 port 5 configuration 1 interface 0 "Tablet ISD-V4" rev 1.10/6.11 addr 4

Non-functional USB ports on thinkpad x230t/OpenBSD

2014-06-01 Thread Edd Barrett
ux 0 wsmouse3 detached ums2 detached uhidev1 detached umass0 at uhub2 port 2 configuration 1 interface 0 "Kingston DataTraveler 2.0" rev 2.00/1.00 addr 5 umass0: using SCSI over Bulk-Only scsibus4 at umass0: 2 targets, initiator 0 sd1 at scsibus4 targ 1 lun 0: SCSI2 0/direct removable serial.09511665BDB1595433FB sd1: 29984MB, 512 bytes/sector, 61408128 sectors sd1 detached scsibus4 detached umass0 detached -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

USB panic

2015-02-08 Thread Edd Barrett
oftraid0: 256 targets root on sd0a (a81068940d057f4c.a) swap on sd0b dump on sd0b WARNING: / was not properly unmounted umass0 at uhub3 port 2 configuration 1 interface 0 "SCM Microsystems Inc. eUSB Multi-Slot Reader" rev 1.10/5.15 addr 4 umass0: using SCSI over Bulk-Only scsibus4 at umass0: 2 targets, initiator 0 sd1 at scsibus4 targ 1 lun 0: SCSI2 0/direct removable sd1: 3847MB, 512 bytes/sector, 7880544 sectors sd2 at scsibus4 targ 1 lun 1: SCSI2 0/direct removable -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: USB panic

2015-02-08 Thread Edd Barrett
ote: > On 08/02/15(Sun) 21:57, Edd Barrett wrote: > > Hey, > > > > I have been having issues with a userland program hard resetting my > machine. > > > > I *think* but cannot be sure it is the USB compact flash reader causing > the > > issue: > >

Small change to 6.1 upgrade guide

2017-04-30 Thread Edd Barrett
n and follow the prompts. +Apply the configuration changes and remove the old files detailed below. Finish up by upgrading the packages: pkg_add -u. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: audioctl: display variables periodically

2022-12-09 Thread Edd Barrett
vice started: Would it read better as: "Once per-second, display the number of bytes of silence inserted due to buffer underruns (since the device started playback):" And don't forget to update the usage message too :) -- Best Regards Edd Barrett https://www.theunixzoo.co.uk

Re: audioctl: display variables periodically

2022-12-10 Thread Edd Barrett
I agree with ratchov that in this instance, precise timing isn't important. 10 Dec 2022 05:53:48 Alexandre Ratchov : > On Fri, Dec 09, 2022 at 12:43:31PM -0600, Scott Cheloha wrote: >> On Fri, Dec 09, 2022 at 12:10:59PM +0100, Alexandre Ratchov wrote: >>> This diff adds an option to display varia

Re: memset.S for amd64

2013-09-18 Thread Edd Barrett
On Wed, Sep 18, 2013 at 07:08:31PM +0100, Edd Barrett wrote: > In short, each experiment warms up by setting and checking a load of buffers > before setting as many buffers as possible given a one minute timeframe. The > experiments were run with varying buffer sizes under both mem

memset.S for amd64

2013-09-18 Thread Edd Barrett
/* set by words */ + rep + stosq + + movq%r8,%rcx/* set remainder by bytes */ + andq$7,%rcx +L1:rep + stosb + movq%r11,%rax + + ret -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: memset.S for amd64

2013-09-19 Thread Edd Barrett
clears bits 8 through 63 with an andq. It looks like this is not strictly necessary as the lower byte of rax (aka, AL) is then copied across the other bytes of rax anyway. This allows them to copy the bytes 8 at a time by movq. Can someone check this? Is the andq unnecessary in this case? -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: Stairstep mouse motion

2013-10-16 Thread Edd Barrett
On Thu, Jul 18, 2013 at 09:23:00PM +0100, Edd Barrett wrote: > After applying your diff: > Touchpad: smooth lines. > Nipple: smooth lines. > Pen: jagged lines. > > I wonder if it is because the pen is an absolute pointing device. You > probably ne

Re: Stairstep mouse motion

2013-10-24 Thread Edd Barrett
On Wed, Oct 16, 2013 at 11:45:34PM +0100, Edd Barrett wrote: > Tested on my x230t and will continue to test. No regrssions noticed on > relative pointing devices. > > OK? Anyone? I appreciate that I am probably the only one using OpenBSD on a tablet, but a "looks OK" a

Re: Stairstep mouse motion

2013-10-25 Thread Edd Barrett
d yes, this is a very very unlikely case. You could argue it wouldn't matter even if it did happen. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: Stairstep mouse motion

2013-10-30 Thread Edd Barrett
idier too. If the others are happy with the kernel portion of your diff, then I reckon this is good to go in. -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: alc(4) support for Atheros AR815x

2011-05-01 Thread Edd Barrett
XE boot MAC address 1c:75:08:d5:53:c4, interface unknown root on rd0a swap on rd0b dump on rd0b umass0 at uhub1 port 2 configuration 1 interface 0 "vendor 0x0204 product 0x6025" rev 1.10/1.00 addr 2 umass0: using SCSI over Bulk-Only scsibus1 at umass0: 2 targets, initiator 0 sd1 at scsibus1 targ 1 lun 0: SCSI2 0/direct removable sd1: 486MB, 512 bytes/sec, 996415 sec total -- Best Regards Edd Barrett http://www.theunixzoo.co.uk

Re: alc(4) support for Atheros AR815x

2011-05-01 Thread Edd Barrett
On Sun, May 01, 2011 at 08:10:56PM +0100, Stuart Henderson wrote: > On 2011/05/01 18:35, Edd Barrett wrote: > > I have acquired a netboot (packard bell dot s), which I think uses this > > NIC. Is > > there an updated diff? > > Yes I just took the 2 minutes it took to a

Re: alc(4) support for Atheros AR815x

2011-05-01 Thread Edd Barrett
On Mon, May 02, 2011 at 01:16:55AM +0100, Edd Barrett wrote: > On Sun, May 01, 2011 at 08:10:56PM +0100, Stuart Henderson wrote: > > On 2011/05/01 18:35, Edd Barrett wrote: > > > I have acquired a netboot (packard bell dot s), which I think uses this > > > NIC. Is

Re: alc(4) support for Atheros AR815x

2011-05-02 Thread Edd Barrett
On Mon, May 02, 2011 at 11:02:41AM +0100, Stuart Henderson wrote: > On 2011/05/02 01:16, Edd Barrett wrote: > > On Sun, May 01, 2011 at 08:10:56PM +0100, Stuart Henderson wrote: > > > On 2011/05/01 18:35, Edd Barrett wrote: > > > > I have acquired a netboot (packard b

  1   2   >