Unix Technical Forum

Patch to kernel to support the usb Matrix Orbital MX2xx

This is a discussion on Patch to kernel to support the usb Matrix Orbital MX2xx within the mailing.openbsd.tech forums, part of the OpenBSD category; --> The Matrix Orbital MX2xx series is a USB LCD screen for computer cases, Here is a patch to make ...


Go Back   Unix Technical Forum > Unix Operating Systems > OpenBSD > mailing.openbsd.tech

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-18-2008, 06:43 AM
Nicholas Janzen
 
Posts: n/a
Default Patch to kernel to support the usb Matrix Orbital MX2xx

The Matrix Orbital MX2xx series is a USB LCD screen for computer cases,
Here is a patch to make it work. I have tested with MX213 (all MX2xx will
work).

If you have any questions about this patch, please contact me.

Here is the patch to usbdevs:
$ diff /usr/src.orig/sys/dev/usb/usbdevs /usr/src/sys/dev/usb/usbdevs
1c1
< $OpenBSD: usbdevs,v 1.70 2003/09/02 07:00:49 grange Exp $
---
> $OpenBSD: usbdevs,v 1.73 2003/11/27 12:28:47 henning Exp $

712a713,714
> product FTDI LCD_LK202_24_USB 0xfa03 Matrix Orbital LK202-24 USB LCD
> product FTDI LCD_MX2xx_USB 0xfa01 MO USB LCD MX2xx

1103a1106
> product NETGEAR MA111NA 0x4110 802.11b Adapter

1303a1307
> product SIGMATEL DNSSF7X 0x8020 Datum Networks SSF-7X

Multi Players

Here is the patch for the driver to reconize this device:
$ diff /usr/src.orig/sys/dev/usb/uftdi.c /usr/src/sys/dev/usb/uftdi.c
1c1
< /* $OpenBSD: uftdi.c,v 1.12 2003/05/19 00:33:26 nate Exp $ */
---
> /* $OpenBSD: uftdi.c,v 1.13 2003/10/04 01:01:34 deraadt Exp $ */

140c140,141
< uaa->product == USB_PRODUCT_FTDI_SERIAL_8U232AM))
---
> uaa->product == USB_PRODUCT_FTDI_SERIAL_8U232AM ||
> uaa->product == USB_PRODUCT_FTDI_LCD_MX2xx_USB))

195a197,206
> case USB_PRODUCT_FTDI_LCD_LK202_24_USB:
> sc->sc_type = UFTDI_TYPE_8U232AM;
> sc->sc_hdrlen = 0;
> break;
>
> case USB_PRODUCT_FTDI_LCD_MX2xx_USB:
> sc->sc_type = UFTDI_TYPE_8U232AM;
> sc->sc_hdrlen = 0;
> break;
>



/-------------------------------------------------------------------\
| Nicholas Janzen | 4901 3200 0000 0000 0000 3200 0000 0000 |
| www.third-net.com | 0000 3200 0000 0000 0000 3200 0000 0000 |
| Secure Embedded Systems | 0000 3200 7500 0088 8975 7500 00d0 a875 |
| | 2200 007f ef0f ffb4 22fb 007e 027d 110e |
| Amateur Radio: VE6OBS | ee32 fa70 ed1d f670 1122 d225 20b2 04b2 |
| http://www.obsd.com | 90d2 4d01 90c2 4d01 4e69 6368 6f6c 6173 |
\-------------------------------------------------------------------/

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:51 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com