Re: [linux-usb-devel] [patch] usb video class support

2007-03-22 Thread Paulo Marques
been using the driver with success for a while now, so it should certainly be useful for a larger audience. -- Paulo Marques - www.grupopie.com "You're just jealous because the voices only talk to me." - Ta

Re: [linux-usb-devel] [patch] usb video class support

2007-03-20 Thread Paulo Marques
\ > + __u8 baInterfaceNr[n]; \ > +} __attribute__ ((packed)) > + > +#endif ^^ I just noticed this: why is everything below this point declared outside "#ifndef __LINUX_USB_VIDEO_H" ? That will produce double definition

Re: [linux-usb-devel] [patch] usb video class support

2007-03-19 Thread Paulo Marques
aware of all the owrk done by Laurent Pinchart at: http://linux-uvc.berlios.de/ ??? If this based on the same driver? -- Paulo Marques - www.grupopie.com "Don't hit a man when he's down -- kick him; it's easier." ---

Re: [linux-usb-devel] problem with full-speed devices on high-speed hub with EHCI

2006-07-03 Thread Paulo Marques
o re-initialize things to line settings that you don't expect, > every time the port is opened, so 'cat' might not work. Shouldn't this be considered a bug? If it is not a bug then what's the point of having a stty program at all? Am I missing something? -- Paulo Marqu

Re: [linux-usb-devel] problem with full-speed devices on high-speed hub with EHCI

2006-07-03 Thread Paulo Marques
Paulo Marques wrote: >[...] > Anyway, I'll be testing with the latest 2.6.17-git21 and there is a new > USB_EHCI_TT_NEWSCHED that seems to address exactly this problem. I'll > report again after the tests. Done. I'm pleased to report that with t

Re: [linux-usb-devel] problem with full-speed devices on high-speed hub with EHCI

2006-07-03 Thread Paulo Marques
David Brownell wrote: > On Friday 30 June 2006 10:14 am, Paulo Marques wrote: > >> However, using the EHCI controller gives a lot of errors running this >> simple script: > > This is with 2.6.17-git, I hope? This was with the latest stable, 2.6.17.2. I can't

[linux-usb-devel] problem with full-speed devices on high-speed hub with EHCI

2006-06-30 Thread Paulo Marques
e error when running the above script. I attached the .config compressed with the awk script that Chuck Ebbert sent today to LKML. I have the setup ready to test any patches, suggestions, etc., that you might have. Any help will be greatly appreciated. Thanks in advance, -- P

Re: [linux-usb-devel] printer driver problem

2006-06-28 Thread Paulo Marques
o with USB, however. The USB part seems to be working fine as the Deskjet 840C prints correctly. Check http://www.linuxprinting.org for more info. I hope this helps, -- Paulo Marques - www.grupopie.com Pointy-Haired Boss: I don't see anything that could stand in our way. D

Re: [linux-usb-devel] Re: ftdi_sio hungs under heavy receive traffic at 3000000 baud

2005-11-18 Thread Paulo Marques
Ian Abbott wrote: On 25/10/2005 19:10, Paulo Marques wrote: I'll do some more tests with a more recent kernel, to try to get more debug information... Good luck! Its been a long time, but I just wanted to send the info I found to finish up this thread and have this archived for f

Re: [linux-usb-devel] Re: ftdi_sio hungs under heavy receive traffic at 3000000 baud

2005-10-25 Thread Paulo Marques
Ian Abbott wrote: On 28/09/2005 18:24, Paulo Marques wrote: If my math is correct, these 2 entries are taking 46Mb + 30Mb -> 76Mb on a computer that has only 112Mb available for the entire system. So something is eating memory away like crazy. Is there a known problem with this driver?

Re: [linux-usb-devel] AX88772 based adapter stops receiving in kernel 2.6.13

2005-09-05 Thread Paulo Marques
than the one I generate myself. Maybe there is some broadcast packet that the adapter is receiving that is making it go berserk, and that would explain the random nature of the lockups... -- Paulo Marques - www.grupopie.com The rule is perfect: in all matters of opinion our adversaries are ins

