[patch]: Support Option ICON 505 3G modem

2016-12-11 Thread Piotr Isajew
Hi, the following makes the Option ICON 505 modem recognizable by umsm(4). After plugging in, the modem appears as a mass storage device and it's necessary to issue a SCSI REZERO command to switch it to modem operation (i.e.: scsi -f /dev/rcd1c -c '1 0 0 0 0 0'). Index: share/man/man4/umsm.4

Re: [patch]: Support Option ICON 505 3G modem

2016-12-11 Thread Jonathan Gray
On Sun, Dec 11, 2016 at 08:00:27AM +, Piotr Isajew wrote: > Hi, > > the following makes the Option ICON 505 modem recognizable by > umsm(4). > > After plugging in, the modem appears as a mass storage device and > it's necessary to issue a SCSI REZERO command to switch it to > modem operation

Re: [patch]: Support Option ICON 505 3G modem

2016-12-11 Thread Piotr Isajew
Dnia 11.12.2016 Jonathan Gray napisaƂ/a: > [...] >> After plugging in, the modem appears as a mass storage device and >> it's necessary to issue a SCSI REZERO command to switch it to >> modem operation (i.e.: scsi -f /dev/rcd1c -c '1 0 0 0 0 0'). > > The DEV_UMASS1 and DEV_UMASS2

efifb(4): WSDISPLAYIO_{GET,SET}PARAM ioctl support

2016-12-11 Thread Anton Lindqvist
This allows the brightness on my Dell Latitude 3160 to be adjusted through wsconsctl(1). Index: arch/amd64/amd64/efifb.c === RCS file: /cvs/src/sys/arch/amd64/amd64/efifb.c,v retrieving revision 1.9 diff -u -p -r1.9 efifb.c ---

Re: Scheduler with a single runqueue

2016-12-11 Thread Stuart Henderson
On 2016/12/10 17:56, Bryan Vyhmeister wrote: > On Sat, Dec 10, 2016 at 10:47:31PM +, Stuart Henderson wrote: > > In case anyone is interested, here's a version of this diff against > > -current. It helps a lot for me. I'm not watching HD video while doing > > "make -j4", just things like

Re: Add Suunto D6i over FTDI

2016-12-11 Thread Jonathan Gray
On Sun, Dec 11, 2016 at 05:48:02PM +0100, Kristaps Dzonsons wrote: > Hi, > > Enclosed is a one-liner to get my Suunto D6i dive computer (FTDI) > recognised by libdivecomputer, http://www.libdivecomputer.org/. Before > it was just seen as a ugen. > > After: > > port 1 addr 6: full speed, power

improve gre handling in tcpdump

2016-12-11 Thread David Gwynne
gre can do more things than tcpdump currently thinks it can. specifically, gre can be carried by ipv6, and it can encapsulate more than just ip and ppp packets. as such, this tells tcpdump to look at gre inside ipv6 packets. gre uses ethertypes to represent what protocol it contains, so instead

Re: [patch]: Support Option ICON 505 3G modem

2016-12-11 Thread Jonathan Gray
On Sun, Dec 11, 2016 at 08:59:36AM +, Piotr Isajew wrote: > Dnia 11.12.2016 Jonathan Gray napisa??/a: > > [...] > >> After plugging in, the modem appears as a mass storage device and > >> it's necessary to issue a SCSI REZERO command to switch it to > >> modem operation (i.e.:

Re: Scheduler with a single runqueue

2016-12-11 Thread Martin Pieuchot
On 11/12/16(Sun) 12:54, Stuart Henderson wrote: > On 2016/12/10 17:56, Bryan Vyhmeister wrote: > > On Sat, Dec 10, 2016 at 10:47:31PM +, Stuart Henderson wrote: > > > In case anyone is interested, here's a version of this diff against > > > -current. It helps a lot for me. I'm not watching HD

Re: Xeon-D R2PCIe Agent pcidevs

2016-12-11 Thread Hrvoje Popovski
On 8.12.2016. 14:32, Hrvoje Popovski wrote: > Hi all, > > i have this supermicro box: > https://www.supermicro.nl/products/motherboard/Xeon/D/X10SDV-TP8F.cfm > > dmesg without this patch shows : > vendor "Intel", unknown product 0x6f34 (class DASP subclass Time and > Frequency, rev 0x03) at

make tcpdump show 11n mode correctly

2016-12-11 Thread Stefan Sperling
This diff makes 'tcpdump -i iwn0 -y IEEE802_11_RADIO' show the correct mode for a channel in 11n mode. Before: After: Unfortunately this requires a kernel tweak because the kernel must be more careful about the channel flags it passes to userland. Channels exist in the 11b/g (2GHz) and 11a

[Q] NVMe 1TB Samsung drive, Thinkpad X1 Carbon 4th Generation

2016-12-11 Thread Bryan C. Everly
Hi tech@, I'm trying to install OpenBSD in a partition on this drive. I created an OpenBSD type (0xa600) partition type with a GPT layout from Arch Linux when I was installing it on this same hardware (I want to dual boot using refind). You can see from the lsblk output on Linux below how

rasops(9): Remove rasops2 functions?

2016-12-11 Thread Frederic Cambus
Hi tech@, Unless I overlooked something, nothing seems to use the rasops2 (2-bit color depth) functions. It seems unlikely that any future new platform will ever need them. Should we remove them? Comments? OK? Index: sys/conf/files

[patch] turn igmpstat into a set of percpu counters

2016-12-11 Thread Dimitris Papastamos
Hi, I converted the igmp stats to use percpu counters. This work is basically the same as what dlg@ did for other parts of the stack. I looked at the diff and adjusted it for igmp. diff --git a/sys/netinet/igmp.c b/sys/netinet/igmp.c index 11446ce4188..c2a0a4839b4 100644 ---

Re: [Q] NVMe 1TB Samsung drive, Thinkpad X1 Carbon 4th Generation

2016-12-11 Thread Bryan C. Everly
On Sun, Dec 11, 2016 at 3:18 PM, Bryan Steele wrote: > On Sun, Dec 11, 2016 at 01:43:32PM -0500, Bryan C. Everly wrote: >> [# fdisk -v sd0] >> >> Primary GPT: >> Disk: sd0 Usable LBA: 34 to 2000409230 [2000409265 Sectors] >> GUID: e044f116-3aa6-4bb0-b06e-655c4f928486 >>

Re: [Q] NVMe 1TB Samsung drive, Thinkpad X1 Carbon 4th Generation

2016-12-11 Thread Bryan C. Everly
On Sun, Dec 11, 2016 at 3:45 PM, dkroczyn...@163.com wrote: > are you booting your USB drive in UEFI mode? or legacy? > > d > Good question. Turns out it was booting in Legacy by default. I completely disabled legacy boot in the bios and rebooted from the USB drive. I got

Re: [Q] NVMe 1TB Samsung drive, Thinkpad X1 Carbon 4th Generation

2016-12-11 Thread dkroczyn...@163.com
are you booting your USB drive in UEFI mode? or legacy? d At 2016-12-12 02:43:32, "Bryan C. Everly" wrote: >Hi tech@, > >I'm trying to install OpenBSD in a partition on this drive. I created >an OpenBSD type (0xa600) partition type with a GPT layout from Arch >Linux