[linux-usb-devel] Thoughts on a new driver

2007-02-01 Thread Phil Dibowitz
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

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-02 Thread Jiri Kosina
On Thu, 1 Feb 2007, Phil Dibowitz wrote: > 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 f

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-02 Thread David Hollis
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

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-02 Thread Pete Zaitcev
On Thu, 01 Feb 2007 22:48:02 -0800, Phil Dibowitz <[EMAIL PROTECTED]> wrote: > 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. This probably is true,

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-03 Thread Phil Dibowitz
Pete Zaitcev wrote: > On Thu, 01 Feb 2007 22:48:02 -0800, Phil Dibowitz <[EMAIL PROTECTED]> wrote: > >> 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 anythin

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-04 Thread Phil Dibowitz
Jiri Kosina wrote: > On Thu, 1 Feb 2007, Phil Dibowitz wrote: > >> 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

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-05 Thread Jiri Kosina
On Fri, 2 Feb 2007, Pete Zaitcev wrote: > > 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? > Very likely so, however you'd need to unbind hid through an echo to a > sysfs file. I can never remember how it works

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-05 Thread Phil Dibowitz
Jiri Kosina wrote: > On Fri, 2 Feb 2007, Pete Zaitcev wrote: > >>> 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? >> Very likely so, however you'd need to unbind hid through an echo to a >> sysfs file. I can ne

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-05 Thread Greg KH
On Thu, Feb 01, 2007 at 10:48:02PM -0800, Phil Dibowitz wrote: > 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 The reason this is, i

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-17 Thread Phil Dibowitz
Greg KH wrote: > On Thu, Feb 01, 2007 at 10:48:02PM -0800, Phil Dibowitz wrote: >> 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 >

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-17 Thread Greg KH
On Sat, Feb 17, 2007 at 05:15:57PM -0800, Phil Dibowitz wrote: > > Anyway - in doing some research it looks like USBSnoppy and SnoopyPro are > the standard USB Sniffers for trying to reverse-engineer a USB device from > windows... but I don't see a Mac OS X equivalent. I have the remote working >

Re: [linux-usb-devel] Thoughts on a new driver

2007-02-19 Thread Sven Anders
Greg KH schrieb: > On Sat, Feb 17, 2007 at 05:15:57PM -0800, Phil Dibowitz wrote: >> Anyway - in doing some research it looks like USBSnoppy and SnoopyPro are >> the standard USB Sniffers for trying to reverse-engineer a USB device from >> windows... but I don't see a Mac OS X equivalent. I have th

Re: [linux-usb-devel] Thoughts on a new driver

2007-03-06 Thread Phil Dibowitz
I got a friend with the same device to USBSnoopy the device in windows and send me the logs... the problem is... I don't know how to read them. They're binary files. Is there a linux viewer to read the logs and see what USB commands its sending..? I searched around and found usb-robot which will t

Re: [linux-usb-devel] Thoughts on a new driver

2007-03-07 Thread Bjorge Dijkstra
Phil Dibowitz wrote: > I got a friend with the same device to USBSnoopy the device in windows and > send me the logs... the problem is... I don't know how to read them. They're > binary files. > > Is there a linux viewer to read the logs and see what USB commands its > sending..? I searched around

Re: [linux-usb-devel] Thoughts on a new driver

2007-03-07 Thread Alan Stern
On Tue, 6 Mar 2007, Phil Dibowitz wrote: > I got a friend with the same device to USBSnoopy the device in windows and > send me the logs... the problem is... I don't know how to read them. They're > binary files. > > Is there a linux viewer to read the logs and see what USB commands its > sending

Re: [linux-usb-devel] Thoughts on a new driver

2007-03-10 Thread Phil Dibowitz
Bjorge Dijkstra wrote: > Phil Dibowitz wrote: >> I got a friend with the same device to USBSnoopy the device in windows >> and >> send me the logs... the problem is... I don't know how to read them. >> They're >> binary files. >> >> Is there a linux viewer to read the logs and see what USB commands