ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] Телефон по USB
@ 2006-07-20 10:02 Rafael Malikov
    0 siblings, 1 reply; 3+ messages in thread
From: Rafael Malikov @ 2006-07-20 10:02 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Доброго времени суток.
Решил проверить увидит ли линух мой сотик (N9500), подключил, некоторое 
время поворочал винчестером, но ничего не сказал.
Полез смотреть руками, в /media появлиась папка dvdrecorder Ж8-[      ]
[raf@raf /]$ rpm -q udev hal ivman
udev-096-alt1
hal-0.5.7-alt4.1
ivman-0.6.12-alt1

[raf@raf /]$ uname -a
Linux raf.derb.intra 2.6.16-std26-up-alt9 #1 Mon Jul 17 02:38:34 MSD 
2006 i686 GNU/Linux

[raf@raf /]$ rpm -qa | grep kde
kdebase-konqueror-3.5.3-alt3
kdelibs-3.5.3-alt2
kde-settings-3.5.3-alt1
kdemultimedia-kmix-3.5.3-alt2
kdemultimedia-kscd-3.5.3-alt2
kdenetwork-kget-3.5.3-alt2
kdebase-libs-3.5.3-alt3
kdebase-3.5.3-alt3
kde-settings-kdm-3.5.3-alt1
kdemultimedia-common-3.5.3-alt2
kdegraphics-common-3.5.3-alt2
kdenetwork-common-3.5.3-alt2
kdebase-common-3.5.3-alt3
kdebase-libkonq-3.5.3-alt3
kdebase-kio-3.5.3-alt3
kde-common-3.5.0-alt1
kdegraphics-ksnapshot-3.5.3-alt2
kdenetwork-ksirc-3.5.3-alt2
kdebase-kdm-3.5.3-alt3
kdebase-kcontrol-3.5.3-alt3
kdemultimedia-libs-3.5.3-alt2
kdenetwork-kopete-3.5.3-alt2
kdebase-kdeprint-3.5.3-alt3
kde-i18n-ru-3.5.3-alt1
kdebase-wm-3.5.3-alt3

Это баг или фича?... Ж;)

-- 
Rafael Malikov,
System administrator.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sisyphus] Телефон по USB
  @ 2006-07-20 10:54   ` Andrei Bulava
  2006-07-21  8:05     ` Rafael Malikov
  0 siblings, 1 reply; 3+ messages in thread
From: Andrei Bulava @ 2006-07-20 10:54 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

[-- Attachment #1: Type: text/plain, Size: 237 bytes --]

Dmitry Gerasimov wrote:
> всё написали, кроме самого главного - выписки из /var/log/messages в
> момент втыкания телефона

На самом деле, лучше вывод приложенного скрипта до втыкания и секунд
через X после.

-- 
// AB1002-UANIC

[-- Attachment #2: hal-list-removables.sh --]
[-- Type: text/plain, Size: 824 bytes --]

#!/bin/sh

volumes="`hal-find-by-capability --capability volume 2>/dev/null`"

[ -z "$volumes" ] && exit 0

for vol in $volumes; do
    [ "`hal-get-property --udi $vol --key volume.ignore 2>/dev/null`" = "true" ] && continue
    stdev="`hal-get-property --udi $vol --key block.storage_device 2>/dev/null`"
    [ "`hal-get-property --udi $stdev --key storage.removable 2>/dev/null`" != "true" -a "`hal-get-property --udi $stdev --key storage.hotpluggable 2>/dev/null`" != "true" ] && continue
    dev="`hal-get-property --udi $vol --key block.device 2>/dev/null`"
    if [ "`hal-get-property --udi $vol --key volume.is_mounted 2>/dev/null`" = "true" ]; then
	mp="`hal-get-property --udi $vol --key volume.mount_point 2>/dev/null`"
	echo "device: $dev (mounted to $mp)"
    else
	echo "device: $dev (not mounted)"
    fi
done

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [sisyphus] Телефон по USB
  2006-07-20 10:54   ` Andrei Bulava
@ 2006-07-21  8:05     ` Rafael Malikov
  0 siblings, 0 replies; 3+ messages in thread
From: Rafael Malikov @ 2006-07-21  8:05 UTC (permalink / raw)
  To: ALT Linux Sisyphus discussion list

Andrei Bulava пишет:

>Dmitry Gerasimov wrote:
>  
>
>>всё написали, кроме самого главного - выписки из /var/log/messages в
>>момент втыкания телефона
>>    
>>
>
>На самом деле, лучше вывод приложенного скрипта до втыкания и секунд
>через X после.
>  
>
Когда воткнул:
tail -f /var/log/messages
Jul 21 11:55:57 raf kernel: usb 2-2: new full speed USB device using 
uhci_hcd and address 3
Jul 21 11:55:57 raf kernel: usb 2-2: configuration #1 chosen from 1 choice
Jul 21 11:55:57 raf kernel: cdc_acm 2-2:1.12: ttyACM0: USB ACM device

на /dev/tty12
Jul 21 11:55:57 raf kernel: usb 2-2: new full speed USB device using 
uhci_hcd and address 3
Jul 21 11:55:57 raf kernel: usb 2-2: configuration #1 chosen from 1 choice
Jul 21 11:55:57 raf kernel: cdc_acm 2-2:1.12: ttyACM0: USB ACM device
Jul 21 11:55:58 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789
Jul 21 11:55:59 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789 wasn't 
mounted, by us or by others...
Jul 21 11:56:05 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if7
Jul 21 11:56:05 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if7 wasn't 
mounted, by us or by others...
Jul 21 11:56:05 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if6
Jul 21 11:56:05 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if6 wasn't 
mounted, by us or by others...
Jul 21 11:56:05 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if5
Jul 21 11:56:05 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if5 wasn't 
mounted, by us or by others...
Jul 21 11:56:05 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if8
Jul 21 11:56:05 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if8 wasn't 
mounted, by us or by others...
Jul 21 11:56:05 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0
Jul 21 11:56:05 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0 wasn't 
mounted, by us or by others...
Jul 21 11:56:05 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if9
Jul 21 11:56:05 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if9 wasn't 
mounted, by us or by others...
Jul 21 11:56:05 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if4
Jul 21 11:56:05 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if4 wasn't 
mounted, by us or by others...
Jul 21 11:56:05 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if3
Jul 21 11:56:05 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if3 wasn't 
mounted, by us or by others...
Jul 21 11:56:08 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if2
Jul 21 11:56:08 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if2 wasn't 
mounted, by us or by others...
Jul 21 11:56:09 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0_0
Jul 21 11:56:09 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0_0 wasn't 
mounted, by us or by others...
Jul 21 11:56:09 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0_1
Jul 21 11:56:09 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0_1 wasn't 
mounted, by us or by others...
Jul 21 11:56:10 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if1
Jul 21 11:56:10 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if1 wasn't 
mounted, by us or by others...
Jul 21 11:56:10 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0_2
Jul 21 11:56:10 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0_2 wasn't 
mounted, by us or by others...
Jul 21 11:56:10 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0_3
Jul 21 11:56:10 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0_3 wasn't 
mounted, by us or by others...
Jul 21 11:56:10 raf ivman: New Device: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_usbraw
Jul 21 11:56:10 raf ivman: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_usbraw wasn't 
mounted, by us or by others...

когда выткнул:
tail -f /var/log/messages
Jul 21 12:00:06 raf kernel: usb 2-2: USB disconnect, address 3

на /dev/tty12
Jul 21 12:00:06 raf kernel: usb 2-2: USB disconnect, address 3
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0_2
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_usbraw
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if7
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if4
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0_0
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0_3
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if3
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if5
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if6
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if2
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if9
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if1
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if8
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789_if0_1
Jul 21 12:00:07 raf ivman: Device removed: 
/org/freedesktop/Hal/devices/usb_device_421_405_0123456789

-- 
Rafael Malikov,
System administrator.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2006-07-21  8:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-20 10:02 [sisyphus] Телефон по USB Rafael Malikov
2006-07-20 10:54   ` Andrei Bulava
2006-07-21  8:05     ` Rafael Malikov

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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