In fact the name shown in the Media>Storage display does seem to come from the USB device.
My test platform is a box with a USB hub plugged into its (one, HD Fox-T2) USB socket. Below, the
manufacturer
/
product
are listed from the
/sys/class/usb_device/
tree (in
sysfs
, a virtual filesystem that represents objects in the Linux kernel):
Code:
# for f in /sys/class/usb_device/usbdev1.*/device/product; do
echo ${f##/sys/class/usb_device/}: $(cat ${f%/*}/manufacturer 2>/dev/null || printf "---" )/$(cat $f)
done
usbdev1.1/device/product: Linux 2.6.18-7.1 ehci_hcd/BRCM EHCI
usbdev1.2/device/product: ---/USB2.0 Hub
usbdev1.3/device/product: Ralink/802.11 n WLAN
usbdev1.4/device/product: Generic /External
#
That is, the system has a root hub, the BRoadCoM Enhanced Host Controller Interface, to which is connected my USB2.0 Hub, so generic that it doesn't even have a
manufacturer
, and plugged into that are a WLAN (WiFi) dongle and a
Generic
USB-SATA 3.5" drive caddy named
External
. That last name corresponds to
Portable
in OP's case.
Modern Linuxes handle USB
like this. Maybe there's a way of hooking the USB discovery process in the Humax Linux?