LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-18-2014, 04:00 AM   #1
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,847

Rep: Reputation: 108Reputation: 108
Garmin GPS etrex 20 and USB


Hya.

System
Debian jessie, current.

Peripheral
A GPS unit, Garmin etrex 20, connected through USB.

What happens.
One of my Penguins say
Code:
[   75.845167] usb 4-2: new full-speed USB device number 5 using ohci-pci
[   76.389033] usb 4-2: device not accepting address 5, error -62
[  100.184263] usb 4-2: new full-speed USB device number 7 using ohci-pci
[  100.348911] usb 4-2: New USB device found, idVendor=091e, idProduct=2519
[  100.348927] usb 4-2: New USB device strings: Mfr=0, Product=0, SerialNumber=5
[  100.348933] usb 4-2: SerialNumber: 0000e6b2a499
[  100.423831] usb-storage 4-2:1.0: USB Mass Storage device detected
[  100.423983] scsi6 : usb-storage 4-2:1.0
[  100.424231] usbcore: registered new interface driver usb-storage
[  101.431133] scsi 6:0:0:0: Direct-Access     Garmin   GARMIN Flash     1.00 PQ: 0 ANSI: 5
[  101.451004] sd 6:0:0:0: [sdb] 3907584 512-byte logical blocks: (2.00 GB/1.86 GiB)
[  101.457054] sd 6:0:0:0: [sdb] Write Protect is off
[  101.457071] sd 6:0:0:0: [sdb] Mode Sense: 23 00 00 00
[  101.462995] sd 6:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[  101.505251]  sdb:
[  101.554011] sd 6:0:0:0: [sdb] Attached SCSI removable disk
[ 3159.906976] perf samples too long (2505 > 2500), lowering kernel.perf_event_max_sample_rate to 50000
As you see, /dev/sdb is recognized.

However, another Penguin says
Code:
usb 1-2: device not accepting address 3, error -71
usb 1-2: new full-speed USB device number 5 using uhci_hcd
usb-storage 1-2:1.0: USB Mass Storage device detected
scsi2 : usb-storage 1-2:1.0
usbcore: registered new interface driver usb-storage
scsi 2:0:0:0: Direct-Access     Garmin   GARMIN Flash     1.00 PQ: 0 ANSI: 5
sd 2:0:0:0: Attached scsi generic sg1 type 0
scsi 2:0:0:1: Direct-Access     Garmin   GARMIN Card      1.00 PQ: 0 ANSI: 5
sd 2:0:0:1: Attached scsi generic sg2 type 0
sd 2:0:0:0: [sdb] 3907584 512-byte logical blocks: (2.00 GB/1.86 GiB)
sd 2:0:0:0: [sdb] Write Protect is off
sd 2:0:0:0: [sdb] Mode Sense: 23 00 00 00
sd 2:0:0:1: [sdc] 15523840 512-byte logical blocks: (7.94 GB/7.40 GiB)
sd 2:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
sd 2:0:0:1: [sdc] Write Protect is off
sd 2:0:0:1: [sdc] Mode Sense: 23 00 00 00
 sdb:
sd 2:0:0:1: [sdc] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
 sdc: sdc1
sd 2:0:0:0: [sdb] Attached SCSI removable disk
sd 2:0:0:1: [sdc] Attached SCSI removable disk
alas, two partitions, sdb and sdc1 are recognized.

I have checked
I assume that uchi Penguin recognizes two, while ohci one recognizes one. I have not made further check yet.

Kernel options for USB are set according to "lspci -v | grep HCI". Even if I choose both ohci and uchi, situation does not change.

With uchi Penguin, both partitions can be mounted and look good.
Question
Is there anything I can do for ochi Penguin to recognize two partitions?

Closing remark
Have a happy Penguin!


+++ Added on edit

This site shows that two partitions are recognized.

Last edited by kaz2100; 03-20-2014 at 03:05 AM. Reason: Additional info
 
Old 03-21-2014, 12:33 AM   #2
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,847

Original Poster
Rep: Reputation: 108Reputation: 108
Hya

Apology, I was incorrect.

I had a chance to check if some other penguins behave.
Code:
usb 3-1: new full-speed USB device number 3 using uhci_hcd
usb 3-1: device not accepting address 3, error -71
usb 3-1: new full-speed USB device number 5 using uhci_hcd
usb 3-1: New USB device found, idVendor=091e, idProduct=2519
usb 3-1: New USB device strings: Mfr=0, Product=0, SerialNumber=5
usb 3-1: SerialNumber: 0000e6b2a499
usb-storage 3-1:1.0: USB Mass Storage device detected
scsi5 : usb-storage 3-1:1.0
scsi 5:0:0:0: Direct-Access     Garmin   GARMIN Flash     1.00 PQ: 0 ANSI: 5
sd 5:0:0:0: Attached scsi generic sg2 type 0
sd 5:0:0:0: [sdc] 3907584 512-byte logical blocks: (2.00 GB/1.86 GiB)
sd 5:0:0:0: [sdc] Write Protect is off
sd 5:0:0:0: [sdc] Mode Sense: 23 00 00 00
sd 5:0:0:0: [sdc] Write cache: enabled, read cache: enabled, doesn't support  or FUA
 sdc:
sd 5:0:0:0: [sdc] Attached SCSI removable disk
As you can see, this uhci penguin recognises only one partition.

I will further investigate and come back.

cheers
 
Old 03-21-2014, 09:02 PM   #3
kaz2100
Senior Member
 
Registered: Apr 2005
Location: Penguin land, with apple, no gates
Distribution: SlackWare > Debian testing woody(32) sarge etch lenny squeeze(+64) wheezy .. bullseye bookworm
Posts: 1,847

Original Poster
Rep: Reputation: 108Reputation: 108
Hya

Solved!
Problem was a kernel option, Probe all LUNs on each SCSI device under scsi device.

At the beginning, I was far off track.

cheers.
 
  


Reply

Tags
dmesg, etrex, ohci, uhci, usb


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Garmin Etrex & Ubuntu Linux sxa Linux - Software 1 06-02-2008 03:09 PM
LXer: Wardriving Using An Ubuntu Notebook With Garmin Etrex, Kismet, And GPSDrive LXer Syndicated Linux News 0 12-28-2006 08:33 AM
Usb Garmin GPS alek66 Linux - Hardware 1 11-21-2006 03:11 PM
Want to download waypoints from Garmin Etrex cellist General 0 03-18-2006 10:43 PM
Garmin GPS V and NTPD figadiablo Linux - Hardware 1 04-08-2005 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:24 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration