Quote:
Originally Posted by i92guboj
(Post 4348054)
These days I wouldn't use autofs at all. May I suggest looking into udisks? There are some udisks based tools that can do automounting, like this:
http://bitbucket.org/byronclark/udiskie
What does the system log (dmesg) says when you plug the device?
|
Thank you for your reply.
Before I plug anything in I get this:
Code:
[103464.682285] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0020
[103464.682295] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001803 0 ACK POWER sig=j CSC CONNECT
[103464.682302] hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
[103464.708024] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001803 0 ACK POWER sig=j CSC CONNECT
[103464.812016] hub 1-0:1.0: debounce: port 5: total 125ms stable 100ms status 0x501
[103464.863063] ehci_hcd 0000:00:12.2: port 5 high speed
[103464.863069] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001005 0 ACK POWER sig=se0 PE CONNECT
[103464.914030] usb 1-5: new high speed USB device using ehci_hcd and address 5
[103464.965063] ehci_hcd 0000:00:12.2: port 5 high speed
[103464.965069] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001005 0 ACK POWER sig=se0 PE CONNECT
[103465.029500] usb 1-5: default language 0x0409
[103465.030241] usb 1-5: udev 5, busnum 1, minor = 4
[103465.030243] usb 1-5: New USB device found, idVendor=2019, idProduct=ab2a
[103465.030245] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[103465.030247] usb 1-5: Product: GW-USNANO2
[103465.030249] usb 1-5: Manufacturer: Planex Communications Inc.
[103465.030250] usb 1-5: SerialNumber: 00e04c000001
[103465.030321] usb 1-5: usb_probe_device
[103465.030324] usb 1-5: configuration #1 chosen from 1 choice
[103465.030492] usb 1-5: adding 1-5:1.0 (config #1, interface 0)
[103465.030552] drivers/usb/core/inode.c: creating file '005'
[103465.030573] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0020
[103522.614568] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0020
[103522.614577] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001002 0 ACK POWER sig=se0 CSC
[103522.614584] hub 1-0:1.0: port 5, status 0100, change 0001, 12 Mb/s
[103522.614587] usb 1-5: USB disconnect, address 5
[103522.614588] usb 1-5: unregistering device
[103522.614590] usb 1-5: unregistering interface 1-5:1.0
[103522.614647] usb 1-5: usb_disable_device nuking all URBs
[103522.718015] hub 1-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x100
after I plug it in I get this:
Code:
[103464.682285] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0020
[103464.682295] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001803 0 ACK POWER sig=j CSC CONNECT
[103464.682302] hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
[103464.708024] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001803 0 ACK POWER sig=j CSC CONNECT
[103464.812016] hub 1-0:1.0: debounce: port 5: total 125ms stable 100ms status 0x501
[103464.863063] ehci_hcd 0000:00:12.2: port 5 high speed
[103464.863069] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001005 0 ACK POWER sig=se0 PE CONNECT
[103464.914030] usb 1-5: new high speed USB device using ehci_hcd and address 5
[103464.965063] ehci_hcd 0000:00:12.2: port 5 high speed
[103464.965069] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001005 0 ACK POWER sig=se0 PE CONNECT
[103465.029500] usb 1-5: default language 0x0409
[103465.030241] usb 1-5: udev 5, busnum 1, minor = 4
[103465.030243] usb 1-5: New USB device found, idVendor=2019, idProduct=ab2a
[103465.030245] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[103465.030247] usb 1-5: Product: GW-USNANO2
[103465.030249] usb 1-5: Manufacturer: Planex Communications Inc.
[103465.030250] usb 1-5: SerialNumber: 00e04c000001
[103465.030321] usb 1-5: usb_probe_device
[103465.030324] usb 1-5: configuration #1 chosen from 1 choice
[103465.030492] usb 1-5: adding 1-5:1.0 (config #1, interface 0)
[103465.030552] drivers/usb/core/inode.c: creating file '005'
[103465.030573] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0020
[103522.614568] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0020
[103522.614577] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001002 0 ACK POWER sig=se0 CSC
[103522.614584] hub 1-0:1.0: port 5, status 0100, change 0001, 12 Mb/s
[103522.614587] usb 1-5: USB disconnect, address 5
[103522.614588] usb 1-5: unregistering device
[103522.614590] usb 1-5: unregistering interface 1-5:1.0
[103522.614647] usb 1-5: usb_disable_device nuking all URBs
[103522.718015] hub 1-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x100
[103570.309884] hub 1-0:1.0: state 7 ports 6 chg 0000 evt 0020
[103570.309892] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001803 0 ACK POWER sig=j CSC CONNECT
[103570.309899] hub 1-0:1.0: port 5, status 0501, change 0001, 480 Mb/s
[103570.413020] hub 1-0:1.0: debounce: port 5: total 100ms stable 100ms status 0x501
[103570.464075] ehci_hcd 0000:00:12.2: port 5 high speed
[103570.464079] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001005 0 ACK POWER sig=se0 PE CONNECT
[103570.515025] usb 1-5: new high speed USB device using ehci_hcd and address 6
[103570.566026] ehci_hcd 0000:00:12.2: port 5 high speed
[103570.566030] ehci_hcd 0000:00:12.2: GetStatus port:5 status 001005 0 ACK POWER sig=se0 PE CONNECT
[103570.630519] usb 1-5: default language 0x0409
[103570.631264] usb 1-5: udev 6, busnum 1, minor = 5
[103570.631266] usb 1-5: New USB device found, idVendor=2019, idProduct=ab2a
[103570.631268] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[103570.631270] usb 1-5: Product: GW-USNANO2
[103570.631271] usb 1-5: Manufacturer: Planex Communications Inc.
[103570.631273] usb 1-5: SerialNumber: 00e04c000001
[103570.631341] usb 1-5: usb_probe_device
[103570.631344] usb 1-5: configuration #1 chosen from 1 choice
[103570.631513] usb 1-5: adding 1-5:1.0 (config #1, interface 0)
[103570.631588] drivers/usb/core/inode.c: creating file '006'
This looks important. What file is this? Do I need to use it somehow?
Quote:
[103570.631588] drivers/usb/core/inode.c: creating file '006'
|
It looks like its being found but its not powering up or doing anything.
Also, I'll take a look at udisks. Thanks for the suggestion. Many times I have no idea what to look into when I have these problems.
|