maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Nokia N900 (https://talk.maemo.org/forumdisplay.php?f=44)
-   -   Announce: USB Mode (easy switch to USB host mode) [in Extras-Devel] (https://talk.maemo.org/showthread.php?t=85658)

pali 2012-07-23 09:51

Announce: USB Mode (easy switch to USB host mode)
 
1 Attachment(s)
Finally USB Mode 1.0-4 is in Maemo Extras!

EDIT: 07.04.2013 - Updated to version 1.0-4 which fixing support for kernel-power v52. This version is now in Extras-Devel

EDIT: 09.12.2012 - Updated to version 1.0-3 which support new BME replacement, showing current usb mode in status menu, fixing usb host mode detection and removed dependency on CSSU.

EDIT: 13.09.2012 - Updated version 1.0-2 which fix support for kernel-power v52 and BME replacement.

Now after long long time, I'm announcing first application for Nokia N900 (with control panel & status menu plugin) for easy switching between 3 USB modes:

* peripheral
* host (with boost)
* host (with charging)

This new application using updated kernel usb host mode drivers and kernel battery charging driver. Also use new ke-recv from Community SSU which automount usb flash devices. And It use mceledpattern (from extras) which register MCE pattern for voltage boost (default blue color). For usb host mode it autodetect correct speed of attached usb device.

Download:
Install package usbmode from Maemo Extras repository (via HAM or apt-get).

Source code:
Is on gitorious.

Info:

This deb package depends:

mceledpattern

and kernel which provides (for example kernel-power v51):

kernel-feature-usbhost-new
kernel-feature-battery
kernel-feature-charger

Optional dependency on:
Community SSU which provides automounting of usb disk devices

DEB package contains 4 parts:
1. usbmode.sh shell script - this script doing usb mode switching
2. control panel plugin - widget with 3 buttons for changing mode, only GUI interface on usbmode.sh
3. status menu plugin - only icon, after click open control panel plugin widget
4. standalone application - only open control panel plugin widget

toxaris 2012-07-23 12:52

Re: Announce: USB Mode (easy switch to USB host mode)
 
Watch out!.
Untill the broken drivers is fixed in KP51 (released today 23/7), dont install this.
Read more here.
http://talk.maemo.org/showpost.php?p...&postcount=505

Edit. Problem Solved, ignore this warning.

pali 2012-07-23 15:25

Re: Announce: USB Mode (easy switch to USB host mode)
 
@toxaris, it is fixed in kp 51r1

aditya_123412 2012-07-23 15:31

Re: Announce: USB Mode (easy switch to USB host mode)
 
What problems does the bug cause?
When does it occur?

bingomion 2012-07-23 18:42

Re: Announce: USB Mode (easy switch to USB host mode)
 
Quote:

Originally Posted by pali (Post 1241530)
This deb package depends on:

Community SSU
mceledpattern

Excellently well thought out!!!
But why cssu??? Can it not be required?
I've never installed it... Never needed to... And doubt i ever will...Lets not please debate this.

sixwheeledbeast 2012-07-23 19:00

Re: Announce: USB Mode (easy switch to USB host mode)
 
This is probably why.
No CSSU? Your missing out!
Quote:

Originally Posted by pali (Post 1241530)
This new application using updated kernel usb host mode drivers and kernel battery charging driver. Also use new ke-recv from Community SSU which automount usb flash devices. And It use mceledpattern (from extras) which register MCE pattern for voltage boost (default blue color).


dzano 2012-07-23 19:35

Re: Announce: USB Mode (easy switch to USB host mode)
 
How to upgrade ke-recv to 3.19-14?? Thank you

ade 2012-07-23 20:05

Re: Announce: USB Mode (easy switch to USB host mode)
 
Great work Pali, I just had my first USB stick mounted using your new package.

Nicely integrated in the status menu, no more manual steps or starting scripts from the commandline.

freemangordon 2012-07-23 20:09

Re: Announce: USB Mode (easy switch to USB host mode)
 
Quote:

Originally Posted by dzano (Post 1241830)
How to upgrade ke-recv to 3.19-14?? Thank you

By installing CSSU-testing. Or if you can wait, CSSU-stable should include it in 1-2 weeks, hopefully.

dzano 2012-07-23 21:38

Re: Announce: USB Mode (easy switch to USB host mode)
 
Thank you...I will stick with CSSU-stable


All times are GMT. The time now is 10:03.

vBulletin® Version 3.8.8