I've just checked 8.1 on my VM. Apart from the initial confusion of trying to find usb_quirks.c, I've checked and have found that all the devices that need to be added to 7.3 need to be added to 8.1 too. I've created patches for usbdevs & quirk/usb_quirk.c, and have successfully compiled a GENERIC kernel using them.


On 14/10/2010 22:56, Hans Petter Selasky wrote:
On Thursday 14 October 2010 18:20:10 John Bayly wrote:
The following reply was made to PR usb/131521; it has been noted by GNATS.

From: John Bayly<john.ba...@tipstrade.net>
To: bug-follo...@freebsd.org, n...@smartfruit.com
Subject: Re: usb/131521: Registering Belkin UPS to usb_quirks.c
Date: Thu, 14 Oct 2010 17:12:20 +0100

  This is a multi-part message in MIME format.
  Content-Type: text/plain; charset=ISO-8859-1; format=flowed
  Content-Transfer-Encoding: 7bit

    Rather embarrassing: I was composing the previous mail while the
  kernel was compiling to make sure everything was ok, and managed to hit
  send. Typically there's a mistake in the patches. Please ignore the
  preceding two. The attached patches compile properly, and on boot my
  Belkin F6C120UNV is detected as /dev/ugen0 instead of /dev/uhid0

Is this also a problem on FreeBSD 8+ ?


John Bayly
Systems Administrator
TipsTrade Ltd.

16 Wornal Park,
Menmarsh Road,
HP18 9JX

T: +44 (0)1844 337 326 (Direct)
M: +44 (0)7787 727 934
F: +44 (0)1844 337 337
E: john.ba...@tipstrade.net

E-Mail Disclaimer

Whilst TipsTrade Ltd. believes that the information is correct at the
date of this e-mail, no warranty or representation is given to this effect
and no responsibility can be accepted by TipsTrade Ltd. to any end users
for any action taken on the basis of the information.

The information contained in this electronic transmission is strictly
confidential and may be legally privileged.  It is  intended solely for the
addressee.  If you are not the intended recipient, any disclosure, copying,
distribution or any action taken or omitted to be taken in reliance on this
is prohibited and may be unlawful. Please treat our information in
confidence, as you would expect us to treat yours.

E-mail is an inherently insecure form of communication and we do not accept
liability for any unintentional damage caused to a recipient's system by
this e-mail message and/or its attachments or for any unauthorised access to
or interference with this e-mail that may occur.

If you have received this e-mail in error, please notify the Systems
Manager: mail...@tipstrade.net

--- /usr/src/sys/dev/usb/quirk/usb_quirk.c.orig 2010-06-14 03:09:06.000000000 
+++ /usr/src/sys/dev/usb/quirk/usb_quirk.c      2010-09-09 17:45:00.000000000 
@@ -109,13 +109,46 @@
        USB_QUIRK(XEROX, WCM15, 0x0000, 0xffff, UQ_BROKEN_BIDIR),
        /* Devices which should be ignored by uhid */
        USB_QUIRK(APC, UPS, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(BELKIN, F6H375USB, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(BELKIN, F6C550AVR, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(BELKIN, F6C1250TWRK, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(BELKIN, F6C1500TWRK, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(BELKIN, F6C900UNV, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(BELKIN, F6C100UNV, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(BELKIN, F6C120UNV, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(BELKIN, F6C800UNV, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(BELKIN, F6C1100UNV, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(CYBERPOWER, BC900D, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(CYBERPOWER, 1500CAVRLCD, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(CYBERPOWER, OR2200LCDRM2U, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(DELL2, VARIOUS_UPS, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(HP, T500, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(HP, T750, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(ITUNERNET, USBLCD2X20, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(ITUNERNET, USBLCD4X20, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(MGE, UPS1, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(MGE, UPS2, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(POWERCOM, WOW , 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, OMNIVS1000, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, AVR550U, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, AVR750U, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, ECO550UPS, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, T750_INTL, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, RT_2200_INTL, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, OMNI1000LCD, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, OMNI900LCD, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, SMART_2200RMXL2U, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, UPS_3014, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, SU1500RTXL2UA, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, SU6000RT4U, 0x0000, 0xffff, UQ_HID_IGNORE),
+       USB_QUIRK(TRIPPLITE2, SU1500RTXL2ua, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(APPLE, IPHONE, 0x0000, 0xffff, UQ_HID_IGNORE),
        USB_QUIRK(APPLE, IPHONE_3G, 0x0000, 0xffff, UQ_HID_IGNORE),
        /* Devices which should be ignored by both ukbd and uhid */
--- /usr/src/sys/dev/usb/usbdevs.orig   2010-06-14 03:09:06.000000000 +0100
+++ /usr/src/sys/dev/usb/usbdevs        2010-09-09 17:10:31.000000000 +0100
@@ -146,6 +146,7 @@
 vendor SEAGATE         0x0477  Seagate
 vendor CONNECTIX       0x0478  Connectix
 vendor SEMTECH         0x047a  Semtech
+vendor DELL2           0x047c  Dell
 vendor KENSINGTON      0x047d  Kensington
 vendor LUCENT          0x047e  Lucent
 vendor PLANTRONICS     0x047f  Plantronics
@@ -353,6 +354,7 @@
 vendor BIZLINK         0x06c4  Bizlink International
 vendor KEYSPAN         0x06cd  Keyspan / InnoSys Inc.
 vendor AASHIMA         0x06d6  Aashima Technology
+vendor LIEBERT         0x06da  Liebert
 vendor MULTITECH       0x06e0  MultiTech
 vendor ADS             0x06e1  ADS Technologies
 vendor ALCATELM                0x06e4  Alcatel Microelectronics
@@ -464,6 +466,7 @@
 vendor MINDSATWORK     0x097a  Minds At Work
 vendor POINTCHIPS      0x09a6  PointChips
 vendor INTERSIL                0x09aa  Intersil
+vendor TRIPPLITE2      0x09ae  Tripp-Lite
 vendor ALTIUS          0x09b3  Altius Solutions
 vendor ARRIS           0x09c1  Arris Interactive
 vendor ACTIVCARD       0x09c3  ACTIVCARD
@@ -522,6 +525,7 @@
 vendor CMEDIA          0x0d8c  CMEDIA
 vendor CONCEPTRONIC    0x0d8e  Conceptronic
 vendor SKANHEX         0x0d96  Skanhex Technology, Inc.
+vendor POWERCOM                0x0d9f  PowerCOM
 vendor MSI             0x0db0  Micro Star International
 vendor ELCON           0x0db7  ELCON Systemtechnik
 vendor NETAC           0x0dd8  Netac
@@ -557,6 +561,7 @@
 vendor CURITEL         0x106c  Curitel Communications Inc
 vendor SILABS2         0x10a6  SILABS2
 vendor USI             0x10ab  USI
+vendor LIEBERT2                0x10af  Liebert
 vendor PLX             0x10b5  PLX
 vendor ASANTE          0x10bd  Asante
 vendor SILABS          0x10c4  Silicon Labs
@@ -1077,8 +1082,16 @@
 product BELKIN F5U208          0x0208  F5U208 VideoBus II
 product BELKIN F5U237          0x0237  F5U237 USB 2.0 7-Port Hub
 product BELKIN F5U257          0x0257  F5U257 Serial
+product BELKIN F6H375USB       0x0375  F6H375-USB
 product BELKIN F5U409          0x0409  F5U409 Serial
 product BELKIN F6C550AVR       0x0551  F6C550-AVR UPS
+product BELKIN F6C1250TWRK     0x0750  F6C1250-TW-RK
+product BELKIN F6C1500TWRK     0x0751  F6C1500-TW-RK
+product BELKIN F6C900UNV       0x0900  F6C900-UNV
+product BELKIN F6C100UNV       0x0910  F6C100-UNV
+product BELKIN F6C120UNV       0x0912  F6C120-UNV UPS
+product BELKIN F6C800UNV       0x0980  F6C800-UNV
+product BELKIN F6C1100UNV      0x1100  F6C1100-UNV, F6C1200-UNV
 product BELKIN F5U120          0x1203  F5U120-PC Hub
 product BELKIN ZD1211B         0x4050  ZD1211B
 product BELKIN F5D5055         0x5055  F5D5055
@@ -1256,7 +1269,9 @@
 product CURITEL UM175          0x3714  EVDO modem
 /* CyberPower products */
-product CYBERPOWER 1500CAVRLCD 0x0501  1500CAVRLCD
+product CYBERPOWER BC900D              0x0005  900AVR/BC900D, CP1200AVR/BC1200D
+product CYBERPOWER 1500CAVRLCD         0x0501  1500CAVRLCD
+product CYBERPOWER OR2200LCDRM2U       0x0601  OR2200LCDRM2U
 /* CyberTAN Technology products */
 product CYBERTAN TG54USB       0x1666  TG54USB
@@ -1303,6 +1318,7 @@
 product DELL U5730             0x8180  Dell 5730 3G
 product DELL U5730_2           0x8181  Dell 5730 3G
 product DELL U5730_3           0x8182  Dell 5730 3G
+product DELL2 VARIOUS_UPS      0xffff  Various UPS Models
 /* Delorme Paublishing products */
 product DELORME EARTHMATE      0x0100  Earthmate GPS
@@ -1680,6 +1696,8 @@
 product HP 930C                        0x1204  DeskJet 930c
 product HP P2000U              0x1801  Inkjet P-2000U
 product HP HS2300              0x1e1d  HS2300 HSDPA (aka MC8775)
+product HP T500                        0x1f01  T500
+product HP T750                        0x1f02  T750
 product HP 640C                        0x2004  DeskJet 640c
 product HP 4670V               0x3005  ScanJet 4670v
 product HP P1100               0x3102  Photosmart P1100
@@ -1925,6 +1943,10 @@
 /* Lexmark products */
 product LEXMARK S2450          0x0009  Optra S 2450
+/* Liebert products */
+product LIEBERT VARIOUS_UPS    0xffff  Various UPS models
+product LIEBERT2 POWERSURE_PSA 0x0001  PowerSure PSA UPS
 /* Linksys products */
 product LINKSYS MAUSB2         0x0105  Camedia MAUSB-2
 product LINKSYS USB10TX1       0x200c  USB10TX
@@ -2396,6 +2418,13 @@
 /* PLX products */
 product PLX TESTBOARD          0x9060  test board
+/* PowerCOM products */
+product POWERCOM IMPERIAL_SERIES       0x00a2  IMPERIAL Series
+product POWERCOM SMART_KING_PRO                0x00a3  Smart KING Pro
+product POWERCOM WOW                   0x00a4  WOW
+product POWERCOM VANGUARD              0x00a5  Vanguard
+product POWERCOM BLACK_KNIGHT_PRO      0x00a6  Black Knight Pro
 /* PNY products */
 product PNY ATTACHE2           0x0010  USB 2.0 Flash Drive
@@ -3010,7 +3039,20 @@
 product TREK THUMBDRIVE_8MB    0x9988  ThumbDrive_8MB
 /* Tripp-Lite products */
-product TRIPPLITE U209         0x2008  Serial
+product TRIPPLITE U209                 0x2008  Serial
+product TRIPPLITE2 OMNIVS1000          0x0001  OMNIVS1000, SMART550USB
+product TRIPPLITE2 AVR550U             0x1003  AVR550U
+product TRIPPLITE2 AVR750U             0x1007  AVR750U
+product TRIPPLITE2 ECO550UPS           0x1008  ECO550UPS
+product TRIPPLITE2 T750_INTL           0x1f06  T750 INTL
+product TRIPPLITE2 RT_2200_INTL                0x1f0a  R/T 2200 INTL
+product TRIPPLITE2 OMNI1000LCD         0x2005  OMNI1000LCD
+product TRIPPLITE2 OMNI900LCD          0x2007  OMNI900LCD
+product TRIPPLITE2 SMART_2200RMXL2U    0x3012  smart2200RMXL2U
+product TRIPPLITE2 UPS_3014            0x3014  Unknown UPS
+product TRIPPLITE2 SU1500RTXL2UA       0x4001  SmartOnline SU1500RTXL2UA
+product TRIPPLITE2 SU6000RT4U          0x4002  SmartOnline SU6000RT4U
+product TRIPPLITE2 SU1500RTXL2ua       0x4003  SmartOnline SU1500RTXL2ua
 /* Trumpion products */
 product TRUMPION T33520                0x1001  T33520 USB Flash Card Controller
freebsd-usb@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to