GPIO edge detection

2017-08-22 Thread Ingo Feinerer
Hi, I'd like to detect a button press on an (old) Soekris net5501 (running i386 6.1) where the button (push switch) is physically connected to a GPIO pin. Is there a proper way for edge detection, i.e., finding out when the button is pressed without extensive polling via gpioctl in a loop? E.g. a

i915 witness log

2018-06-07 Thread Ingo Feinerer
Hi, with $ sysctl kern.version kern.version=OpenBSD 6.3-current (GENERIC.MP) #88: Wed Jun 6 20:07:00 MDT 2018 dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP I observe following messages error: [drm:pid66464:intel_pipe_update_start] *ERROR* Potential atomic update fai

sigaltstack SIGSTKSZ with mmap/MAP_STACK

2018-04-09 Thread Ingo Feinerer
Hi, is there an implicit maximum size (besides the size_t data type of course) of the ss_size field in the sigaltstack struct when using sigaltstack()? E.g., following example based on `man 2 sigaltstack` ---8<-- #include #

dhcpc: ps_root_recvmsg: Permission denied

2023-08-09 Thread Ingo Feinerer
Hi, I am using net/dhcpcd on OpenBSD 7.3 for IPv6 router solicitation over PPPoE, almost identical to the setup as described in /usr/local/share/doc/pkg-readmes/dhcpcd. Everything works (i.e., IPv6 connectivity and distributing prefixes) but I have a lot of log messages complaining about: # tail

umb(4) connection issues

2016-11-22 Thread Ingo Feinerer
Hi, I have the following problem when trying to establish a connection via umb(4) (however, ucom works e.g. for GPS). The device umb0 is recognized (full dmesg at the end of this mail): --8<- umodem0 at uhub0 port 4 configura

Re: umb(4) connection issues

2016-11-23 Thread Ingo Feinerer
On Tue, Nov 22, 2016 at 12:06:30PM -0800, Bryan Vyhmeister wrote: > On Tue, Nov 22, 2016 at 06:14:28PM +0100, Ingo Feinerer wrote: > > --8<- > > umb0: flags=8851 mtu 1500 > > ind

MEDION S4222 UMTS stick not recognized

2015-01-02 Thread Ingo Feinerer
Hello, a MEDION S4222 UMTS (https://www.hot.at/images/medion_usb_stick.png) stick port 2 addr 4: high speed, power 500 mA, config 1, Product(0x0002), MediaTek Inc(0x0e8d), rev 3.00, iSerialNumber 683694200024400 attaches as CDROM umass0 at uhub7 port 2 configuration 1 interface 0 "MediaTek Inc

Re: MEDION S4222 UMTS stick not recognized

2015-01-04 Thread Ingo Feinerer
On Fri, Jan 02, 2015 at 12:26:53PM +0100, Ingo Feinerer wrote: > a MEDION S4222 UMTS (https://www.hot.at/images/medion_usb_stick.png) stick > > port 2 addr 4: high speed, power 500 mA, config 1, Product(0x0002), MediaTek > Inc(0x0e8d), rev 3.00, iSerialNumber 683694200024400 >

MediaTek Inc. UMTS stick

2015-01-05 Thread Ingo Feinerer
Please find attached at the end of this mail a diff for the MediaTek Inc. "DC_4COM" (that is the product name that the Linux "option" driver uses: https://raw.githubusercontent.com/torvalds/linux/master/drivers/usb/serial/option.c) UMTS USB stick (= MEDION S4222). It solves the problems described a

usb_transfer_complete: actlen > len

2015-01-11 Thread Ingo Feinerer
With the latest snapshot I have /var/log/messages filled up with uaudio_chan_rintr: count < n usb_transfer_complete: actlen > len 2824 > 0 usb_transfer_complete: actlen > len 3 > 0 usb_transfer_complete: actlen > len 2816 > 0 when playing audio. The problem is that I have disk activity because /v

Re: usb_transfer_complete: actlen > len

2015-01-11 Thread Ingo Feinerer
On Sun, Jan 11, 2015 at 01:20:35PM +0100, Martin Pieuchot wrote: > On 11/01/15(Sun) 09:54, Ingo Feinerer wrote: > > With the latest snapshot I have /var/log/messages filled up with > > > > uaudio_chan_rintr: count < n > > usb_transfer_complete: actlen > len 2

USB repeater cable on Soekris net5501

2013-03-02 Thread Ingo Feinerer
Hi, I have a problem with a Digitus USB 2.0 repeater cable in combination with a Soekris net5501 running OpenBSD 5.2 (see full dmesg at the very end of this mail). The aim is to improve the position of a UTMS stick ("Option GlobeTrotter HSDPA ICON225 USB") via the repeater cable. The UMTS stick w

Re: USB repeater cable on Soekris net5501

2013-03-03 Thread Ingo Feinerer
On Sat, Mar 02, 2013 at 03:26:55PM -0700, Theo de Raadt wrote: > Is your cable a usb2.0 only cable, or a usb1.1 only cable or some > combination that won't work? The product description of the USB repeater cable claims: - "Compatible with USB specification revision 2.0 and 1.1" - "Supports USB lo

Re: USB repeater cable on Soekris net5501

2013-03-03 Thread Ingo Feinerer
On 2013-03-03, Christian Weisgerber wrote: > > I have a problem with a Digitus USB 2.0 repeater cable in > > combination with a Soekris net5501 running OpenBSD 5.2 (see full > > dmesg at the very end of this mail). > Is this an active device? Essentially a single-port hub? Exactly. > > However

"long pad" argument in SYS_mmap syscall

2015-04-14 Thread Ingo Feinerer
Dear OpenBSD experts, I am working on a port that ships with an optional wrapper around mmap, open, close, ... (i.e, to be used with LD_PRELOAD). I am stuck with the mmap wrapper which is defined for FreeBSD (and alike) as #if defined(__FreeBSD__) #define SYS_MMAP(addr, len, prot, flags, fd, off)

FAQ link (5.6 -> 5.7)

2015-04-30 Thread Ingo Feinerer
Hi, http://www.openbsd.org/faq/index.html mentions "4 - OpenBSD 5.6 Installation Guide" but in fact links already to the 5.7 version. You might be interested in syncing the section header. Best regards, Ingo

ps: display command arguments

2015-08-09 Thread Ingo Feinerer
Hi, when running R --file=~/test.R --args -i -j -k with R from math/R in ports and test.R as commandArgs(TRUE) Sys.sleep(10) ps output displays /usr/local/lib/R/bin/exec/R --file=/home/user/test.R --args --args --args --args (Note the four --args.) However, R appears to have the right argume

mixerctl in /etc/apm/resume with USB headset

2015-09-19 Thread Ingo Feinerer
I am not able to set my headphone volume via /etc/apm/resume after suspending. $ cat /etc/apm/resume #!/bin/sh mixerctl outputs.spkr=120 /etc/apm/resume is executable (755) and owned by root.wheel. Manually setting the volume works: $ mixerctl outputs.spkr=120 outputs.spkr: 189,189 -> 119,119

SIP and ZRTP

2014-08-21 Thread Ingo Feinerer
Hello, I have been using the telephony/pjsua port (thanks for providing it!) for some time but wondered if there exists a SIP user agent supporting ZRTP (https://en.wikipedia.org/wiki/ZRTP) on OpenBSD? Best regards, Ingo

Missing ucom2 for Option GlobeTrotter HSDPA ICON225 USB

2012-09-04 Thread Ingo Feinerer
Hi, According to the man page of umsm(4) the "Option GlobeTrotter HSDPA ICON225 USB" is a supported device which is known to work. I got a device which is recognized by Option as "iCON 225" after entering its serial number on their support homepage (yielding as result http://www.option.com/en/sup

Re: Missing ucom2 for Option GlobeTrotter HSDPA ICON225 USB

2012-09-10 Thread Ingo Feinerer
On Tue, Sep 04, 2012 at 03:53:34PM +0200, Ingo Feinerer wrote: > According to the man page of umsm(4) the "Option GlobeTrotter HSDPA > ICON225 USB" is a supported device which is known to work. > > After attaching the device I get > > umsm0 at uhub3 port 1 configurati