Re: [was: USB2 - umass problem] U3G modem unit number changes



Hi,

On Wednesday 04 February 2009, M. Warner Losh wrote:

Why the change?

Because u3g2.c is attaching to an USB interface and not the whole USB device.
This is to allow other drivers to hook on the other interfaces.

If you want to have exactly the same numbering like before, then the U3G
interface driver instances on the same USB device need to peek at eachother
to figure out the correct unit and sub-unit number.


Also to Vladimir, Are you sure that the 'u' devices are created with
the USB modem? They should only be created for uart devices...

--HPS
_______________________________________________
freebsd-current@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-current
To unsubscribe, send any mail to "freebsd-current-unsubscribe@xxxxxxxxxxx"



Relevant Pages

  • About USB device and interface descriptors
    ... To my understading device and interface descriptors contain a usb device ... There are a few things I do not understand about the usb device class concept: ... The class is mentioned in the interface descriptor and a device ... Say a usb mass storage device reports an interface class of 0x03, ...
    (microsoft.public.development.device.drivers)
  • Re: help! develop a USB device driver ,but I have not devices interfa
    ... You'll have to contact the supplier of the USB device. ... what the interface is, there's zero chance that you'll be able to write a ... Because it is a secret for OEM. ... who can supply the device driver,I can bye it. ...
    (microsoft.public.windowsce.platbuilder)
  • Re: How to implement multi-function device driver?
    ... For example, USB device has 2 interfaces, interface A and interface B. ... Then I create device object A for interface A and device object B for interface B in AddDevice. ... How to implement multi-function device driver? ... No. if your USB device is properly constructed with composite interfaces then you can use the "USB Common Class Generic Parent Driver". ...
    (microsoft.public.development.device.drivers)