Re: ip_reass() - possibly incorrect goto

2005-04-08 Thread Maxim Konovalov
On Thu, 24 Mar 2005, 04:46-0600, Mike Silbersack wrote: > > On Wed, 23 Mar 2005, Maxim Konovalov wrote: > > > On Tue, 22 Mar 2005, 12:08-0800, [EMAIL PROTECTED] wrote: > > > > > Hi hackers, I am looking at the ip_reass() routine. In case of the > > > 1st fragment we create the reassembly queue. Af

Tricky USB device.

2005-04-08 Thread David Gilbert
I've got an "OnTrak" ADU208. It's a USB device that has 8 relays and 8 ttl inputs. The documentation says it uses two interupt endpoints ... one input and one output. It seems to expect small text commands. Now... firstly, uhid is probing it as uhid0: uhid0: www.ontrak.net ADU208 USB Relay I/O

Re: Tricky USB device.

2005-04-08 Thread Maksim Yevmenkin
David, I've got an "OnTrak" ADU208. It's a USB device that has 8 relays and 8 ttl inputs. The documentation says it uses two interupt endpoints ... one input and one output. It seems to expect small text commands. ok Now... firstly, uhid is probing it as uhid0: uhid0: www.ontrak.net ADU208 USB R

Re: Tricky USB device.

2005-04-08 Thread David Gilbert
> "Maksim" == Maksim Yevmenkin <[EMAIL PROTECTED]> writes: >> ... I don't know if this is hindering me. The usbhid* commands >> aren't particularly helpful. The port udesc_dump seems only to >> work on ugen devices ... and ugen doesn't pop up for this device. Maksim> how about getting usb h

Re: Tricky USB device.

2005-04-08 Thread Maksim Yevmenkin
David, ... I don't know if this is hindering me. The usbhid* commands aren't particularly helpful. The port udesc_dump seems only to work on ugen devices ... and ugen doesn't pop up for this device. Maksim> how about getting usb hid descriptor, parsing and dumping it? Maksim> check out libusbhi

Re: Tricky USB device.

2005-04-08 Thread David Gilbert
> "Maksim" == Maksim Yevmenkin <[EMAIL PROTECTED]> writes: Maksim> David, ... I don't know if this is hindering me. The usbhid* commands aren't particularly helpful. The port udesc_dump seems only to work on ugen devices ... and ugen doesn't pop up for this device. >> Maksim>

Re: Tricky USB device.

2005-04-08 Thread Bernd Walter
On Fri, Apr 08, 2005 at 12:56:16PM -0400, David Gilbert wrote: > > "Maksim" == Maksim Yevmenkin <[EMAIL PROTECTED]> writes: > > >> ... I don't know if this is hindering me. The usbhid* commands > >> aren't particularly helpful. The port udesc_dump seems only to > >> work on ugen devices ...

Call for FreeBSD status reports

2005-04-08 Thread Max Laier
All, It's time again for some recapitulation of your FreeBSD activities of the last months. In order to not collided with the preparation of the 5.4 release we extended the cycle from bi-monthly to three months, so this one is open for anything that happend in 2005 until now. Submissions are

Re: Tricky USB device.

2005-04-08 Thread David Gilbert
> "Bernd" == Bernd Walter <[EMAIL PROTECTED]> writes: Bernd> Then it really shouldn't have claimed to be one in the Bernd> interface descriptor :( But the HID specification is more today Bernd> than just _human_ interface. e.g. there are extensions for Bernd> USV, ... [...] Bernd> Has this

Re: Tricky USB device.

2005-04-08 Thread Maksim Yevmenkin
David, Bernd> Then it really shouldn't have claimed to be one in the Bernd> interface descriptor :( But the HID specification is more today Bernd> than just _human_ interface. e.g. there are extensions for Bernd> USV, ... [...] Bernd> Has this device multiple interfaces? e.g. one HID and another

Re: Tricky USB device.

2005-04-08 Thread Bernd Walter
On Fri, Apr 08, 2005 at 03:32:56PM -0700, Maksim Yevmenkin wrote: > hmm... why even use libusb? cant you just "fd = open("/dev/ugen0.1", > O_RDWR);" and then "write(fd, "MK255", 5)" and "read(fd, ...);". note: > here i assume ugen0 is the device. > > >I'm also not entirely clear how/when to use

Re: Tricky USB device.

2005-04-08 Thread Bernd Walter
On Fri, Apr 08, 2005 at 06:12:33PM -0400, David Gilbert wrote: > Bernd> Has this device multiple interfaces? e.g. one HID and another > Bernd> as described. I often thought about getting ugen working at > Bernd> interface level too. > > Here's the output of udesc_dump on it. Right now, using th

Re: Tricky USB device.

2005-04-08 Thread Maksim Yevmenkin
Bernd Walter wrote: On Fri, Apr 08, 2005 at 06:12:33PM -0400, David Gilbert wrote: Bernd> Has this device multiple interfaces? e.g. one HID and another Bernd> as described. I often thought about getting ugen working at Bernd> interface level too. Here's the output of udesc_dump on it. Right now,

Re: Tricky USB device.

2005-04-08 Thread Bernd Walter
On Fri, Apr 08, 2005 at 04:47:43PM -0700, Maksim Yevmenkin wrote: > Bernd Walter wrote: > >On Fri, Apr 08, 2005 at 06:12:33PM -0400, David Gilbert wrote: > > > >>Bernd> Has this device multiple interfaces? e.g. one HID and > >>another Bernd> as described. I often thought about getting ugen > >>wo

Re: Tricky USB device.

2005-04-08 Thread Julian Elischer
Maksim Yevmenkin wrote: Bernd Walter wrote: On Fri, Apr 08, 2005 at 06:12:33PM -0400, David Gilbert wrote: Bernd> Has this device multiple interfaces? e.g. one HID and another Bernd> as described. I often thought about getting ugen working at Bernd> interface level too. Here's the output of udes

Re: Tricky USB device.

2005-04-08 Thread Bernd Walter
On Fri, Apr 08, 2005 at 06:06:30PM -0700, Julian Elischer wrote: > Maksim Yevmenkin wrote: > >Bernd Walter wrote: > >>On Fri, Apr 08, 2005 at 06:12:33PM -0400, David Gilbert wrote: > >>Yes - you must use 1 - there is only one out-endpoint. 0x81 is for > >>receiving data and endpoint 0 is the mandan