Re: reverse-engineering a usb device

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

 



> The buttons on USB devices usually are connected into HID interface. I
> guess that's how your SanDisk card reader button communicates too.

Unfortunately this is not the case.

> If you look at the `lsusb -v` output you'll see how many interfaces that
> it implements. The MSD (Mass Storage Class) is the data channel, which
> normally unrelated to buttons or leds on the device.

My device has only one interface type 08 (mass storage) with two
endpoints type bulk. No interrupt enpoint unfortuantely.

> This page may help you: http://www.frogmouth.net/hid-doco/linux-hid.html

Thanks, I'll check it out.

> Also, your USB endpoints info can be viewed
> in  /sys/class/usb_endpoint/usbdev

I prefer usbview by GregKH.

Thanks,
Chris
-- 
echo mailto: NOSPAM !#$.'<*>'|sed 's. ..'|tr "<*> !#:2" org@fr33z3

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux