Re: sdmmc(4) support for suspend/resume with eMMC devices

2018-11-12 Thread Ben Pye
On Mon, Nov 12, 2018 at 06:46:26PM -0200, Martin Pieuchot wrote: > On 11/11/18(Sun) 13:10, Ben Pye wrote: > > Hey all, > > > > In my quest for better OpenBSD support on my Chromebook 13 I have found > > that sdmmc(4)'s current strategy for suspend/resume only rea

Re: [PATCH] Add elan(4) touchpad driver

2018-11-12 Thread Ben Pye
On Mon, Nov 12, 2018 at 06:50:27PM -0200, Martin Pieuchot wrote: > On 09/11/18(Fri) 16:25, Ben Pye wrote: > > On Thu, Nov 08, 2018 at 11:25:37PM -0600, joshua stein wrote: > > > On Fri, 09 Nov 2018 at 03:30:07 +, b...@curlybracket.co.uk wrote: > > > > Hi all, &g

Re: [PATCH] Fix broken bus voltage setting in sdhc

2018-11-11 Thread Ben Pye
On Sat, Nov 10, 2018 at 03:45:41PM +, Ben Pye wrote: > On Sat, Nov 10, 2018 at 06:30:37AM +0000, Ben Pye wrote: > > On Wed, Nov 07, 2018 at 05:33:13PM +0100, Mark Kettenis wrote: > > > > From: Ben Pye > > > > Content-Type: text/plain; charset="utf-8&qu

sdmmc(4) support for suspend/resume with eMMC devices

2018-11-11 Thread Ben Pye
Hey all, In my quest for better OpenBSD support on my Chromebook 13 I have found that sdmmc(4)'s current strategy for suspend/resume only really works for removable storage. Upon a suspend it marks the device as dying, and upon resume will detach the card and re-scan the bus. This makes sense for

Re: [PATCH] Fix broken bus voltage setting in sdhc

2018-11-10 Thread Ben Pye
On Sat, Nov 10, 2018 at 06:30:37AM +, Ben Pye wrote: > On Wed, Nov 07, 2018 at 05:33:13PM +0100, Mark Kettenis wrote: > > > From: Ben Pye > > > Content-Type: text/plain; charset="utf-8" > > > > > > I have been attempting to run OpenBSD on

Re: [PATCH] Fix broken bus voltage setting in sdhc

2018-11-09 Thread Ben Pye
On Wed, Nov 07, 2018 at 05:33:13PM +0100, Mark Kettenis wrote: > > From: Ben Pye > > Content-Type: text/plain; charset="utf-8" > > > > I have been attempting to run OpenBSD on my HP Chromebook 13, it's a > > Skylake device with eMMC storage. Previousl

Re: [PATCH] Add elan(4) touchpad driver

2018-11-09 Thread Ben Pye
ietp + # Bosch BMC150 6-axis eCompass device bgw attach bgw at i2c Index: sys/dev/i2c/ietp.c ======= RCS file: sys/dev/i2c/ietp.c diff -N sys/dev/i2c/ietp.c --- /dev/null 1 Jan 1970 00:00:00 - +++ sys/dev/i2c/ietp.c 9 No

[PATCH] Fix broken bus voltage setting in sdhc

2018-11-07 Thread Ben Pye
I have been attempting to run OpenBSD on my HP Chromebook 13, it's a Skylake device with eMMC storage. Previously sdhc attempted to set the same bus voltage multiple times, and after the first, successful, attempt it would break resulting in all later commands timing out. This patch changes sdhc