Pagina 1 di 1
Vendor ID
Inviato: gio 11 mar 2010, 12:15
da dafrasaga
Scusate,
ma da lsusb mi sono accorto che esiete anche un Vendor ID 1d6b "Linux Foundation".
non capisco

che vuol dire, che c'è una fondazione linux che costruisce quanche componente??
ciao
Re: Vendor ID
Inviato: gio 11 mar 2010, 16:35
da RedSkull92
si è vero anche io l'ho.
Re: Vendor ID
Inviato: gio 11 mar 2010, 17:48
da sardylan
Forse perché il driver che viene usato per il controller dei bus USB è così generico che hanno deciso di "customizzarlo"??? Anche io ne ho parecchi... Appare a monte di ogni porta usb...
Re: Vendor ID
Inviato: ven 12 mar 2010, 12:59
da FireEater
Nessuna fondazione linux che costruisce hardware
E' solo un nome, semplice...
Codice: Seleziona tutto
File /usr/src/linux-2.6.32.8/drivers/usb/core/hdc.c
HOST CONTROLLER DRIVER
/*
* USB Host Controller Driver framework
*
* Plugs into usbcore (usb_bus) and lets HCDs share code, minimizing
* HCD-specific behaviors/bugs.
*
* This does error checks, tracks devices and urbs, and delegates to a
* "hc_driver" only for code (and data) that really needs to know about
* hardware differences. That includes root hub registers, i/o queues,
* and so on ... but as little else as possible.
*
* Shared code includes most of the "root hub" code (these are emulated,
* though each HC's hardware works differently) and PCI glue, plus request
* tracking overhead. The HCD code should only block on spinlocks or on
* hardware handshaking; blocking on software events (such as other kernel
* threads releasing resources, or completing actions) is all generic.
*
* Happens the USB 2.0 spec says this would be invisible inside the "USBD",
* and includes mostly a "HCDI" (HCD Interface) along with some APIs used
* only by the hub driver ... and that neither should be seen or used by
* usb client device drivers.
*
* Contributors of ideas or unattributed patches include: David Brownell,
* Roman Weissgaerber, Rory Bolt, Greg Kroah-Hartman, ...
*
* HISTORY:
* 2002-02-21 Pull in most of the usb_bus support from usb.c; some
* associated cleanup. "usb_hcd" still != "usb_bus".
* 2001-12-12 Initial patch version for Linux 2.5.1 kernel.
*/
A partire da riga 132 ci sono i costruttori degli HUB 3.0, 2.0 e 1.1.
In riga 142 è presente
0x6b, 0x1d, /* __le16 idVendor; Linux Foundation */ ossia 1d6b in little endian.
E' solo un nome generico per un driver che funziona con tutti i root hub.
Ciao
FireEater.
Re: Vendor ID
Inviato: ven 12 mar 2010, 14:46
da sardylan
E' quello che intendevo dire io, solo che non mi sono spulciato il codice...

Re: Vendor ID
Inviato: ven 12 mar 2010, 18:30
da dafrasaga
Grazie a tutti, ho capito.
ciao e alla prossima domanda
