Android-x86 and your Samsung Q1U...

722 views
Skip to first unread message

bryanhundven

unread,
Nov 6, 2009, 2:56:25 PM11/6/09
to Android-x86
Hello forum,

I am working on support for the Samsung Q1U.

Last week I found that the usbtouchscreen driver was not working.
While I was investigating the touchkit drivers (found at:
http://www.touchkit.com/LinuxDriver.htm). I noticed that the touch
screen was working before I loaded the tkusb driver.

It seemed to be picked up by the usbhid driver. The only thing left to
be done is add tslib to android-x86 so you can calibrate the touch
screen.

I am currently working on a //vendor/samsung/q1u repository.
I have a NP-Q1U/001/SEA (aka Q1U-CMXP).

To support more Q1U models, could you please provide:

* Your model number from the back of your Q1U
If you need help with this, go to: http://www.samsung.com/us/support/download/supportDownloadMain.do#
and click on: Need help finding model number

* from debian, ubuntu, or fedora:
Output from lshal (sudo lshal > mymodelnumber.lshal)
Output from lspci (sudo lspci > mymodelnumber.lspci)
Output from lsusb (sudo lsusb > mymodelnumber.lsusb)
Output from /proc/bus/input/devices (cat /proc/bus/input/devices >
mymodelnumber.inputdev)
and post these four files to this post - replacing my model number
with your model.
An example would be: NP-Q1U-001-SEA.lspci

* Any odd issues with your device, special buttons, extra cameras,
etc...

Hopefully with all of this info, we can make our Q1U's useful...

-Bryan

bryanhundven

unread,
Nov 6, 2009, 5:43:06 PM11/6/09
to Android-x86
Issues that I currently notice are:

* Key mappings are incorrect (this will be fixed when I add //vendor/
samsung/q1u
* Need to fix battery info (will also be fixed with //vendor/samsung/
q1u)
* Touchscreen works with usbhid, but needs calibration from tslib.
(looking at: http://tslibonandroid.sourceforge.net/)
* i915 w/kms driver doesn't load up for 945GMS video, falls back to
vesafb/uvesafb (unsure which)
- this could be as simple as adding the pci-id for the graphic card
in the i915 driver... more investigation is needed.
* Ath5k wireless comes up, scans for APs, but fails to connect (works
fine with debian and other OSs)

I'm sure there are more issues...

Yi Sun

unread,
Nov 6, 2009, 6:00:45 PM11/6/09
to andro...@googlegroups.com, Android-x86
Bryan,
For the batter, you can create new system prop for your platform. I
will work on a auto detect solution for battery

For the video driver, I will get back to you later
Yi
> --
>
> You received this message because you are subscribed to the Google
> Groups "Android-x86" group.
> To post to this group, send email to andro...@googlegroups.com.
> To unsubscribe from this group, send email to android-x86...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/android-x86?hl=en
> .
>
>

Yi Sun

unread,
Nov 6, 2009, 6:03:21 PM11/6/09
to andro...@googlegroups.com, Android-x86
Btw, I have fixed an issue this morning for wifi, could you try to see
if it solves your problem?

On 2009-11-6, at 14:43, bryanhundven <bryanh...@gmail.com> wrote:

Bryan Hundven

unread,
Nov 6, 2009, 6:06:59 PM11/6/09
to andro...@googlegroups.com
Will do!
--
Bryan Hundven
bryanh...@gmail.com

Yi Sun

unread,
Nov 6, 2009, 6:39:07 PM11/6/09
to andro...@googlegroups.com
Bryan,
My 1005HA has 945GMS Rev3. It works fine with the 915 driver. the v/d id is 8086:27ae
Yi
--
Android-x86
http://www.android-x86.org

bryanhundven

unread,
Nov 10, 2009, 2:03:28 PM11/10/09
to Android-x86
http://bugzilla.kernel.org/show_bug.cgi?id=14554

On Nov 6, 3:39 pm, Yi Sun <beyo...@gmail.com> wrote:
> Bryan,
> My 1005HA has 945GMS Rev3. It works fine with the 915 driver. the v/d id is
> 8086:27ae
> Yi
>
>
>
>
>
> On Fri, Nov 6, 2009 at 3:00 PM, Yi Sun <beyo...@gmail.com> wrote:
> > Bryan,
> > For the batter, you can create new system prop for your platform. I will
> > work on a auto detect solution for battery
>
> > For the video driver, I will get back to you later
> > Yi
>
> > On 2009-11-6, at 14:43, bryanhundven <bryanhund...@gmail.com> wrote:
>
> >  Issues that I currently notice are:
>
> >> * Key mappings are incorrect (this will be fixed when I add //vendor/
> >> samsung/q1u
> >> * Need to fix battery info (will also be fixed with //vendor/samsung/
> >> q1u)
> >> * Touchscreen works with usbhid, but needs calibration from tslib.
> >> (looking at:http://tslibonandroid.sourceforge.net/)
> >> * i915 w/kms driver doesn't load up for 945GMS video, falls back to
> >> vesafb/uvesafb (unsure which)
> >>  - this could be as simple as adding the pci-id for the graphic card
> >> in the i915 driver... more investigation is needed.
> >> * Ath5k wireless comes up, scans for APs, but fails to connect (works
> >> fine with debian and other OSs)
>
> >> I'm sure there are more issues...
>
> >> --
>
> >> You received this message because you are subscribed to the Google Groups
> >> "Android-x86" group.
> >> To post to this group, send email to andro...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> android-x86...@googlegroups.com<android-x86%2Bunsubscribe@googlegr oups.com>
> >> .

Bryan Hundven

unread,
Nov 24, 2009, 5:52:55 PM11/24/09
to Android-x86
As mentioned, here are my two patches to the .repo/manifests/default.xml

The ts.conf and pointercal are provided by my q1u target product, so for other platforms you will need to generate a pointercal and ts.conf.

--
Bryan Hundven
bryanh...@gmail.com
0001-Add-Q1U-vendor-repository.patch
0002-Add-external-tslib.patch

bryanhundven

unread,
Nov 24, 2009, 5:46:01 PM11/24/09
to Android-x86
Update on support!

Got touch working correctly on my Q1U.

Patch frameworks/base with the following patch from the freerunner/
openmoko android project:
http://git.koolu.org/?p=platform/frameworks/base.git;a=blobdiff;f=services/java/com/android/server/InputDevice.java;h=bc12eb52ad4bbf496b769088d2dc76bb5116c229;hp=70bf38e03e4232646b905a6836d8eeb153457a04;hb=b17a3d995d40f81995dcdb309afa314d9f74f98e;hpb=78233dd9121f4d5e988b79d89b106bdd2a54af18

Then apply the two patchs I will supply in the next message that adds
two repositories to the .repo/manifests/default.xml

The first will add my Q1U target product, and the second adds my
external/tslib for calibration using ts_calibrate.

Bryan Hundven

unread,
Nov 24, 2009, 6:52:22 PM11/24/09
to Android-x86
I don't know why the last two emails came in opposite order...

To unsubscribe from this group, send email to android-x86...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-x86?hl=en.





--
Bryan Hundven
bryanh...@gmail.com

Bryan Hundven

unread,
Nov 25, 2009, 1:50:38 PM11/25/09
to Android-x86
Also, I forgot to post my changes to bootable/newinstaller.

Attached is that patch.

--
Bryan Hundven
bryanh...@gmail.com
0001-Add-Samsung-Q1U.patch

bryanhundven

unread,
Nov 25, 2009, 2:11:47 PM11/25/09
to Android-x86
My problem was only with 2.6.31+

Video actually works fine with 2.6.29. Just needed to add i915 to
newinstaller 0-auto script.

On Nov 6, 3:39 pm, Yi Sun <beyo...@gmail.com> wrote:
> Bryan,
> My 1005HA has 945GMS Rev3. It works fine with the 915 driver. the v/d id is
> 8086:27ae
> Yi
>
>
>
> On Fri, Nov 6, 2009 at 3:00 PM, Yi Sun <beyo...@gmail.com> wrote:
> > Bryan,
> > For the batter, you can create new system prop for your platform. I will
> > work on a auto detect solution for battery
>
> > For the video driver, I will get back to you later
> > Yi
>
> > On 2009-11-6, at 14:43, bryanhundven <bryanhund...@gmail.com> wrote:
>
> >  Issues that I currently notice are:
>
> >> * Key mappings are incorrect (this will be fixed when I add //vendor/
> >> samsung/q1u
> >> * Need to fix battery info (will also be fixed with //vendor/samsung/
> >> q1u)
> >> * Touchscreen works with usbhid, but needs calibration from tslib.
> >> (looking at:http://tslibonandroid.sourceforge.net/)
> >> * i915 w/kms driver doesn't load up for 945GMS video, falls back to
> >> vesafb/uvesafb (unsure which)
> >>  - this could be as simple as adding the pci-id for the graphic card
> >> in the i915 driver... more investigation is needed.
> >> * Ath5k wireless comes up, scans for APs, but fails to connect (works
> >> fine with debian and other OSs)
>
> >> I'm sure there are more issues...
>
> >> --
>
> >> You received this message because you are subscribed to the Google Groups
> >> "Android-x86" group.
> >> To post to this group, send email to andro...@googlegroups.com.
> >> To unsubscribe from this group, send email to
> >> android-x86...@googlegroups.com<android-x86%2Bunsu...@googlegroups.com>
> >> .

Peng Wang

unread,
Dec 2, 2009, 10:35:32 AM12/2/09
to Android-x86
Hi,
i cannot access the git.koolu.org host. can you please give me a
InputDevice.java patch?

Wang Peng
wang...@gmail.com

On 11月25日, 上午6时46分, bryanhundven <bryanhund...@gmail.com> wrote:
> Update on support!
>
> Got touch working correctly on my Q1U.
>
> Patch frameworks/base with the following patch from the freerunner/
> openmoko android project:http://git.koolu.org/?p=platform/frameworks/base.git;a=blobdiff;f=ser...
>
> Then apply the two patchs I will supply in the next message that adds
> two repositories to the .repo/manifests/default.xml
>
> The first will add my Q1U target product, and the second adds my
> external/tslib forcalibrationusing ts_calibrate.
>
> On Nov 10, 11:03 am, bryanhundven <bryanhund...@gmail.com> wrote:
>
> >http://bugzilla.kernel.org/show_bug.cgi?id=14554
>
> > On Nov 6, 3:39 pm, Yi Sun <beyo...@gmail.com> wrote:
>
> > > Bryan,
> > > My 1005HA has 945GMS Rev3. It works fine with the 915 driver. the v/d id is
> > > 8086:27ae
> > > Yi
>
> > > On Fri, Nov 6, 2009 at 3:00 PM, Yi Sun <beyo...@gmail.com> wrote:
> > > > Bryan,
> > > > For the batter, you can create new system prop for your platform. I will
> > > > work on a auto detect solution for battery
>
> > > > For the video driver, I will get back to you later
> > > > Yi
>
> > > > On 2009-11-6, at 14:43, bryanhundven <bryanhund...@gmail.com> wrote:
>
> > > >  Issues that I currently notice are:
>
> > > >> * Key mappings are incorrect (this will be fixed when I add //vendor/
> > > >> samsung/q1u
> > > >> * Need to fix battery info (will also be fixed with //vendor/samsung/
> > > >>q1u)
> > > >> * Touchscreen works with usbhid, but needscalibrationfrom tslib.

Bryan Hundven

unread,
Dec 2, 2009, 12:49:05 PM12/2/09
to andro...@googlegroups.com

Peng, I actually applied it to the donut-x86 branch last night. Try 'repo sync'.

On Dec 2, 2009 9:20 AM, "Peng Wang" <wang...@gmail.com> wrote:

Hi,
  i cannot access the git.koolu.org host. can you please give me a
InputDevice.java patch?

Wang Peng
wang...@gmail.com

On 11月25日, 上午6时46分, bryanhundven <bryanhund...@gmail.com> wrote: > Update on support! > > Got touch...

> > Then apply the two patchs I will supply in the next message that adds > two repositories to the ...

> external/tslib forcalibrationusing ts_calibrate.

> > On Nov 10, 11:03 am, bryanhundven <bryanhund...@gmail.com> wrote: > > >http://bugzilla.kernel.or...

> > > >> * Touchscreen works with usbhid, but needscalibrationfrom tslib.

> > > >> (looking at:http://tslibonandroid.sourceforge.net/) > > > >> * i915 w/kms driver doesn't lo...

Bryan Hundven

unread,
Apr 28, 2010, 6:08:42 PM4/28/10
to Android-x86, Jazzy
I just noticed that this was not on the android-x86 forum.
Please respond to the forum and not directly at me. There are other
people that may be able to help besides me.

On Wed, Apr 28, 2010 at 3:06 PM, Bryan Hundven <bryanh...@gmail.com> wrote:
> On Sat, Apr 24, 2010 at 8:49 PM, Jazzy <natha...@gmail.com> wrote:
>> Is this effort still alive?   Some dumbed down help for a Linux newb
>> would be helpful. I'd love to set up Android on my Samsung Q1 Ultra
>> but I have  no Idea how to apply your patches. I need the touchscreen
>> most of all.  Any Help would be much appreciated Thanks!
>
> These patches should already be in android-x86.
>
> I have not been active with android-x86, as I am very busy with my job
> (that makes $$ :-D) and haven't had time.
> (are there any jobs for android-x86 out there?)
>
> You should be able to build the q1u target and run it.
> If you have a different model of Q1U, then I need more info from you
> to get yours working.
>
> If you have a linux distro like ubuntu or debian or anything besides
> android-x86, post output of:
> * lspci
> * lsusb
> * cat /proc/bus/input/devices
>
> If you have any problems, just update this thread.
>
> --Bryan
>

--Bryan

--
You received this message because you are subscribed to the Google Groups "Android-x86" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-x86...@googlegroups.com.

bryanhundven

unread,
Apr 28, 2010, 6:11:04 PM4/28/10
to Android-x86
http://www.android-x86.org/getsourcecode
Read it, use it, love it...

n1nj4Lo

unread,
Mar 16, 2014, 11:14:20 AM3/16/14
to andro...@googlegroups.com
Is there a patch to make the camera work in ICS android-x86-4.0-RC2-eeepc.iso?
Reply all
Reply to author
Forward
0 new messages