Re: [linux-usb-devel] AX88772 based adapter stops receiving in kernel 2.6.13

2005-09-02 Thread Paulo Marques
Paulo Marques wrote: [...] Using the driver in kernel 2.6.13 sometimes the adapter just stops receiving. Unplugging / re-plugging makes it work again. The time it takes to stop working can go from a few seconds to a few minutes, but is not consistent. I would say the average is about 20

[linux-usb-devel] AX88772 based adapter stops receiving in kernel 2.6.13

2005-09-01 Thread Paulo Marques
test? Or is there more debug information I can provide? Any help would be greatly appreciated, -- Paulo Marques Software Development Department - Grupo PIE, S.A. Phone: +351 252 290600, Fax: +351 252 290601 Web: www.grupopie.com It is a mistake to think you can solve any

Re: [linux-usb-devel] [PATCH] USB: add modalias sysfs file for usb devices

2005-05-18 Thread Paulo Marques
Greg KH wrote: On Tue, May 17, 2005 at 12:40:03PM +0100, Paulo Marques wrote: Greg KH wrote: [PATCH] USB: add modalias sysfs file for usb devices Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> What about this attached patch instead? IMHO it makes more obvious that the first part

Re: [linux-usb-devel] [PATCH] USB: add modalias sysfs file for usb devices

2005-05-17 Thread Paulo Marques
onally equivalent and it produces a .o file 56 bytes smaller on i386. I tested it and it seems to work. -- Paulo Marques - www.grupopie.com An expert is a person who has made all the mistakes that can be made in a very narrow field. Niels Bohr (1885 - 1962) --- ./drivers/usb/core/sysfs.c.orig 2005

Re: [linux-usb-devel] USB PIC16C745

2005-05-16 Thread Paulo Marques
ulk.timeout = 1000; ioctl(fd, USBDEVFS_CLAIMINTERFACE, *inter); ^^ I think you missed the obvious bug. You don't pass the value, you pass the pointer. So something like: >> ioctl(fd, USBDEVFS_CLAIMINTERFACE, &interface); should do the trick. I

Re: [linux-usb-devel] Data corruption on usb key

2005-05-04 Thread Paulo Marques
eal pain. Any idea ? Will 2.6.12 provide a solution ? I think you should drop the "sync" flag from fstab now that the rest is working... -- Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke

Re: [linux-usb-devel] Generic Serial Driver for USB or other

2005-04-11 Thread Paulo Marques
uot;man termios". I hope this helps, -- Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797) --- SF email is sponsored by - The IT Product Guide Read honest

Re: [linux-usb-devel] Re: [PATCH] make usb strings static [0/3]

2005-02-25 Thread Paulo Marques
kfree(cf->string); cf->string = NULL; } or, unconditionally: kfree(cf->string); cf->string = NULL; [/minor nitpick] -- Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing.

Re: [linux-usb-devel] Re: mtouchusb coordinates - raw vs. hw-calibrated

2005-02-18 Thread Paulo Marques
e better of if I just join that project instead. Thanks for the tip, -- Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797) --- SF email is sponsored by - The IT Pr

[linux-usb-devel] Re: mtouchusb coordinates - raw vs. hw-calibrated

2005-02-17 Thread Paulo Marques
r , and so on. We were trying to have a standard way to access touchscreens. I'm starting to work on a "libtouch" library that would handle calibration, filtering, etc., so that we could have a standard API that both X and non-X (framebuffer, directFB) applications could use. You

Re: [linux-usb-devel] Re: calibrate a touchscreen via evdev?

2005-02-17 Thread Paulo Marques
don't agree with some of the points above, please state your points clearly. -- Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797) --- SF email is sponsored

Re: [linux-usb-devel] Re: calibrate a touchscreen via evdev?

2005-02-17 Thread Paulo Marques
d. The conclusion was that we needed a nice user space library to provide this kind of services (calibration, filtering, etc.), so that applications that worked with touchscreens could have more specific API than the generic one provided by the input layer. -- Paulo Marques - www.grupopie.com All

Re: [linux-usb-devel] g_file_storage with device RAM

2005-02-14 Thread Paulo Marques
Windows or Linux) without any special handling, and read the images as separate files. It would all "just work". -- Paulo Marques Software Development Department - Grupo PIE, S.A. Phone: +351 252 290600, Fax: +351 252 290601 Web: www.grupopie.com All that i

Re: [linux-usb-devel] g_file_storage with device RAM

2005-02-14 Thread Paulo Marques
pplication, you might consider using FUSE to provide a "filesystem" from a userspace deamon. This will probably have some overhead, but it might not be noticeable in the end. -- Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing.

Re: [linux-usb-devel] USB "CMDrive" - unneeded Protocol entry in unusual_devs.h

2005-02-03 Thread Paulo Marques
y for the kernel to tell those devices appart... :( -- Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797) --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Rep

[linux-usb-devel] [PATCH 2.6.10-rc2] add PID to ftdi_sio.c

2004-11-16 Thread Paulo Marques
a lot of suspicious looking entries in these arrays that seem to use the wrong macro (USB_DEVICE vs USB_DEVICE_VER). I can build a patch to correct them, but I didn't want to do two things in one patch) Signed-Off by: Paulo Marques <[EMAIL PROTECTED]> -- Paulo Marques - www.grupopie

Re: [linux-usb-devel] New USB Device

2004-11-03 Thread Paulo Marques
e and complies with the protocol, it will work without any kernel changes. -- Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797) --- This SF.Net email is sponsor

Re: [linux-usb-devel] stupid answer of the day

2004-10-28 Thread Paulo Marques
I only have to put in an extra Id in one of the existing drivers, or write one (hopefully not ;-)). Besides opening up the device and looking at the chip, you can always try one driver at a time until one of them works... -- Paulo Marques - www.grupopie.com All that is necessary for the triumph

Re: [linux-usb-devel] [PATCH]uhci-hcd; lets gcc 3.2.3 reduce codesize by > 50 bytes

2004-10-20 Thread Paulo Marques
patch seems better than changing everything into unsigned values, so you have my aproval (not that you needed it, anyway) :) -- Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797) -

Re: [linux-usb-devel] [PATCH]uhci-hcd; lets gcc 3.2.3 reduce codesize by > 50 bytes

2004-10-15 Thread Paulo Marques
ting the patch, so those were just my 2 cents -- Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil is that good men do nothing. Edmund Burke (1729 - 1797) --- This SF.net email is sponsored by: IT Product Guide on ITMan

Re: [linux-usb-devel] [PATCH]uhci-hcd; lets gcc 3.2.3 reduce codesize by > 50 bytes

2004-10-15 Thread Paulo Marques
rsion, it will. This does not that I'm antecipating any change in UHCI_NUMFRAMES. Is just that, as a general rule, I really prefer to let the compiler do the low-level optimizations to improve code maintenance. -- Paulo Marques - www.grupopie.com All that is necessary for the triumph of evil

Re: [linux-usb-devel] [PATCH] usb: extract sensible strings from buggy string descriptors

2004-09-24 Thread Paulo Marques
way, so people who write descriptors in those languages have to build good hardware :) -- Paulo Marques - www.grupopie.com To err is human, but to really foul things up requires a computer. Farmers' Almanac, 1978 --- This SF.Net email is sponsor

Re: [linux-usb-devel] String descriptors with length and type zero, but valid data

2004-09-23 Thread Paulo Marques
b!o!x!!!", etc. I'm really sorry about the noise, then :( -- Paulo Marques - www.grupopie.com To err is human, but to really foul things up requires a computer. Farmers' Almanac, 1978 --- This SF.Net email is sponsored by: YOU

Re: [linux-usb-devel] String descriptors with length and type zero, but valid data

2004-09-23 Thread Paulo Marques
he length field could keep its meaning, etc. This means that Microsoft had to choose the non-standard, stupidest path :) Just my 2 cents, -- Paulo Marques - www.grupopie.com To err is human, but to really foul things up requires a computer. Farmers' Almanac, 1978

Re: [linux-usb-devel] problem accessing a nikon coolpix 4300..

2004-09-09 Thread Paulo Marques
W) and then add something like: if(us->flags & US_FL_SLOW) mdelay(1); in the same place you suggested, so that these cameras can work without external patches? TIA, -- Paulo Marques - www.grupopie.com To err is human, but to really foul things up requires a

[linux-usb-devel] Re: pwc+pwcx is not illegal

2004-08-27 Thread Paulo Marques
Albert Cahalan wrote: Paulo Marques writes: About the legal aspects of all this, they have been discussed extensively in the past. It is not about "hey this is just a simple hook", it is all about the derived work concept. This driver does absolutely nothing outside the kernel. It'

[linux-usb-devel] [2.6.6] MTU 1536 in pegasus.c

2004-06-04 Thread Paulo Marques
is the bug? Is the pegasus driver reporting incorrectly that it can handle an MTU of 1536, when in fact it can't, or is the samba server confused with an MTU different from 1500? P.S. - I really don't have time to debug this further at the present time, but I can give it a go next

Re: [linux-usb-devel] Sony HC-85 Handycamm on linux

2004-04-28 Thread Paulo Marques
Rajesh Kumble Nayak wrote: On Wed, 2004-04-28 at 15:30, Paulo Marques wrote: - remove your line and leave Klaus Mueller's line as it was - your handycam seems to fail the INQUIRY message. you can try to add US_FL_FIX_INQUIRY to the list of flags. I added this flag. Same still no su

Re: [linux-usb-devel] Sony HC-85 Handycamm on linux

2004-04-28 Thread Paulo Marques
r, you should try to increase it afterwards if it works I hope this helps, -- Paulo Marques - www.grupopie.com "In a world without walls and fences who needs windows and gates?" --- This SF.Net email is sponsored by: Oracle 10g Get

Re: [linux-usb-devel] drivers/usb/serial/ftdi_sio.c: Error unlinking read urb

2004-04-26 Thread Paulo Marques
can produce something usefull. -- Paulo Marques - www.grupopie.com "In a world without walls and fences who needs windows and gates?" --- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE

Re: [linux-usb-devel] unneeded Protcol entry in unusual_devs.h

2004-04-15 Thread Paulo Marques
ered enough) :) This camera has 2 diferent models with the same vendor/product ID. One that needs the entry, and another that doesn't need it. We are in the process of fixing the driver, so that it stops complaining about this device. Probably the next kernel version (2.6.6?) will stop compla

Re: [linux-usb-devel] PATCH: (as248) Special handling for Casio QV unusual_devs entry

2004-04-15 Thread Paulo Marques
It is not tested (I don't have one of those cameras) but at least compiles :) This is against 2.6.5 vanilla. -- Paulo Marques- www.grupopie.com "In a world without walls and fences who needs windows and gates?" diff -uprN -X dontdiff linux-vanilla/drivers/usb/storage/unusual_de

Re: [linux-usb-devel] [PATCH 2.4] ftdi_sio.c: not unlinking urb on ftdi_close

2004-03-25 Thread Paulo Marques
Pete Zaitcev wrote: On Thu, 25 Mar 2004 12:04:35 + Paulo Marques <[EMAIL PROTECTED]> wrote: This patch fixes a bug in ftdi_sio.c where the driver wouldn't unlink the read urb if the user application cleared the HUPCL flag on termios->c_cflag. Looks fine, except that the dep

[linux-usb-devel] [PATCH 2.4] ftdi_sio.c: not unlinking urb on ftdi_close

2004-03-25 Thread Paulo Marques
This patch fixes a bug in ftdi_sio.c where the driver wouldn't unlink the read urb if the user application cleared the HUPCL flag on termios->c_cflag. It applies cleanly against kernel 2.4.26-pre1. -- Paulo Marques - www.grupopie.com "In a world without walls and fences who need

Re: [PATCH 2.6] Re: [linux-usb-devel] ftdi_open: error -22

2004-03-24 Thread Paulo Marques
Paulo Marques wrote: Oliver Neukum wrote: On Wednesday 24 March 2004 19:52, Paulo Marques wrote: Ok, done. The EINVAL is being returned from the usb_submit_urb in urb.c because urb->hcpriv is not NULL. OK. This means that the URB is not unlinked. Possibly unlinking in close() is fail

[PATCH 2.6] Re: [linux-usb-devel] ftdi_open: error -22

2004-03-24 Thread Paulo Marques
Oliver Neukum wrote: On Wednesday 24 March 2004 19:52, Paulo Marques wrote: Ok, done. The EINVAL is being returned from the usb_submit_urb in urb.c because urb->hcpriv is not NULL. OK. This means that the URB is not unlinked. Possibly unlinking in close() is failing. Could you go to sta

Re: [linux-usb-devel] ftdi_open: error -22

2004-03-24 Thread Paulo Marques
rom the usb_submit_urb in urb.c because urb->hcpriv is not NULL. -- Paulo Marques - www.grupopie.com "In a world without walls and fences who needs windows and gates?" --- This SF.Net email is sponsored by: IBM Linux Tutorials F

Re: [linux-usb-devel] ftdi_open: error -22

2004-03-24 Thread Paulo Marques
Oliver Neukum wrote: On Wednesday 24 March 2004 17:05, Paulo Marques wrote: Hi, There is some race condition on the ftdi_sio.c usb serial driver. I was having problems with an application, so I did the smallest test program that would trigger the bug: int main(int argc,char *argv[]) { int

[linux-usb-devel] ftdi_open: error -22

2004-03-24 Thread Paulo Marques
W error -22 is "EINVAL" (Invalid arguments) I'll try to debug this further, but if anyone as any idea as to why this can happen I'd be glad to know about it :) Best regards, -- Paulo Marques - www.grupopie.com "In a world without walls and fences who needs windows and ga

Re: [linux-usb-devel] [PATCH]DMA to stack in ftdi driver

2004-03-23 Thread Paulo Marques
[EMAIL PROTECTED] wrote: On Tue, 23 Mar 2004, Paulo Marques wrote: This might break the code on line 1802: if (change_speed(port)) { err("%s urb failed to set baurdrate", __FUNCTION__); Was this an oversight, or is it intended (am I missing something)? Yes, x < 0 implies th

Re: [linux-usb-devel] [PATCH]DMA to stack in ftdi driver

2004-03-23 Thread Paulo Marques
1802: if (change_speed(port)) { err("%s urb failed to set baurdrate", __FUNCTION__); Was this an oversight, or is it intended (am I missing something)? Best regards, -- Paulo Marques - www.grupopie.com "In a world without w

Re: [linux-usb-devel] USB keyboard not properly initialized on boot

2004-03-22 Thread Paulo Marques
n the boot menu with USB legacy off. -- Paulo Marques - www.grupopie.com "In a world without walls and fences who needs windows and gates?" --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by

[linux-usb-devel] [PATCH] usblp.c (Was: usblp_write spins forever after an error)

2004-03-05 Thread Paulo Marques
Paulo Marques wrote: David Woodhouse wrote: On Thu, 2004-03-04 at 12:33 +, Paulo Marques wrote: Yes, unfortunately it did went into 2.6.4-rc1. However it is already corrected in 2.6.4-rc2. Luckily it didn't went into any "non-rc" official release. Please try 2.6.4-rc2, a

Re: [linux-usb-devel] Re: [BUG] usblp_write spins forever after an error

2004-03-05 Thread Paulo Marques
David Woodhouse wrote: On Thu, 2004-03-04 at 12:33 +, Paulo Marques wrote: Yes, unfortunately it did went into 2.6.4-rc1. However it is already corrected in 2.6.4-rc2. Luckily it didn't went into any "non-rc" official release. Please try 2.6.4-rc2, and check to see if th

Re: [linux-usb-devel] Re: [BUG] usblp_write spins forever after an error

2004-03-04 Thread Paulo Marques
David Woodhouse wrote: On Mon, 2004-02-16 at 15:16 +, Paulo Marques wrote: This patch corrected a problem for me, that happened when a printer presents an out-of-paper status while printing a document. The driver would send endless garbage to the printer. This patch went in to 2.6.4-rc1

Re: [linux-usb-devel] Re: [BK PATCH] USB update for 2.6.3

2004-02-20 Thread Paulo Marques
Andy Lutomirski wrote: Greg KH wrote: Paulo Marques: o USB: fix usblp.c Unless I'm missing something, this won't fix the usblp_write spinning bug I hit. If it helps, I can try to reproduce it with some debugging code attached. That is why on our latest thread about this I requ

Re: [linux-usb-devel] Re: [BUG] usblp_write spins forever after an error

2004-02-16 Thread Paulo Marques
while printing a document. The driver would send endless garbage to the printer. I hope this helps, -- Paulo Marques - www.grupopie.com "In a world without walls and fences who needs windows and gates?" --- drivers/usb/class/usblp.c.orig 2004-02-09 14:46:27.0 + +++ drivers/us

[linux-usb-devel] "pegasus.c: intr status -84" during network load

2004-02-09 Thread Paulo Marques
ms to be noticeably affected either. Is this warning a symptom of something wrong on a lower level, or can we just ignore this warning and patch it away? -- Paulo Marques Software Development Department - Restinfor, Lda. Phone: +351 252 290600, Fax: +351 252 290601 Web: www.grupopie.com "

Re: [linux-usb-devel] Re: [PATCH 2.6.0] USB pusblp.c

2004-02-09 Thread Paulo Marques
Greg KH wrote: On Tue, Dec 30, 2003 at 07:10:51PM +, Paulo Marques wrote: Greg KH wrote: Hm, this patch is linewrapped or something, and can't be applied. Can you try to send it again so that it doesn't get mangled? Sorry about that. I'm sending it attached this time to

Re: [linux-usb-devel] host-to-to communication without usbnet

2004-02-03 Thread Paulo Marques
->serial adapters (with chips like FTDI, or pl2303) and connect them together in a null-modem cable configuration. Some of these chips can go up to 3Mbit/s. Of course a usbnet device can go higher than this, but if you want a serial port that is what you get :) I hope this helps, -- Pa

Re: [linux-usb-devel] pl2303 question

2004-02-02 Thread Paulo Marques
loaded it, so I'm sure the server is working) It also as a "Linux driver" on the download page, that is a driver written a million years ago by prolific. I think (although I'm not sure) that the original drivers for Linux were written based on the one from prolific, but Gr

Re: [linux-usb-devel] Re: [usb-storage] PATCH: fix mode-sense handling for 10-byte commands

2004-01-13 Thread Paulo Marques
es unaligned accesses, it pays a performance penalty to do so. -- Paulo Marques Software Development Department - Restinfor, Lda. Phone: +351 252 290600, Fax: +351 252 290601 Web: www.grupopie.com "In a world without walls and fences who needs windows and gates?" -

[linux-usb-devel] [PATCH 2.6.0] add another PID to ftdi_sio

2003-12-30 Thread Paulo Marques
This patch adds a new product ID to the list of devices using the FTDI232BM chip. It applies cleanly against vanilla 2.6.0. -- Paulo Marques - www.grupopie.com "In a world without walls and fences who needs windows and gates?" diff -urN -X dontdiff vanilla/drivers/usb/serial/ftdi_si

Re: [linux-usb-devel] Re: [PATCH 2.6.0] USB pusblp.c

2003-12-30 Thread Paulo Marques
Greg KH wrote: Hm, this patch is linewrapped or something, and can't be applied. Can you try to send it again so that it doesn't get mangled? Sorry about that. I'm sending it attached this time to avoid the mess :) -- Paulo Marques - www.grupopie.com "In a world without

[linux-usb-devel] [PATCH 2.6.0] USB pusblp.c

2003-12-30 Thread Paulo Marques
the bug goes away (tested). -- Paulo Marques - www.grupopie.com "In a world without walls and fences who needs windows and gates?" --- drivers/usb/class/usblp.ori Tue Dec 30 18:52:19 2003 +++ drivers/usb/class/usblp.c Tue Dec 30 18:53:31 2003 @@ -603,14 +603,14 @@ { DECLARE_WAIT

Re: [linux-usb-devel] pl2303 driver with "dumb" devices

2003-12-15 Thread Paulo Marques
Marr wrote: ... Aside: (once again, for clarity of the archives for future readers): The pinouts Paulo mentioned above are for a DB-9 RS-232 connection, not a DB-25. Thanks for clarifying that. I always forget about those 25-pin "extra large" serial port connectors :) -- Pau

Re: [linux-usb-devel] pl2303 driver with "dumb" devices

2003-12-10 Thread Paulo Marques
lve it if you're happy with the solution :) -- Paulo Marques Software Development Department - Restinfor, Lda. Phone: +351 252 290600, Fax: +351 252 290601 Web: www.grupopie.com "In a world without walls and fences who needs windows and gates?" --

Re: [linux-usb-devel] Backport of printer 2.6=>2.4

2003-11-21 Thread Paulo Marques
mp; O_NONBLOCK) >return -EAGAIN; Shouldn't this be: > if (file->f_flags & O_NONBLOCK) >return writecount ? writecount : -EAGAIN; or am I missing something? Anyway, if this patch applies cleanly to 2.4.23-rc2, i'll try it as soon as I have some time. Thank

Re: [linux-usb-devel] What the calling process of a USB device driver?

2003-11-19 Thread Paulo Marques
s to check that the device is being properly recognized (correct ID's, endpoints, etc.)? If you are building the hardware of a USB client "from scratch", there still might be some timing issues, or something, that escape the Windows core, but don't pass the Linux test :) --

Re: [linux-usb-devel] USB bulk read very slow !

2003-10-30 Thread Paulo Marques
stom device. The USB chip used is a FTDI USB-Serial. This may seem like a silly question, but why don't you use the FTDI serial driver that is already in the kernel? Best regards, -- Paulo Marques Software Development Department - Restinfor, Lda. Phone: +351 252 290600, Fax: +351 252 29060

Re: [linux-usb-devel] USB bulk read very slow !

2003-10-29 Thread Paulo Marques
ady in the kernel? -- Paulo Marques Software Development Department - Restinfor, Lda. Phone: +351 252 290600, Fax: +351 252 290601 Web: www.grupopie.com "In a world without walls and fences who needs windows and gates?" --- This SF.net e

Re: [linux-usb-devel] Problem in drivers/usb/printer.c

2003-09-15 Thread Paulo Marques
Randy.Dunlap wrote: On Mon, 15 Sep 2003 16:09:08 +0100 Paulo Marques <[EMAIL PROTECTED]> wrote: | | Hi all, | | I sent an email to the current "USB PRINTER DRIVER" maintainer in 04 Aug and 11 | Sep, to warn about a bug found in the printer.c driver in kernel version 2

[linux-usb-devel] Problem in drivers/usb/printer.c

2003-09-15 Thread Paulo Marques
k ([EMAIL PROTECTED]). However i got no reply from both e-mails, and the current 2.4 kernel version still has the same bug. Is this e-mail wrong? Who should i send patches to? Thanks in advance, -- Paulo Marques Software Development Department - Restinfor, Lda. Phone: +351 252 290600, Fax: +351 252