[linux-usb-devel] Re: [2.6 patch] drivers/usb/misc/sisusbvga/sisusb.c: remove dead code

2005-11-29 Thread Thomas Winischhofer
re to resend this? Took me also a few seconds to realize that the tool is correct. Nice stuff. Thomas - -- Thomas Winischhofer Vienna/Austria thomas AT winischhofer DOT net *** http://www.winischhofer.net -BEGIN PGP SIGNATURE--

[linux-usb-devel] Re: [2.6 patch] {,un}register_ioctl32_conversion should have been removed last month

2005-05-03 Thread Thomas Winischhofer
COMPAT > #endif > #endif > > > I decided not to drop the SISUSB_OLD_CONFIG_COMPAT code in my patch > because it seems Thomas is sharing this code between different kernel > versions, and a removal might make his life harder for no big win. Exactly. Thanks, Adrian. Thomas

[linux-usb-devel] Re: [PATCH] sisusb: fix arg. types

2005-03-14 Thread Thomas Winischhofer
sisusb.c:1407: warning: passing arg 7 of `sisusb_write_mem_bulk' from incompatible pointer type | | Signed-off-by: Randy Dunlap <[EMAIL PROTECTED]> Signed-off-by: Thomas Winischhofer <[EMAIL PROTECTED]> | | diffstat:= | drivers/usb/misc/sisusbvga/sisusb.c |9 + | 1 files changed, 5 inserti

Re: [linux-usb-devel] Trouble with Floppy+CR combo

2005-02-07 Thread Thomas Winischhofer
illing all unnecessary | daemons, then plugging in the device. If the messages don't show up, | that's a good indicator. They don't. udev not started -> no timeouts. Hm. Since both devices work ok, should we try to continue debugging this? Could this cause any harm? Thomas - -

[linux-usb-devel] Re: SiS USB2VGA kernel patch V1.0.3

2005-01-20 Thread Thomas Winischhofer
into my code here as well. Thanks. Thomas - -- Thomas Winischhofer Vienna/Austria thomas AT winischhofer DOT net http://www.winischhofer.net/ twini AT xfree86 DOT org -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG with Thunderbird -

Re: [linux-usb-devel] SiS USB2VGA kernel patch V1.0.3

2005-01-20 Thread Thomas Winischhofer
be made for such devices and assumes a memory mapped framebuffer. But I am sure I will find a way. Perhaps some sort of "shadow framebuffer" like the X driver uses. We'll see. Thomas - -- Thomas Winischhofer Vienna/Austria thomas AT winischhofer DOT net http://www.winischh

Re: [linux-usb-devel] Re: SiS USB2VGA kernel patch V1.0.2

2005-01-19 Thread Thomas Winischhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Randy.Dunlap wrote: | Thomas Winischhofer wrote: | |> -BEGIN PGP SIGNED MESSAGE- |> Hash: SHA1 |> |> Greg KH wrote: |> | Ah, one more common style fixup that you should fixup: |> | |> | |> |>+static void

[linux-usb-devel] Re: SiS USB2VGA kernel patch V1.0.2

2005-01-19 Thread Thomas Winischhofer
ink you're a bit too picky now? ;) Thomas - -- Thomas Winischhofer Vienna/Austria thomas AT winischhofer DOT net http://www.winischhofer.net/ twini AT xfree86 DOT org -BEGIN PGP SIGNATURE- Version: GnuPG v1.2.5 (GNU/Linux) Comment: Using GnuPG

Re: [linux-usb-devel] SiS USB2VGA kernel patch V1.0

2005-01-19 Thread Thomas Winischhofer
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Alan Stern wrote: | Even though you've already updated the driver, you might like to get some | answers to your questions. | | On Tue, 18 Jan 2005, Thomas Winischhofer wrote: | | |>Is -ECONNRESET only set if the URB is (forcefully) unlinke

Re: [linux-usb-devel] SiS USB2VGA kernel patch V1.0

2005-01-18 Thread Thomas Winischhofer
Greg KH wrote: On Wed, Jan 19, 2005 at 01:14:07AM +0100, Thomas Winischhofer wrote: OK, this one better? if((retval == 0) && timeout) { if(sisusb->urbstatus[index] & SU_URB_BUSY) { add_wait_queue(&sisusb->wait_q, &wait); set_curren

Re: [linux-usb-devel] SiS USB2VGA kernel patch V1.0

2005-01-18 Thread Thomas Winischhofer
/* URB timed out... kill it and report error */ usb_kill_urb(urb); retval = -ETIMEDOUT; } else { /* Otherwise, report urb status */ retval = urb->status; byteswritten = urb->actual_length;

Re: [linux-usb-devel] SiS USB2VGA kernel patch V1.0

2005-01-18 Thread Thomas Winischhofer
Greg KH wrote: On Wed, Jan 19, 2005 at 01:14:07AM +0100, Thomas Winischhofer wrote: OK, this one better? if((retval == 0) && timeout) { if(sisusb->urbstatus[index] & SU_URB_BUSY) { add_wait_queue(&sisusb->wait_q, &wait); set_curren

[linux-usb-devel] Re: SiS USB2VGA kernel patch V1.0

2005-01-18 Thread Thomas Winischhofer
Greg KH wrote: On Tue, Jan 18, 2005 at 05:13:08PM +0100, Thomas Winischhofer wrote: 1) A minor device number has to be allocated and #defined in sisusb.h. Right now, 64 is being used (see "SISUSB_MINOR"). You know that's already a valid reserved minor number, right? That&#

Re: [linux-usb-devel] SiS USB2VGA kernel patch V1.0

2005-01-18 Thread Thomas Winischhofer
;s impossible because the kernel driver has no knowledge of eg. the color depth. How am I supposed to convert (swap) data if I don't know whether I have to deal with 16 or 32 bit data (which is sent as bytes)? Has the net2280 any facility to swap PCI data? Thomas -- Thomas Winischhofer Vienna/

Re: [linux-usb-devel] SiS USB2VGA kernel patch V1.0

2005-01-18 Thread Thomas Winischhofer
works. | | + | + return errno ? errno : bytes_written; | +} | | If you have written you need to say so. Does not really matter for the usermode driver, but ok. Thanks, Thomas - -- Thomas Winischhofer Vienna/Austria thomas AT winischhofer DOT net *** http://www.winischhofer.net

[linux-usb-devel] Re: usb minor request & question

2005-01-07 Thread Thomas Winischhofer
transferable to the USB 2.0 device with one single bulk URB. What is the best way? __dma_alloc_coherent? Anything else? Thanks in advance, Thomas - -- Thomas Winischhofer Vienna/Austria thomas AT winischhofer DOT net *** http://www.winischhofer.net twini AT xfree86 DOT org -

[linux-usb-devel] Re: USB-OHCI + USB broken in 2.4.14/15pre2?

2001-11-19 Thread Thomas Winischhofer
1 USB controller) Thomas -- Thomas Winischhofer Vienna/Austria Check it out: mailto:[EMAIL PROTECTED] *** http://www.webit.com/tw ___ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforg

[linux-usb-devel] Re: USB-OHCI + USB broken in 2.4.14/15pre2?

2001-11-18 Thread Thomas Winischhofer
Thomas Winischhofer wrote: > > Kiitos/tack; however, to make it actually work on my particular machine > I needed to > > 1) call hc_restart(ohci) in default section of switch statement AND > > 2) like you said, insert "pci_enable_device(dev);" ri

[linux-usb-devel] FW: USB-OHCI + USB broken in 2.4.14/15pre2?

2001-11-18 Thread Thomas Winischhofer
unknown) AC power As you can see, the APIC error still shows up in the log, although AFTER hub.c says that it found a hub a the ports (ie. after re-initialization). Wondering what "TD leak, 1" means...? I think this is more a dirty work-around than an appropriate solution; or is it