LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices

Reply
 
Search this Thread
Old 03-29-2012, 08:46 AM   #1
biswajit.2k3
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Rep: Reputation: 0
USB Driver Read and Write for PC


Hi ,
I am a linux kernel Prorammer.I want to write own usb driver for pc which can read and write to pen drive once inserted.My problem lies how to access the Flash Present in the flash drive.

Regards,
Biswajit
 
Old 03-30-2012, 01:54 PM   #2
fatmac
Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey-Hants Border
Distribution: Debian & Debian based distros
Posts: 228

Rep: Reputation: Disabled
Quote:
Originally Posted by biswajit.2k3 View Post
Hi ,
I am a linux kernel Prorammer.I want to write own usb driver for pc which can read and write to pen drive once inserted.My problem lies how to access the Flash Present in the flash drive.

Regards,
Biswajit
If you're a kernel programmer, you'd know!
 
Old 03-30-2012, 03:31 PM   #3
kakaka
Member
 
Registered: Sep 2003
Posts: 382

Rep: Reputation: 86
Quote:
Originally Posted by fatmac View Post
If you're a kernel programmer, you'd know!
Aw, come on! That's like saying that because a person knows something about a subject, they must know everything about the subject. In the days before there was much open source, I worked on ports of some Bell as well as some Berkeley Unix kernels, and I didn't necessarily see every piece of source code for each kernel. I had specific tasks to accomplish and dealt with whatever source was needed to do so.
 
Old 03-31-2012, 03:54 AM   #4
fatmac
Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey-Hants Border
Distribution: Debian & Debian based distros
Posts: 228

Rep: Reputation: Disabled
@Kakaka
Seemed like a troll question to me; but if biswajit.2k3 is a kernel developer, then s/he would know how to get in contact with the kernel usb dev team.
 
Old 04-01-2012, 10:05 PM   #5
kakaka
Member
 
Registered: Sep 2003
Posts: 382

Rep: Reputation: 86
Quote:
Originally Posted by fatmac View Post
@Kakaka
Seemed like a troll question to me; but if biswajit.2k3 is a kernel developer, then s/he would know how to get in contact with the kernel usb dev team.
In the time frame I mentioned previously, my job title was "Unix Kernel Engineer". Some people might say that was when the pure Bell Labs and Berkeley Unix kernels were thriving. But I was not working for either Bell or Berkeley. I was not one of the people who originally created the kernels. Instead I was working for one of the companies that paid big bucks to license the kernel source code to port it to specific hardware. Despite my title, I didn't know how to contact anyone at Bell or Berkeley for assistance working with their kernels.

The OP might have simply meant that they downloaded Linux kernel source code and have worked with it to some extent.

I've done Software Systems and Applications Development on a very wide of platforms, from old IBM mainframes to much more recent microprocessors, and had to deal with all the associated documentation. I greatly appreciate Linux and use it probably about 99.99...% of the time when using a computer. But I feel there's plenty of Linux documentation which could benefit from a fair amount of improvement. I wouldn't be surprised that someone didn't know something.

These forums are meant to be here to help people.
 
Old 04-02-2012, 05:16 PM   #6
Strider22
LQ Newbie
 
Registered: Nov 2005
Posts: 19

Rep: Reputation: 0
I thought it inappropriate to bother the USB development team by asking them to teach anyone who wants to learn how to write USB drivers... otherwise I would have asked them too..(even though I don't know how to reach them)

I'm trying figure it out too. I'm off to a meeting right now but I can post some links when I get back.
It isn't easy even figuring out what the history of usb on linux is.
 
Old 04-02-2012, 08:44 PM   #7
kakaka
Member
 
Registered: Sep 2003
Posts: 382

Rep: Reputation: 86
Well if you want something of the history, here's a starting point, and there are a variety of other related links on this page as well:

http://www.linux-usb.org/
 
Old 04-03-2012, 03:17 AM   #8
fatmac
Member
 
Registered: Sep 2011
Location: Upper Hale, Surrey-Hants Border
Distribution: Debian & Debian based distros
Posts: 228

Rep: Reputation: Disabled
Quote:
I thought it inappropriate to bother the USB development team by asking them to teach anyone who wants to learn how to write USB drivers... otherwise I would have asked them too..(even though I don't know how to reach them)
In that case, I apologize for thinking you a troll....
 
Old 04-04-2012, 08:29 AM   #9
biswajit.2k3
LQ Newbie
 
Registered: Jul 2009
Posts: 4

Original Poster
Rep: Reputation: 0
usb flash accessing problem

Hi,
I have done some work around before posting the mail.For the 1st time I am working on usb .
So I am facing problem .I am able to register the usb mass storage driver with the correspoing
vendor ID and product ID.Before writing data I should be in a position to access the Flash present in the Usb,which is a 1st hurdle
for me.I dont know how to access that.Once this problem solved Only thing remains is
maping a block driver and partioning .Then after file system part will come into picture.
So if any one knows how to access the flash,please help me in solving my problem.
If any one knows how to contact the usb team pleas let me know.

Regards
Biswajit
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
MDIO Read/Write character driver abhaygc Linux - Networking 0 10-27-2010 01:27 AM
USB driver read hung (write working) mahi2010 Linux - Kernel 2 07-30-2010 05:37 PM
USB HardDrive mounts read-only. Is there anyway to make it read-write? Fritz_Katz Linux - Hardware 7 09-13-2007 06:50 PM
can we get a read/write ntfs driver in dsl linux usb stick edition? kachmi DamnSmallLinux 2 05-08-2007 03:35 AM
Driver to read/write to MS Access DB w/Perl bpotts Linux - General 1 09-15-2005 09:24 PM


All times are GMT -5. The time now is 02:53 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration