I've spent quite a bit of time trying to get this USB Device to work
with no success at all so I'm hoping someone here can shed some light on
this for me. We plan to use this device exclusively with the industrial
equipment we manufacture but getting it working in linux is required.
Hopefully I've included enough information to be useful, if not let me
know what other information is needed and where its located. Pretty
familiar with linux command line but my desktop experience in linux is
very limited so knowledge of how usb dev's work is limited as well.

I am using knoppix 4.02 which comes with 2.6.12 kernel.

cat /dev/input/mice or cat /dev/input/event2, etc and moving the mouse
causes no jibberish on console as expected...

I've edited /etc/hotplug/usb.handmap with:

mousedev             0x0383 0x060b   0x0541    0x0000       0x0000
0x00         0x00            0x00                0x03
0x00            0x00            0x00000000

Thinking that since this device doesn't meet the 3-1-2 on the
class/subclass/protocol required by the default mousedev entry...

/proc/bus/input/devices states:

I: Bus=0003 Vendor=060b Product=0541 Version=0101
N: Name="USB Keyboard"
P: Phys=usb-0000:00:10.1-1/input0
H: Handlers=kbd event1
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf f3cfffff ffffffff fffffffe
B: LED=7

I: Bus=0003 Vendor=060b Product=0541 Version=0101
N: Name="USB Keyboard"
P: Phys=usb-0000:00:10.1-1/input1
H: Handlers=kbd mouse1 event2 ts1
B: EV=7
B: KEY=1fffff 0 0 3878 d801d101 1e0000 0 0 0
B: REL=103

/var/log/kern.log states (ignore timestamps I haven't set date on pc
yet):

Aug 25 00:01:38 localhost kernel: usb 2-2: USB disconnect, address 7
Aug 25 00:01:40 localhost kernel: usb 2-1: new low speed USB device
using uhci_hcd and address 8
Aug 25 00:01:41 localhost kernel: input: USB HID v1.10 Keyboard [USB
Keyboard] on usb-0000:00:10.1-1
Aug 25 00:01:42 localhost kernel: input,hiddev96: USB HID v1.10 Mouse
[USB Keyboard] on usb-0000:00:10.1-1

And some lines from /var/log/messages during bootup...


