ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Vyatcheslav Perevalov <vip0@seversk.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] GPS & Linux
Date: Fri, 11 Apr 2008 03:09:22 +0700
Message-ID: <200804110309.22974.vip0@seversk.ru> (raw)
In-Reply-To: <200804110247.23020.vip0@seversk.ru>

В сообщении от 11 апреля 2008 Vyatcheslav Perevalov написал(a):
> щас перегружусь, проверю udev отрабатывает или нет

Перегрузился, проверил.

При загрузке прибор отключен:
[root@family ~]# service gpsd status
gpsd is stopped

ps auxw |grep gps 
молчит

Подключаем прибор:
/var/log/messages

Apr 11 03:05:57 family kernel: ohci_hcd 0000:00:02.1: wakeup
Apr 11 03:05:57 family kernel: usb 3-3: new full speed USB device using 
ohci_hcd and address 5
Apr 11 03:05:57 family kernel: usb 3-3: configuration #1 chosen from 1 
choice
Apr 11 03:05:57 family kernel: garmin_gps 3-3:1.0: Garmin GPS usb/tty 
converter detected
Apr 11 03:05:57 family kernel: usb 3-3: Garmin GPS usb/tty converter now 
attached to ttyUSB0
Apr 11 03:05:57 family gpsd.hotplug: no ttyUSB device 
under /devices/pci0000:00/0000:00:02.1/usb3/3-3
Apr 11 03:05:57 family gpsd.hotplug: waiting for /dev/ttyUSB0
Apr 11 03:05:58 family gpsd.hotplug: /dev/ttyUSB0 has gone active
Apr 11 03:05:58 family gpsd.hotplug: gpsd_control(action=add, 
arg=/dev/ttyUSB0)
Apr 11 03:05:58 family gpsd.hotplug: socket /var/run/gpsd.sock doesn't exist
Apr 11 03:05:58 family gpsd.hotplug: launching gpsd -F /var/run/gpsd.sock
Apr 11 03:05:58 family gpsd[7356]: Gpsd started (Version 1.06b)
Apr 11 03:05:59 family gpsd[7356]: Gpsd listening on port 2947
Apr 11 03:05:59 family gpsd.hotplug: socket /var/run/gpsd.sock doesn't exist
Apr 11 03:05:59 family gpsd.hotplug: can't reach gpsd
Apr 11 03:05:59 family gpsd.hotplug: gpsd.hotplug: exception 
exceptions.TypeError yields coercing to Unicode: need string or buffer, 
NoneType found

Прибор отключаем:
Apr 11 03:06:37 family kernel: usb 3-3: USB disconnect, address 5
Apr 11 03:06:37 family kernel: garmin_gps ttyUSB0: Garmin GPS usb/tty 
converter now disconnected from ttyUSB0
Apr 11 03:06:37 family kernel: garmin_gps 3-3:1.0: device disconnected


ps auxw |grep gps
root      7356  0.0  0.2   1820   524 ?        S<s  03:05   0:00 
gpsd -F /var/run/gpsd.sock
root      7604  0.0  0.2   1988   636 pts/3    R+   03:07   0:00 grep gps

Подключаем снова:

Apr 11 03:08:08 family kernel: ohci_hcd 0000:00:02.1: wakeup
Apr 11 03:08:09 family kernel: usb 3-3: new full speed USB device using 
ohci_hcd and address 6
Apr 11 03:08:09 family kernel: usb 3-3: configuration #1 chosen from 1 
choice
Apr 11 03:08:09 family kernel: garmin_gps 3-3:1.0: Garmin GPS usb/tty 
converter detected
Apr 11 03:08:09 family kernel: usb 3-3: Garmin GPS usb/tty converter now 
attached to ttyUSB0
Apr 11 03:08:09 family gpsd.hotplug: no ttyUSB device 
under /devices/pci0000:00/0000:00:02.1/usb3/3-3
Apr 11 03:08:09 family gpsd.hotplug: waiting for /dev/ttyUSB0
Apr 11 03:08:10 family gpsd.hotplug: /dev/ttyUSB0 has gone active
Apr 11 03:08:10 family gpsd.hotplug: gpsd_control(action=add, 
arg=/dev/ttyUSB0)
Apr 11 03:08:10 family gpsd.hotplug: socket /var/run/gpsd.sock doesn't exist
Apr 11 03:08:10 family gpsd.hotplug: launching gpsd -F /var/run/gpsd.sock
Apr 11 03:08:10 family gpsd[7802]: Gpsd started (Version 1.06b)
Apr 11 03:08:10 family gpsd[7802]: Gpsd listening on port 2947
Apr 11 03:08:10 family gpsd[7802]: Can't bind to port 2947: Address already 
in use Exit now...
Apr 11 03:08:10 family gpsd.hotplug: socket /var/run/gpsd.sock doesn't exist
Apr 11 03:08:10 family gpsd.hotplug: can't reach gpsd
Apr 11 03:08:10 family gpsd.hotplug: gpsd.hotplug: exception 
exceptions.TypeError yields coercing to Unicode: need string or buffer, 
NoneType found


Вот.
-- 
Всего хорошего
		/vip


  reply	other threads:[~2008-04-10 20:09 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-11 12:54 Grigory Batalov
2007-06-13 11:01 ` Genix
2008-04-06 12:15   ` Vyatcheslav Perevalov
2008-04-06 17:26     ` Grigory Batalov
2008-04-06 17:29       ` Vyatcheslav Perevalov
2008-04-06 19:18         ` Motsyo Gennadi aka Drool
2008-04-06 20:54           ` Motsyo Gennadi aka Drool
2008-04-06 20:58             ` Motsyo Gennadi aka Drool
2008-04-07 14:56               ` Michael Shigorin
2008-04-07 15:38                 ` Motsyo Gennadi aka Drool
2008-04-08 21:22                   ` Michael Shigorin
2008-04-08 22:07                   ` Pavlov Konstantin
2008-04-09  3:50                     ` Motsyo Gennadi aka Drool
2008-04-09 16:05                       ` Pavlov Konstantin
2008-04-09 14:26                     ` Grigory Batalov
2008-04-10  7:23                       ` Vyatcheslav Perevalov
2008-04-10  8:26                         ` Grigory Batalov
2008-04-10 15:18                           ` Vyatcheslav Perevalov
2008-04-10 16:07                           ` Vyatcheslav Perevalov
2008-04-10 19:42                             ` Grigory Batalov
2008-04-10 19:47                               ` Vyatcheslav Perevalov
2008-04-10 20:09                                 ` Vyatcheslav Perevalov [this message]
2008-04-10 22:00                                   ` Grigory Batalov
2008-04-11  5:56                                     ` Vyatcheslav Perevalov
2007-06-13 19:22 ` Sergey
2007-06-14  6:38   ` Genix
2007-06-14  9:43   ` Grigory Batalov
2007-07-25  4:37     ` Sergey

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200804110309.22974.vip0@seversk.ru \
    --to=vip0@seversk.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git