[linux-usb-devel] Re: Output pc->device with write

2004-08-27 Thread Brad Hards
On Thu, 26 Aug 2004 17:28 pm, bastgiraud wrote: > Hi, > > I work on linux 2.4.20-8 Get a newer kernel. > My project consist in sending and receiving data from device via USB. >Reading from device: NO problem >Writing to device: never successful on linux but works properly on > wind

Re: [linux-usb-devel] Re: Renaming USB HID driver

2004-03-29 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 24 Mar 2004 00:28 am, Marcel Holtmann wrote: > the attached patch should do the renaming everywhere hid or hid.o was > mentioned. It also removes all references to *.o module names. How about the hiddev documentation? -BEGIN PGP SIGNATURE--

Re: [linux-usb-devel] uinput.c

2004-02-29 Thread Brad Hards
On Sun, 29 Feb 2004 19:56 pm, T. Egbert wrote: > I've been looking around for information on how to program to uinput.c > and appreciate the > many pointers I've gotten. So far, I've been able to use uinput.c to > inject keyboard events > into the input system and that all works fine. Now, I'd li

Re: [linux-usb-devel] write access to hid

2004-02-23 Thread Brad Hards
On Mon, 23 Feb 2004 19:30 pm, Gregory Soyez wrote: > do you know if the write access is implemented for HID devices. I have > searched the web but I have only found information concerning reading from > /dev/usb/hiddev*. Is it possible to access it in write mode ? If it is the > case, do I just nee

Re: [linux-usb-devel] CDCEther.c-- urgent!!

2004-02-16 Thread Brad Hards
On Mon, 16 Feb 2004 21:57 pm, Prashanth Acharya wrote: > OK. Thanks for pointing out. I was just testing wheter something like this > will solve the problem. Ideally speaking though, this does not solve my > problem as my modem is supposed to work "out of the box" .. now i would > have to distrib

Re: [linux-usb-devel] CDCEther.c-- urgent!!

2004-02-14 Thread Brad Hards
On Sat, 14 Feb 2004 22:14 pm, Prashanth Acharya wrote: > I have basically narrowed down the problem to this line of code > > version 0.98.6 > // We only try to claim CDC Ethernet model devices */ > static struct usb_device_id CDCEther_ids[] = { > { USB_INTERFACE_INFO(USB_CLASS_COMM, 6, 0

Re: [linux-usb-devel] usb_device_reset

2004-02-07 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 8 Feb 2004 00:42 am, David Monniaux wrote: > I'm afraid the MobilePre is a bit broken with respect to DFU specs. For > instance, it signals its waiting time with the wrong endianness! We have the source code, we can trivially work around this k

Re: [linux-usb-devel] usb_device_reset

2004-02-07 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 7 Feb 2004 03:32 am, David Monniaux wrote: > I thus wrote a DFU firmware downloader. It works (well, it seems to work Is it really DFU class? If so, there is a working firmware loader available, based on libusb. Brad -BEGIN PGP SIGNATURE-

[linux-usb-devel] Re: User space to input.o

2004-02-03 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 4 Feb 2004 02:02 am, T. Egbert wrote: > Brad Hards wrote: > >drivers/input/misc/uinput.c is probably what you want. ... > > Unfortunately, doing a "find" through the source code does't turn up the > "ui

Re: [linux-usb-devel] User space to input.o

2004-02-03 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 3 Feb 2004 17:26 pm, T. Egbert wrote: > As I understand the USB HID input system (in the 2.4 kernel), input.o is > the module that passes input events from producer modules to consumer > modules. I get this from reading "input.txt" and "input-p

Re: [linux-usb-devel] USB Host - To - Host storage?

2004-01-28 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 24 Jan 2004 06:16 am, Erik Dykema wrote: > I would like to know if it would be possible on linux, using a > host-to-host cable, for one machine to act as a storage device for > another machine.  In other words, to have one machine prete

Re: [linux-usb-devel] Re: question on hid usage pages

2004-01-28 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 25 Jan 2004 22:20 pm, Oliver Neukum wrote: > Aren't keys who are advertising themselves in that way according to the > standard declaring themselves not to be keyboards? It seems to me that > such devices should use the system control usage of

Re: [linux-usb-devel] Re: question on hid usage pages

2004-01-27 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 09 Jan 2004 20:12 pm, Vojtech Pavlik wrote: > > I have been notified that there are devices of this type which would > > rather be accessed through hiddev. Reading the usage page specification > > which calls such devices "application specific"

Fwd: Re: [linux-usb-devel] Re: question on hid usage pages

2004-01-26 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sorry, wrong reply option in KMail. - -- Forwarded Message -- Subject: Re: [linux-usb-devel] Re: question on hid usage pages Date: Sun, 25 Jan 2004 22:28 pm From: Brad Hards <[EMAIL PROTECTED]> To: Oliver Neukum <[EMAIL

Re: [linux-usb-devel] Guide to the format of usb sniffs?

2004-01-01 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 02 Jan 2004 16:31 pm, David Findlay wrote: > Ok thanks. I'm basically just trying to figure out how to correlate what I > see in this file, to usb_control_msg's. Is there any danger to my device, a > USB webcam, from sending control messages as

Re: [linux-usb-devel] Guide to the format of usb sniffs?

2004-01-01 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 02 Jan 2004 15:50 pm, David Findlay wrote: > Is there anywhere where I could find a guide to decoding the usb sniffs > from USB Sniff or Snoopy Pro? This is the basic format of the logs I have: They are basically the windows API, which closely

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-09 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 09 Sep 2003 09:41 am, William L. Thomson Jr. wrote: > I tried both with the kernel and modules that RH ships, and with my own > custom kernel from the RH kernel sources. I do have HIDDEV support and > it and others were enabled in the kernel I

Re: [linux-usb-devel] USB kernel driver for APG cash drawer

2003-09-08 Thread Brad Hards
y with the USB HID interface. If not could > > anyone point me in the direction of a how to, so I have a starting > > point. > > Brad Hards has posted some information on how to use the standard > input event support from user-mode Linux programs.  I'd certainly > sugg

Re: [linux-usb-devel] Developing an USB driver

2003-08-14 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 6 Aug 2003 07:39 am, Fernando hualpa wrote: > I am writing you because I want to develop a driver > that manages the communication between 2 computers > using a bidireccional usb 1.0 cable, but i the usb > documentation I have read I find how t

Re: [linux-usb-devel] 2.4, USB floppy with more than one LUN

2003-08-08 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 9 Aug 2003 06:40 am, Olaf Hering wrote: > I got a report about an USB floppy which is detected more than once, > even with 2.4.22-pre7. A workaround would be the max_scsi_luns=1 or > similar. Is there a fix? Quirks (drivers/usb/storage/unusual_

Re: [linux-usb-devel] [bug] Sleeping in disconnect on 2.6.0-test1-ac3

2003-07-29 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 27 Jul 2003 23:45 pm, David Brownell wrote: > --- 1.68/drivers/usb/core/hcd.c Tue Jul 15 09:47:16 2003 > +++ edited/drivers/usb/core/hcd.c Thu Jul 24 23:34:01 2003 > @@ -1319,6 +1319,7 @@ > if (tmp == -EINPROGRESS) >

Re: [linux-usb-devel] hiddev.c - hiddev_write

2003-07-27 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Jul 2003 00:32 am, McGivern, Damien wrote: > Is there a reason why this function has not been implemented? How would you implement it? What would the arguments be? Brad -BEGIN PGP SIGNATURE- Version: GnuPG v1.0.7 (GNU/Linux) iD8DBQ

Re: [linux-usb-devel] Simple write/read example

2003-07-27 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 21 Jul 2003 20:26 pm, McGivern, Damien wrote: > I've search through the list archives and the web but still haven't been > able to find a suitable example for what I need to do. Douglas Roberts had > sort of the same problem as myself last year

[linux-usb-devel] [bug] Sleeping in disconnect on 2.6.0-test1-ac3

2003-07-27 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 If I pull the USB mouse out on a running 2.6.0-test1-ac3 kernel, I get the following debug: usb 1-2: USB disconnect, address 3 Debug: sleeping function called from invalid context at drivers/usb/core/hcd.c:1350 Call Trace: [] __might_sleep+0x5e/0x62

Re: [linux-usb-devel] How do I get a minor number assigned?

2003-07-11 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 12 Jul 2003 04:56 am, Bob Deblier wrote: > On Friday 11 July 2003 17:19, Greg KH wrote: > > On Fri, Jul 11, 2003 at 11:46:46AM +, Bob Deblier wrote: > > > Hi all, > > > > > > A couple of years ago I bought a Dallas Semiconductor 1490 2-in-1

Re: [linux-usb-devel] 2.4.21 usb keyboard and mouse - fails

2003-07-10 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 8 Jul 2003 10:57 am, Karl M. Hegbloom wrote: > I have a Microsoft USB Pro keyboard and USB optical mouse that work > perfectly in 2.4.20 and earlier.  With this latest kernel, however, I > get the errors you'll see in these logs, and the USB sy

Re: [linux-usb-devel] Support for USB Wireless Mobile CommunicationDevices

2003-07-06 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 6 Jul 2003 18:47 pm, Mike Harris wrote: > The existing ACM driver does not bind to the ACM subinterface because: > - It assumes that an ACM device will have a configuration consisting of > only two interfaces (ACM control & data) There is some

Re: [linux-usb-devel] usb magellan spacemouse

2003-06-30 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 30 Jun 2003 15:38 pm, Schlup Rolf RUAG E wrote: > Hi, >I've developed a little application that allows me to control a DIS > entity with a spacemouse. It works fine using the /dev/js0 device. But now > I also need to send commands to the m

Re: [linux-usb-devel] a question about USB device

2003-06-15 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 15 Jun 2003 22:24 pm, [EMAIL PROTECTED] wrote: > I think that I can get the hardware device controller Driver from the > manufacturer of the controller and the Windows Host side should has all > support softwares such as USB Driver, Host Contro

Re: [linux-usb-devel] No "drivers" file in /proc/bus/usb/ with kernel 2.5.70

2003-05-30 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 30 May 2003 10:07 am, Hervé Pagès wrote: > Hi, > > I'm using kernel 2.5.70 and I have configured > it with CONFIG_USB_DEVICEFS=y > > Now if I do a : > ># ls /proc/bus/usb/ > > I only get : > > 001 002 devices > > Shouln't there be a "driv

Re: [linux-usb-devel] Belkin USB KVM

2003-05-29 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 29 May 2003 15:20 pm, Jeremy Huddleston wrote: > I believe I have discovered a bug with linux-usb when using my Belkin > KVM. If I boot into linux just using the hid driver, the mouse fails to > work, but the keyboard works: This really is a s

Re: [linux-usb-devel] Re: [PATCH] Logitech USB mice/trackball extensions

2003-03-25 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 26 Mar 2003 16:54, Brad Hards wrote: > On Wed, 26 Mar 2003 15:09, Eric Wong wrote: > > Greg KH <[EMAIL PROTECTED]> wrote: > > > On Tue, Mar 25, 2003 at 07:03:30PM -0800, Eric Wong wrote: > > > > Oops, ignor

Re: [linux-usb-devel] Re: [PATCH] Logitech USB mice/trackball extensions

2003-03-25 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 26 Mar 2003 15:09, Eric Wong wrote: > Greg KH <[EMAIL PROTECTED]> wrote: > > On Tue, Mar 25, 2003 at 07:03:30PM -0800, Eric Wong wrote: > > > Oops, ignore this part, it's part of a separate patch :) > > > > Can you send me an updated patch? Doi

Re: [linux-usb-devel] cdc-ether.c still wrong

2003-03-25 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 26 Mar 2003 01:41, Benjamin Herrenschmidt wrote: > This code in cdc-ether.c, CDCEther_start_xmit() > 2.5.x current but 2.4 seem wrong too: > > // If we are told to transmit an ethernet frame that fits EXACTLY > // into an integer number of USB

Re: [linux-usb-devel] [patches] CDC Ethernet transfer

2003-03-22 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 22 Mar 2003 18:01, Brad Hards wrote: > cdc-ether-zerolength.patch is the same for 2.5.65 - compile tested, but not > even installed, since you now have the software testing. Grr. But fails to compile. Try the attached one. Brad -BEG

[linux-usb-devel] [patches] CDC Ethernet transfer

2003-03-21 Thread Brad Hards
SIGNATURE- diff -Naur -X dontdiff linux-2.5.65-clean/CREDITS linux-2.5.65/CREDITS --- linux-2.5.65-clean/CREDITS 2003-03-18 08:44:21.0 +1100 +++ linux-2.5.65/CREDITS 2003-03-22 17:39:54.0 +1100 @@ -1210,6 +1210,10 @@ S: Atlanta, Georgia 30332 S: USA +N: Brad Hards +E: [EMAIL PRO

Re: [linux-usb-devel] Re: PIC chip USB Driver - Time To Punt - Apology to Group

2003-02-09 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 9 Feb 2003 05:46, John Homppi wrote: > The HID device interface would appear to be the answer except > the hiddev.c source code for 2.4.20 and 2.5.59 reads: > static ssize_t hiddev_write(.. > { > return -EINVAL; > } You don'

Re: [linux-usb-devel] Re: further proposed small API change

2003-01-16 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 16 Jan 2003 11:18, Oliver Neukum wrote: > No. Does that mean you are volunteering to get me a USB2.0 storage device? Note that the Beanie fund still has cash. If you don't ask, you don't get Brad - -- http://linux.conf.au. 22-25Jan2003. P

Re: Re[2]: [linux-usb-devel] what /dev/input/eventX to use?

2002-12-21 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 22 Dec 2002 09:57, Anton wrote: > While parsing dmesg, should I look for lines > input0: blabla > input1: foobar > and when found my device string, take a number after "input" as event > file number ("input0: blabla" = "/dev/input/e

Re: [linux-usb-devel] what /dev/input/eventX to use?

2002-12-20 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 20 Dec 2002 04:58, Anton wrote: > I have usb keyboard and i need to read events from it with shell script > (evdev module gives /dev/input/event[0|1] file, from which I read with > hexdump). While testing, I found that for the same keyboard the

Re: [linux-usb-devel] Lots of USB devices

2002-11-29 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 29 Nov 2002 23:24, Heinrich du Toit wrote: > But I would possibly like to be able to handle alot more than 16 > devices. Meaning 16 of them on the same driver. This is no problem. > I don't know if I understand the documentation correctly.. Is

Re: [linux-usb-devel] Mounting a Backpack USB HD

2002-11-27 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 28 Nov 2002 08:49, James Amrhein wrote: > Hi, > I've been trying to mount a 60 gig backpack HD under Linux 2.4.18-18 > I have USB and Hotplug running. > The only way I've gotten access to the drive is via : > >

Re: [linux-usb-devel] USB keyboard kernel panic

2002-11-25 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 26 Nov 2002 09:36, Kentropy wrote: > This message is on the host PC, not my target (SA1110 linux-2.4.18-rmk7) > "ksymoops 2.4.1 on i686 2.4.7-10. Options used" Sorry, I didn't pay enough attention to the body of the oops. There might be some c

Re: [linux-usb-devel] USB keyboard kernel panic

2002-11-25 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 26 Nov 2002 05:21, Kentropy wrote: > All the keyboard pounters are NULL becouse unassigned. > Seems that is missing the USB keyboard initialization (kbd_init_hw) > Do I need to write a new driver or should I use an existing one (which one) > ?

Re: [linux-usb-devel] ioctls?

2002-11-19 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 Nov 2002 11:15, Ian Molton wrote: > On Wed, 20 Nov 2002 10:39:45 +1100 > > Brad Hards <[EMAIL PROTECTED]> wrote: > > I'm not the maintainer, but my opinion is that if you have to use > > them, do so. If

Re: [linux-usb-devel] ioctls?

2002-11-19 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 20 Nov 2002 10:02, Greg Herlein wrote: > > > why do people hate IOCTLs ? > > > > Different people hate them for different reasons. There is a lot to hate > > :) Note the smiley. I find ioctl's are good for some things - they are just easy to a

Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-19 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 19 Nov 2002 20:06, Ian Molton wrote: > On Mon, 18 Nov 2002 21:30:29 -0800 > > Greg KH <[EMAIL PROTECTED]> wrote: > > > partly because of comments on this list about it being better than > > > just leaving users to do everything through file i/o

Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-18 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 19 Nov 2002 11:34, Rob Miller wrote: > T: Bus=02 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 3 Spd=12 MxCh= 0 > D: Ver= 1.10 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1 > P: Vendor=06cb ProdID=0003 Rev= 0.11 > S: Manufacturer=Synaptics Inc. >

Re: [linux-usb-devel] Synaptics cPad driver mostly there, now what?

2002-11-18 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 19 Nov 2002 01:29, Rob Miller wrote: > * see the driver: currently at http://www.janerob.com/rob/ts5100/cPad Says: modprobe cpad (you may need to rmmod hid and/or usbmouse) Does it claim to be a HID device? What does /proc/bus/usb/devices sh

Re: [linux-usb-devel] Re: [usb-storage] Re: PATCH: change function signatures and cleanup debug msgs

2002-11-17 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 18 Nov 2002 12:22, Greg KH wrote: > On Sun, Nov 17, 2002 at 04:07:50PM -0800, Matthew Dharm wrote: > > It's a matter of avoiding typecasts everywhere. We get a void*, and > > we send void* on to other places. > > Yeah, looking at struct urb, t

Re: [linux-usb-devel] input_sync vs input_event

2002-11-17 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 18 Nov 2002 13:47, Josh Myer wrote: > Real quick question: what version of 2.5 did we switch to input_sync vs > input_event? I'm going to be submitting my kbgear tablet driver shortly > and i'd like to support both versions from the same file..

Re: [linux-usb-devel] Intro to bulk queuing?

2002-11-13 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 14 Nov 2002 16:25, David Brownell wrote: > Sounds like your CDC hardware isn't as fast as your CATC hardware, or > else the CDC code is doing some strange things to slow transfers down. > You're getting half the throughput you should get on 10B

[linux-usb-devel] Intro to bulk queuing?

2002-11-13 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've run netperf on the CDC ethernet driver, and performance sucks. The CATC USB dongle and my 8039 PCI card get around 7 x 10e6 bits/sec, and my CDC hardware gets about 3.6. This is over a 10Mbps hub. The hardware on the other end is pretty crappy

Re: [linux-usb-devel] getting battery info from logitech wireless usb

2002-11-13 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 13 Nov 2002 18:28, Greg KH wrote: > On Wed, Nov 06, 2002 at 06:04:25PM +1100, Brad Hards wrote: > > There is a cost to this: more minor numbers required for hiddev. > > How many more minor numbers do you think would be need

Re: [linux-usb-devel] CDCEther xmit bug ?

2002-11-12 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 13 Nov 2002 10:58, Alan Cox wrote: > On Tue, 2002-11-12 at 23:19, Benjamin Herrenschmidt wrote: > > In both 2.4 CDCEther.c and 2.5 cdc-ether.c, there is this bit of > > code in the start_xmit function: > > A fix was posted for this a long time

Re: [linux-usb-devel] getting battery info from logitech wireless usb

2002-11-12 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 12 Nov 2002 17:10, Robert Love wrote: > So you think we cannot implement battery status without polling? That is, > uh, gross. The notification comes through on that LED byte: > Field: 2: app: 10002 phys flags 2 (1 usages) unit 0 exp

Re: [linux-usb-devel] getting battery info from logitech wireless usb

2002-11-11 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 6 Nov 2002 17:51, Pete Zaitcev wrote: > > From: Brad Hards <[EMAIL PROTECTED]> > > Date: Wed, 6 Nov 2002 16:48:08 +1100 > > > > > 2. Ask logitech - I have a contact that might work. > > > > Lo

Re: [linux-usb-devel] getting battery info from logitech wireless usb

2002-11-10 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 6 Nov 2002 16:48, Brad Hards wrote: > On Wed, 6 Nov 2002 08:43, Brad Hards wrote: > > So I'd say that the device isn't routinely reporting the battery status, > > and you have to do a vendor specific query to the de

Re: [linux-usb-devel] getting battery info from logitech wireless usb

2002-11-05 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 6 Nov 2002 17:51, Pete Zaitcev wrote: > This is wonderful, however I am concerned that hiddev cannot be > used while input is using hid. This seems a little too limiting. > How am I supposed to implement the applet to indicate the battery > cha

Re: [linux-usb-devel] getting battery info from logitech wireless usb

2002-11-05 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 6 Nov 2002 08:43, Brad Hards wrote: > So I'd say that the device isn't routinely reporting the battery status, > and you have to do a vendor specific query to the device. > > Two options: > 1. Reverse engineer it,

Re: [linux-usb-devel] getting battery info from logitech wireless usb

2002-11-05 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 6 Nov 2002 08:28, Robert Love wrote: > On Tue, 2002-11-05 at 15:26, Brad Hards wrote: > > Try: > > http://www.frogmouth.net/hid-doco/examples/hiddev-misc/dump-events.c > > Let us know what it says. > > The fol

Re: [linux-usb-devel] getting battery info from logitech wireless usb

2002-11-05 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 6 Nov 2002 06:41, Robert Love wrote: > On Tue, 2002-11-05 at 14:36, Pete Zaitcev wrote: > > HID devices deliver all reports. I am sure Vojtech has cute > > proggies to dump the reports, but if everything else fails, > > hid has debugging printo

Re: [linux-usb-devel] Testing Device

2002-11-04 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 5 Nov 2002 14:33, Brandon Philips wrote: > Despite my best efforts I think I have a bug in my software. I have > read the FAQ at http://www.frogmouth.net/hid-doco/linux-hid.html > multiple times but I still don't have a solid grasp on how to g

Re: [linux-usb-devel] Testing Device

2002-11-04 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 4 Nov 2002 22:21, David Rio wrote: > On 3 Nov 2002, Brandon Philips wrote: > > I have developed a HID device with 9 buttons on it for a medical > > application. I wish to use the hiddev interface for the device and it > > seems to be the most

[linux-usb-devel] USB 2 compliance verification devices

2002-11-04 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 With the recent introduction of the usbtest driver, I thought people might be interested in this: http://developer.intel.com/technology/usb/download/Usb2ComplianceDeviceSpec_r10.pdf I'm not sure how much it would help, but it looks fairly flexible, a

Re: [linux-usb-devel] Testing Device

2002-11-03 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 4 Nov 2002 13:19, Brandon Philips wrote: > I have developed a HID device with 9 buttons on it for a medical > application. I wish to use the hiddev interface for the device and it > seems to be the most practical fit. The problem I am having

Re: [linux-usb-devel] whence keybdev? (2.5.44)

2002-10-27 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 28 Oct 2002 04:52, Randy.Dunlap wrote: > Well, I had already looked there and it's not listed there: > > [rddunlap@midway 2.5.44]$ pwd > /lib/modules/2.5.44 > [rddunlap@midway 2.5.44]$ > [rddunlap@midway 2.5.44]$ ls > build@ modules.dep

Re: [linux-usb-devel] whence keybdev? (2.5.44)

2002-10-26 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sun, 27 Oct 2002 16:01, Randy.Dunlap wrote: > When I 'modprobe hid', modprobe responds with: > # modprobe hid > modprobe: Can't locate module keybdev which is needed for hid > > Where does modprobe find this dependency? /lib/modules/$VERSION/modules

[linux-usb-devel] Re: [PATCH] KB Gear JamStudio USB Tablet

2002-10-25 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 25 Oct 2002 17:04, Josh Myer wrote: > Comments highly encouraged, thanks. I'd like to get this driver cleaned up > a little before submitting, but I'm not quite certain where to start. My initial thought is you are missing an input_sync() call

Re: [linux-usb-devel] HID interface request

2002-10-24 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 25 Oct 2002 06:26, Douglas Roberts wrote: > It seems that there are no takers. I was away yesterday - busy. > Does anyone have a suggested reference, or better yet, examples of a > user-space application communicating with hiddev? The examples

[linux-usb-devel] Re: A problem in CDCEther.c

2002-10-22 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Oct 2002 17:08, Vaibhav Madan wrote: > Hi > In the function parse_ethernet_functional_descriptor > > if (ether_dev->wNumberMCFilters & (1 << 15)) { > ether_dev->properties |= PERFECT_FILTERING; > d

Re: [linux-usb-devel] Re: About the vicam driver(s)

2002-10-21 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 22 Oct 2002 08:55, John Tyner wrote: > > The memory should definitely not be allocated when the camera is > > initialized. I think there are a few who would throw a fit if your > > driver was allocating 320*240*3*2 bytes of data (nearly half a

Re: [linux-usb-devel] [PATCH] Change hcd.c to use new CONFIG_USB_HARDENING

2002-10-17 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 18 Oct 2002 03:54, David Brownell wrote: > > And you should also apply this to some other portions of the code, like > > usb_submit_urb(), it has extra checks when CONFIG_USB_DEBUG is enabled. > > Yes, and I suspect there are a few BUG() or BUG

Re: [linux-usb-devel] new patch for configuration change

2002-10-14 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 14 Oct 2002 20:01, [EMAIL PROTECTED] wrote: > Additional questions, may a hub have several configurations ? > May changing a hub's configuration lead to its children being > disconnected ? Must the hub single disconnections to the host > befor

Re: [linux-usb-devel] OHCI problems in latest 2.5 kernels

2002-10-14 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 14 Oct 2002 14:37, David Brownell wrote: > > I'm not getting lockups, but I am seeing this problem. It looks like the > > device/driver "rescan" is dying somewhere. > > This patch addressed at least some of those problems for me. > The driver

Re: [linux-usb-devel] OHCI problems in latest 2.5 kernels

2002-10-13 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 14 Oct 2002 12:58, Brad Hards wrote: > > This is the content of /proc/bus/usb/devices after plugging in one of the > > hubs. Isn't it strange - Cls=hub, Driver=none. > > I'm not getting lockups, but I am seeing thi

Re: [linux-usb-devel] OHCI problems in latest 2.5 kernels

2002-10-13 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 14 Oct 2002 09:50, Lars Doelle wrote: > Now comes the interesting stuff - usbdev-2 with i cite here, additionally: > T: Bus=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=12 MxCh= 2 > B: Alloc= 0/900 us ( 0%), #Int= 0, #Iso= 0 > D: Ver=

Re: [linux-usb-devel] Please help: hid/hiddev/monitor class - useful for usb controlled tvset?

2002-10-13 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Mon, 14 Oct 2002 03:28, Lars Doelle wrote: > I'm currently specifying the comminication protocol for a usb controlled TV > set. It appears as if something along the lines of the monitor class could > be used. It is for channel setting, loudness, po

Re: [linux-usb-devel] Looking for USB passthrough sniffer software

2002-10-10 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 10 Oct 2002 18:56, JoSH Lehan wrote: > Hi! > > I am looking for a USB passthrough sniffer. I have examined the various > software USB sniffers available, but they all seem to only be designed > for sniffing the packet flow between a device an

Re: [linux-usb-devel] Up against a wall

2002-10-09 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 10 Oct 2002 08:47, Douglas Roberts wrote: > Ok, here's the macro: > > #define IS_INPUT_APPLICATION(a) (((a >= 0x0001) && (a <= > 0x00010008)) || (a == 0x00010080) || ( a == 0x000c0001)) > Application 0 is 0xffa1 (Needs to be added) >

Re: [linux-usb-devel] Up against a wall

2002-10-09 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Plain text is fine. Thanks. On Thu, 10 Oct 2002 08:29, Douglas Roberts wrote: > > > > > > > > > Brad Hards wrote: > cite="[EMAIL PROTECTED]"> > > > > >

Re: [linux-usb-devel] Up against a wall

2002-10-09 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 10 Oct 2002 07:26, Douglas Roberts wrote: > Brad Hards wrote: > >>Loading these modules caused the directory hid to be created in > >>/dev/usb, and the device file /dev/usb/hid/hiddev0 to be created (with > >

Re: [linux-usb-devel] Up against a wall

2002-10-09 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Thu, 10 Oct 2002 02:43, Douglas Roberts wrote: > Hi. > > It was suggested to me that you guys could help. I inherited a project > that involves writing a user-space program to communicate with a usb > digital radio. When plugged in, the radio dev

[linux-usb-devel] Re: Patch; linux-2.5.41/drivers/usb/core/hub.c called down() from interrupt context

2002-10-09 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 9 Oct 2002 22:16, Adam J. Richter wrote: > I'm unsure what the preferred approval process is for changes > to drivers/usb/core/hub.c, but I see Brad Hards has the most recent > copyright notice on hub.c, so I'm emaili

Re: [linux-usb-devel] will gcc always cache it?

2002-10-08 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 9 Oct 2002 09:12, Oliver Neukum wrote: > Hi, > > this code > int usb_unlink_urb(struct urb *urb) > { > if (urb && urb->dev && urb->dev->bus && urb->dev->bus->op) > return urb->dev->bus->op->unlink_urb(urb); > else >

Re: [linux-usb-devel] framework for testing usbcore ...

2002-10-01 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 2 Oct 2002 07:50, David Brownell wrote: > >> * Where should the different harness components live? > >> > >>I think one plausible scheme would put the kernel driver into the 2.5 > >>tree, and the other stuff in some linux-usb page at SourceF

Re: [linux-usb-devel] Modification in CDCEther.c

2002-10-01 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 1 Oct 2002 15:20, Vaibhav Madan wrote: > Hi > > In CDCEther.c, line number 316(2.4.19) has a XOR between skb->len and > ether_dev->data_ep_out_size. This check would work only for skb->len which > are equal to ether_dev->data_ep_out_size

Re: [linux-usb-devel] Re: 2.5.26 hotplug failure

2002-09-20 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 21 Sep 2002 09:36, Johannes Erdfelt wrote: > Personally, I've never used /proc/bus/usb/drivers. I've always just > looked at lsmod. > > Why should this be any different? Because lsmod only works for drivers that are modular. Real users mix bui

Re: [linux-usb-devel] Re: 2.5.26 hotplug failure

2002-09-20 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 21 Sep 2002 06:42, David Brownell wrote: > >>I wasn't joking about putting back the /proc/bus/usb/drivers file. This > >> is really going to hurt us in 2.6. > > Considering that the main use of that file that I know about was > implicit (usbfs

Re: [linux-usb-devel] Dymo Labelwriter 320 working !

2002-09-20 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Sat, 21 Sep 2002 02:03, dries wrote: > Hello there, > > Kernel 2.4.18 (Suse 8.0) > > I've recently got a Dymo Labelwriter 320, it is not recognized correctly by > the kernel due to the fact that it reports '0' configurations. The message > 'not eno

Re: [linux-usb-devel] usb deadlock problem (short subject version)

2002-09-19 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 20 Sep 2002 09:38, Mitch Frazier wrote: > Greg KH wrote: > > On Thu, Sep 19, 2002 at 02:30:11PM -0600, Mitch Frazier wrote: > Unfortunately, it appears the reset is needed about half way through the > initialization process. First it download

[linux-usb-devel] Re: 2.5.26 hotplug failure

2002-09-19 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Fri, 20 Sep 2002 02:49, Greg KH wrote: > The main reason is this information is no longer available to the USB > core. It isn't keeping a list of registered drivers anymore, only the > driver core is. So there's no way that usbfs can get to that

Re: [linux-usb-devel] Re: 2.5.26 hotplug failure

2002-09-17 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 18 Sep 2002 16:52, Greg KH wrote: > On Sun, Sep 15, 2002 at 11:53:41PM +0200, Duncan Sands wrote: > > A simple fix is to change the test to [ $COUNT -lt 2 ]; > > Good catch, yes the drivers file disappeared, and until now, almost no > one noti

Re: [linux-usb-devel] zipdrive

2002-09-17 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 18 Sep 2002 10:31, Count Zero wrote: > COMMAND PID USER FD TYPE DEVICE SIZE NODE NAME > fam 4221 root 11r DIR8,4 40962 /mnt/zip250.0/.Trash-zero > fam 4221 root 13r DIR8,4 40965 > /mnt/zip250.0/.Trash-zero/

Re: [linux-usb-devel] zipdrive

2002-09-17 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 18 Sep 2002 10:04, Count Zero wrote: > /etc/fstab looks like: > > /dev/sda4 /mnt/zip250.0 auto > noauto,owner,kudzu 0 0 kudzu maybe? > > umount /dev/sda4 output: > > umount: /mnt/zip250.0: device is busy what does ls

Re: [linux-usb-devel] zipdrive

2002-09-17 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Wed, 18 Sep 2002 08:31, Count Zero wrote: > I looked in all the relevant log files, dmesg didn't output anything and > /var/log/messages* doesn't look helpful either. Is there a way to format > my disks to that i can be sure where the partition is?

Re: [linux-usb-devel] Make linux pretend to be a usb mass storage device

2002-09-17 Thread Brad Hards
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Tue, 17 Sep 2002 23:03, Jan Keirse wrote: > Hello, > > I was just wondering: If you have a laptop, and you have acces to a windows > pc, would it be possible to make the laptop running linux pretend to be a > usb mass storage device (making one dir

Re: [linux-usb-devel] [patch] kaweth driver works on my ethernet card too.

2002-07-23 Thread Brad Hards
On Wed, 24 Jul 2002 08:17, Harm Verhagen wrote: > On Tue, 2002-07-23 at 23:49, Brad Hards wrote: > > On Wed, 24 Jul 2002 07:14, Harm Verhagen wrote: > > > Btw, I'm not sure if its the device or the driver, but the combination > > > is kinda flaky. It usually ru

Re: [linux-usb-devel] [patch] kaweth driver works on my ethernet card too.

2002-07-23 Thread Brad Hards
On Wed, 24 Jul 2002 08:05, Johannes Erdfelt wrote: > On Wed, Jul 24, 2002, Brad Hards <[EMAIL PROTECTED]> wrote: > > On Wed, 24 Jul 2002 07:14, Harm Verhagen wrote: > > > Btw, I'm not sure if its the device or the driver, but the combination > > > is kin

Re: [linux-usb-devel] [patch] kaweth driver works on my ethernet card too.

2002-07-23 Thread Brad Hards
On Wed, 24 Jul 2002 07:14, Harm Verhagen wrote: > Btw, I'm not sure if its the device or the driver, but the combination > is kinda flaky. It usually runs for about 30 minutes, Then it doesn't > respond. Unplugging the device, rmmod,modprobe re-insert the device > makes it work again for about 30

  1   2   3   4   >