Re: Arduino on Mageia linux

2017-06-20 Thread Rabin Yasharzadehe
You're welcome.

On Jun 20, 2017 15:23, "Shlomo Solomon"  wrote:

> Stupid of me not to have looked at dmesg before writing.
>
> It turned out to be a bad USB cable - so I wasn't connecting :-(
>
> Thanks for pointing me in the write direction
>
>
>
> On Tue, 20 Jun 2017 15:04:57 +0300
> Rabin Yasharzadehe  wrote:
>
> > what is the output of `dmesg` when you connect the device to the
> > machine ?
> >
> > e.g, should be something like this,
> >
> > [393503.604738] usb 1-4.2: new full-speed USB device number 71 using
> > xhci_hcd
> > [393503.698674] usb 1-4.2: New USB device found, idVendor=1a86,
> > idProduct=7523
> > [393503.698678] usb 1-4.2: New USB device strings: Mfr=0, Product=2,
> > SerialNumber=0
> > [393503.698681] usb 1-4.2: Product: USB2.0-Serial
> > [393503.757764] usbcore: registered new interface driver ch341
> > [393503.757789] usbserial: USB Serial support registered for
> > ch341-uart [393503.757808] ch341 1-4.2:1.0: ch341-uart converter
> > detected [393503.758600] usb 1-4.2: ch341-uart converter now attached
> > to ttyUSB0
> >
> >
> > --
> > Rabin
> >
> > On 20 June 2017 at 14:20, Shlomo Solomon 
> > wrote:
> >
> > > Sorry - just noticed I cut off part of the error message, so here
> > > it is again:
> > >
> > > WARNING:  RXTX Version mismatch
> > > Jar version = RXTX-2.2
> > > native lib Version = RXTX-2.2pre2
> > > Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> > > avrdude: stk500_recv(): programmer is not responding
> > > avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
> > > avrdude: stk500_recv(): programmer is not responding
> > > avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
> > >
> > >
> > >
> > >
> > >
> > > On Tue, 20 Jun 2017 13:32:28 +0300
> > > Shlomo Solomon  wrote:
> > >
> > > > I installed the Arduino IDE from Mageia RPMs and added my user to
> > > > the lock group as instructed.
> > > >
> > > > In the tools >> serial port menu, there is no  /dev/ttyUSB0 -
> > > > only /dev/ttyS0 and  /dev/ttyS1. I tried both of them but could
> > > > not upload a program. I read that sometimes Arduino needs to be
> > > > run as root, so I tried that too with no success. Here's what I
> > > > get when I try to upload:
> > > >
> > > > Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> > > > Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> > > > avrdude: stk500_recv(): programmer is not responding
> > > > avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
> > > > avrdude: stk500_recv(): programmer is not responding
> > > > avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
> > > > avrdude: stk500_recv(): programmer is not responding
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Shlomo Solomon
> > > http://the-solomons.net
> > > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5
> > >
> > >
> > > ___
> > > Linux-il mailing list
> > > Linux-il@cs.huji.ac.il
> > > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> > >
>
>
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5
>
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Arduino on Mageia linux

2017-06-20 Thread Shlomo Solomon
Stupid of me not to have looked at dmesg before writing. 

It turned out to be a bad USB cable - so I wasn't connecting :-(

Thanks for pointing me in the write direction



On Tue, 20 Jun 2017 15:04:57 +0300
Rabin Yasharzadehe  wrote:

> what is the output of `dmesg` when you connect the device to the
> machine ?
> 
> e.g, should be something like this,
> 
> [393503.604738] usb 1-4.2: new full-speed USB device number 71 using
> xhci_hcd
> [393503.698674] usb 1-4.2: New USB device found, idVendor=1a86,
> idProduct=7523
> [393503.698678] usb 1-4.2: New USB device strings: Mfr=0, Product=2,
> SerialNumber=0
> [393503.698681] usb 1-4.2: Product: USB2.0-Serial
> [393503.757764] usbcore: registered new interface driver ch341
> [393503.757789] usbserial: USB Serial support registered for
> ch341-uart [393503.757808] ch341 1-4.2:1.0: ch341-uart converter
> detected [393503.758600] usb 1-4.2: ch341-uart converter now attached
> to ttyUSB0
> 
> 
> --
> Rabin
> 
> On 20 June 2017 at 14:20, Shlomo Solomon 
> wrote:
> 
> > Sorry - just noticed I cut off part of the error message, so here
> > it is again:
> >
> > WARNING:  RXTX Version mismatch
> > Jar version = RXTX-2.2
> > native lib Version = RXTX-2.2pre2
> > Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> > avrdude: stk500_recv(): programmer is not responding
> > avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
> > avrdude: stk500_recv(): programmer is not responding
> > avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
> >
> >
> >
> >
> >
> > On Tue, 20 Jun 2017 13:32:28 +0300
> > Shlomo Solomon  wrote:
> >
> > > I installed the Arduino IDE from Mageia RPMs and added my user to
> > > the lock group as instructed.
> > >
> > > In the tools >> serial port menu, there is no  /dev/ttyUSB0 -
> > > only /dev/ttyS0 and  /dev/ttyS1. I tried both of them but could
> > > not upload a program. I read that sometimes Arduino needs to be
> > > run as root, so I tried that too with no success. Here's what I
> > > get when I try to upload:
> > >
> > > Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> > > Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> > > avrdude: stk500_recv(): programmer is not responding
> > > avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
> > > avrdude: stk500_recv(): programmer is not responding
> > > avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
> > > avrdude: stk500_recv(): programmer is not responding
> > >
> > >
> > >
> >
> >
> >
> > --
> > Shlomo Solomon
> > http://the-solomons.net
> > Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5
> >
> >
> > ___
> > Linux-il mailing list
> > Linux-il@cs.huji.ac.il
> > http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
> >



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Arduino on Mageia linux

