Go to advanced search

by MarkyMark
Fri Sep 28, 2012 7:45 am
Forum: Troubleshooting
Topic: Win32DiskImager Seems to have killed my root partition
Replies: 4
Views: 2755

Re: Win32DiskImager Seems to have killed my root partition

Will this be able to fix the SD card. I'd rather not loose all the data. Like I say gpartted knows there is data there, but hasn't given me any options to actually fix it
by MarkyMark
Thu Sep 27, 2012 9:41 pm
Forum: Troubleshooting
Topic: Win32DiskImager Seems to have killed my root partition
Replies: 4
Views: 2755

Win32DiskImager Seems to have killed my root partition

Hi All, I decided to use Win32DiskImager to make a copy of my SD card - error! My pi no longer boots and the swap and root partitions are no longer on the original disk - so no idea what Win32DiskImager did given is should have only been reading the card! Anyway GParted says there is data in the par...
by MarkyMark
Tue Sep 25, 2012 11:25 pm
Forum: General discussion
Topic: Pi Doesn't seem to want to Overclock
Replies: 5
Views: 1164

Pi Doesn't seem to want to Overclock

Hi All, I've set up my config.txt as: arm_freq=980 sdram_freq=450 # for more options see http://elinux.org/RPi_config.txt core_freq=450 gpu_freq=350 over_voltage=6 But after a number of reboots and power downs cat /proc/cpuinfo still reads BogoMIPS : 697.95 I've had a look and found similar issues s...
by MarkyMark
Mon Sep 17, 2012 9:00 pm
Forum: Troubleshooting
Topic: Has anyone got Java to read from Serial Port?
Replies: 17
Views: 10469

Re: Has anyone got Java to read from Serial Port?

My opening code for the port System.setProperty("gnu.io.rxtx.SerialPorts", SerialPortID); CommPortIdentifier portId = null; try { portId = CommPortIdentifier.getPortIdentifier(SerialPortID); } catch (NoSuchPortException e1) { // TODO Auto-generated catch block e1.printStackTrace(); }
by MarkyMark
Mon Sep 17, 2012 7:24 pm
Forum: Troubleshooting
Topic: Has anyone got Java to read from Serial Port?
Replies: 17
Views: 10469

Re: Has anyone got Java to read from Serial Port?

Hi Mitja, Yes you're correct re: the USB port. I was able to use Java on the Pi via a USB<-> Serial adapter no problems. How my logging do you have in your application? I ended up going down the route of lost of catches for anything that was thrown and quite a few system.put.println()!! - Not elegan...
by MarkyMark
Sat Sep 15, 2012 10:37 am
Forum: Troubleshooting
Topic: Has anyone got Java to read from Serial Port?
Replies: 17
Views: 10469

Re: Has anyone got Java to read from Serial Port?

Hi,

Yes I did. I needed to make sure that both /boot/cmdline.txt and /etc/innitab are updated to remove references to the serial port. i.e. prevent the kernel from use it

Example here: http://baldwisdom.com/category/raspberry-pi/

Mark
by MarkyMark
Sat Sep 15, 2012 8:48 am
Forum: Automation, sensing and robotics
Topic: tmp102. Linking to GPIO?
Replies: 1
Views: 1001

Re: tmp102. Linking to GPIO?

Yes that's right
by MarkyMark
Thu Jul 05, 2012 2:47 pm
Forum: General discussion
Topic: WTD! /home/pi dir gone!
Replies: 0
Views: 368

WTD! /home/pi dir gone!

What the Duce...my Pi was up and running for a week okay - then I went to log on and found that the Pi home dir /home/pi had gone! Some random /home/x dir was there? (Not sure if something I'd run had generated if. But more annoying that the original pi dir disappear..

Anyone seen similar?

Mark
by MarkyMark
Thu Jul 05, 2012 2:44 pm
Forum: Troubleshooting
Topic: Has anyone got Java to read from Serial Port?
Replies: 17
Views: 10469

Re: Has anyone got Java to read from Serial Port?

Soz for the late reply.

For some reason my Java code works perfectly okay if using a USB<->Serial converter but not if using the build in serial port from the chip it's self.

I've disable any console output on that port - so I'm not at all sure what's going on?

Mark
by MarkyMark
Fri Jun 22, 2012 8:32 am
Forum: Beginners
Topic: USB Camera Streaming?
Replies: 0
Views: 697

USB Camera Streaming?

I have a usb video grabber - showing up as

lsusb:

Bus 001 Device 004: ID eb1a:2821 eMPIA Technology, Inc.

What is the best way that I can install a driver and something to stream video from it to, say a VLC client running on another machine?

Many Thanks

Mark
by MarkyMark
Fri Jun 22, 2012 7:10 am
Forum: Troubleshooting
Topic: Has anyone got Java to read from Serial Port?
Replies: 17
Views: 10469

Re: Has anyone got Java to read from Serial Port?

Cheers Steve - what be interested to hear what the Wigan jury has to say on the matter :)
by MarkyMark
Thu Jun 21, 2012 7:05 pm
Forum: Troubleshooting
Topic: Has anyone got Java to read from Serial Port?
Replies: 17
Views: 10469

Re: Has anyone got Java to read from Serial Port?

therealeasterbunny this is the main side of the serial reader code. For now (whilst I've been hacking bits out it's pretty much nothing more than a serial reader. Cheers Mark package robotDataServer; /* import gnu.io.CommPortIdentifier; import gnu.io.NoSuchPortException; import gnu.io.PortInUseExcep...
by MarkyMark
Tue Jun 12, 2012 11:42 pm
Forum: Troubleshooting
Topic: Has anyone got Java to read from Serial Port?
Replies: 17
Views: 10469

Has anyone got Java to read from Serial Port?

Hi All, Is anyone using Java to read from the serial port. Both RxTx and purejavacomm aren't working at the moment. They both reading in a few packets - the the process hangs and the CPU hits the roof. If you have I'd be very interested to hear. Am using OpenJDK 6 at the moment (How do you install t...
by MarkyMark
Thu May 24, 2012 10:22 am
Forum: Troubleshooting
Topic: Serial Port Access from Java (RxTx & purejavacomm)
Replies: 2
Views: 2598

Serial Port Access from Java (RxTx & purejavacomm)

Hi, Has anyone had any luck using either RxTx or purejavacomm to access the serial port? I've tried both - RxTx works for a few frames then failes with : java.io.IOException: Input/output error in nativeavailable at gnu.io.RXTXPort.nativeavailable(Native Method) at gnu.io.RXTXPort$SerialInputStream....
by MarkyMark
Wed May 16, 2012 9:53 pm
Forum: Beginners
Topic: Note re: using RxTx (Java Serial Port Access)
Replies: 4
Views: 3968

Note re: using RxTx (Java Serial Port Access)

Hi All, Not sure if this has been posted else where - but if you're planning on using RxTx to access the RS232 port then you'll need to add this line to your code (Before trying to open it): String SerialPortID = "/dev/ttyAMA0"; System.setProperty("gnu.io.rxtx.SerialPorts", SerialPortID); Else the R...
by MarkyMark
Fri May 11, 2012 8:55 pm
Forum: Beginners
Topic: Whats the COMM port ID
Replies: 1
Views: 2107

Re: Whats the COMM port ID

<r>A know this is going to be a dumb question - but I can't figure out which /dev/tty* the GPIO UART is will available on.<br/> <br/> I've read <URL url="http://elinux.org/RPi_Serial_Connection">http://elinux.org/RPi_Serial_Connection</URL> etc etc but I have no ttyS0 or ttySxxx for that matter.<br/...
by MarkyMark
Thu May 10, 2012 8:46 pm
Forum: Beginners
Topic: Dynamically extend the root partition
Replies: 21
Views: 40606

Re: Dynamically extend the root partition

Max/GordonH/All

Many thanks for all that info - worked a treat!! Now go plenty of space. Gordon - your tut is v good

Cheers

Mark
by MarkyMark
Tue May 08, 2012 11:23 pm
Forum: Beginners
Topic: Dynamically extend the root partition
Replies: 21
Views: 40606

Re: Dynamically extend the root partition

I've managed to use gparted to move the swap partition out of the way (To the end of the SD card) but what is the command to resize the mounted root partition to the end of unallocated space?

resize2fs just reports there is nothing todo.

Many Thanks

Mark
by MarkyMark
Tue May 08, 2012 11:04 am
Forum: Beginners
Topic: Java and RXTx Comms Driver....
Replies: 2
Views: 2373

Re: Java and RXTx Comms Driver....

Cheers crontson! do you know the install packages name off hand?

if not no probs...
by MarkyMark
Tue May 08, 2012 8:53 am
Forum: Beginners
Topic: Java and RXTx Comms Driver....
Replies: 2
Views: 2373

Re: Java and RXTx Comms Driver....

Any ideas if this will work - java code writing/reading from the serial port?

Thanks

Mark
by MarkyMark
Tue Mar 20, 2012 10:28 am
Forum: General discussion
Topic: Xbox Kinect and OpenKinect Driver
Replies: 11
Views: 5052

Re: Xbox Kinect and OpenKinect Driver

Cheers peeps - might give QEMUa spin in the mean time. Will be cool if it does work/there's enough grunt

Mark
by MarkyMark
Mon Mar 19, 2012 2:26 pm
Forum: General discussion
Topic: Xbox Kinect and OpenKinect Driver
Replies: 11
Views: 5052

Re: Xbox Kinect and OpenKinect Driver

Hi all,

One of my Pi projects will be using as the highlevel processor for one of my robots. Any idea if the OpenKinect driver will work with the Kinect  out of the box so to speak?

Thanks

Mark

Go to advanced search