Re: cdc-acm driver hangs on poll() call - 2.6.27, works on 2.6.24

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Freitag 24 April 2009 14:26:59 schrieb Maróy Ákos:
> Oliver,
> 
> >> # cat /sys/kernel/debug/usbmon/1u
> > 
> > Of which kernel was that trace?
> 
> this is ubuntu 8.04's 2.6.24-23-generic kernel - whatever that means:
> 
> $ uname -a
> Linux polo 2.6.24-23-generic #1 SMP Wed Apr 1 21:43:24 UTC 2009 x86_64
> GNU/Linux
> 
> 
> > PS: Can you send me the programm you use to test this?
> 
> sure. please see the application attached, in source and binary form,
> and also a makefile (requires boost 1.38.0 to compile).

It works for me.

writev(6, [{"\6\n\0\0\0\0", 6}], 1)     = 6
write(2, "written bytes: ", 15written bytes: )         = 15
write(2, "6", 16)                        = 1
write(2, "\n", 1
)                       = 1
readv(6, 0x7ffffa9fe1a0, 1)             = -1 EAGAIN (Resource temporarily unavailable)
poll([{fd=6, events=POLLIN}], 1, -1)    = 1 ([{fd=6, revents=POLLIN}])
readv(6, [{"\6\n\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"..., 64}], 1) = 6

Can you test whether the hang is specific to a test device you are using?

	Regards
		Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux