Results 1 to 7 of 7

Thread: Porting Linux Drivers To Android

  1. #1
    Constant Bitrate
    Join Date
    Oct 2004
    Location
    Israel
    Posts
    147

    Porting Linux Drivers To Android

    Hi

    I'm in middle of my own Android tablet project ( using Nook Color )
    trying to get some devices working with USB HOST ( OTG )
    I saw a couple of cool projects here , and I wondered if someone here tried porting some car-pc hardware drivers to Android?

    My main goals are :
    1.Contour ShuttleXpress
    2.GlobalSat BU-353
    3.DCDC-USB

    I don't have any coding skills in linux ( I don't even know how to compile but it seems pretty easy ) , but I'm willing to learn
    And if someone here already done some progress or have knowledge about the things needed to make driver ports and willing to share it would be a great step forward

    Here is a post I made on the NC usb-host thread on XDA with logs and info on the ShuttleXpress and BU-353 : http://forum.xda-developers.com/show...&postcount=587

    The DCDC-USB psu should be here soon I hope
    and here are the drivers for Linux : https://gitorious.org/minibox-dcdcus...b/trees/master

    Again , any help would be grateful so don't be shy
    HeadUnit : Car-Pc | Processor : JBL MS-8 | Front Stage : Woofer - Mpyre 65M , Mid - Dayton RS100-4 , Tweeter - Tang-Band Ceramic 25-1719S | Subwoofer : Hertz HX250D | Amps : A/D/S PQ10 , Hifonics Olympus XI , SPL AB03445 | Wiring : Sommer , Neutrik

  2. #2
    Constant Bitrate
    Join Date
    Oct 2007
    Location
    American Fork, Utah, United States
    Posts
    200
    i haven't seen any porting of drivers to the android platform that i know of but the honeycomb platform does have peripheral driver support i believe and there are definately alot of interesting projects going on to port things back and forth between traditional x86 and portable devices.

  3. #3
    Constant Bitrate
    Join Date
    Oct 2004
    Location
    Israel
    Posts
    147
    Normal devices do work right out of the box without any porting because of the built-in drivers ( keyboards , mice etc. )
    But special devices needs porting , I found some info on how to port and I'll be starting figuring out how to do it in the next few days hoping for some quick results
    First I need to probably setup vm for compiling before I start messing with the code
    HeadUnit : Car-Pc | Processor : JBL MS-8 | Front Stage : Woofer - Mpyre 65M , Mid - Dayton RS100-4 , Tweeter - Tang-Band Ceramic 25-1719S | Subwoofer : Hertz HX250D | Amps : A/D/S PQ10 , Hifonics Olympus XI , SPL AB03445 | Wiring : Sommer , Neutrik

  4. #4
    Newbie
    Join Date
    Aug 2011
    Posts
    1

    Post how to access linux I2C keypad device driver in Android

    Hi,

    Actually i need to Access linux device driver i.e. I2C keypad/mouse, etc.. in Android
    but i don't find the solution how to Access it, so can anyone help me in this.

    Thanks a lot.

    BR
    Maddy

  5. #5
    Constant Bitrate
    Join Date
    Oct 2004
    Location
    Israel
    Posts
    147
    Updates for anyone who is interested

    I'm hoping the GPS will work on the next kernel release , with this commit
    http://review.cyanogenmod.com/#change,7264

    I've made some progress with the ShuttleXpress
    Here is a thread describing where I'm at now :
    http://forum.xda-developers.com/show....php?t=1220621

    the DCDC-USB arrived and I already connected it to the nook to see if its recognized
    Here is the info from dmesg :
    Code:
    <6>usb 1-1: new full speed USB device using musb_hdrc and address 2
    <7>usb 1-1: ep0 maxpacket = 8
    <7>usb 1-1: skipped 1 descriptor after interface
    <7>usb 1-1: default language 0x0409
    <3>usb 1-1: device v04d8 pd003 is not supported
    <7>usb 1-1: udev 2, busnum 1, minor = 1
    <6>usb 1-1: New USB device found, idVendor=04d8, idProduct=d003
    <6>usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
    <6>usb 1-1: Product: DCDC-USB
    <6>usb 1-1: Manufacturer: MINI-BOX.COM
    <6>usb 1-1: SerialNumber: 1.00rel.
    <7>usb 1-1: uevent
    <7>usb 1-1: usb_probe_device
    <6>usb 1-1: configuration #1 chosen from 1 choice
    <7>usb 1-1: adding 1-1:1.0 (config #1, interface 0)
    <7>usb 1-1:1.0: uevent
    <7>usbserial_generic 1-1:1.0: usb_probe_interface
    <7>usbserial_generic 1-1:1.0: usb_probe_interface - got id
    <7>usbhid 1-1:1.0: usb_probe_interface
    <7>usbhid 1-1:1.0: usb_probe_interface - got id
    after I'll work out the gps and shuttlexpress I'm planning to try and port the dcdc drivers
    HeadUnit : Car-Pc | Processor : JBL MS-8 | Front Stage : Woofer - Mpyre 65M , Mid - Dayton RS100-4 , Tweeter - Tang-Band Ceramic 25-1719S | Subwoofer : Hertz HX250D | Amps : A/D/S PQ10 , Hifonics Olympus XI , SPL AB03445 | Wiring : Sommer , Neutrik

  6. #6
    Constant Bitrate
    Join Date
    Jan 2002
    Location
    Philadelphia
    Posts
    156
    Interesting stuff. As you know from another thread I am looking at doing the same thing for an AM/FM radio. I will be following this closely.

  7. #7
    Constant Bitrate
    Join Date
    Oct 2004
    Location
    Israel
    Posts
    147
    Quote Originally Posted by maddilety View Post
    Hi,

    Actually i need to Access linux device driver i.e. I2C keypad/mouse, etc.. in Android
    but i don't find the solution how to Access it, so can anyone help me in this.

    Thanks a lot.

    BR
    Maddy
    Which drivers exactly are you trying to find?
    What do you want to do? key mapping?
    Try in your kernel source @ drivers/input
    If you can't find it share the github link or specify the device and kernel you are using

    Quote Originally Posted by mhermann View Post
    Interesting stuff. As you know from another thread I am looking at doing the same thing for an AM/FM radio. I will be following this closely.
    Which radio module did you decide to try and port?
    At the bottom I'll post a list of sources that might help you

    So some updates :

    - A friend of mine who know more about coding should be here tomorrow to help me get some progress done

    - I made some progress with the GPS , info : http://forum.xda-developers.com/show...&postcount=642
    It seems we need some app like BT GPS just for USB
    Sadly , I don't have enough knowledge atm to write this kind of app - maybe in the future if there will be no-one intersted

    Here is some sites/documentation I've used to help me start and still uses as a knowledge base ( not all related to android )
    http://source.android.com/source/initializing.html
    http://tldp.org/LDP/lkmpg/2.6/html/x380.html
    http://kernelnewbies.org/
    http://yidonghan.wordpress.com/categ...dded-software/
    http://www.linuxjournal.com/article/7353
    http://cianer.com/androidg1/28-build...-kernel-images
    http://blog.linuxconsulting.ro/2010/...o-android.html
    http://forum.xda-developers.com/show....php?t=1078668
    http://groups.google.com/group/taske...64e6f88aa3ddcb
    http://forum.xda-developers.com/showthread.php?t=915435
    http://wiki.cyanogenmod.com/wiki/Bar...ogenMod_(Linux)
    http://wiki.cyanogenmod.com/wiki/Bui...el_from_source
    Last edited by Madboy; 08-24-2011 at 01:22 AM.
    HeadUnit : Car-Pc | Processor : JBL MS-8 | Front Stage : Woofer - Mpyre 65M , Mid - Dayton RS100-4 , Tweeter - Tang-Band Ceramic 25-1719S | Subwoofer : Hertz HX250D | Amps : A/D/S PQ10 , Hifonics Olympus XI , SPL AB03445 | Wiring : Sommer , Neutrik

Similar Threads

  1. Are there Linux drivers for Fusion Brain?
    By Maheriano in forum Fusion Brain
    Replies: 3
    Last Post: 11-28-2008, 04:39 PM
  2. EPIA (800) Linux Drivers?
    By Dillusion in forum Operating System Optimization
    Replies: 1
    Last Post: 05-08-2005, 02:21 PM
  3. Linux drivers for Lilliput Touchscreen?
    By Visual Echo in forum LCD/Display
    Replies: 18
    Last Post: 11-07-2004, 07:05 AM
  4. Linux Drivers for Lilliput Touchscreen
    By ciagon in forum Input Devices
    Replies: 3
    Last Post: 04-26-2004, 05:46 PM
  5. Replies: 2
    Last Post: 02-24-2004, 01:17 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •