Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2005-11-25 12:28:05

  Guest - Gość

Guest
Gość

PenDrive

Jak podłączyć i korzystać z PenDrive'a pod linuksem?

 

#2  2005-11-25 12:39:46

  kamikaze - Administrator

kamikaze
Administrator
Zarejestrowany: 2004-04-16

Re: PenDrive

Było juz:

http://dug.net.pl/forum/viewtopic.php?t=837&highlight=pendrive

Offline

 

#3  2005-11-25 12:51:23

  czadman - Bicycle repairman

czadman
Bicycle repairman
Skąd: Wrocław
Zarejestrowany: 2005-07-08

Re: PenDrive

Pakiet usbmount, ręczne montowanie pendrivea jest moim zdaniem niewygodne i w wielu przypadkach niepraktyczne.
http://forum.dug.net.pl/viewtopic.php?t=2081#16902


[url=http://www.debian.org/][img]http://www.debian.org/logos/openlogo-nd-50.png[/img][/url]

Offline

 

#4  2005-11-25 13:03:07

  Rumi - prawiczek erotoman

Rumi
prawiczek erotoman
Skąd: Gorlice
Zarejestrowany: 2004-09-23
Serwis

Re: PenDrive

to jeszcze dożuce to http://www.dug.net.pl/faq/index.php?kat=5&id=58


[url=http://przyklej24.pl][b][color=green]ogłoszenia internetowe[/color][/b][/url]
[url=http://l-ka.gorlice.pl/][b][color=blue]nauka jazdy gorlice[/color][/b][/url]
[url=http://ciasny.net][color=#FF0000][b]Katalog stron[/b][/color][/url]
[url=http://www.abc-prawko.pl][b]Baza OSK[/b][/url]

Offline

 

#5  2006-04-30 20:05:58

  Bodzio - Ojciec Założyciel

Bodzio
Ojciec Założyciel
Skąd: Gorlice
Zarejestrowany: 2004-04-17
Serwis

Re: PenDrive

Odświeże temat - mam problema z penem, a właściwie z odtwarzaczem mp3. Usbmount zainstalowany, odpowiednie wpisy w pliku konfiguracyjnym też są.
Wykonałem to polecenie:
tail -f /var/log/kern.log
podłączyłem pena i wywaliło to:

Apr 30 19:52:39 dom kernel: bus usb: remove device 3-1
Apr 30 19:52:39 dom kernel: PM: Removing info for usb:3-1
Apr 30 19:52:39 dom kernel: usb 3-1: hotplug
Apr 30 19:52:39 dom kernel: usb-storage: *** thread awakened.
Apr 30 19:52:39 dom kernel: usb-storage: — exiting
Apr 30 19:52:39 dom kernel: hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x100
Apr 30 19:52:39 dom kernel: hub 1-0:1.0: state 5 ports 6 chg 0000 evt 0008
Apr 30 19:52:39 dom kernel: ehci_hcd 0000:00:10.3: GetStatus port 3 status 001002 POWER sig=se0 CSC
Apr 30 19:52:39 dom kernel: hub 1-0:1.0: port 3, status 0100, change 0001, 12 Mb/s
Apr 30 19:52:39 dom kernel: hub 1-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x100
Apr 30 19:52:54 dom kernel: hub 1-0:1.0: state 5 ports 6 chg 0000 evt 0008
Apr 30 19:52:54 dom kernel: ehci_hcd 0000:00:10.3: GetStatus port 3 status 001803 POWER sig=j CSC CONNECT
Apr 30 19:52:54 dom kernel: hub 1-0:1.0: port 3, status 0501, change 0001, 480 Mb/s
Apr 30 19:52:54 dom kernel: hub 1-0:1.0: debounce: port 3: total 100ms stable 100ms status 0x501
Apr 30 19:52:54 dom kernel: ehci_hcd 0000:00:10.3: port 3 full speed --> companion
Apr 30 19:52:54 dom kernel: ehci_hcd 0000:00:10.3: GetStatus port 3 status 003801 POWER OWNER sig=j CONNECT
Apr 30 19:52:54 dom kernel: hub 1-0:1.0: port_wait_reset: err = -107
Apr 30 19:52:54 dom kernel: hub 3-0:1.0: state 5 ports 2 chg 0000 evt 0002
Apr 30 19:52:54 dom kernel: uhci_hcd 0000:00:10.1: port 1 portsc 0093,00
Apr 30 19:52:54 dom kernel: hub 3-0:1.0: port 1, status 0101, change 0001, 12 Mb/s
Apr 30 19:52:55 dom kernel: hub 3-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101
Apr 30 19:52:55 dom kernel: usb 3-1: new full speed USB device using uhci_hcd and address 10
Apr 30 19:52:55 dom kernel: usb 3-1: ep0 maxpacket = 8
Apr 30 19:52:55 dom kernel: usb 3-1: default language 0x0409
Apr 30 19:52:55 dom kernel: usb 3-1: new device strings: Mfr=0, Product=1, SerialNumber=2
Apr 30 19:52:55 dom kernel: usb 3-1: Product: USB 2.0(FS) FLASH DISK
Apr 30 19:52:55 dom kernel: usb 3-1: SerialNumber: USB 2.0(FS) FLASH DISK
Apr 30 19:52:55 dom kernel: DEV: registering device: ID = '3-1'
Apr 30 19:52:55 dom kernel: usb 3-1: hotplug
Apr 30 19:52:55 dom kernel: PM: Adding info for usb:3-1
Apr 30 19:52:55 dom kernel: bus usb: add device 3-1
Apr 30 19:52:55 dom kernel: bound device '3-1' to driver 'usb'
Apr 30 19:52:55 dom kernel: usb 3-1: adding 3-1:1.0 (config #1, interface 0)
Apr 30 19:52:55 dom kernel: DEV: registering device: ID = '3-1:1.0'
Apr 30 19:52:55 dom kernel: usb 3-1:1.0: hotplug
Apr 30 19:52:55 dom kernel: PM: Adding info for usb:3-1:1.0
Apr 30 19:52:55 dom kernel: bus usb: add device 3-1:1.0
Apr 30 19:52:55 dom kernel: usb: Matched Device 3-1:1.0 with Driver usb-storage
Apr 30 19:52:55 dom kernel: usb-storage 3-1:1.0: usb_probe_interface
Apr 30 19:52:55 dom kernel: usb-storage 3-1:1.0: usb_probe_interface - got id
Apr 30 19:52:55 dom kernel: usb-storage: USB Mass Storage device detected
Apr 30 19:52:55 dom kernel: usb-storage: — associate_dev
Apr 30 19:52:55 dom kernel: usb-storage: Vendor: 0x10d6, Product: 0x1100, Revision: 0x0100
Apr 30 19:52:55 dom kernel: usb-storage: Interface Subclass: 0x05, Protocol: 0x50
Apr 30 19:52:55 dom kernel: usb-storage: Transport: Bulk
Apr 30 19:52:55 dom kernel: usb-storage: Protocol: 8070i
Apr 30 19:52:55 dom kernel: usb-storage: usb_stor_control_msg: rq=fe rqtype=a1 value=0000 index=00 len=1
Apr 30 19:52:55 dom kernel: usb-storage: GetMaxLUN command result is 1, data is 0
Apr 30 19:52:55 dom kernel: scsi6 : SCSI emulation for USB Mass Storage devices
Apr 30 19:52:55 dom kernel: DEV: registering device: ID = 'host6'
Apr 30 19:52:55 dom kernel: PM: Adding info for No Bus:host6
Apr 30 19:52:55 dom kernel: CLASS: registering class device: ID = 'host6'
Apr 30 19:52:55 dom kernel: class_hotplug - name = host6
Apr 30 19:52:55 dom kernel: usb-storage: *** thread sleeping.
Apr 30 19:52:55 dom kernel: bound device '3-1:1.0' to driver 'usb-storage'
Apr 30 19:52:55 dom kernel: usb: Bound Device 3-1:1.0 to Driver usb-storage
Apr 30 19:52:55 dom kernel: hub 3-0:1.0: state 5 ports 2 chg 0000 evt 0002
Apr 30 19:52:55 dom kernel: usb-storage: device found at 10
Apr 30 19:52:55 dom kernel: usb-storage: waiting for device to settle before scanning
Apr 30 19:53:00 dom kernel: DEV: registering device: ID = 'target6:0:0'
Apr 30 19:53:00 dom kernel: PM: Adding info for No Bus:target6:0:0
Apr 30 19:53:00 dom kernel: usb-storage: queuecommand called
Apr 30 19:53:00 dom kernel: usb-storage: *** thread awakened.
Apr 30 19:53:00 dom kernel: usb-storage: Command INQUIRY (6 bytes)
Apr 30 19:53:00 dom kernel: usb-storage:  12 00 00 00 24 00
Apr 30 19:53:00 dom kernel: usb-storage: Bulk Command S 0x43425355 T 0x1 L 36 F 128 Trg 0 LUN 0 CL 12
Apr 30 19:53:00 dom kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 31 bytes
Apr 30 19:53:00 dom kernel: usb-storage: Status code 0; transferred 31/31
Apr 30 19:53:00 dom kernel: usb-storage: — transfer complete
Apr 30 19:53:00 dom kernel: usb-storage: Bulk command transfer result=0
Apr 30 19:53:00 dom kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 36 bytes
Apr 30 19:53:00 dom kernel: usb-storage: Status code 0; transferred 36/36
Apr 30 19:53:00 dom kernel: usb-storage: — transfer complete
Apr 30 19:53:00 dom kernel: usb-storage: Bulk data transfer result 0x0
Apr 30 19:53:00 dom kernel: usb-storage: Attempting to get CSW...
Apr 30 19:53:00 dom kernel: usb-storage: usb_stor_bulk_transfer_buf: xfer 13 bytes
Apr 30 19:53:00 dom kernel: usb-storage: Status code 0; transferred 13/13
Apr 30 19:53:00 dom kernel: usb-storage: — transfer complete
Apr 30 19:53:00 dom kernel: usb-storage: Bulk status result = 0
Apr 30 19:53:00 dom kernel: usb-storage: Bulk Status S 0x53425355 T 0x1 R 0 Stat 0x0
Apr 30 19:53:00 dom kernel: usb-storage: scsi cmd done, result=0x0
Apr 30 19:53:00 dom kernel: usb-storage: *** thread sleeping.
Apr 30 19:53:00 dom kernel:   Vendor:           Model:                   Rev:
Apr 30 19:53:00 dom kernel:   Type:   Direct-Access                      ANSI SCSI revision: 00
Apr 30 19:53:00 dom kernel: DEV: registering device: ID = '6:0:0:0'
Apr 30 19:53:00 dom kernel: PM: Adding info for scsi:6:0:0:0
Apr 30 19:53:00 dom kernel: bus scsi: add device 6:0:0:0
Apr 30 19:53:00 dom kernel: CLASS: registering class device: ID = '6:0:0:0'
Apr 30 19:53:00 dom kernel: class_hotplug - name = 6:0:0:0
Apr 30 19:53:00 dom kernel: usb-storage: queuecommand called
Apr 30 19:53:00 dom kernel: usb-storage: *** thread awakened.
Apr 30 19:53:00 dom kernel: usb-storage: Bad LUN (0:1)
Apr 30 19:53:00 dom kernel: usb-storage: scsi cmd done, result=0x40000
Apr 30 19:53:00 dom kernel: usb-storage: *** thread sleeping.
Apr 30 19:53:00 dom kernel: DEV: registering device: ID = 'target6:0:1'
Apr 30 19:53:00 dom kernel: PM: Adding info for No Bus:target6:0:1
Apr 30 19:53:00 dom kernel: usb-storage: queuecommand called
Apr 30 19:53:00 dom kernel: usb-storage: *** thread awakened.
Apr 30 19:53:00 dom kernel: usb-storage: Bad target number (1:0)
Apr 30 19:53:00 dom kernel: usb-storage: scsi cmd done, result=0x40000
Apr 30 19:53:00 dom kernel: usb-storage: *** thread sleeping.
Apr 30 19:53:00 dom kernel: PM: Removing info for No Bus:target6:0:1
Apr 30 19:53:00 dom kernel: DEV: registering device: ID = 'target6:0:2'
Apr 30 19:53:00 dom kernel: PM: Adding info for No Bus:target6:0:2
Apr 30 19:53:00 dom kernel: usb-storage: queuecommand called
Apr 30 19:53:00 dom kernel: usb-storage: *** thread awakened.
Apr 30 19:53:00 dom kernel: usb-storage: Bad target number (2:0)
Apr 30 19:53:00 dom kernel: usb-storage: scsi cmd done, result=0x40000
Apr 30 19:53:00 dom kernel: usb-storage: *** thread sleeping.
Apr 30 19:53:00 dom kernel: PM: Removing info for No Bus:target6:0:2
Apr 30 19:53:00 dom kernel: DEV: registering device: ID = 'target6:0:3'
Apr 30 19:53:00 dom kernel: PM: Adding info for No Bus:target6:0:3
Apr 30 19:53:00 dom kernel: usb-storage: queuecommand called
Apr 30 19:53:00 dom kernel: usb-storage: *** thread awakened.
Apr 30 19:53:00 dom kernel: usb-storage: Bad target number (3:0)
Apr 30 19:53:00 dom kernel: usb-storage: scsi cmd done, result=0x40000
Apr 30 19:53:00 dom kernel: usb-storage: *** thread sleeping.
Apr 30 19:53:00 dom kernel: PM: Removing info for No Bus:target6:0:3
Apr 30 19:53:00 dom kernel: DEV: registering device: ID = 'target6:0:4'
Apr 30 19:53:00 dom kernel: PM: Adding info for No Bus:target6:0:4
Apr 30 19:53:00 dom kernel: usb-storage: queuecommand called
Apr 30 19:53:00 dom kernel: usb-storage: *** thread awakened.
Apr 30 19:53:00 dom kernel: usb-storage: Bad target number (4:0)
Apr 30 19:53:00 dom kernel: usb-storage: scsi cmd done, result=0x40000
Apr 30 19:53:00 dom kernel: usb-storage: *** thread sleeping.
Apr 30 19:53:00 dom kernel: PM: Removing info for No Bus:target6:0:4
Apr 30 19:53:00 dom kernel: DEV: registering device: ID = 'target6:0:5'
Apr 30 19:53:00 dom kernel: PM: Adding info for No Bus:target6:0:5
Apr 30 19:53:00 dom kernel: usb-storage: queuecommand called
Apr 30 19:53:00 dom kernel: usb-storage: *** thread awakened.
Apr 30 19:53:00 dom kernel: usb-storage: Bad target number (5:0)
Apr 30 19:53:00 dom kernel: usb-storage: scsi cmd done, result=0x40000
Apr 30 19:53:00 dom kernel: usb-storage: *** thread sleeping.
Apr 30 19:53:00 dom kernel: PM: Removing info for No Bus:target6:0:5
Apr 30 19:53:00 dom kernel: DEV: registering device: ID = 'target6:0:6'
Apr 30 19:53:00 dom kernel: PM: Adding info for No Bus:target6:0:6
Apr 30 19:53:00 dom kernel: usb-storage: queuecommand called
Apr 30 19:53:00 dom kernel: usb-storage: *** thread awakened.
Apr 30 19:53:00 dom kernel: usb-storage: Bad target number (6:0)
Apr 30 19:53:00 dom kernel: usb-storage: scsi cmd done, result=0x40000
Apr 30 19:53:00 dom kernel: usb-storage: *** thread sleeping.
Apr 30 19:53:00 dom kernel: PM: Removing info for No Bus:target6:0:6
Apr 30 19:53:00 dom kernel: DEV: registering device: ID = 'target6:0:7'
Apr 30 19:53:00 dom kernel: PM: Adding info for No Bus:target6:0:7
Apr 30 19:53:00 dom kernel: usb-storage: queuecommand called
Apr 30 19:53:00 dom kernel: usb-storage: *** thread awakened.
Apr 30 19:53:00 dom kernel: usb-storage: Bad target number (7:0)
Apr 30 19:53:00 dom kernel: usb-storage: scsi cmd done, result=0x40000
Apr 30 19:53:00 dom kernel: usb-storage: *** thread sleeping.
Apr 30 19:53:00 dom kernel: PM: Removing info for No Bus:target6:0:7
Apr 30 19:53:00 dom kernel: usb-storage: device scan complete[/quote]

i jestem w kropce. Najlepsze, że na tych samych ustawieniach na kompie w robocie wszystko pięknie działa.

[color=green]Sorry - nieaktualne, już działa :)[/color]


Debian jest lepszy niż wszystkie klony
Linux register users: #359018
[img]http://www.freebsd.org/gifs/powerlogo.gif[/img]
[url=https://goo.gl/photos/5XGKFkvaMimLwM2s9]Beskid Niski[/url]

Offline

 

#6  2006-05-01 09:19:02

  Lite-ON - Członek DUG

Lite-ON
Członek DUG
Zarejestrowany: 2006-03-07

Re: PenDrive

to jeszcze dożuce to http://www.dug.net.pl/faq/index.php?kat=5&id=58[/quote]
mount /dev/sda1 ??
nie zupełnie się z tym zgodze...
u mnie aparat cyfrowy jest jako /dev/sda1
natomiast odtwarzacz mp3 jako /dev/sda !!
nie wiem od czego to zależy :P


[url]http://sourceland.xt.pl[/url]

Offline

 

#7  2006-05-01 12:54:01

  Bodzio - Ojciec Założyciel

Bodzio
Ojciec Założyciel
Skąd: Gorlice
Zarejestrowany: 2004-04-17
Serwis

Re: PenDrive

Jeszcze jedno pytanie - dlaczego transfery do pendraka mam na poziomie 32 KB/s. Toż szybciej mi ściąga z netu niż wgrywa na flasha


Debian jest lepszy niż wszystkie klony
Linux register users: #359018
[img]http://www.freebsd.org/gifs/powerlogo.gif[/img]
[url=https://goo.gl/photos/5XGKFkvaMimLwM2s9]Beskid Niski[/url]

Offline

 

#8  2006-05-01 13:20:34

  Rumi - prawiczek erotoman

Rumi
prawiczek erotoman
Skąd: Gorlice
Zarejestrowany: 2004-09-23
Serwis

Re: PenDrive

kazdy pendrive ma parametry zapis odczyt no i jeszcze jakei wejści usb nowsze czy starsze


[url=http://przyklej24.pl][b][color=green]ogłoszenia internetowe[/color][/b][/url]
[url=http://l-ka.gorlice.pl/][b][color=blue]nauka jazdy gorlice[/color][/b][/url]
[url=http://ciasny.net][color=#FF0000][b]Katalog stron[/b][/color][/url]
[url=http://www.abc-prawko.pl][b]Baza OSK[/b][/url]

Offline

 

#9  2006-05-01 14:16:05

  Bodzio - Ojciec Założyciel

Bodzio
Ojciec Założyciel
Skąd: Gorlice
Zarejestrowany: 2004-04-17
Serwis

Re: PenDrive

USB 2.0
w instrukcji pisze że zapis 2 MB/s
ale takie marne transfery są na windzie też, no chyba że pendrak badziewny, a parametry z sufitu


Debian jest lepszy niż wszystkie klony
Linux register users: #359018
[img]http://www.freebsd.org/gifs/powerlogo.gif[/img]
[url=https://goo.gl/photos/5XGKFkvaMimLwM2s9]Beskid Niski[/url]

Offline

 

#10  2006-05-01 21:04:24

  adam05 - Adamin

adam05
Adamin
Skąd: Warszawa
Zarejestrowany: 2005-12-15
Serwis

Re: PenDrive

Jeszcze jedno pytanie - dlaczego transfery do pendraka mam na poziomie 32 KB/s. Toż szybciej mi ściąga z netu niż wgrywa na flasha[/quote]

Moim zdaniem, albo USB walneło, albo urządzenie.  Port LPT wyciaga chyba ponad 400 KB/s a COM 40 KB/s. Wiec te 32 na USB to jakies nieporozumienie :)

Pozdrawiam


Wszedzie dobrze, ale w 127.0.0.1 najlepiej...

Offline

 

#11  2006-05-09 14:13:57

  Bodzio - Ojciec Założyciel

Bodzio
Ojciec Założyciel
Skąd: Gorlice
Zarejestrowany: 2004-04-17
Serwis

Re: PenDrive

W sumie znalazłem rozwiązanie problemu słabych transferów. Pendrak nie był uwalony. Wygląda na to że technologia usbmount nie jest jeszcze do końca dopracowana. Po kolei:
pondrak montowany przez usbmount -> zapis tylko z roota i transfery rzędu 32 KB/s
pendrak montowany klasycznie -> zapis z usera i roota, transfer 8,7 MB/s


Debian jest lepszy niż wszystkie klony
Linux register users: #359018
[img]http://www.freebsd.org/gifs/powerlogo.gif[/img]
[url=https://goo.gl/photos/5XGKFkvaMimLwM2s9]Beskid Niski[/url]

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Możesz wyłączyć AdBlock — tu nie ma reklam ;-)

[ Generated in 0.008 seconds, 10 queries executed ]

Informacje debugowania

Time (s) Query
0.00006 SET CHARSET latin2
0.00003 SET NAMES latin2
0.00042 SELECT u.*, g.*, o.logged FROM punbb_users AS u INNER JOIN punbb_groups AS g ON u.group_id=g.g_id LEFT JOIN punbb_online AS o ON o.ident='18.222.98.91' WHERE u.id=1
0.00078 REPLACE INTO punbb_online (user_id, ident, logged) VALUES(1, '18.222.98.91', 1738324244)
0.00025 SELECT * FROM punbb_online WHERE logged<1738323944
0.00082 DELETE FROM punbb_online WHERE ident='85.208.96.196'
0.00032 SELECT t.subject, t.closed, t.num_replies, t.sticky, f.id AS forum_id, f.forum_name, f.moderators, fp.post_replies, 0 FROM punbb_topics AS t INNER JOIN punbb_forums AS f ON f.id=t.forum_id LEFT JOIN punbb_forum_perms AS fp ON (fp.forum_id=f.id AND fp.group_id=3) WHERE (fp.read_forum IS NULL OR fp.read_forum=1) AND t.id=2321 AND t.moved_to IS NULL
0.00020 SELECT search_for, replace_with FROM punbb_censoring
0.00211 SELECT u.email, u.title, u.url, u.location, u.use_avatar, u.signature, u.email_setting, u.num_posts, u.registered, u.admin_note, p.id, p.poster AS username, p.poster_id, p.poster_ip, p.poster_email, p.message, p.hide_smilies, p.posted, p.edited, p.edited_by, g.g_id, g.g_user_title, o.user_id AS is_online FROM punbb_posts AS p INNER JOIN punbb_users AS u ON u.id=p.poster_id INNER JOIN punbb_groups AS g ON g.g_id=u.group_id LEFT JOIN punbb_online AS o ON (o.user_id=u.id AND o.user_id!=1 AND o.idle=0) WHERE p.topic_id=2321 ORDER BY p.id LIMIT 0,25
0.00077 UPDATE punbb_topics SET num_views=num_views+1 WHERE id=2321
Total query time: 0.00576 s