Hi Michael,

-----------------------------------------------
Intel Corporation NV/SA
Kings Square, Veldkant 31
2550 Kontich
RPM (Bruxelles) 0415.497.718.
Citibank, Brussels, account 570/1031255/09

From: General [mailto:[email protected]] On Behalf Of Michael 
Johnson
Sent: Thursday, November 06, 2014 3:56 PM
To: geoffroy; Maciej Wereski
Cc: [email protected]
Subject: Re: [Tizen General] Drivers for keyboard, mouse and ethernet

Hi Geoffroy,

I tried adding that piece of code to the kickstarter file, but it didn't work 
in my build, so I've probably put it in the wrong place, or something.
Feel free to share your modified KS file if you want us to take a look. Did you 
modify the ATTR{sys_vendor}=="VMware, Inc." parameter to match the system 
you’re loading this on?

  an easier solution was to create a file called keyboard.conf (in my case) in 
/etc/modules-load.d/ and just add the line 'atkbd' in it.  Of course I can only 
do this after using a usb keyboard to create the file, but I'd love to know how 
I could include this file in the build so that the laptop keyboard and mouse is 
available after new image installation.
A similar procedure via the kickstart file should work. Add the following lines 
somewhere in the %post section:
# Make the atkbd drive to load unconditionnally
cat > /etc/modules-load.d/keyboard.conf <<EOF
<content of that keyboard.conf file>
EOF


I no longer have the ethernet driver problem, as r8169.ko is already included 
in the October 2014 release image, so ethernet is usable straight away.
Good to hear!


Thanks a million!
Mike


MICHAEL JOHNSON
Embedded Software Engineer

Symphony Teleca
Sunley House, 46 Jewry Street, Winchester, Hampshire, SO23 8RY
Phone: +441962868866, Fax: +441962868867
[email protected]<mailto:[email protected]>
www.symphonyteleca.com<http://www.symphonyteleca.com>

Teleca Limited, a company registered in England & Wales, registration number 
2773878, registered office at Sunley House, 46 Jewry Street, Winchester, 
Hampshire SO23 8RY. VAT registration number GB 674 6583 90

Follow what's going on at Symphony Teleca's blog on 
www.symphonyteleca.com/blog<http://www.symphonyteleca.com/blog>. Please 
consider the environment before you print.

Notice to recipient: This e-mail (including any attachments) is meant for the 
intended recipient only, may contain confidential and proprietary information, 
and is protected by law. If you received this e-mail in error, please 
immediately notify the sender of the error by return e-mail, delete this 
communication and any attachments, and shred any printouts. Unauthorized 
review, use, dissemination, distribution, copying or taking of any action based 
on this communication is strictly prohibited.

________________________________
From: General [[email protected]] on behalf of Michael Johnson 
[[email protected]]
Sent: 28 August 2014 11:03 AM
To: Maciej Wereski
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [Tizen General] Drivers for keyboard, mouse and ethernet
Hi,

I'm using IVI.  Actually Geoffroy offered a possible solution as below:
Another alternative is to build your own ‘clean’ image by slightly modifying 
the kickstart file.

E.g.: pick up the latest kickstart file:
http://download.tizen.org/releases/daily/tizen/ivi/latest/images/atom/ivi-mbr-i586/tizen-ivi_20140826.3_ivi-mbr-i586.ks

And add this in the %post section somewhere

# Add a rule to load the atkbd driver on <your machine>
cat > /etc/udev/rules.d/99-atkbd.rules <<EOF
KERNEL=="id", SUBSYSTEM=="dmi", ATTR{sys_vendor}=="VMware, Inc.", 
RUN+="/sbin/modprobe atkbd"
EOF

You’ll have to adjust the sys_vendor to your own machine or you could make the 
rule much more generic to unconditionally load atkbd (if you don’t care about 
boot time for now).

That’s not quite the same as getting a ‘clean’ image but it’s close ;-)

I'll be trying that soon.

Regards
Mike


MICHAEL JOHNSON
Embedded Software Engineer

Symphony Teleca
Sunley House, 46 Jewry Street, Winchester, Hampshire, SO23 8RY
Phone: +441962868866
[email protected]<mailto:[email protected]>
www.symphonyteleca.com<http://www.symphonyteleca.com>

[Linkedin]<http://www.linkedin.com/company/4301?trk=tyah>     [Twitter] 
<https://twitter.com/symphony_teleca>      [Facebook] 
<https://www.facebook.com/SymphonyTelecaCorp>
________________________________
[cid:[email protected]]<http://www.symphonyteleca.com/together>

Teleca Limited, a company registered in England & Wales, registration number 
2773878, registered office at Sunley House, 46 Jewry Street, Winchester, 
Hampshire SO23 8RY. VAT registration number GB 674 6583 90

Follow what's going on at Symphony Teleca's blog on 
www.symphonyteleca.com/blog<http://www.symphonyteleca.com/blog>. Please 
consider the environment before you print.

Notice to recipient: This e-mail (including any attachments) is meant for the 
intended recipient only, may contain confidential and proprietary information, 
and is protected by law. If you received this e-mail in error, please 
immediately notify the sender of the error by return e-mail, delete this 
communication and any attachments, and shred any printouts. Unauthorized 
review, use, dissemination, distribution, copying or taking of any action based 
on this communication is strictly prohibited.
________________________________
From: General [[email protected]] on behalf of Maciej Wereski 
[[email protected]]
Sent: 28 August 2014 9:43 AM
To: [email protected]<mailto:[email protected]>
Subject: Re: [Tizen General] Drivers for keyboard, mouse and ethernet
Hello,

27.08.2014 at 19:47 Michael Johnson 
<[email protected]<mailto:[email protected]>> 
wrote:

Hi all,

Any chance we can add the atkbd module and the r8168 ethernet driver module to 
the kernel?  I'm using a Dell Vostro as a target machine, and have to set up a 
VM every time I need to build the ethernet driver for a new image, since I 
can't use the network on the target to install the development rpms.

Which profile are you using? Common? IVI?


I've kept copies of the ethernet driver for the images I've already built for, 
but going forward, it would save me a lot of hassle having to do this for each 
new release.

I think, that on [Dev] ML your message might get better response. Also there is 
another solution: you can send patch for review on gerrit 
<https://review.tizen.org/gerrit/#/> :)



Thanks
Mike

[cut]

regards,
--
Maciej Wereski
Samsung R&D Institute Poland
Samsung Electronics
[email protected]<mailto:[email protected]>
_______________________________________________
General mailing list
[email protected]
https://lists.tizen.org/listinfo/general

Reply via email to