Reply
Thread Tools
Posts: 43 | Thanked: 18 times | Joined on May 2010 @ Sydney
#991
Hi all.

Just a heads up. I can use a MIDI controller (it's a M-Audio keystation mini 32) with my n900 under sunvox.

Pretty cool!

Thanks for bringing usb host mode to n900!
 

The Following 5 Users Say Thank You to pigeond For This Useful Post:
Posts: 150 | Thanked: 169 times | Joined on Nov 2011 @ Sweden
#992
I'm on KP49 and CSSU Testing, and hostmode works great, except... I get an instant reboot every time I close h-e-n after having used and then removed any peripherals. At startup I get the "Stopping BME" banner, but the log is filled with hundreds of lines like these:
Code:
[61084.316223] power_supply bq27200-0: driver failed to report `time_to_empty_now' property
[61084.316253] power_supply bq27200-0: driver failed to report `time_to_empty_avg' property
[61294.302642] power_supply bq27200-0: driver failed to report `time_to_full_now' property
Battery module problem? Any pointers on how to resolve it?
 
Posts: 2,153 | Thanked: 8,462 times | Joined on May 2010
#993
Originally Posted by bocephus View Post
I'm on KP49 and CSSU Testing, and hostmode works great, except... I get an instant reboot every time I close h-e-n after having used and then removed any peripherals. At startup I get the "Stopping BME" banner, but the log is filled with hundreds of lines like these:
Code:
[61084.316223] power_supply bq27200-0: driver failed to report `time_to_empty_now' property
[61084.316253] power_supply bq27200-0: driver failed to report `time_to_empty_avg' property
[61294.302642] power_supply bq27200-0: driver failed to report `time_to_full_now' property
Battery module problem? Any pointers on how to resolve it?
You cannot start BME when battery module bq27x00_battery is loaded. In kernel-power is that module blacklisted. Make sure that you did not enabled it in /etc/modules!!!

Also that message in dmesg log is not error, but only normal warnings (battery chip cannot tell you time when battery will be full - when you not charging battery ) which will be disabled in kernel-power v50.
 

The Following 3 Users Say Thank You to pali For This Useful Post:
Posts: 150 | Thanked: 169 times | Joined on Nov 2011 @ Sweden
#994
Originally Posted by pali View Post
You cannot start BME when battery module bq27x00_battery is loaded. In kernel-power is that module blacklisted. Make sure that you did not enabled it in /etc/modules!!!

Also that message in dmesg log is not error, but only normal warnings (battery chip cannot tell you time when battery will be full - when you not charging battery ) which will be disabled in kernel-power v50.
Ah, I get it now! Yes I did indeed re-enable it before because I needed the temperature readout. So that's what's conflicting with BME. I get the system reboot because upon exiting h-e-n, BME cannot restart.

Stupid noob mistake. I am not worthy, but I am honored to get help from the master himself!

Thanks for everything, pali!

Last edited by bocephus; 2012-03-12 at 14:16.
 
joerg_rw's Avatar
Posts: 2,222 | Thanked: 12,651 times | Joined on Mar 2010 @ SOL 3
#995
please keep in mind that any temperature readout from bq27x00 chip is basically useless for anything. It's just the chip temperature of that chip, which doesn't tell you anything useful about any relevant state of system or battery, since in N900 that chip is NOT inside battery as it's supposed to be, but rather soldered literally somewhere on the mainboard.

/jOERG
__________________
Maemo Community Council member [2012-10, 2013-05, 2013-11, 2014-06 terms]
Hildon Foundation Council inaugural member.
MCe.V. foundation member

EX Hildon Foundation approved
Maemo Administration Coordinator (stepped down due to bullying 2014-04-05)
aka "techstaff" - the guys who keep your infra running - Devotion to Duty http://xkcd.com/705/

IRC(freenode): DocScrutinizer*
First USB hostmode fanatic, father of H-E-N

Last edited by joerg_rw; 2012-03-12 at 20:23.
 

The Following 4 Users Say Thank You to joerg_rw For This Useful Post:
Posts: 529 | Thanked: 194 times | Joined on Aug 2010 @ UK
#996
Hey all , just wondering but what sort of thing can be plugged in to the phone once app is installed got correct cables ready to go ...

Is it just memory sticks or all usb devices ??? never really looked into this before ....
many thanks
__________________
METASPLOIT INSTALL N900
Keep the forums clean
Dont forget to say thanks

Last edited by stevomanu; 2012-03-12 at 20:28.
 
davdav's Avatar
Posts: 283 | Thanked: 220 times | Joined on Aug 2011 @ Egypt | Forum editor
#997
Originally Posted by pigeond View Post
Hi all.

Just a heads up. I can use a MIDI controller (it's a M-Audio keystation mini 32) with my n900 under sunvox.

Pretty cool!

Thanks for bringing usb host mode to n900!
how .. ?
after i connect it to the female female usb i choose high speed then it says file system not available .. i ignore it and go to sunvox then what :
thanks in advance
__________________
N900 : 1.0 GHZ + Debian LXDE + Nitdroid
linux, windows and mac
nokia 3200>nokia 7610 >nokia n81 >nokia e71>nokia n97>NOKIA N900>iPhone5

Press the thanks button if i helped.
 
Posts: 43 | Thanked: 18 times | Joined on May 2010 @ Sydney
#998
Originally Posted by davdav View Post
how .. ?
after i connect it to the female female usb i choose high speed then it says file system not available .. i ignore it and go to sunvox then what :
thanks in advance
In sunvox, all you have to do is to select your midi controller device in Preferences -> MIDI.

However, before that, you need the alsa midi drivers. I had to compile them myself since they don't come with the n900 kernel packages. I'm using 2.6.28.10-power49 (power kernel).

I just uploaded them to:

http://202.65.223.218/~pigeon/power49-midi-modules.tgz

I also have a shell script that sudo insmod the modules in the right order.

Hope it helps.
 

The Following 4 Users Say Thank You to pigeond For This Useful Post:
davdav's Avatar
Posts: 283 | Thanked: 220 times | Joined on Aug 2011 @ Egypt | Forum editor
#999
Originally Posted by pigeond View Post
In sunvox, all you have to do is to select your midi controller device in Preferences -> MIDI.

However, before that, you need the alsa midi drivers. I had to compile them myself since they don't come with the n900 kernel packages. I'm using 2.6.28.10-power49 (power kernel).
how to install them ..
i know how to install a .deb file but i dont know how to install .tgz

Originally Posted by pigeond View Post
I just uploaded them to:

http://202.65.223.218/~pigeon/power49-midi-modules.tgz
I also have a shell script that sudo insmod the modules in the right order.
thanks again but would u mention how to make it work ?
__________________
N900 : 1.0 GHZ + Debian LXDE + Nitdroid
linux, windows and mac
nokia 3200>nokia 7610 >nokia n81 >nokia e71>nokia n97>NOKIA N900>iPhone5

Press the thanks button if i helped.
 
fpp's Avatar
Posts: 2,853 | Thanked: 968 times | Joined on Nov 2005
#1000
Originally Posted by pigeond View Post
However, before that, you need the alsa midi drivers. I had to compile them myself since they don't come with the n900 kernel packages. I'm using 2.6.28.10-power49 (power kernel).
Hey, since you're knowledgeable about ALSA & stuff... :-)

Would you happen to know what driver(s) would be needed to make the N900 output digital sound through its USB port in host mode, just like a desktop Linux does when connected to an external DAC ?...

TIA,
fp
__________________
maemo blog
 

The Following User Says Thank You to fpp For This Useful Post:
Reply

Tags
bada rox, detection, h-e-n, hostmode, speed, usb host

Thread Tools

 
Forum Jump


All times are GMT. The time now is 08:20.