From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-it0-f43.google.com ([209.85.214.43]) by ur; Thu Jun 30 20:45:49 EDT 2016 Received: by mail-it0-f43.google.com with SMTP id g127so5890015ith.0 for <9front@9front.org>; Thu, 30 Jun 2016 17:45:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=jT+SLTGteqIAsixktvjMhh9cWugoq/l5RCmpRdXzE1A=; b=ZdvRkw0so9gyPc596sqMd8LeNh6JYTkCGCKpxPMmiX5BaY6w2VrDF5FfK2acg4vsMt 4047osYg1iFYpFNrUafuxdYdL8MbI73mXxvXg6PhTMeMYXvQUdvL58TZKawF941qWyv+ 24NfUV6QBLoeGZxR0PQgoPVXAVrg8slj7bYEeg6OME2YarbalSjBJRzSGDxaFCAHJY20 5EsMyDX5cy9kXesxft4NXHET9G9NlQakRf77Fx21CxBR2XNw5wV9ufO1b+6tsGAWOFmk IoOz0gL/S3RdW8ngI8yEHUIwLolmLxJ0YAHzc2mB2IoHo2lVC8cg/fTtvUo0lXJoR6nS Iijw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=jT+SLTGteqIAsixktvjMhh9cWugoq/l5RCmpRdXzE1A=; b=hNu1rkYA/zWp78sw5Q7pFvsqMDVh+3XqHn76KFwCPd7AItk3reXvb3/q7JJOQNpHBR bXPAlBqaCGKI2yfDkgutQpYr/Kl53YTwvlOV54e1UiDeCIFcH2gJDhlC0byiV3DLqS/Y M9TATISxc6Ll2noEHvsYNOC0jGetRWbs0fUVPpeixpEU3k5ExIGfyGEWeMktz8C3RcWV lGQKnR+vFowinlJoG3XrPasyDZa7v1WppmeTLxsLaqZglp5LP/P0MPi6v37d6s12kyMr Z0UIINDwESPJHhEUInMiTsQnh7XZnjDyGV0yOHZ8gmoZ7LUTiYQsf2EeIQ9upxU3OAYB zdvA== X-Gm-Message-State: ALyK8tLPyitun9QsnW6qAVSXIEtccRaWv/qZhT7n/LXAkLYcFOeqN1EhLZIOxoUUymKp4Q9O3+R5q/dqzKdzvA== X-Received: by 10.36.249.136 with SMTP id l130mr22896507ith.10.1467333946980; Thu, 30 Jun 2016 17:45:46 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.55.65 with HTTP; Thu, 30 Jun 2016 17:45:17 -0700 (PDT) In-Reply-To: References: From: Dave MacFarlane Date: Thu, 30 Jun 2016 20:45:17 -0400 Message-ID: Subject: Re: [9front] Hardware woes To: 9front@9front.org Content-Type: text/plain; charset=UTF-8 List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: social transactional WEB2.0 component service Okay, well, now I've got my choice of other hardware problems to try and work on. WiFi: 1. I've got one of these: http://www.canakit.com/raspberry-pi-wifi.html gathering dust on a shelf. The firmware in Linux is rt2870.bin (despite the chipset being 5390) and I noticed in /sys/src/9/pc/etherrt2860.c there's some code about 2870, so figured there's a chance it'll just work. I plugged it in and it's not even generating an event in /dev/usbevent. I know the USB port works, because it's the same one I used to copy the firmware into /lib/firmware. What would stop it from even noticing that the dongle was plugged in? 2. I decided to look into the difference between the iwm driver from OpenBSD (https://github.com/rpaulo/iwm/blob/master/driver/if_iwmreg.h) and iwl from 9front (http://www.9front.org/9front/sys/src/9/pc/etheriwl.c). From what I can tell, every register and offset I compared seemed to have the same format, so I'm tempted to just add the type to fwname[] and see what happens. If that works, it'll be better than being forced to have a usb port.. but I don't know how to figure out the ID for the type to add to the enum above it. I added a print statement to setfwinfo() and added ether0=type=iwl to my plan9.ini, but it doesn't seem to be making it there. Is there something else I need to do to force the driver or an easier way to probe the id? Other: 3. 9front crashes whenever I plug in or unplug the power cable. I assume there's a problem with the APM, but I can't seem to find where that code lives. 4. I'm tempted to write a proper synaptic touch driver since the packets seem to be pretty well documented, but the above are probably more important.. On Wed, Jun 29, 2016 at 8:05 PM, wrote: > you got it! excellent :-) > > -- > cinap -- - Dave