View Single Post
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#687
Originally Posted by nightfire View Post
Just curious; did you try running lsusb while the hub was powered? Is anything registered?
No. But I checked dmesg. usually nothing in there.
But one single time after reboot, I got the "mass storage or PC mode?" requester when enabling VBUS. Probably caused by >>VBUS detected; bme due to race not yet noticed boostmode; no short D+/- so no charger -> this has to be a host PC plugged in to N900<< (I simply did the i2cset without suspending bme)
Funny part 1: VBUS stayed on for several minutes, until I finally hit 'PC mode' on requester.
Funny part2: this is the resulting dmesg:
Code:
[76624.034576] wlan0: associated
[78399.983673] regulator_disable: not in use by this consumer
[78399.983734] regulator_disable: not in use by this consumer
[78709.753387] musb_hdrc musb_hdrc: remove, state 4
[78709.753448] usb usb1: USB disconnect, address 1
[78709.774261] musb_hdrc musb_hdrc: USB bus 1 deregistered
[78709.918060] g_nokia gadget: using random self ethernet address
[78709.918090] g_nokia gadget: using random host ethernet address
[78710.038238] usb0: MAC 2a:a5:a9:7c:a5:1c
[78710.038269] usb0: HOST MAC 5e:b2:fd:34:32:fa
[78710.038299] g_nokia gadget: USB CDC Phonet function
[78710.038299] g_nokia gadget: using musb_hdrc, OUT ep1out, IN ep1in
[78710.038391] g_nokia gadget: USB CDC Phonet function
[78710.038421] g_nokia gadget: using musb_hdrc, OUT ep1out, IN ep1in
[78710.038665] g_nokia gadget: N900 (PC-Suite Mode)
[78710.038665] g_nokia gadget: g_nokia ready
[78710.038696] musb_hdrc musb_hdrc: MUSB HDRC host driver
[78710.040313] musb_hdrc musb_hdrc: new USB bus registered, assigned bus number 1
[78710.041015] usb usb1: configuration #1 chosen from 1 choice
[78710.041412] hub 1-0:1.0: USB hub found
[78710.041534] hub 1-0:1.0: 1 port detected
[79807.406707] regulator_disable: not in use by this consumer
[79807.406768] regulator_disable: not in use by this consumer
Nokia-N900-02-8:/home/user/i2c#
(http://paste.debian.net/71423/)

Will check lsusb and lsmod in a minute
/jOERG

[edit]
Nokia-N900-02-8:/home/user/i2c# killall -SIGSTOP bme_RX-51; ./i2cset -y -m 0x07 2 0x6b 0x01 0x05; sleep 10;lsusb; sleep 10; killall -SIGCONT bme_RX-51
Bus 001 Device 001: ID 1d6b:0002
Nokia-N900-02-8:/home/user/i2c# lsusb
Bus 001 Device 001: ID 1d6b:0002
Nokia-N900-02-8:/home/user/i2c#

Last edited by joerg_rw; 2010-04-30 at 19:06.
 

The Following 12 Users Say Thank You to joerg_rw For This Useful Post: