Hello. We have a linux smartphone here with the GSM modem on /dev/ttySAC0 . As now like to make this tty available to the host through g_serial. This allows us faster development and testing.
The first idea we had was to splice /dev/ttygs* and /dev/ttySAC0 together in phone userspace. But how can we handle things like baudrate change on the host, etc. The passthrough should be as transparent as possible. We now think about a solution like the ine used in file_storage.c . Let the g_serial driver directly communicate with the device. Loading the driver with something like modprobe g_serial device=ttySAC0 should route the whole communication to /dev/ttySAC0 instead of /dev/ttygs* . Anybody already worked on something like this? As we like to include all our code into mainline all comments on such a solution are more then welcome. regards Stefan Schmidt
signature.asc
Description: Digital signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel