Skip to contentSkip to conversation

i2c-nscacb.c

DISCUSSION Jean Delvare 3 participants 9 messages May 19, 2005

lore
Share & tools
lore
#0 lore raw

FYI, Frodo isn't working on the Linux i2c stuff for a while. He simply forwarded your mail to us. We'll try to help.

Quoted 4 lines

I recently came across your i2c-nscacb.c module which I need to use with a Microtik embedded board. I have version 26, dated 4/09/03, and this is a 2.4 kernel version.

Quoted 8 lines

I need to work with a 2.6 kernel, and if you have a later version. I also need the lm87 chip module which I notice is also yours. Alternatively if you do not have such a version, would you like the version that I would then create in case anyone asks for the future?

Is there any reason why these modules have not appeared in the regular kernels? Do you need "user" support for such inclusion, I would be happy to help if I can in any way.

I never heard of the i2c-nscacb driver. Google doesn't provide much information. In any case that's not one of our drivers, so it's unlikely we can help.

As for the lm87 driver, it hasn't been ported to Linux 2.6 yet. Porting chips represents much work, and we are doing our best with the help of various contributors, but still this is a rather slow process. You are the second person to ask for the lm87 driver, but nobody has volunteered to port it so far. If you want to give it a try, I recommend that you read Documentation/i2c/porting-clients and Documentation/i2c/sysfs-interface as found in the Linux 2.6.5-rc1 (and later) tree. It's definitely easier to port a drivers for which you have a chip to test on.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#1 lore raw

According to David Goodenough:

Quoted 2 lines

I am quite happy to try to get the lm87 driver to work, and I will send it to you when I have done so.

Great :)

Quoted 4 lines

The Microtik (routerboard.com) boards use both of these modules, and they found the i2c-nscacb module from somewhere, and it contains the name [email protected] as the author in the header comments. Frodo's name however appears as the MODULE_AUTHOR.

NSC obviously stands for National Semiconductor, in both the module name and the e-mail address. They possibly started their driver from one of Frodo's, since he was the most active developper back then. If the driver is GPL (and if it is based on Frodo's work, it has to be) then the best thing to start with would probably be to integrate it into our CVS tree, so that as many folks as possible can enjoy it.

Quoted 2 lines

I have a Microtik board (actually three of them) so I will test the revised code when I have done.

That's fine. As far as I know, porting the bus driver (i2c-nscacb) should be the easiest part, porting the chip driver (lm87) may require some more work, but I'll try to help you do that part (mostly by reviewing your code when it's done).

Quoted 2 lines

When doing the conversion, is this the best eMail address to ask questions to or is there a list?

This is the best address, since this *is* the mailing-list. Strange that people often don't get it. Maybe we should advertise it more clearly on our pages.

Quoted 3 lines

I am a Debian user, and so currently I do not have 2.6.5 as they have not packaged it yet. I am using 2.6.4. Could you email me the two files you mentioned.

Maybe Debian folks didn't package 2.6.5 because it's not out yet? ;)

I'll send you the files this evening (GMT+2). That said, in the end you'll have to submit the drivers in the form of patches against our most recent tree (which is Greg KH's one, not Linus' one) so you'll have to download a few kernel patches anyway.

Thanks.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#2 lore raw
In reply to Jean Delvare
Quoted 20 lines · Jean Delvare

FYI, Frodo isn't working on the Linux i2c stuff for a while. He simply forwarded your mail to us. We'll try to help.

Quoted 4 lines

I recently came across your i2c-nscacb.c module which I need to use with a Microtik embedded board. I have version 26, dated 4/09/03, and this is a 2.4 kernel version.

Quoted 8 lines

I need to work with a 2.6 kernel, and if you have a later version. I also need the lm87 chip module which I notice is also yours. Alternatively if you do not have such a version, would you like the version that I would then create in case anyone asks for the future?

Is there any reason why these modules have not appeared in the regular kernels? Do you need "user" support for such inclusion, I would be happy to help if I can in any way.

I never heard of the i2c-nscacb driver. Google doesn't provide much information. In any case that's not one of our drivers, so it's unlikely we can help.

Quoted 9 lines

As for the lm87 driver, it hasn't been ported to Linux 2.6 yet. Porting chips represents much work, and we are doing our best with the help of various contributors, but still this is a rather slow process. You are the second person to ask for the lm87 driver, but nobody has volunteered to port it so far. If you want to give it a try, I recommend that you read Documentation/i2c/porting-clients and Documentation/i2c/sysfs-interface as found in the Linux 2.6.5-rc1 (and later) tree. It's definitely easier to port a drivers for which you have a chip to test on.

Thanks for your note.

I am quite happy to try to get the lm87 driver to work, and I will send it to you when I have done so. The Microtik (routerboard.com) boards use both of these modules, and they found the i2c-nscacb module from somewhere, and it contains the name [email protected] as the author in the header comments. Frodo's name however appears as the MODULE_AUTHOR.

I have a Microtik board (actually three of them) so I will test the revised code when I have done.

When doing the conversion, is this the best eMail address to ask questions to or is there a list?

I am a Debian user, and so currently I do not have 2.6.5 as they have not packaged it yet. I am using 2.6.4. Could you email me the two files you mentioned.

Regards

David

#3 lore raw
In reply to Jean Delvare
Quoted 5 lines · Mark Studebaker

thanks for the additional info.
Yes this is the right email list.
Do you know what NSC chip the driver is for?
We've been looking for NSC drivers for the SC1200/1400 and for the PC87365/66 (see our new drivers page).

The driver says this at its head:-

/*
i2c bus driver for ACCESS.bus (ACB).
Copyright (c) 2000 National Semiconductor Corporation Author : [email protected]
*/
/* This implements an i2c algorithm/adapter for NSC ACCESS.bus
interfaces of National Semiconductor Corporation's Geode family IA on a chip. The SuperIO module of the Geode family IA on a chip has two ACCESS.bus interfaces (ACB). This module implements the ACB algorithm and adapter specific modules. */

I can send the file to you (or you can download it along with all the rest of the linux drivers) from the routerboard.com web site.

Quoted 56 lines

Jim do you have anything you can contribute to us?

Quoted 53 lines · David Goodenough
Quoted 20 lines · Jean Delvare

FYI, Frodo isn't working on the Linux i2c stuff for a while. He simply forwarded your mail to us. We'll try to help.

Quoted 4 lines

I recently came across your i2c-nscacb.c module which I need to use with a Microtik embedded board. I have version 26, dated 4/09/03, and this is a 2.4 kernel version.

Quoted 8 lines

I need to work with a 2.6 kernel, and if you have a later version. I also need the lm87 chip module which I notice is also yours. Alternatively if you do not have such a version, would you like the version that I would then create in case anyone asks for the future?

Is there any reason why these modules have not appeared in the regular kernels? Do you need "user" support for such inclusion, I would be happy to help if I can in any way.

I never heard of the i2c-nscacb driver. Google doesn't provide much information. In any case that's not one of our drivers, so it's unlikely we can help.

Quoted 9 lines

As for the lm87 driver, it hasn't been ported to Linux 2.6 yet. Porting chips represents much work, and we are doing our best with the help of various contributors, but still this is a rather slow process. You are the second person to ask for the lm87 driver, but nobody has volunteered to port it so far. If you want to give it a try, I recommend that you read Documentation/i2c/porting-clients and Documentation/i2c/sysfs-interface as found in the Linux 2.6.5-rc1 (and later) tree. It's definitely easier to port a drivers for which you have a chip to test on.

Thanks for your note.

I am quite happy to try to get the lm87 driver to work, and I will send it to you when I have done so. The Microtik (routerboard.com) boards use both of these modules, and they found the i2c-nscacb module from somewhere, and it contains the name [email protected] as the author in the header comments. Frodo's name however appears as the MODULE_AUTHOR.

I have a Microtik board (actually three of them) so I will test the revised code when I have done.

When doing the conversion, is this the best eMail address to ask questions to or is there a list?

I am a Debian user, and so currently I do not have 2.6.5 as they have not packaged it yet. I am using 2.6.4. Could you email me the two files you mentioned.

Regards

David

-------------- next part --------------
A non-text attachment was scrubbed...
Name: i2c-nscacb.c
Type: text/x-csrc
Size: 27864 bytes
Desc: not available
Url : http://lists.lm-sensors.org/pipermail/lm-sensors/attachments/20040331/225ea4f0/i2c-nscacb.bin

#4 lore raw
In reply to Jean Delvare
Quoted 11 lines · Jean Delvare

According to David Goodenough:

Quoted 2 lines

I am quite happy to try to get the lm87 driver to work, and I will send it to you when I have done so.

Great :)

Quoted 4 lines

The Microtik (routerboard.com) boards use both of these modules, and they found the i2c-nscacb module from somewhere, and it contains the name [email protected] as the author in the header comments. Frodo's name however appears as the MODULE_AUTHOR.

Quoted 6 lines

NSC obviously stands for National Semiconductor, in both the module name and the e-mail address. They possibly started their driver from one of Frodo's, since he was the most active developper back then. If the driver is GPL (and if it is based on Frodo's work, it has to be) then the best thing to start with would probably be to integrate it into our CVS tree, so that as many folks as possible can enjoy it.

Can you send me the details for connecting to your CVS (read only initially)

Quoted 9 lines
Quoted 3 lines

I have a Microtik board (actually three of them) so I will test the revised code when I have done.

That's fine. As far as I know, porting the bus driver (i2c-nscacb) should be the easiest part, porting the chip driver (lm87) may require some more work, but I'll try to help you do that part (mostly by reviewing your code when it's done).

Quoted 6 lines
Quoted 2 lines

When doing the conversion, is this the best eMail address to ask questions to or is there a list?

This is the best address, since this *is* the mailing-list. Strange that people often don't get it. Maybe we should advertise it more clearly on our pages.

I looked on the web pages, and could find a link to send to this list, but nothing about how I subscribe to it. Maybe I looked in the wrong place.

Quoted 11 lines
Quoted 4 lines

I am a Debian user, and so currently I do not have 2.6.5 as they have not packaged it yet. I am using 2.6.4. Could you email me the two files you mentioned.

Maybe Debian folks didn't package 2.6.5 because it's not out yet? ;)

I'll send you the files this evening (GMT+2). That said, in the end you'll have to submit the drivers in the form of patches against our most recent tree (which is Greg KH's one, not Linus' one) so you'll have to download a few kernel patches anyway.

I am quite happy building modules outside the kernel, but I would like to build them in "the debian way" so that apt-get does not get confused.

Quoted 2 lines

Thanks.

#5 lore raw
In reply to Jean Delvare

thanks for the additional info.
Yes this is the right email list.
Do you know what NSC chip the driver is for?
We've been looking for NSC drivers for the SC1200/1400 and for the PC87365/66 (see our new drivers page).
Jim do you have anything you can contribute to us?

Quoted 58 lines · David Goodenough
Quoted 21 lines · Jean Delvare

FYI, Frodo isn't working on the Linux i2c stuff for a while. He simply forwarded your mail to us. We'll try to help.

Quoted 4 lines

I recently came across your i2c-nscacb.c module which I need to use with a Microtik embedded board. I have version 26, dated 4/09/03, and this is a 2.4 kernel version.

Quoted 8 lines

I need to work with a 2.6 kernel, and if you have a later version. I also need the lm87 chip module which I notice is also yours. Alternatively if you do not have such a version, would you like the version that I would then create in case anyone asks for the future?

Is there any reason why these modules have not appeared in the regular kernels? Do you need "user" support for such inclusion, I would be happy to help if I can in any way.

I never heard of the i2c-nscacb driver. Google doesn't provide much information. In any case that's not one of our drivers, so it's unlikely we can help.

Quoted 9 lines

As for the lm87 driver, it hasn't been ported to Linux 2.6 yet. Porting chips represents much work, and we are doing our best with the help of various contributors, but still this is a rather slow process. You are the second person to ask for the lm87 driver, but nobody has volunteered to port it so far. If you want to give it a try, I recommend that you read Documentation/i2c/porting-clients and Documentation/i2c/sysfs-interface as found in the Linux 2.6.5-rc1 (and later) tree. It's definitely easier to port a drivers for which you have a chip to test on.

Thanks for your note.

I am quite happy to try to get the lm87 driver to work, and I will send it to you when I have done so. The Microtik (routerboard.com) boards use both of these modules, and they found the i2c-nscacb module from somewhere, and it contains the name [email protected] as the author in the header comments. Frodo's name however appears as the MODULE_AUTHOR.

I have a Microtik board (actually three of them) so I will test the revised code when I have done.

When doing the conversion, is this the best eMail address to ask questions to or is there a list?

I am a Debian user, and so currently I do not have 2.6.5 as they have not packaged it yet. I am using 2.6.4. Could you email me the two files you mentioned.

Regards

David

#6 lore raw
In reply to Jean Delvare

According to David Goodenough:

Quoted 2 lines

Can you send me the details for connecting to your CVS (read only initially)

See this page:
http://secure.netroedge.com/~lm78/download.html#cvs

Just cut'n'paste the commands in a shell and it should work.

Quoted 3 lines

I looked on the web pages, and could find a link to send to this list, but nothing about how I subscribe to it. Maybe I looked in the wrong place.

This is because there's no way to subscribe ;)

Actually the subscription requests are still processed manually by Philip Edelbrock.

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#7 lore raw
In reply to Jean Delvare

According to David Goodenough:

Quoted 4 lines

OK, I have read that page, and it says that 2.6 stuff is not in CVS but rather in BK. I have never used BK, so when it gets to completing this stuff, to whom (or where) do I submit it, and in what format?

Sorry for the confusion. There are actually two repositories you may need to access to:

* The lm_sensors' CVS repository, which holds the 2.4 drivers and user-space tools (kernel-independant). This is where the i2c-nscacb could go if it is GPL.

* Greg's bitkeeper tree, which holds the latest 2.6 kernel developments. I'm not used to bitkeeper either, so I can't give you much more details. See with Greg. For me, I track the patches that show up on the mailing list and compile them into a collection and unified patch here:
http://delvare.nerim.net/i2c/linux-2.6/
When I want to send a patch to Greg, I simply check that it applies cleanly on top of the latest Linus tree + the unified patch. After some times, Greg syncs up with Linus and we start from a common ground again. I guess it would be easier to use BK, but for now it works well enough for me.

Quoted 3 lines

Philip, can you please subscribe me. Also is there any chance of adding a ListId: tag to the list mail, it makes it much easier to filter into the right place.

Philip, I leave this to you :)

Signature · 2 lines
Jean Delvare
http://www.ensicaen.ismra.fr/~delvare/
#8 lore raw
In reply to Jean Delvare
Quoted 8 lines · Jean Delvare

According to David Goodenough:

Quoted 2 lines

Can you send me the details for connecting to your CVS (read only initially)

See this page:
http://secure.netroedge.com/~lm78/download.html#cvs

Just cut'n'paste the commands in a shell and it should work.

OK, I have read that page, and it says that 2.6 stuff is not in CVS but rather in BK. I have never used BK, so when it gets to completing this stuff, to whom (or where) do I submit it, and in what format?

Quoted 9 lines
Quoted 4 lines

I looked on the web pages, and could find a link to send to this list, but nothing about how I subscribe to it. Maybe I looked in the wrong place.

This is because there's no way to subscribe ;)

Actually the subscription requests are still processed manually by Philip Edelbrock.

Philip, can you please subscribe me. Also is there any chance of adding a ListId: tag to the list mail, it makes it much easier to filter into the right place.

David