2017-06-20 Thread Rabin Yasharzadehe
what is the output of `dmesg` when you connect the device to the machine ?

e.g, should be something like this,

[393503.604738] usb 1-4.2: new full-speed USB device number 71 using
xhci_hcd
[393503.698674] usb 1-4.2: New USB device found, idVendor=1a86,
idProduct=7523
[393503.698678] usb 1-4.2: New USB device strings: Mfr=0, Product=2,
SerialNumber=0
[393503.698681] usb 1-4.2: Product: USB2.0-Serial
[393503.757764] usbcore: registered new interface driver ch341
[393503.757789] usbserial: USB Serial support registered for ch341-uart
[393503.757808] ch341 1-4.2:1.0: ch341-uart converter detected
[393503.758600] usb 1-4.2: ch341-uart converter now attached to ttyUSB0


--
Rabin

On 20 June 2017 at 14:20, Shlomo Solomon  wrote:

> Sorry - just noticed I cut off part of the error message, so here it is
> again:
>
> WARNING:  RXTX Version mismatch
> Jar version = RXTX-2.2
> native lib Version = RXTX-2.2pre2
> Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> avrdude: stk500_recv(): programmer is not responding
> avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
> avrdude: stk500_recv(): programmer is not responding
> avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
>
>
>
>
>
> On Tue, 20 Jun 2017 13:32:28 +0300
> Shlomo Solomon  wrote:
>
> > I installed the Arduino IDE from Mageia RPMs and added my user to the
> > lock group as instructed.
> >
> > In the tools >> serial port menu, there is no  /dev/ttyUSB0 -
> > only /dev/ttyS0 and  /dev/ttyS1. I tried both of them but could not
> > upload a program. I read that sometimes Arduino needs to be run as
> > root, so I tried that too with no success. Here's what I get when I
> > try to upload:
> >
> > Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> > Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> > avrdude: stk500_recv(): programmer is not responding
> > avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
> > avrdude: stk500_recv(): programmer is not responding
> > avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
> > avrdude: stk500_recv(): programmer is not responding
> >
> >
> >
>
>
>
> --
> Shlomo Solomon
> http://the-solomons.net
> Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5
>
>
> ___
> Linux-il mailing list
> Linux-il@cs.huji.ac.il
> http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il
>
___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Re: Arduino on Mageia linux

2017-06-20 Thread Shlomo Solomon
Sorry - just noticed I cut off part of the error message, so here it is
again:

WARNING:  RXTX Version mismatch
Jar version = RXTX-2.2
native lib Version = RXTX-2.2pre2
Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00





On Tue, 20 Jun 2017 13:32:28 +0300
Shlomo Solomon  wrote:

> I installed the Arduino IDE from Mageia RPMs and added my user to the
> lock group as instructed.
> 
> In the tools >> serial port menu, there is no  /dev/ttyUSB0 -
> only /dev/ttyS0 and  /dev/ttyS1. I tried both of them but could not
> upload a program. I read that sometimes Arduino needs to be run as
> root, so I tried that too with no success. Here's what I get when I
> try to upload:
> 
> Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
> avrdude: stk500_recv(): programmer is not responding
> avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
> avrdude: stk500_recv(): programmer is not responding
> avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
> avrdude: stk500_recv(): programmer is not responding
> 
> 
> 



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il


Arduino on Mageia linux

2017-06-20 Thread Shlomo Solomon
I installed the Arduino IDE from Mageia RPMs and added my user to the
lock group as instructed.

In the tools >> serial port menu, there is no  /dev/ttyUSB0 -
only /dev/ttyS0 and  /dev/ttyS1. I tried both of them but could not
upload a program. I read that sometimes Arduino needs to be run as
root, so I tried that too with no success. Here's what I get when I try
to upload:

Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
Binary sketch size: 1,056 bytes (of a 32,256 byte maximum)
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 1 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding
avrdude: stk500_getsync() attempt 2 of 10: not in sync: resp=0x00
avrdude: stk500_recv(): programmer is not responding



-- 
Shlomo Solomon
http://the-solomons.net
Sent by Claws Mail 3.11.1 - KDE 4.14.5 - LINUX Mageia 5


___
Linux-il mailing list
Linux-il@cs.huji.ac.il
http://mailman.cs.huji.ac.il/mailman/listinfo/linux-il