On Thu, 2007-02-01 at 22:48 -0800, Phil Dibowitz wrote:
> Hey folks,
> 
> I have a USB device that isn't support in linux. So, of course, I've been
> toying with the idea of writing a driver for it.
> 
> It's a Logitech Harmony 880 universal remote. I'm thinking it's probably a
> good candidate for a user-space libusb driver. The way it operates is pretty
> simple: you go to a website, configure how your system is setup, it
> generates a binary file you then download and use the proprietary mac/win
> software to transfer this binary image to the device. The device reloads and
> has it's new configuration.
> 
> So at a relatively blind guess, I'm thinking a few setup commands and a data
> transfer is about all there is to this thing. That is of course without
> having used any USB sniffers or anything.
> 
> Which leads me to my question. I'm not entirely sure where to start. Am I
> right in thinking this is a good candidate for libusb? If so, I've glanced
> at the libusb developers guide, but is there a way to figure out what this
> thing expects? Should I start by trying to get some hardware docs from
> Logitech (who given they supposedly have a linux driver "in the works" I
> suspect is unlikely to give me anything), or is this thing (seemingly)
> simple enough to figure out?
> 
> What's odd is when I plug it in, it declares itself a HID device:
> 
>       bInterfaceClass         3 Human Interface Devices
>       bInterfaceSubClass      0 No Subclass
>       bInterfaceProtocol      0 None
> 
> Feb  1 22:44:04 rider kernel: usb 3-1: new full speed USB device using
> uhci_hcd and address 2
> Feb  1 22:44:05 rider kernel: HID device not claimed by input or hiddev
> Feb  1 22:44:05 rider kernel: usbcore: registered new driver usbhid
> Feb  1 22:44:05 rider kernel: drivers/usb/input/hid-core.c: v2.6:USB HID
> core driver
> 
> I may end up getting some time to poke at this in a month or so, so I
> thought I'd starting thinking/asking about this now...

My guess is that libusb would be the way to go for dealing with this
device.  You may be able to get the HID drivers to tolerate it, though
the USB portion isn't the real key to this guy.  The big key is getting
the user-space stuff to be able to dump the file to it.  IIRC, the
download from the web is in some for of binary blob, that the locally
installed software takes (likely initiated via MIME type) and dumps to
the remote.  Getting Logitech to provide specs or to write that piece of
client software would be great.  If they wrote the dang thing in Java,
at least it would be able to work.  


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier.
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to