Click here to Skip to main content
14,669,424 members
Home » Discussions » Linux Programming
   

Linux Programming

 
GeneralRe: from "ls" to C++ buffer? Pin
Vaclav_16-Jan-19 7:05
MemberVaclav_16-Jan-19 7:05 
GeneralRe: from "ls" to C++ buffer? Pin
Richard MacCutchan16-Jan-19 8:20
mveRichard MacCutchan16-Jan-19 8:20 
GeneralRe: from "ls" to C++ buffer? Pin
Vaclav_16-Jan-19 15:03
MemberVaclav_16-Jan-19 15:03 
Questionioctl - from code to hardware Pin
Vaclav_3-Jan-19 4:41
MemberVaclav_3-Jan-19 4:41 
SuggestionRe: ioctl - from code to hardware Pin
Richard MacCutchan3-Jan-19 6:31
mveRichard MacCutchan3-Jan-19 6:31 
GeneralRe: ioctl - from code to hardware Pin
Vaclav_3-Jan-19 11:03
MemberVaclav_3-Jan-19 11:03 
GeneralRe: ioctl - from code to hardware Pin
Richard MacCutchan3-Jan-19 22:11
mveRichard MacCutchan3-Jan-19 22:11 
GeneralRe: ioctl - from code to hardware Pin
Vaclav_4-Jan-19 5:36
MemberVaclav_4-Jan-19 5:36 
Yes, I know in case of I2C I need to know the actual data format to accomplish the task.
For now I like to verify that when I initialize the file descriptor with device and then call ioctl to tell the file descriptor to open commutation with I2C slave - by passing the actual I2C hardware address , - then I do not need to write the actual data "prefixed " with the address.

That is the part I am having trouble understanding - but I'll try to "write" with and without sending the I2C address.
I may post the code when I am done testing this.

Cheers
Vaclav
QuestionWhich is most current Linux "man" resource to consult with? Pin
Vaclav_2-Jan-19 5:36
MemberVaclav_2-Jan-19 5:36 
AnswerRe: Which is most current Linux "man" resource to consult with? Pin
Richard MacCutchan2-Jan-19 6:29
mveRichard MacCutchan2-Jan-19 6:29 
QuestionCoding C++ ioctl SPI_IOC_MESSAGE Pin
Vaclav_26-Dec-18 4:44
MemberVaclav_26-Dec-18 4:44 
GeneralRe: Coding C++ ioctl SPI_IOC_MESSAGE Pin
Richard MacCutchan26-Dec-18 7:01
mveRichard MacCutchan26-Dec-18 7:01 
GeneralRe: Coding C++ ioctl SPI_IOC_MESSAGE Pin
Vaclav_26-Dec-18 7:51
MemberVaclav_26-Dec-18 7:51 
GeneralRe: Coding C++ ioctl SPI_IOC_MESSAGE Pin
Richard MacCutchan26-Dec-18 22:24
mveRichard MacCutchan26-Dec-18 22:24 
QuestionAre there any Yocto masters here? Pin
Munchies_Matt6-Dec-18 3:32
MemberMunchies_Matt6-Dec-18 3:32 
QuestionSo... Pin
Nathan Minier4-Dec-18 1:29
professionalNathan Minier4-Dec-18 1:29 
AnswerRe: So... Pin
Eddy Vluggen4-Dec-18 1:32
professionalEddy Vluggen4-Dec-18 1:32 
GeneralRe: So... Pin
Nathan Minier4-Dec-18 1:35
professionalNathan Minier4-Dec-18 1:35 
AnswerRe: So... Pin
#realJSOP7-Jan-19 1:39
mva#realJSOP7-Jan-19 1:39 
QuestionFIRST ONE! Pin
#realJSOP1-Dec-18 4:45
mva#realJSOP1-Dec-18 4:45 
QuestionRe: FIRST ONE! Pin
Eddy Vluggen3-Dec-18 10:01
professionalEddy Vluggen3-Dec-18 10:01 
AnswerRe: FIRST ONE! Pin
ZurdoDev4-Dec-18 2:32
mveZurdoDev4-Dec-18 2:32 
GeneralRe: FIRST ONE! Pin
Eddy Vluggen4-Dec-18 2:51
professionalEddy Vluggen4-Dec-18 2:51 
GeneralRe: FIRST ONE! Pin
ZurdoDev4-Dec-18 2:56
mveZurdoDev4-Dec-18 2:56 
AnswerRe: FIRST ONE! Pin
#realJSOP7-Jan-19 1:38
mva#realJSOP7-Jan-19 1:38 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.