![]() |
Re: N900 will not allow USB OTG!
Wouldn't switching to Mer allow the USB device to work (as in file transfers/mouse movement etc...)? (Just as a proof of concept) Edit: scratch that, <Stskeeps> no, same kernel |
Re: N900 will not allow USB OTG!
Quote:
|
Re: N900 will not allow USB OTG!
Quote:
http://mxr.maemo.org/fremantle/sourc...ls/usb.ids#951 but hdd is not AFIK usb devices attached to an otg or embedded host controller should be in a list named "Targeted Peripheral List" http://mxr.maemo.org/fremantle/sourc...b/otg/otg.c#75 did you recognize this ? 164 /* OTG MESSAGE: report errors here, customize to match your product */ 165 dev_err(&dev->dev, "device v%04x p%04x is not supported\n", 166 le16_to_cpu(dev->descriptor.idVendor), 167 le16_to_cpu(dev->descriptor.idProduct)); 168 169 return 0; you touch otg state machine :) |
Re: N900 will not allow USB OTG!
Yes, I know this. But whitelist has this too:
83 /* hubs are optional in OTG, but very handy ... */ 84 { USB_DEVICE_INFO(USB_CLASS_HUB, 0, 0), }, 85 { USB_DEVICE_INFO(USB_CLASS_HUB, 0, 1), }, And hub should have USB HUB class in it's descriptor. Looks like something goes wrong in reading descriptor from device (it is worst case and it is strange - why does it read one descriptor but not other) but most probably - it is not debugged well in driver. It can be because HW still works as B-device but in HOST mode and driver knows this fact. If so, I would like to use FORCE_HOST mode to switch in A-device state but who knows - it may be impossible without grounded ID pin and we should fix a driver. |
Re: N900 will not allow USB OTG!
At the risk of being on the wrong page,
doesnt this thread have any solutions? http://talk.maemo.org/showthread.php?t=52227 |
Re: N900 will not allow USB OTG!
Quote:
And seriously - I thought we're thru with ID pin once and for all. The above details show that driver is NOT in hostmode, but it still operates as a OTG device. We need to fix that - rather than any ID pin detection. |
Re: N900 will not allow USB OTG!
Quote:
I think the thread "USB HOST MODE! (Coming soon)" was created to announce that usb host mode is (hopefully) comming soon for the n900. It's a place where the less tech-savvy people can inform themselves and discuss about usb host mode for the n900. So talk about the BME, VBUS power, the TWL4030 and kernel patches goes here and talk about various devices to plug into the n900 and why nokia disabled it goes there. |
Re: N900 will not allow USB OTG!
Ehm...
rx51_defconfig contains CONFIG_USB_OTG_WHITELIST=y CONFIG_USB_OTG_BLACKLIST_HUB=y So why not disable them both? |
Re: N900 will not allow USB OTG!
i just landed on this too
i think we need whitelist but 1144 #ifdef CONFIG_USB_OTG_BLACKLIST_HUB 1145 if (hdev->parent) { 1146 dev_warn(&intf->dev, "ignoring external hub\n"); 1147 return -ENODEV; 1148 } and rx51_defconfig 1436 # CONFIG_USB_MUSB_HOST is not set 1437 # CONFIG_USB_MUSB_PERIPHERAL is not set 1438 CONFIG_USB_MUSB_OTG=y so we have OTG only !! memory behavior is provided by g_nokia and other modules ? |
Re: N900 will not allow USB OTG!
Quote:
printks from that whitelist thing indicate this hasn't been issued or it failed to take effect so I absolutely agree on the CONFIG-*-* stuff needing further investigation. See one of my previous posts about suspicious/interesting things I stumbled over in rx51-defconfig /jOERG |
All times are GMT. The time now is 07:30. |
vBulletin® Version 3.8.8