~siretart/lcd4linux/debian

« back to all changes in this revision

Viewing changes to drv_Trefon.c

  • Committer: Reinhard Tartler
  • Date: 2011-04-27 17:28:49 UTC
  • mfrom: (0.1.1 upstream)
  • Revision ID: siretart@tauware.de-20110427172849-mj5cj5a0igpcc9fn
New upstream snapshot

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* $Id: drv_Trefon.c 773 2007-02-25 12:39:09Z michael $
2
 
 * $URL: https://ssl.bulix.org/svn/lcd4linux/branches/0.10.1/drv_Trefon.c $
 
1
/* $Id: drv_Trefon.c 975 2009-01-18 11:16:20Z michael $
 
2
 * $URL: https://ssl.bulix.org/svn/lcd4linux/trunk/drv_Trefon.c $
3
3
 *
4
4
 * driver for TREFON USB LCD displays - http://www.trefon.de
5
5
 *
6
 
 * Copyright (C) 2005 Michael Reinelt <reinelt@eunet.at>
 
6
 * Copyright (C) 2005 Michael Reinelt <michael@reinelt.co.at>
7
7
 * Copyright (C) 2005 The LCD4Linux Team <lcd4linux-devel@users.sourceforge.net>
8
8
 *
9
9
 * This file is part of LCD4Linux.
72
72
static usb_dev_handle *lcd;
73
73
static int interface;
74
74
 
75
 
extern int usb_debug;
76
 
 
77
75
 
78
76
/****************************************/
79
77
/***  hardware dependant functions    ***/
88
86
 
89
87
    info("%s: scanning USB for TREFON LCD...", Name);
90
88
 
91
 
    usb_debug = 0;
 
89
    usb_set_debug(0);
92
90
 
93
91
    usb_init();
94
92
    usb_find_busses();
314
312
/* list models */
315
313
int drv_TF_list(void)
316
314
{
317
 
    printf("generic");
 
315
    printf("TREFON USB LCD");
318
316
    return 0;
319
317
}
320
318
 
326
324
    int asc255bug;
327
325
    int ret;
328
326
 
329
 
    info("%s: %s", Name, "$Rev: 773 $");
 
327
    info("%s: %s", Name, "$Rev: 975 $");
330
328
 
331
329
    /* display preferences */
332
330
    XRES = 5;                   /* pixel width of one char  */