Hi all,

> Will try to increase verbosity.
How can I do this?

I can change /proc/sys/kernel/printk without any effect

From hub.c: 

hdev->maxchild = hub->descriptor->bNbrPorts;
        dev_info (hub_dev, "%d port%s detected\n", hdev->maxchild,
                (hdev->maxchild == 1) ? "" : "s");

        le16_to_cpus(&hub->descriptor->wHubCharacteristics);

        if (hub->descriptor->wHubCharacteristics & HUB_CHAR_COMPOUND) {
                int     i;
                char    portstr [USB_MAXCHILDREN + 1];

                for (i = 0; i < hdev->maxchild; i++)
                        portstr[i] = hub->descriptor->DeviceRemovable
                                    [((i + 1) / 8)] & (1 << ((i + 1) % 8))
                                ? 'F' : 'R';
                portstr[hdev->maxchild] = 0;
                dev_dbg(hub_dev, "compound device; port removable status: 
%s\n", portstr);
        } else
                dev_dbg(hub_dev, "standalone hub\n");

in the log after
<6>hub 3-2:1.0: 7 ports detected

it should tell me something about 

dev_dbg(hub_dev, "compound device; port removable status: %s\n", portstr);
or
dev_dbg(hub_dev, "standalone hub\n");

in the log, right?

regards

Dani


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_idt77&alloc_id492&op=click
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to