On Tue, 29 Nov 2005, Pawel Kot wrote:

So for the kernel driver option there are two ways to implement the
driver (if I understand correctly):
- make it independent from usb-serial and implement similiar to cdc-ether
- claim more than one interface for FBUS communication
Both don't look trivial at least for me.

Yeah, that's right.

I looked at the code shortly. Does the code autodetect interface which
should be used? What I mean is that this approach would ignore port
option in gnokiirc file (which might be good).

Well, this function

int usbobex_find_interfaces(obex_intf_info_t** interfaces)

finds and returns a list of all suitable interfaces, and then you pick the one you need and give that to the usbobex_connect_request function. It's very unlikely that a user would have two Nokia phones connected via USB at the same time, so you can just always pick the first interface in the list and issue a warning if there are more.

Alexander

Homepage: http://www.sensi.org/~ak/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to