Acer Aspire One D255E - continuing problems with card reader
Reply to dawnsboy
Dawnsboy, my systems knowledge is not enough to understand your last post. Are you saying that the source for the card reader is needed? (Source at first post)
Or, more likely, that you don't have access to the kernel source for version 2.6.33.2?
I thought it was available in a download from:
http://bkhome.org/sources/kernel-2.6.33.2/
[user name:puppy password linux]
Sorry about that,
myke
Or, more likely, that you don't have access to the kernel source for version 2.6.33.2?
I thought it was available in a download from:
http://bkhome.org/sources/kernel-2.6.33.2/
[user name:puppy password linux]
Sorry about that,
myke
AA1 D255E-keucr slacko 5.3;luci;mijnpup; tw-os; with:Emacs,gawk,noteboxmismanager,treesheets, freeplane, libreoffice, tkoutline, Sigil, calibre, calendar. magic&Noteliner(wine), kamas (DOS)
No Luck So Far
I had not trouble with building the keucr module for the ENE Card Reader in spup100 but I have had no luck so far in building the module for Puppy Linux (Lucid) 5.25. Here are the results of the initial "make" instruction:
Maybe someone can help us out with this.make: Entering directory `/usr/src/linux-2.6.33.2'
CC [M] /root/keucr/usb.o
In file included from include/linux/gfp.h:4,
from include/linux/slab.h:12,
from include/linux/percpu.h:5,
from include/linux/sched.h:77,
from /root/keucr/usb.c:1:
include/linux/mmzone.h:18:30: error: generated/bounds.h: No such file or directory
include/linux/mmzone.h:258:5: warning: "MAX_NR_ZONES" is not defined
include/linux/mmzone.h:260:7: warning: "MAX_NR_ZONES" is not defined
include/linux/mmzone.h:262:7: warning: "MAX_NR_ZONES" is not defined
In file included from include/linux/gfp.h:4,
from include/linux/slab.h:12,
from include/linux/percpu.h:5,
from include/linux/sched.h:77,
from /root/keucr/usb.c:1:
include/linux/mmzone.h:300: error: 'MAX_NR_ZONES' undeclared here (not in a function)
In file included from include/linux/scatterlist.h:6,
from include/linux/dma-mapping.h:7,
from include/scsi/scsi_cmnd.h:4,
from /root/keucr/usb.c:12:
include/linux/mm.h:454:63: warning: "NR_PAGEFLAGS" is not defined
include/linux/mm.h:502:62: warning: "NR_PAGEFLAGS" is not defined
/root/keucr/usb.c: In function 'associate_dev':
/root/keucr/usb.c:293: error: implicit declaration of function 'usb_alloc_coherent'
/root/keucr/usb.c:293: warning: assignment makes pointer from integer without a cast
/root/keucr/usb.c:300: warning: assignment makes pointer from integer without a cast
/root/keucr/usb.c: In function 'dissociate_dev':
/root/keucr/usb.c:497: error: implicit declaration of function 'usb_free_coherent'
make[1]: *** [/root/keucr/usb.o] Error 1
make: *** [_module_/root/keucr] Error 2
Re; bounds.h missing
Dawnsboy, my buddy (who dislikes Puppy intensely for some reason) told me that probably someone had run a 'make clean' on the kernel sources and that had deleted the 'bounds.h' file. You are supposed to copy bounds.h to a temp folder, run 'make clean' on the kernel sources and then copy the bounds.h back before proceeding further.
That's all he would say.
myke
That's all he would say.
myke
AA1 D255E-keucr slacko 5.3;luci;mijnpup; tw-os; with:Emacs,gawk,noteboxmismanager,treesheets, freeplane, libreoffice, tkoutline, Sigil, calibre, calendar. magic&Noteliner(wine), kamas (DOS)
Re: Re; bounds.h missing
IIRC, 'make prepare' will get you the same thing. Run it from /usr/src/linux .myke wrote:Dawnsboy, my buddy (who dislikes Puppy intensely for some reason) told me that probably someone had run a 'make clean' on the kernel sources and that had deleted the 'bounds.h' file. You are supposed to copy bounds.h to a temp folder, run 'make clean' on the kernel sources and then copy the bounds.h back before proceeding further.
I appreciate the tip. It was good of your friend to help out. The bounds.h file is missing from the kernel sourcesmyke wrote:
Dawnsboy, my buddy (who dislikes Puppy intensely for some reason) told me that probably someone had run a 'make clean' on the kernel sources and that had deleted the 'bounds.h' file. You are supposed to copy bounds.h to a temp folder, run 'make clean' on the kernel sources and then copy the bounds.h back before proceeding further.
rcrsn51 wrote:
Running this command on that directory does produce a response. However running initial "make" command on the keucr source folder yields the same result as listed above.IIRC, 'make prepare' will get you the same thing. Run it from /usr/src/linux .
To this point I have been successful in building this module from the source package on several operating systems. Most are various derivatives of Ubuntu. And of course I was successful doing the same with spup-100. The thing that all of these operating systems have in common is that they have kernel version 2.6.34 or newer.
Puppy Linux 5.25 (Lucid) uses kernel 2.6.33.2. I have also failed to build the module on Linux Mint 9 Fluxbox which uses kernel 2.6.32-22.
sigh...
Back to the drawing board.
pemasu wrote:
Thank you for posting that link. It does contain the elusive bounds.h file that was missing from the kernel source package downloaded from bkhome. However I am still unable to build the module. Here is what I get in response to the initial "make" instruction:
These results have fewer lines than the previous post that I made regarding the failure of the "make" command to produce the desired results. However these lines do appear in that previous post. So it seems having the bounds.h file in the kernel source does make a difference but the module still fails to build in this environment.make: Entering directory `/usr/src/linux-2.6.33.2'
LD /root/my-documents/keucr/built-in.o
CC [M] /root/my-documents/keucr/usb.o
/root/my-documents/keucr/usb.c: In function 'associate_dev':
/root/my-documents/keucr/usb.c:211: error: implicit declaration of function 'usb_alloc_coherent'
/root/my-documents/keucr/usb.c:211: warning: assignment makes pointer from integer without a cast
/root/my-documents/keucr/usb.c:218: warning: assignment makes pointer from integer without a cast
/root/my-documents/keucr/usb.c: In function 'dissociate_dev':
/root/my-documents/keucr/usb.c:414: error: implicit declaration of function 'usb_free_coherent'
make[1]: *** [/root/my-documents/keucr/usb.o] Error 1
make: *** [_module_/root/my-documents/keucr] Error 2
make: Leaving directory `/usr/src/linux-2.6.33.2'
@pemasu
http://www.mail-archive.com/registry@li ... 28399.html
Thanks for the link. That is consistent with my personal experience. I did succesfully build the module on spup-100 with the 2.6.34 kernel but everything older than that was a no go regardless of the operating system.
I had the same result when trying to build the module on a 10.04 LTS derivative.
http://www.mail-archive.com/registry@li ... 28399.html
Thanks for the link. That is consistent with my personal experience. I did succesfully build the module on spup-100 with the 2.6.34 kernel but everything older than that was a no go regardless of the operating system.
I had the same result when trying to build the module on a 10.04 LTS derivative.
Older Source for Debian Squeeze
Dawnsboy, I did some googling and I came across another, older source for the keucr module.
This one is supposed to have been used for Debian Squeeze (2.6.32) so hopefully it should work with lupu 525.
myke
This one is supposed to have been used for Debian Squeeze (2.6.32) so hopefully it should work with lupu 525.
myke
Alright here it is
I have built a module for the ENE Card Reader found on some Acer Aspire One netbooks for Puppy Linux (Lucid) 5.25. I compiled and tested the module, created the pet package then formatted the hard drive of my Acer Aspire One AOD255-2301 netbook, performed a fresh install of the operating system, installed the newly created pet package and it worked just fine. So I am posting it here.
I did not have to reboot after installing this package. I simply inserted an SD card into the reader and it was detected. If your card is not detected after installing this package try rebooting the system. Thanks to myke, pemasu and rcrsn51 for helping identify an issue with the kernel source, providing a link to a useable kernel source and other information.
I did not have to reboot after installing this package. I simply inserted an SD card into the reader and it was detected. If your card is not detected after installing this package try rebooting the system. Thanks to myke, pemasu and rcrsn51 for helping identify an issue with the kernel source, providing a link to a useable kernel source and other information.
- Attachments
-
- keucr_2.6.33.2-lupu525.pet
- ENE Card Reader module for official Puppy Linux 5.25 Lucid
- (29.16 KiB) Downloaded 985 times
Thank you very much
Dawnsboy, Success! It worked. I would like to thank you very much for persevering in compiling this module. Between the two sources, the tools are now available to compile and use this module for kernels up to 2.6.38.
Once again, the Puppy Community (in particular, dawnsboy, pesamu, jamesbond and jemimah) have come through in helping a user!
Thanks again,
myke
Once again, the Puppy Community (in particular, dawnsboy, pesamu, jamesbond and jemimah) have come through in helping a user!
Thanks again,
myke
AA1 D255E-keucr slacko 5.3;luci;mijnpup; tw-os; with:Emacs,gawk,noteboxmismanager,treesheets, freeplane, libreoffice, tkoutline, Sigil, calibre, calendar. magic&Noteliner(wine), kamas (DOS)
You are welcome.Dawnsboy, Success! It worked. I would like to thank you very much for persevering in compiling this module. Between the two sources, the tools are now available to compile and use this module for kernels up to 2.6.38.
Once again, the Puppy Community (in particular, dawnsboy, pesamu, jamesbond and jemimah) have come through in helping a user!
Thanks again,
myke
Re: Alright here it is
Thank you, worked immediately after install.dawnsboy wrote:I have built a module for the ENE Card Reader found on
some Acer Aspire One netbooks for Puppy Linux (Lucid) 5.25. ...
I did not have to reboot after installing this package.
I simply inserted an SD card into the reader and it was detected...
rod
Just installed keucr_2.6.33.2-lupu525.pet on an MSI U135 netbook running LuPu-525 booted from a USB flash card, actually an SD card in a USB reader.
Works perfectly, thanks a lot Dawnsboy!
Will also install it on a triple-boot Aspire One D255 (SPup-100, LuPu-525, Win7) on which the SPup-100 version is already installed & working.
Works perfectly, thanks a lot Dawnsboy!
Will also install it on a triple-boot Aspire One D255 (SPup-100, LuPu-525, Win7) on which the SPup-100 version is already installed & working.