hal/tools/device-manager Const.py.in, 1.13, 1.14 Makefile.am, 1.3, 1.4 Representation.py, 1.10, 1.11 hal-serial-port.png, NONE, 1.1

Kay Sievers kay at freedesktop.org
Mon Sep 20 11:31:17 PDT 2004


Update of /cvs/hal/hal/tools/device-manager
In directory gabe:/tmp/cvs-serv31151/tools/device-manager

Modified Files:
	Const.py.in Makefile.am Representation.py 
Added Files:
	hal-serial-port.png 
Log Message:
2004-09-20  Kay Sievers  <kay.sievers at vrfy.org>

        Add support for usb-serial devices:

        * hald/Makefile.am: add serial_class_device.c,
        usb_serial_bus_device.c

        * hald/linux/osspec.c: (hald_helper_data): plug serial_class_handler,
        usb_serial_bus_handler into the device processing

        * hald/linux/serial_class_device.c: (serial_class_device_accept),
        (serial_class_pre_process): new file to support serial ports

        * hald/linux/usb_serial_bus_device.c:
        (usb_serial_device_compute_udi), (usb_serial_device_pre_process):
        support for bus devices from the usb-serial subsystem

        * tools/device-manager/Const.py.in: add the new busses

        * tools/device-manager/Makefile.am: add the new icon

        * tools/device-manager/Representation.py: support the new serial
        port icon

        * tools/device-manager/hal-serial-port.png: picture of serial port



Index: Const.py.in
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/Const.py.in,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -d -r1.13 -r1.14
--- Const.py.in	15 Aug 2004 18:54:57 -0000	1.13
+++ Const.py.in	20 Sep 2004 18:31:15 -0000	1.14
@@ -32,7 +32,8 @@
              "macio"         : "MacIO",
              "ieee1394_host" : "IEEE1394 Host",
              "ieee1394_node" : "IEEE1394 Node",
-             "ieee1394"      : "IEEE1394 Device",
+             "serial"        : "Serial",
+             "usb-serial"    : "USB Serial",
              "pcmcia"        : "PCMCIA"}
 
 STATE_NAMES = { 0 : "No device information file was found",

Index: Makefile.am
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/Makefile.am,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- Makefile.am	22 Jul 2004 00:31:45 -0000	1.3
+++ Makefile.am	20 Sep 2004 18:31:15 -0000	1.4
@@ -22,7 +22,7 @@
                        hal-camera.png        hal-network.png       \
                        hal-cat-cardbus.png   hal-unknown.png       \
                        hal-cat-keyboard.png  hal-video.png         \
-                       hal-computer.png                            \
+                       hal-computer.png      hal-serial-port.png   \
                        hal-device-manager.glade
 
 # symlink into $(bindir) for convenience

Index: Representation.py
===================================================================
RCS file: /cvs/hal/hal/tools/device-manager/Representation.py,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- Representation.py	13 Sep 2004 15:45:01 -0000	1.10
+++ Representation.py	20 Sep 2004 18:31:15 -0000	1.11
@@ -38,6 +38,7 @@
         self.icons["network"] = self.load_and_scale_icon(Const.DATADIR + "/hal-network.png")
         self.icons["audio"] = self.load_and_scale_icon(Const.DATADIR + "/hal-audio.png")
         self.icons["camera"] = self.load_and_scale_icon(Const.DATADIR + "/hal-camera.png")
+        self.icons["serial"] = self.load_and_scale_icon(Const.DATADIR + "/hal-serial-port.png")
 
 
     def get_icon(self, device):
@@ -86,5 +87,7 @@
             icon = self.icons["network"]
         elif cat=="multimedia.audio":
             icon = self.icons["audio"]
+        elif cat=="serial":
+            icon = self.icons["serial"]
 
         return icon

--- NEW FILE: hal-serial-port.png ---
‰PNG


Q71i
‰ë:
žç²{÷žÛŸ|ò§3õ¡úǶm?‹à8Ðû2êm"1Óa/œAçÁ±—ÿ$Úómî›{Vk'ŽccŒA #ŽbúQ)-²,crbǶY^^!Ë2Š¼$lÇ¥sù2ÆúaÈJw……þþî;Á¶áá™ïýø'­Q±•o±1Æ|áY¹" 
õ扴}šÃÛøÎ÷ˆ m·R¡}±­£¤hÏÍÎ>´Õãt¼9Ôàð‘#á_^ûóÌk¯Ÿ
£Ð×Z‹Ñæ0÷<Äôô4AP¯
1ž:Ì;Y¯O™¤œXY¥X`œ—¥KñÆù.¦RÅBI‹7VVF`¹.ÒhŠ4gXºd%4šC Ër.^`yá"¶§Œ†¥Å¥hrûÔüáϼ#¥8„âsVbÊ3†ÑSqœ´Ê²”qûo¿ýîÔ£‡¿áû¾Å©NòòÿÀ«'ÿÆf·G‘å(e ‹­
hƒrµFc4ýõMLi@”r¶U]"„À†jÞ½Ÿ½{÷rïÜýÔ5Þ9ñ^87wO[JEaÒ45Žã¶«ÕàªÙ;DâÌ\p'’Àôû|ô‹<Ëfn»m°•dmy‘c¯¼ÊGŸ"Žcò"Ã
t©ÑEAY–(¥0Ɛ¦)e©1Râ8ºÔÅ–€f³É½æxàÁ©Õk4ÇÇéõã~–gÇoÙ±ýÙ+–AÿK»}ƒð"é0Œù»^8¢uØ–tÒ8’aUjµJIŒÙ*ØQ
ÇR[;cRRCV–[3AYn	Ð\—ŒáûBÊ´Ù}û¾ƒ%„xíúb¿(ðÜL 	€ƒEQ>aŒiic†uY:[æÐ`¶Æ]s¥Wg4Æ`ôÖÂ]õý×¥Ùj'
PÜ(‘ý/fb®o™›ÍÆ0`À€ü÷ù'ÕPpn^ 



More information about the hal-commit mailing list