Aug 24 22:06:18 localhost kernel: usbcore: registered new driver usbfs
Aug 24 22:06:18 localhost kernel: usbcore: registered new driver hub
Aug 24 22:06:18 localhost kernel: USB Universal Host Controller
Interface driver v2.2
Aug 24 22:06:18 localhost kernel: uhci_hcd 0000:00:10.0: VIA
Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Aug 24 22:06:18 localhost kernel: uhci_hcd 0000:00:10.0: new USB bus
registered, assigned bus number 1
Aug 24 22:06:18 localhost kernel: uhci_hcd 0000:00:10.0: irq 11, io base
0x0000e400
Aug 24 22:06:18 localhost kernel: hub 1-0:1.0: USB hub found
Aug 24 22:06:18 localhost kernel: hub 1-0:1.0: 2 ports detected
Aug 24 22:06:18 localhost kernel: uhci_hcd 0000:00:10.1: VIA
Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#2)
Aug 24 22:06:18 localhost kernel: uhci_hcd 0000:00:10.1: new USB bus
registered, assigned bus number 2
Aug 24 22:06:18 localhost kernel: uhci_hcd 0000:00:10.1: irq 5, io base
0x0000e800
Aug 24 22:06:18 localhost kernel: hub 2-0:1.0: USB hub found
Aug 24 22:06:18 localhost kernel: hub 2-0:1.0: 2 ports detected
Aug 24 22:06:18 localhost kernel: uhci_hcd 0000:00:10.2: VIA
Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (#3)
Aug 24 22:06:18 localhost kernel: usb 1-2: new low speed USB device
using uhci_hcd and address 2
Aug 24 22:06:18 localhost kernel: uhci_hcd 0000:00:10.2: new USB bus
registered, assigned bus number 3
Aug 24 22:06:18 localhost kernel: uhci_hcd 0000:00:10.2: irq 5, io base
0x0000ec00
Aug 24 22:06:18 localhost kernel: hub 3-0:1.0: USB hub found
Aug 24 22:06:18 localhost kernel: hub 3-0:1.0: 2 ports detected
Aug 24 22:06:18 localhost kernel: usb 2-1: new low speed USB device
using uhci_hcd and address 2
Aug 24 22:06:18 localhost kernel: Initializing USB Mass Storage
driver...
Aug 24 22:06:18 localhost kernel: usbcore: registered new driver
usb-storage
Aug 24 22:06:18 localhost kernel: USB Mass Storage support registered.
Aug 24 22:06:18 localhost kernel: sbp2: $Rev: 1219 $ Ben Collins
<[EMAIL PROTECTED]>
Aug 24 22:06:18 localhost kernel: Registering unionfs 20050921-1517
Aug 24 22:06:18 localhost kernel: usbcore: registered new driver hiddev
Aug 24 22:06:18 localhost kernel: Real Time Clock Driver v1.12
Aug 24 22:06:18 localhost kernel: input: USB HID v1.10 Mouse [KidzMouse,
Inc.  - www.KidzMouse.com KidzMouse Optical Mous$
Aug 24 22:06:18 localhost kernel: input: USB HID v1.10 Keyboard [USB
Keyboard] on usb-0000:00:10.1-1
Aug 24 22:06:18 localhost kernel: input,hiddev96: USB HID v1.10 Mouse
[USB Keyboard] on usb-0000:00:10.1-1
Aug 24 22:06:18 localhost kernel: usbcore: registered new driver usbhid
Aug 24 22:06:18 localhost kernel: drivers/usb/input/hid-core.c:
v2.01:USB HID core driver
Aug 24 22:06:18 localhost kernel: apm: BIOS version 1.2 Flags 0x03
(Driver version 1.16ac)
Aug 24 22:06:18 localhost kernel: ts: Compaq touchscreen protocol output



[EMAIL PROTECTED]:~# lsusb -v

Bus 004 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         1 Single TT
  bMaxPacketSize0         8
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.12 ehci_hcd
  iProduct                2 VIA Technologies, Inc. USB 2.0
  iSerial                 1 0000:00:10.3
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xe0
      Self Powered
      Remote Wakeup
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval              12
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             6
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
    TT think time 8 FS bits
  bPwrOn2PwrGood       10 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x08
  PortPwrCtrlMask    0x00
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0001.0000 C_CONNECT
   Port 3: 0001.0000 C_CONNECT
   Port 4: 0000.0100 power
   Port 5: 0000.0100 power
   Port 6: 0000.0100 power

Bus 003 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.12 uhci_hcd
  iProduct                2 VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (#3)
  iSerial                 1 0000:00:10.2
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x08
  PortPwrCtrlMask    0x00
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0100 power

Bus 002 Device 008: ID 060b:0541 Solid Year
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x060b Solid Year
  idProduct          0x0541
  bcdDevice            1.01
  iManufacturer           0
  iProduct                1 USB Keyboard
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           59
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      1 Keyboard
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      54
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0008  1x 8 bytes
        bInterval              10
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      0 No Subclass
      bInterfaceProtocol      0 None
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength     179
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0005  1x 5 bytes
        bInterval              10

Bus 002 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.12 uhci_hcd
  iProduct                2 VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller (#2)
  iSerial                 1 0000:00:10.1
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x08
  PortPwrCtrlMask    0x00
 Hub Port Status:
   Port 1: 0000.0303 lowspeed power enable connect
   Port 2: 0000.0300 lowspeed power

Bus 001 Device 003: ID 107f:0001 KidzMouse, Inc.
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x107f KidzMouse, Inc.
  idProduct          0x0001
  bcdDevice            0.01
  iManufacturer           1 KidzMouse, Inc.  - www.KidzMouse.com
  iProduct                2 KidzMouse Optical Mouse
  iSerial                 0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           34
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 M2 ??
    bmAttributes         0xa0
      Remote Wakeup
    MaxPower              100mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         3 Human Interface Devices
      bInterfaceSubClass      1 Boot Interface Subclass
      bInterfaceProtocol      2 Mouse
      iInterface              0
        HID Device Descriptor:
          bLength                 9
          bDescriptorType        33
          bcdHID               1.10
          bCountryCode            0 Not supported
          bNumDescriptors         1
          bDescriptorType        34 Report
          wDescriptorLength      52
         Report Descriptors:
           ** UNAVAILABLE **
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0004  1x 4 bytes
        bInterval              10

Bus 001 Device 001: ID 0000:0000
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               1.10
  bDeviceClass            9 Hub
  bDeviceSubClass         0 Unused
  bDeviceProtocol         0
  bMaxPacketSize0         8
  idVendor           0x0000
  idProduct          0x0000
  bcdDevice            2.06
  iManufacturer           3 Linux 2.6.12 uhci_hcd
  iProduct                2 VIA Technologies, Inc. VT82xxxxx UHCI USB
1.1 Controller
  iSerial                 1 0000:00:10.0
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           25
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xc0
      Self Powered
    MaxPower                0mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           1
      bInterfaceClass         9 Hub
      bInterfaceSubClass      0 Unused
      bInterfaceProtocol      0
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0002  1x 2 bytes
        bInterval             255
Hub Descriptor:
  bLength               9
  bDescriptorType      41
  nNbrPorts             2
  wHubCharacteristic 0x000a
    No power switching (usb 1.0)
    Per-port overcurrent protection
  bPwrOn2PwrGood        1 * 2 milli seconds
  bHubContrCurrent      0 milli Ampere
  DeviceRemovable    0x08
  PortPwrCtrlMask    0x00
 Hub Port Status:
   Port 1: 0000.0100 power
   Port 2: 0000.0303 lowspeed power enable connect



--
Brian Stumm
ETS - Energy Technology Systems, Inc
[EMAIL PROTECTED]
http://energytechnologysystems.com




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to