Thank you...
I am using usb_sndbulkpipe in usb_bulg_msg
the return value of the usb_bulk_msg is also a positive number. But there is
no response from
the device.. Can suggest some free tools to monitor the data on USB in
Linux.
Thanks in advance
From: Alan Stern <[EMAIL PROTECTED]>
To:
El Martes, 22 de Noviembre de 2005 12:56, Alan Stern escribió:
> On Tue, 22 Nov 2005, Gustavo Guillermo Pérez wrote:
> > Yes, I do the same operations as iee1394 and USB, and here we go:
> > 1) ieee1394 Dirty DVD+RW ad UdfFileSystem without pktcdvd cause +rw
> > No Real problems, the errors on logi
On Tue, Nov 22, 2005 at 07:59:26PM -0200, Luiz Fernando Capitulino wrote:
> @@ -60,6 +61,7 @@ struct usb_serial_port {
> struct usb_serial * serial;
> struct tty_struct * tty;
> spinlock_t lock;
> + struct semaphoresem;
You forgot to document what
Checks if 'port' is NULL before using it in all tty operations, this
can avoid NULL pointer dereferences.
Signed-off-by: Luiz Capitulino <[EMAIL PROTECTED]>
drivers/usb/serial/usb-serial.c | 32
1 files changed, 32 insertions(+)
diff --git a/drivers/usb/seri
Fixes open()/close() race-condition in the access of the port structure.
When the race happens, the port in use becomes invalid, and the user must try
to get the next free port (repluging the device, for example).
Described in more detail in this thread:
http://marc.theaimsgroup.com/?l=linux
Greg,
I'm sending two patches for the usbserial NULL pointer dereference we
discussed last week:
http://marc.theaimsgroup.com/?l=linux-kernel&m=113216151918308&w=2
The first patch adds the missing checks you suggested we should use in
usb-serial driver's entry points, to avoid NULL pointer d
Greg,
I'm sending two patches for the usbserial NULL pointer dereference we
discussed last week:
http://marc.theaimsgroup.com/?l=linux-kernel&m=113216151918308&w=2
The first patch adds the missing checks you suggested we should use in
usb-serial driver's entry points, to avoid NULL pointer d
On Tue, 22 Nov 2005, Steve Bangert wrote:
> Ok, here's the two raw text files sent directly to the device node,
> this one a repost of the non-working printer:
>
> ddb97300 1765765675 S Bi:003:02 -115 8192 <
> ddb97800 1765766313 S Bo:003:01 -115 9 = 31313131 31313131 0a
> ddb97300 1765767176 C B
Dude. That's just cold.
echo -en "\014"
-- Pete
---
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more i
> > Would it help if i sent a usbmon trace with a working printer to see the
> > contrast?
>
> That's a good idea. Print the same files the same way, and let's see what
> goes over the USB connection.
>
> Alan Stern
>
Ok, here's the two raw text files sent directly to the device node,
this o
On Tue, 22 Nov 2005, Steve Bangert wrote:
> Maybe the page eject signal is a function of cups, here's a usbmon trace
> with those same two files sent through cups instead of directly to the
> device node:
>
> ddb97300 1746092587 S Bi:003:02 -115 8192 <
> d8c4e100 1746092870 S Ci:003:00 s a1 01 00
Hello Javier,
On Monday 21 November 2005 21:32, Javier Campos wrote:
> Attempting to use the gadget layer for ethernet with a windows host
> gives me some problems. I am using the gadget backport in 2.4 on a
> Texas Instrument 2420 omap board.
>
> The problem is that if the USB cable is connected
On Tue, 2005-11-22 at 10:49 -0500, Alan Stern wrote:
> On Tue, 22 Nov 2005, Steve Bangert wrote:
>
> > I made two text files, one file had 8 one's in it and the other has 16
> > one's in it, i sent those files to the printer device node one after the
> > other while recording a usbmon trace, the p
On Tue, Nov 22, 2005 at 10:36:46AM -0500, Alan Stern wrote:
> What is an S/ATAPI box?
A box with S/ATAPI in it.
> Would either of you like to tell us when these messages come up? What are
> you doing with the drive? Does it happen only when the drive is writing?
> What about when the drive
On Tue, Nov 22, 2005 at 01:56:39PM -0500, Alan Stern wrote:
> I know practically nothing about how your device works, so this is just a
> guess. It seems likely that the IEEE1394-USB/ATA interface controller
> translates the commands it receives over the external bus into a sequence
> of ATA or AT
On Tue, 22 Nov 2005, Gustavo Guillermo Pérez wrote:
> Yes, I do the same operations as iee1394 and USB, and here we go:
> 1) ieee1394 Dirty DVD+RW ad UdfFileSystem without pktcdvd cause +rw
> No Real problems, the errors on logical sectors was and old bad mount, but
> the
> second one writing 5
El Martes, 22 de Noviembre de 2005 09:36, Alan Stern escribió:
> On Mon, 21 Nov 2005, Jeff Garzik wrote:
> > On Mon, Nov 21, 2005 at 04:00:51PM -0600, Gustavo Guillermo Pérez wrote:
> > > When I use my external case as Firewire or USB 2.0 I got the error on
> > > the kernel syslog:
> > > sr 0:0:0:0
On Tue, 22 Nov 2005, Jayaprakash Shanmugam wrote:
> Hi All,
>
> I have a MPC 8270 based board on which a Philips based ISP 1561 (
> PCI - USB ) connected to it. I have a self powered device connected
> to the host. Whenever I restart the host alone, the device fails to
> enumerate and returns
Hi All,
I have a MPC 8270 based board on which a Philips based ISP 1561 (
PCI - USB ) connected to it. I have a self powered device connected
to the host. Whenever I restart the host alone, the device fails to
enumerate and returns -71 (EPROTO) error. However, if I switch off
both the host an
On Tue, 22 Nov 2005, Steve Bangert wrote:
> I made two text files, one file had 8 one's in it and the other has 16
> one's in it, i sent those files to the printer device node one after the
> other while recording a usbmon trace, the printer _didn't_ print a
> single character, and nothing was pri
On Mon, 21 Nov 2005, Jeff Garzik wrote:
> On Mon, Nov 21, 2005 at 04:00:51PM -0600, Gustavo Guillermo Pérez wrote:
> > When I use my external case as Firewire or USB 2.0 I got the error on the
> > kernel syslog:
> > sr 0:0:0:0: Device not ready.
> > last message repeated 187 times
> >
> > Same u
On Tue, 22 Nov 2005, Kiran Jammula wrote:
> Hi,
> I am developing Linux Host driver for a Device. The device has suppiled
> Windows based driver. After connecting the device to PC the probe function
> in my driver is being called. But pipe opened by using
> usb_sndbulkpipe,usb_rcvbulkpipe ,usb
Hi,
I am developing Linux Host driver for a Device. The device has suppiled
Windows based driver. After connecting the device to PC the probe function
in my driver is being called. But pipe opened by using
usb_sndbulkpipe,usb_rcvbulkpipe ,usb_sndctrlpipe,usb_rcvctrlpipe is showing
negative va
On Mon, 2005-11-21 at 17:20 -0500, Alan Stern wrote:
> On Mon, 21 Nov 2005, Steve Bangert wrote:
>
> > > daa3b200 5540696 S Bi:006:02 -115 8192 <
> > > d357fb00 5540774 S Ci:006:00 s a1 01 0001 1 <
> > > daa3b200 5541970 C Bi:006:02 0 0
> > > d357fb00 5541975 C Ci:006:00 0 1 = 18
> > >
24 matches
Mail list logo