[no subject]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I was trying to read raw HID input reports of a laptop touchpad (USB
HID device) using /dev/hidraw* device file. I'm using Ubuntu 10.04 and
looks like hidraw* file is not available for the touchpad. Also my
laptop has a USB HID keyboard and corresponding hidraw file was
successfully created for it at /dev/hidraw0.

Is there any way to enable hidraw driver for the touchpad?

Following is a part of dmesg output with lines related to HID devices:

[    2.001463] usb 3-1.1: new full speed USB device using uhci_hcd and address 3
[    2.125566] usb 3-1.1: configuration #1 chosen from 1 choice
[    2.136714] usbcore: registered new interface driver hiddev
[    2.139772] input: HID 413c:8157 as
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.1/3-1.1:1.0/input/input7
[    2.139843] generic-usb 0003:413C:8157.0001: input,hidraw0: USB HID
v1.11 Keyboard [HID 413c:8157] on usb-0000:00:1a.0-1.1/input0
[    2.139866] usbcore: registered new interface driver usbhid
[    2.139868] usbhid: v2.6:USB HID core driver
[    2.211451] usb 3-1.2: new full speed USB device using uhci_hcd and address 4
[    2.337585] usb 3-1.2: configuration #1 chosen from 1 choice
[    2.343878] input: HID 413c:8158 as
/devices/pci0000:00/0000:00:1a.0/usb3/3-1/3-1.2/3-1.2:1.0/input/input8
[    2.343971] generic-usb 0003:413C:8158.0002: input,hidraw1: USB HID
v1.11 Mouse [HID 413c:8158] on usb-0000:00:1a.0-1.2/input0

>From this output we can see that both keyboard and touchpad
(identified as mouse) devices were detected. Also the last contains a
"hidraw1" string, but file with such name does not exists in /dev/.

Following is usb-devices command output for keyboard and touchpad:

T:  Bus=03 Lev=02 Prnt=02 Port=00 Cnt=01 Dev#=  3 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=413c ProdID=8157 Rev=01.00
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=01 Driver=usbhid

T:  Bus=03 Lev=02 Prnt=02 Port=01 Cnt=02 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs=  1
P:  Vendor=413c ProdID=8158 Rev=01.00
C:  #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=2mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=03(HID  ) Sub=01 Prot=02 Driver=(none)

You can see that "usbhid" driver is used for keyboard, but driver is
none for the touchpad. Actually touchpad works normally, so I think
some USB driver is really used.

Thanks,
Bohdan
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux