Are you running it through a hub? If so, can you do w/o? Have you tried swapping USB ports? ...Kevin -- Kevin Miller Network/email Administrator, CBJ MIS Dept. 155 South Seward Street Juneau, Alaska 99801 Phone: (907) 586-0242, Fax: (907) 586-4500 Registered Linux User No: 307357 -----Original Message----- From: juneau-lug-bounce@xxxxxxxxxxxxx [mailto:juneau-lug-bounce@xxxxxxxxxxxxx] On Behalf Of Jamie Sent: Thursday, February 27, 2014 11:28 AM To: juneau-lug@xxxxxxxxxxxxx Subject: [juneau-lug] losing permissions Kevin may be interested to know that his old Shuttle is still in running and providing support for my remote weather station. This La Crosse 2316 weather station connects via ttyUSB0. The problem: for unknown reasons the device periodically disconnects (see log below) and when it re-connects it has lost its elevated permissions and fails to upload the data. It did it again today. I logged in and did a "sudo chmod 766 /dev/ttyUSB0 " & it's back up and working. It just started doing this a month or so ago and this is the third time. 1) Why is it doing this? 2) How do I prevent it? My previous attempt at creating a udev rule to set permissions was unsuccessful. It has always lost elevated permissions when re-booting. In my latest attempt just now I added the line: KERNEL="ttyUSB[0-9]*", GROUP="dialout", MODE="0766", ENV{GENERATED}="1" to the file: /etc/udev/rules.d/91-persistent-weather-usb.rules Does this seem right? Thanks for any help. -Jamie Log: Feb 27 08:44:13 Hig01 kernel: [1448796.824052] hub 2-0:1.0: port 1 disabled by hub (EMI?), re-enabling... Feb 27 08:44:13 Hig01 kernel: [1448796.824137] usb 2-1: USB disconnect, device number 4 Feb 27 08:44:13 Hig01 kernel: [1448796.824367] ftdi_sio ttyUSB0: FTDI USB Serial Device converter now disconnected from ttyUSB0 Feb 27 08:44:13 Hig01 kernel: [1448796.824395] ftdi_sio 2-1:1.0: device disconnected Feb 27 08:44:13 Hig01 kernel: [1448797.064021] usb 2-1: new full-speed USB device number 5 using uhci_hcd Feb 27 08:44:13 Hig01 kernel: [1448797.242074] usb 2-1: New USB device found, idVendor=0403, idProduct=6001 Feb 27 08:44:13 Hig01 kernel: [1448797.242082] usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0 Feb 27 08:44:13 Hig01 kernel: [1448797.242088] usb 2-1: Product: USB <-> Serial Feb 27 08:44:13 Hig01 kernel: [1448797.242092] usb 2-1: Manufacturer: FTDI Feb 27 08:44:13 Hig01 kernel: [1448797.248147] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected Feb 27 08:44:13 Hig01 kernel: [1448797.248199] usb 2-1: Detected FT232BM Feb 27 08:44:13 Hig01 kernel: [1448797.248204] usb 2-1: Number of endpoints 2 Feb 27 08:44:13 Hig01 kernel: [1448797.248208] usb 2-1: Endpoint 1 MaxPacketSize 64 Feb 27 08:44:13 Hig01 kernel: [1448797.248212] usb 2-1: Endpoint 2 MaxPacketSize 64 Feb 27 08:44:13 Hig01 kernel: [1448797.248216] usb 2-1: Setting MaxPacketSize 64 Feb 27 08:44:13 Hig01 kernel: [1448797.250205] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0 ------------------------------------ The Juneau Linux Users Group -- http://www.juneau-lug.org This is the Juneau-LUG mailing list. To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the word unsubscribe in the subject header. ------------------------------------ The Juneau Linux Users Group -- http://www.juneau-lug.org This is the Juneau-LUG mailing list. To unsubscribe, send an e-mail to juneau-lug-request@xxxxxxxxxxxxx with the word unsubscribe in the subject header.