Re: CP2102 mystery - ttyUSB0 vs usbfsbrltty/Projects/BrailleMemo/usbmon-ttyUSB0

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

 



On Fri, Dec 06, 2013 at 11:37:34AM -0500, Dave Mielke wrote:
> I'm using kernel 3.11.4-101.fc18.x86_64 on a 64-bit Fedora 19 system.
> 
> I'd very much appreciate a bit of help from someone who understands the CP2102 
> serial adapter support. When I access it through /dev/ttyUSB0, it works fine. 
> When, however, I access it through usbfs, it doesn't seem to be working. When I 
> study the usbmon output for both methods, they look to be effectively the same. 
> I've attached the two usbmon traces to this message (as usbmon-ttyUSB0 and 
> usbmon-usbfs).

How are you accessing the device through usbfs?  At that point, it's a
"raw" USB device, the driver isn't connected and you now have to emulate
the driver entirely from userspace, writing a whole new "userspace
driver" for the device.  Why are you doing that?

Anyway, the source is all there for the kernel driver, if you wish to
reimplement it as a userspace program, you really are on your own,
sorry.

good luck,

greg k-h
--
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