[linux-usb-devel] [khk@khk.net: [Patch] New Feature For USB Scanner Driver: IOCTL to query vendor and product ID]

2001-06-07 Thread Karl Heinz Kremer
I sent this a couple of weeks ago and got no response... So I try again. I would really like to see this in the scanner driver, it would make the lifes of all Sane backend programmers a lot easier. What do you think? Karl Heinz - Forwarded message from Karl Heinz Kremer <[EMAIL PROTECTED]> -

Re: [linux-usb-devel] [PATCH] USB Scanner devfs support

2001-06-07 Thread Karl Heinz Kremer
On Thu, Jun 07, 2001 at 04:46:11PM -0700, Greg KH wrote: > On Thu, Jun 07, 2001 at 04:42:45PM -0700, Tom Rini wrote: > > > > I changed that in the version I use but forgot to do that here as well, > > sorry. Want me to re-sent w/o this or can you just edit it out? It would > > be nice if this m

Re: [linux-usb-devel] Make usb quieter during boot

2001-06-07 Thread Greg KH
On Thu, Jun 07, 2001 at 12:18:06PM -0700, Mark McClelland wrote: > Hmm, why not description + version? It seems a bit easier to read, > which translates to less-confusing-to-users, which is good for everyone. I agree. Xavier sent me the following patch that does just that. Look good for every

Re: [linux-usb-devel] Driver for USB ISDN adapter

2001-06-07 Thread Greg KH
On Tue, Jun 05, 2001 at 10:27:22PM +0200, Kai Germaschewski wrote: > The first question is about where to put the source. AFAICS, all USB > drivers are kept in drivers/usb. So I'd suggest to put the USB interface > module there, too. The main part, the extension to the hisax module needs > to be i

Re: [linux-usb-devel] Make usb quieter during boot

2001-06-07 Thread David Brownell
This one's OK by me, though it's "version first" (which I prefer, Mark's example notwithstanding). - Original Message - From: "Greg KH" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, June 07, 2001 2:11 PM Subject: Re: [linux-usb-devel] Make usb quieter during boot > On Th

Re: [linux-usb-devel] [PATCH] USB Scanner devfs support

2001-06-07 Thread Tom Rini
On Thu, Jun 07, 2001 at 11:21:11AM -0400, Pavel Roskin wrote: > I've made a patch for devfs support in USB scanners (against 2.4.5-ac9). > It can be found here: > > http://www.red-bean.com/~proski/linux/scanner-devfs.diff It looks almost like the one I sent a few weeks ago. :) Hopefully this o

Re: [linux-usb-devel] [PATCH] USB Scanner devfs support

2001-06-07 Thread Greg KH
On Thu, Jun 07, 2001 at 03:39:11PM -0700, Tom Rini wrote: > + if (scn->devfs == NULL) > + err("scanner%d: device node registration failed", scn_minor); Make this a "dbg" call, not "err". See all of the people wondering why their printer is giving out kernel error messages when th

Re: [linux-usb-devel] [PATCH] USB Scanner devfs support

2001-06-07 Thread Tom Rini
On Thu, Jun 07, 2001 at 04:25:11PM -0700, Greg KH wrote: > On Thu, Jun 07, 2001 at 03:39:11PM -0700, Tom Rini wrote: > > + if (scn->devfs == NULL) > > + err("scanner%d: device node registration failed", scn_minor); > > Make this a "dbg" call, not "err". See all of the people wonderin

Re: [linux-usb-devel] [PATCH] USB Scanner devfs support

2001-06-07 Thread Tom Rini
On Thu, Jun 07, 2001 at 04:46:11PM -0700, Greg KH wrote: > On Thu, Jun 07, 2001 at 04:42:45PM -0700, Tom Rini wrote: > > > > I changed that in the version I use but forgot to do that here as well, > > sorry. Want me to re-sent w/o this or can you just edit it out? It would > > be nice if this m

Re: [linux-usb-devel] [PATCH] USB Scanner devfs support

2001-06-07 Thread Greg KH
On Thu, Jun 07, 2001 at 04:42:45PM -0700, Tom Rini wrote: > > I changed that in the version I use but forgot to do that here as well, > sorry. Want me to re-sent w/o this or can you just edit it out? It would > be nice if this made it upstream :) That's up to the current maintainer of the USB

Re: [linux-usb-devel] Make usb quieter during boot

2001-06-07 Thread David Brownell
Yes, please. So the patch from xavyer was OK except the version + description string should be info() not dbg () ... that's a simple edit to his patch. Excess chitchat during boot has never been on my list of Good Things ... if we're going with the precedent of the Ethernet drivers, at least let

Re: [linux-usb-devel] Linux 2.4.4 + USB + CPiA Driver

2001-06-07 Thread David Brownell
So Johannes, would you forward my version to Linus? I think I know why Roman's version worked (compiler padded the structure out) but I'd rather not have those values disagree. I'll look at that other patch soon. - Dave - Original Message - From: "Mark McClelland" <[EMAIL PROTECTED]>

Re: [linux-usb-devel] Make usb quieter during boot

2001-06-07 Thread Mark McClelland
David Brownell wrote: >Yes, please. So the patch from xavyer was OK except >the version + description string should be info() not dbg () ... >that's a simple edit to his patch. > Hmm, why not description + version? It seems a bit easier to read, which translates to less-confusing-to-users, whi

Re: [linux-usb-devel] Linux 2.4.4 + USB + CPiA Driver

2001-06-07 Thread Mark McClelland
Roman Weissgaerber wrote: >Umpf, I think I have found the usb-ohci ISOC bug (linux-2.4.5ac7)... > Apparently you did. Your patch works for me, with 2.4.4. David's slightly improved version works as well. Thanks, Roman and David, for fixing this! -- Mark McClelland [EMAIL PROTECTED] 

Re: [linux-usb-devel] Make usb quieter during boot

2001-06-07 Thread Pete Zaitcev
Perhaps I have a special personal axe to grind with those messages, but it is _extremely_ irritating to find that important message disappeared due to dmesg buffer overflow. It happened to me couple of times on servers with quad ppro when I was hunting mptable parsing problems. Of course, running

Re: [linux-usb-devel] Make usb quieter during boot

2001-06-07 Thread Pete Zaitcev
> From: Greg KH <[EMAIL PROTECTED]> > Date: Wed, 6 Jun 2001 22:33:31 -0700 >[...] > No, I would argue against this. I think the modules need to identify > themselves when they are loaded. Exactly like all of the ethernet > drivers do. This was something that was talked about at the Linux 2.5 >

Re: [linux-usb-devel] Linux 2.4.4 + USB + CPiA Driver

2001-06-07 Thread Roman Weissgaerber
David Brownell wrote: > > > And I have also found a bug but it seems it's not the 'right' one > > for this problem: > > > > urb_free_priv () just unmaps the last part (belonging to the last TD) > > of the data buffer. > > I'll have to patch that. Clearly I was thinking I made OHCI do > this the

[linux-usb-devel] [PATCH] USB Scanner devfs support

2001-06-07 Thread Pavel Roskin
Hello, David! I've made a patch for devfs support in USB scanners (against 2.4.5-ac9). It can be found here: http://www.red-bean.com/~proski/linux/scanner-devfs.diff The patch is quite straightforward. The changes have been verified against printer.c and usb-skeleton.c The scanner names will b

Re: [linux-usb-devel] Linux 2.4.4 + USB + CPiA Driver

2001-06-07 Thread David Brownell
That could be it ... it's hidden appropriately, that's for sure! Great catch. The TD structures used for ISO have different alignment requirements than for non-ISO (bigger). But it's not quite sufficient, the pci_pool alignment requirement needs to be increased to 32 also (that's what'll really

Re: [linux-usb-devel] bugs in printer.o in recent 2.4 kernels

2001-06-07 Thread Olaf Hering
On Thu, Jun 07, Olaf Hering wrote: > It happens with 2.4.5-pre1 as shipped with SuSE 7.2-i386, 2.4.6-pre1. > ac9 doesnt boot right now, thats another issue. Ok, thanks to Andries ac9 boots and the printing works fine with it. Gruss Olaf -- $ man clone BUGS Main feature not yet imp

Re: [linux-usb-devel] Linux 2.4.4 + USB + CPiA Driver

2001-06-07 Thread Roman Weissgaerber
Umpf, I think I have found the usb-ohci ISOC bug (linux-2.4.5ac7)... -Roman --- drivers/usb.org/usb-ohci.h Sun Jun 3 13:49:15 2001 +++ drivers/usb/usb-ohci.h Thu Jun 7 16:09:51 2001 @@ -116,7 +116,7 @@ dma_addr_t td_dma; dma_addr_t data_dma; __u32 unused2[2]; -} _

[linux-usb-devel] bugs in printer.o in recent 2.4 kernels

2001-06-07 Thread Olaf Hering
Hi, we have some IBM machines here, they can use USB ethernet via the pegasus driver, but printing via USB locks the machine. Numlock works, but sysrq doesnt work. As soon as it tries to access usblp0 it locks. I have put some relevant files here: http://www.penguinppc.org/~olaf/bugs/usb_printe

Re: [linux-usb-devel] Best Practice regading sending messages/URBs

2001-06-07 Thread Georg Acher
On Thu, Jun 07, 2001 at 10:43:23AM +0100, Jerram, Simon wrote: > > Just a bit of advice really on best practice. > > I'm implementing a device where messages on the control pipe are always > followed > by a response. Going through the usb.c code, usb_control_msg > is a legacy function for back

[linux-usb-devel] hiddev oops

2001-06-07 Thread root
While running a descriptor dump (code attached) on my USB speakers with the hiddev ioctl()s in 2.4.5-ac7, I hit the following oops using JE's UHCI. Repeatable on this HCD, not tried on OHCI or GA's UHCI. >>EIP; Before first symbol Trace; c885d423 <[hid]hiddev_ioctl+293/920> Trace; c019a7

[linux-usb-devel] Re: known usbnet bugs in 2.4.5?

2001-06-07 Thread Pavel Machek
Hi! > > > I got oops with usb-storage and usbnet being used at same time. > > > > > > Oops. Oops was in --get-free-pages(), called from > > > > > > skb-release-data > > > --kfree-skb > > > --kfree-skb > > > usbnet-bh > > > sock-sendpage > > Never seen such a problem. > > > > To follow up mys

[linux-usb-devel] Best Practice regading sending messages/URBs

2001-06-07 Thread Jerram, Simon
Just a bit of advice really on best practice. I'm implementing a device where messages on the control pipe are always followed by a response. Going through the usb.c code, usb_control_msg is a legacy function for backwards compaitibilty. I will also not be able to use this in the context of a

[linux-usb-devel] Re: MCT-232 driver

2001-06-07 Thread Stelian Pop
On Thu, Jun 07, 2001 at 09:55:54AM +0200, Wolfgang Grandegger wrote: > there is actually a patch for the 0711:0230 devices provided by Stelian > Pop which fixes a problem with baudrate selection (see > http://marc.theaimsgroup.com/?l=linux-usb-devel&m=98898501207007&w=2 > and search the linux-us