Writing USB driver for Raspberry Pi [closed] - linux-kernel

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I am trying to write a USB device driver for Raspberry Pi board (practising on my Ubuntu desktop first).
Whenever two flash drives are inserted, data from second will automatically be copied into the first flash drive.
Whenever a flash drive and a printer are connected, the contents of files in a specific PRINT folder in the flash drive will be automatically printed.
1) Is this entirely feasible ?
I have written a small driver which is able to register my Transcend pen drive.
While reading through Linux Device Drivers 3rd Edition (3rd chapter), I understood that file operations that are required for USB data transfer should be requested from the user space only and that they cannot be done from kernel space (ie. from inside my module/driver)
2) Is my understanding correct ? (If it is, then this project becomes impossible..)

Related

Benefits of using FreeNAS instead of Shared Disk in Windows [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
I can use Microsoft Windows OS and make One disk as shared disk. Anyone within the Network can access to that. Instead of that i can use FreeNAS and make Network Attached Storage for my network. Apple Windows or Linux can access this storage. that is OK. but what are the benefits of using NAS ?
Benefits of using NAS are:-
Add capacity in an affordable way
Store and access files from any PC or Mac computer using your
existing network, eliminating the need for multiple hard drives
Share capacity with other parties (suppliers, customers)
Offer full-proof (RAID) central back up, which can be automated, for
extra data protection
Share a USB printer across your network
Automatically and continuously backup your data to give you peace of
mind that all of our files are safe and secure
Check out this link:- http://www.inc.com/articles/201107/benefits-of-network-attached-storage-and-how-to-set-one-up.html

information extraction mac [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Would it be possible to extract the following information from logs?
Start up/Shut down times of Mac.
Connected volumes to Mac.
Also, would it be possible to retrieve the information like -
all the devices connected till now to Mac, for example - all USB device, printers etc.,
Thanks!
You can extract info about sessions, reboots and shutdowns using the command last.
As far as I know, a log isn't kept of all the connected devices, but I could be wrong on this one.

Can we create Custom Operating system that supports any application? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
Can I create a custom operating system that supports both Windows and Linux applications?
How can I do that and what knowledge should I have?
Is this a good start?
Thanks.
This can kind of be done though using Linux and Wine however it is not perfect.
The issue is Windows is not open source and is VERY big so it is not very easy to perfectly emulate what that operating system is doing behind the scenes. This is especially hard with undocumented API calls many programs like to use on Windows.
I do not know of anything that lets you run Mac on Linix without using a VM.
It is very unlikely there will ever be "one OS to rule them all" but with tools like Wine and using virtualization with things like VMWare's Unity Mode to give the affect of another OS's program running on your system.

What made Win9x NotePad so stable? [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm pondering how to make a text editor very stable. In my experience, text editors are second only to games in exhibiting flaky behavior (hanging, corrupted files, etc.).
I haven't programmed for Windows, but I have maintained a lot of Windows machines since the mid 1990s, and it occurred to me that NotePad is perhaps the one application I have used a lot but have never had a problem with.
What about the design of the Windows 9x NotePad made it so stable? Did the very small file size limit (64 KB) allow a simpler internal structure?
Two reasons: it's pared down to the essentials, and it relies on the existing Windows text control for most of its functionality.

Decent Mac HW confguration to create iOS Apps using XCode [closed]

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I'm planning to buy Mac just to develop Apps for iPhone (iOS) using XCode. Hence, I need to know what a decent hardware configuration to develeop with XCode.
Since I will only use it for iphone developemnt, i dont want to spend alot of money on it. But also I want to get a good hardware that will not give hard to time. hence, what apple hardware and configuration you recommend.
Thanks,,
Pretty much any apple hardware will work fine. I have both a macbook pro (2010) and an iMac (2009) that work very nicely. However a big screen is a huge help especially when designing the gui parts of an application.
I use a 2011 model MacBook Air with 4GB of RAM and runs XCode like a dream.

Resources